sudo: fix flags to enable insults, add license
This commit is contained in:
parent
4fdddc3094
commit
5371c54476
|
@ -1,10 +1,10 @@
|
||||||
# Template build file for 'sudo'.
|
# Template build file for 'sudo'.
|
||||||
pkgname=sudo
|
pkgname=sudo
|
||||||
version=1.8.21p2
|
version=1.8.21p2
|
||||||
revision=1
|
revision=2
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-ignore-dot -with-all-insults --with-env-editor
|
configure_args="--with-ignore-dot --with-insults --with-all-insults --with-env-editor
|
||||||
--enable-shell-sets-home --enable-noargs-shell --without-sendmail
|
--enable-shell-sets-home --enable-noargs-shell --without-sendmail
|
||||||
--with-logfac=auth --disable-root-mailer --enable-pie --with-mdoc
|
--with-logfac=auth --disable-root-mailer --enable-pie --with-mdoc
|
||||||
--sbindir=/usr/bin"
|
--sbindir=/usr/bin"
|
||||||
|
@ -35,8 +35,7 @@ pre_check() {
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
|
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
|
||||||
vmkdir usr/share/licenses/sudo
|
vlicense doc/LICENSE
|
||||||
mv ${DESTDIR}/usr/share/doc/sudo/LICENSE ${DESTDIR}/usr/share/licenses/sudo
|
|
||||||
# remove unused stuff.
|
# remove unused stuff.
|
||||||
rm -rf ${DESTDIR}/usr/share/doc
|
rm -rf ${DESTDIR}/usr/share/doc
|
||||||
rm -rf ${DESTDIR}/usr/include
|
rm -rf ${DESTDIR}/usr/include
|
||||||
|
|
Loading…
Reference in New Issue