summaryrefslogtreecommitdiffstats
path: root/prt-get
diff options
context:
space:
mode:
Diffstat (limited to 'prt-get')
-rw-r--r--prt-get/.footprint.i68617
-rw-r--r--prt-get/.footprint.x86_6417
-rw-r--r--prt-get/.md5sum.i6864
-rw-r--r--prt-get/.md5sum.x86_644
-rw-r--r--prt-get/Pkgfile32
-rw-r--r--prt-get/prt-get.aliases10
-rw-r--r--prt-get/prt-get.conf45
-rw-r--r--prt-get/prt-get.diff13
8 files changed, 142 insertions, 0 deletions
diff --git a/prt-get/.footprint.i686 b/prt-get/.footprint.i686
new file mode 100644
index 000000000..73041272d
--- /dev/null
+++ b/prt-get/.footprint.i686
@@ -0,0 +1,17 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/prt-get.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/prt-cache -> prt-get
+-rwxr-xr-x root/root usr/bin/prt-get
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/prt-get.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/prt-cache.8.gz
+-rw-r--r-- root/root usr/share/man/man8/prt-get.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/pkg/
+-rw-r--r-- root/root var/lib/pkg/prt-get.aliases
diff --git a/prt-get/.footprint.x86_64 b/prt-get/.footprint.x86_64
new file mode 100644
index 000000000..73041272d
--- /dev/null
+++ b/prt-get/.footprint.x86_64
@@ -0,0 +1,17 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/prt-get.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/prt-cache -> prt-get
+-rwxr-xr-x root/root usr/bin/prt-get
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/prt-get.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/prt-cache.8.gz
+-rw-r--r-- root/root usr/share/man/man8/prt-get.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/pkg/
+-rw-r--r-- root/root var/lib/pkg/prt-get.aliases
diff --git a/prt-get/.md5sum.i686 b/prt-get/.md5sum.i686
new file mode 100644
index 000000000..271244277
--- /dev/null
+++ b/prt-get/.md5sum.i686
@@ -0,0 +1,4 @@
+d0abf2a28823f9527c36832d5cbb8257 prt-get-5.18.tar.gz
+84bd5457f322042c96a25836584485b2 prt-get.aliases
+e2e4aa220afb2c9fcef6db3b0ef6ef04 prt-get.conf
+b4eeea27244550754219801bcf29c5e3 prt-get.diff
diff --git a/prt-get/.md5sum.x86_64 b/prt-get/.md5sum.x86_64
new file mode 100644
index 000000000..271244277
--- /dev/null
+++ b/prt-get/.md5sum.x86_64
@@ -0,0 +1,4 @@
+d0abf2a28823f9527c36832d5cbb8257 prt-get-5.18.tar.gz
+84bd5457f322042c96a25836584485b2 prt-get.aliases
+e2e4aa220afb2c9fcef6db3b0ef6ef04 prt-get.conf
+b4eeea27244550754219801bcf29c5e3 prt-get.diff
diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile
new file mode 100644
index 000000000..7467e0647
--- /dev/null
+++ b/prt-get/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Outil indispensable pour l'installation et la recherches des ports
+# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=prt-get
+version=5.18
+release=5
+source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
+ prt-get.diff prt-get.conf prt-get.aliases)
+
+build() {
+ cd ${name}-${version}
+ patch -p1 -i $SRC/$name.diff
+case `uname -m` in
+ x86_64)
+ sed -i "s/\.footprint/\.footprint\.x86_64/" src/prtget.cpp;;
+
+ i?86)
+ sed -i "s/\.footprint/\.footprint\.i686/" src/prtget.cpp;;
+esac
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+ make DESTDIR=$PKG install
+
+ install -m 644 $SRC/prt-get.conf $PKG/etc/
+ install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases
+}
+
diff --git a/prt-get/prt-get.aliases b/prt-get/prt-get.aliases
new file mode 100644
index 000000000..a84207ad0
--- /dev/null
+++ b/prt-get/prt-get.aliases
@@ -0,0 +1,10 @@
+j2sdk: j2re
+j2sdk: jre
+jdk: jre
+openmotif: lesstif
+postfix: sendmail
+exim: sendmail
+qmail: sendmail
+masqmail: sendmail
+xorg: x11
+
diff --git a/prt-get/prt-get.conf b/prt-get/prt-get.conf
new file mode 100644
index 000000000..72b8c2898
--- /dev/null
+++ b/prt-get/prt-get.conf
@@ -0,0 +1,45 @@
+###
+### prt-get conf
+###
+
+# note: L'ordre importe: Le premier paquet qui sera trouvé, sera utilisé
+prtdir /usr/ports/base
+prtdir /usr/ports/extra
+
+### Utiliser mypackage d'un dossier locale
+# prtdir /home/packages/build:mypackage
+
+### Options de log:
+# writelog enabled # (enabled|disabled)
+# logmode overwrite # (append|overwrite)
+# rmlog_on_success yes # (no|yes)
+logfile /var/log/pkgbuild/%n.log
+ # path, %p=path to port dir, %n=port name
+ # %v=version, %r=release
+
+### use alternate cache file (default: /var/lib/pkg/prt-get.cache
+# cachefile /mnt/nfs/cache
+
+### print README information:
+# readme verbose # (verbose|compact|disabled)
+
+### prefer higher versions in sysup / diff
+# preferhigher no # (yes|no)
+
+### use regexp search
+# useregex no # (yes|no)
+
+### run pre- and post-installs scripts; yes is equivalent to the
+### --install-scripts option
+runscripts yes # (no|yes)
+
+
+### EXPERT SECTION ###
+
+### alternative commands
+# makecommand pkgmk
+# addcommand pkgadd
+# removecommand pkgrm
+# runscriptcommand sh
+
+
diff --git a/prt-get/prt-get.diff b/prt-get/prt-get.diff
new file mode 100644
index 000000000..f5412dfcd
--- /dev/null
+++ b/prt-get/prt-get.diff
@@ -0,0 +1,13 @@
+diff --git a/src/installtransaction.cpp b/src/installtransaction.cpp
+index 849931a..70e5e37 100644
+--- a/src/installtransaction.cpp
++++ b/src/installtransaction.cpp
+@@ -658,5 +658,7 @@ string InstallTransaction::getPkgmkPackageDir()
+
+ string InstallTransaction::getPkgmkCompressionMode()
+ {
+- return getPkgmkSetting("PKGMK_COMPRESSION_MODE");
++ string value = getPkgmkSetting("PKGMK_COMPRESSION_MODE");
++
++ return value.size() ? value : "gz";
+ }