wok rev 8963
Up: sudo to 1.8.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 01 23:59:45 2011 +0000 (2011-03-01) |
parents | abd5344ad8c6 |
children | 4a193c62c501 |
files | sudo-pam/receipt sudo/receipt |
line diff
1.1 --- a/sudo-pam/receipt Tue Mar 01 22:10:13 2011 +0000 1.2 +++ b/sudo-pam/receipt Tue Mar 01 23:59:45 2011 +0000 1.3 @@ -1,12 +1,11 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="sudo-pam" 1.7 -VERSION="1.7.4p6" 1.8 +VERSION="1.8.0" 1.9 CATEGORY="security" 1.10 SHORT_DESC="Sudo (su \"do\") allows a system administrator to delegate authority using PAM." 1.11 MAINTAINER="erjo@slitaz.org" 1.12 DEPENDS="pam" 1.13 -BUILD_DEPENDS="pam pam-dev" 1.14 SOURCE="sudo" 1.15 TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 WEB_SITE="http://www.gratisoft.us/sudo/" 1.17 @@ -18,17 +17,14 @@ 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 - ./configure --prefix=/usr \ 1.22 - --sysconfdir=/etc \ 1.23 + ./configure --sysconfdir=/etc \ 1.24 --with-pam \ 1.25 --with-editor=/bin/vi \ 1.26 - --libexecdir=/usr/lib \ 1.27 - $CONFIGURE_ARGS && 1.28 - 1.29 + --libexecdir=/usr/lib && 1.30 # Build everything 1.31 make && 1.32 # Install everything 1.33 - make DESTDIR=$PWD/_pkg install 1.34 + make install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 @@ -47,6 +43,8 @@ 1.39 1.40 pre_install() 1.41 { 1.42 + local root 1.43 + root=$1 1.44 echo "Processing pre-install commands..." 1.45 if [ -f $root/etc/sudoers.bak ]; then 1.46 cp $root/etc/sudoers $root/etc/sudoers.bak
2.1 --- a/sudo/receipt Tue Mar 01 22:10:13 2011 +0000 2.2 +++ b/sudo/receipt Tue Mar 01 23:59:45 2011 +0000 2.3 @@ -1,11 +1,10 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="sudo" 2.7 -VERSION="1.7.4p6" 2.8 +VERSION="1.8.0" 2.9 CATEGORY="security" 2.10 SHORT_DESC="Sudo (su \"do\") allows a system administrator to delegate authority." 2.11 MAINTAINER="erjo@slitaz.org" 2.12 -DEPENDS="" 2.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 WEB_SITE="http://www.gratisoft.us/sudo/" 2.15 WGET_URL="http://www.gratisoft.us/sudo/dist/$TARBALL" 2.16 @@ -16,17 +15,15 @@ 2.17 compile_rules() 2.18 { 2.19 cd $src 2.20 - ./configure --prefix=/usr \ 2.21 - --sysconfdir=/etc \ 2.22 + ./configure --sysconfdir=/etc \ 2.23 --without-pam \ 2.24 --with-editor=/bin/vi \ 2.25 --libexecdir=/usr/lib \ 2.26 - $CONFIGURE_ARGS && 2.27 2.28 # Build everything 2.29 make && 2.30 # Install everything 2.31 - make DESTDIR=$PWD/_pkg install 2.32 + make install 2.33 } 2.34 2.35 # Rules to gen a SliTaz package suitable for Tazpkg.