summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/prt-get/.md5sum4
-rw-r--r--base/prt-get/Pkgfile9
-rw-r--r--base/prt-get/prt-get.diff13
3 files changed, 19 insertions, 7 deletions
diff --git a/base/prt-get/.md5sum b/base/prt-get/.md5sum
index 2df1d5653..89bb0163d 100644
--- a/base/prt-get/.md5sum
+++ b/base/prt-get/.md5sum
@@ -1,4 +1,4 @@
-66120551b450566a225623a52beff8f7 prt-get-5.16-printf_regex.diff
-83d41c0297e21383ed3e4f4f7530ca7c prt-get-5.16.tar.gz
+d0abf2a28823f9527c36832d5cbb8257 prt-get-5.18.tar.gz
84bd5457f322042c96a25836584485b2 prt-get.aliases
446f79cb11a3082bc0d7ef5f418aa6d0 prt-get.conf
+b4eeea27244550754219801bcf29c5e3 prt-get.diff
diff --git a/base/prt-get/Pkgfile b/base/prt-get/Pkgfile
index 0d42246d9..d87b37f66 100644
--- a/base/prt-get/Pkgfile
+++ b/base/prt-get/Pkgfile
@@ -4,15 +4,14 @@
# Packager: thierryn1 at hispeed dot ch
name=prt-get
-version=5.16
-release=4
+version=5.18
+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)
+ prt-get.diff prt-get.conf prt-get.aliases)
build() {
cd ${name}-${version}
- patch -p1 -i $SRC/prt-get-$version-printf_regex.diff
+ patch -p1 -i $SRC/$name.diff
./configure \
--prefix=/usr \
diff --git a/base/prt-get/prt-get.diff b/base/prt-get/prt-get.diff
new file mode 100644
index 000000000..f5412dfcd
--- /dev/null
+++ b/base/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";
+ }