CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
autoconf: updated source
[crossrootfs.git] / shadow / Pkgfile
index 8a06859685621178447d9c1beef8c948ac7dcf7d..5ec96b7e422520b3668cf5fa461551f10f6890d1 100644 (file)
@@ -5,13 +5,17 @@
 # Depends on:
 
 name=shadow
-version=4.4
-release=1
-source=(http://crux.nu/files/distfiles/$name-$version.tar.xz
+version=4.5
+release=2
+source=(https://github.com/shadow-maint/shadow/releases/download/$version/shadow-$version.tar.xz
+        CVE-2018-7169.patch
         pwck login.defs)
 
 build() {
-  cd $name-upstream-$version
+  cd $name-$version
+
+  # https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357
+  patch -p1 -i $SRC/CVE-2018-7169.patch
 
   echo "ac_cv_func_setpgrp_void=yes" >> config.cache