X-Git-Url: http://gitweb/?a=blobdiff_plain;f=shadow%2FPkgfile;h=4f481c428d3cd8e44838a3386de13cfe8a1f1b5c;hb=7ed962396ca90491efbe6a02c38ae81c3877afb8;hp=60ad5b178f3316461975030b97bc0dac34ec1728;hpb=fe1073fc0f47be79b536b43764e040845978320d;p=crossrootfs.git diff --git a/shadow/Pkgfile b/shadow/Pkgfile index 60ad5b1..4f481c4 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -1,20 +1,23 @@ # Description: Shadow password file utilities # URL: http://pkg-shadow.alioth.debian.org/ # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=shadow -version=4.1.4.2 -release=1 -source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$name-$version.tar.bz2 \ +version=4.1.5.1 +release=3 +source=(http://pkgs.fedoraproject.org/repo/pkgs/shadow-utils/$name-$version.tar.bz2/a00449aa439c69287b6d472191dc2247/$name-$version.tar.bz2 pwck login.defs) build() { cd $name-$version - cat > config.cache << EOF -ac_cv_func_setpgrp_void=yes -EOF + + echo "ac_cv_func_setpgrp_void=yes" >> config.cache + + # Fix first configure to point to the right place + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i aclocal.m4 + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ @@ -28,6 +31,9 @@ EOF --without-audit \ --cache-file=config.cache + # Forcing libtool to prioritize our sysroot + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i libtool + make make DESTDIR=$PKG install