# HG changeset patch # User Christopher Rogers # Date 1299023985 0 # Node ID 4ed538cf3c137805905dbcada6492cd4c3f16f84 # Parent abd5344ad8c6d3ec71c0b8a8cbd5f2c06b9ea12b Up: sudo to 1.8.0. diff -r abd5344ad8c6 -r 4ed538cf3c13 sudo-pam/receipt --- a/sudo-pam/receipt Tue Mar 01 22:10:13 2011 +0000 +++ b/sudo-pam/receipt Tue Mar 01 23:59:45 2011 +0000 @@ -1,12 +1,11 @@ # SliTaz package receipt. PACKAGE="sudo-pam" -VERSION="1.7.4p6" +VERSION="1.8.0" CATEGORY="security" SHORT_DESC="Sudo (su \"do\") allows a system administrator to delegate authority using PAM." MAINTAINER="erjo@slitaz.org" DEPENDS="pam" -BUILD_DEPENDS="pam pam-dev" SOURCE="sudo" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.gratisoft.us/sudo/" @@ -18,17 +17,14 @@ compile_rules() { cd $src - ./configure --prefix=/usr \ - --sysconfdir=/etc \ + ./configure --sysconfdir=/etc \ --with-pam \ --with-editor=/bin/vi \ - --libexecdir=/usr/lib \ - $CONFIGURE_ARGS && - + --libexecdir=/usr/lib && # Build everything make && # Install everything - make DESTDIR=$PWD/_pkg install + make install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -47,6 +43,8 @@ pre_install() { + local root + root=$1 echo "Processing pre-install commands..." if [ -f $root/etc/sudoers.bak ]; then cp $root/etc/sudoers $root/etc/sudoers.bak diff -r abd5344ad8c6 -r 4ed538cf3c13 sudo/receipt --- a/sudo/receipt Tue Mar 01 22:10:13 2011 +0000 +++ b/sudo/receipt Tue Mar 01 23:59:45 2011 +0000 @@ -1,11 +1,10 @@ # SliTaz package receipt. PACKAGE="sudo" -VERSION="1.7.4p6" +VERSION="1.8.0" CATEGORY="security" SHORT_DESC="Sudo (su \"do\") allows a system administrator to delegate authority." MAINTAINER="erjo@slitaz.org" -DEPENDS="" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gratisoft.us/sudo/" WGET_URL="http://www.gratisoft.us/sudo/dist/$TARBALL" @@ -16,17 +15,15 @@ compile_rules() { cd $src - ./configure --prefix=/usr \ - --sysconfdir=/etc \ + ./configure --sysconfdir=/etc \ --without-pam \ --with-editor=/bin/vi \ --libexecdir=/usr/lib \ - $CONFIGURE_ARGS && # Build everything make && # Install everything - make DESTDIR=$PWD/_pkg install + make install } # Rules to gen a SliTaz package suitable for Tazpkg.