summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:19:16 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:19:16 +0200
commit35d615c06dbee219e3f802849b737aa4b7194e0f (patch)
tree8bb2cafce6b9151ffb460bed8392f600a51a34c1
parent82244b600daaab8df5e928cbda30729943927abc (diff)
downloadnutyx-pakxe-35d615c06dbee219e3f802849b737aa4b7194e0f.tar.gz
nutyx-pakxe-35d615c06dbee219e3f802849b737aa4b7194e0f.tar.bz2
nutyx-pakxe-35d615c06dbee219e3f802849b737aa4b7194e0f.tar.xz
nutyx-pakxe-35d615c06dbee219e3f802849b737aa4b7194e0f.zip
Ajout de prt-get#5.16-1
-rw-r--r--base/prt-get/.footprint16
-rw-r--r--base/prt-get/.md5sum4
-rw-r--r--base/prt-get/Pkgfile27
-rw-r--r--base/prt-get/build27
-rw-r--r--base/prt-get/prt-get-5.16-printf_regex.diff12
-rw-r--r--base/prt-get/prt-get.aliases10
-rw-r--r--base/prt-get/prt-get.conf53
7 files changed, 149 insertions, 0 deletions
diff --git a/base/prt-get/.footprint b/base/prt-get/.footprint
new file mode 100644
index 000000000..2c505fe28
--- /dev/null
+++ b/base/prt-get/.footprint
@@ -0,0 +1,16 @@
+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/man/
+drwxr-xr-x root/root usr/man/man5/
+-rw-r--r-- root/root usr/man/man5/prt-get.conf.5.gz
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/prt-cache.8.gz
+-rw-r--r-- root/root usr/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/base/prt-get/.md5sum b/base/prt-get/.md5sum
new file mode 100644
index 000000000..00194142d
--- /dev/null
+++ b/base/prt-get/.md5sum
@@ -0,0 +1,4 @@
+66120551b450566a225623a52beff8f7 prt-get-5.16-printf_regex.diff
+83d41c0297e21383ed3e4f4f7530ca7c prt-get-5.16.tar.gz
+84bd5457f322042c96a25836584485b2 prt-get.aliases
+572844f8c46605c658df2f115a1482eb prt-get.conf
diff --git a/base/prt-get/Pkgfile b/base/prt-get/Pkgfile
new file mode 100644
index 000000000..548b2dcf5
--- /dev/null
+++ b/base/prt-get/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Outil indispensable pour l'installation recherches des ports
+# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: pkgutils
+
+name=prt-get
+version=5.16
+release=1
+source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
+ prt-get-$version-printf_regex.diff
+ prt-get.conf prt-get.aliases)
+
+build() {
+ cd ${name}-${version}
+ patch -p1 -i $SRC/prt-get-$version-printf_regex.diff
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/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/base/prt-get/build b/base/prt-get/build
new file mode 100644
index 000000000..0ed75d41a
--- /dev/null
+++ b/base/prt-get/build
@@ -0,0 +1,27 @@
+# Description: Outil indispensable pour l'installation recherches des ports
+# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: pkgutils
+
+name=prt-get
+version=5.16
+release=1
+source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
+ prt-get-$version-printf_regex.diff
+ prt-get.conf prt-get.aliases)
+
+build() {
+ cd ${name}-${version}
+ patch -p1 -i $SRC/prt-get-$version-printf_regex.diff
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/man
+ make
+ make install
+
+ install -m 644 $SRC/prt-get.conf /etc/
+ install -D -m 644 $SRC/prt-get.aliases /var/lib/pkg/prt-get.aliases
+}
+
diff --git a/base/prt-get/prt-get-5.16-printf_regex.diff b/base/prt-get/prt-get-5.16-printf_regex.diff
new file mode 100644
index 000000000..a7e291304
--- /dev/null
+++ b/base/prt-get/prt-get-5.16-printf_regex.diff
@@ -0,0 +1,12 @@
+--- prt-get-5.16.orig/src/prtget.cpp 2008-06-26 18:23:42.000000000 +0200
++++ prt-get-5.16/src/prtget.cpp 2008-12-06 15:13:58.950402225 +0100
+@@ -1238,7 +1238,7 @@
+ assertExactArgCount(1);
+
+ initRepo();
+- string filter = "*";
++ string filter = m_parser->useRegex() ? "." : "*";
+ if ( m_parser->hasFilter() ) {
+ filter = m_parser->filter();
+ }
+
diff --git a/base/prt-get/prt-get.aliases b/base/prt-get/prt-get.aliases
new file mode 100644
index 000000000..a84207ad0
--- /dev/null
+++ b/base/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/base/prt-get/prt-get.conf b/base/prt-get/prt-get.conf
new file mode 100644
index 000000000..2129e7e48
--- /dev/null
+++ b/base/prt-get/prt-get.conf
@@ -0,0 +1,53 @@
+###
+### prt-get conf
+###
+
+# note: the order matters: the package found first is used
+prtdir /usr/ports/base
+prtdir /usr/ports/xorg
+prtdir /usr/ports/extra
+prtdir /usr/ports/xfce
+prtdir /usr/ports/gnome
+prtdir /usr/ports/kde
+
+
+# the following line enables the user maintained contrib collection
+#prtdir /usr/ports/contrib
+
+### use mypackage form local directory
+# prtdir /home/packages/build:mypackage
+
+### log options:
+# 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
+
+