diff options
author | Karel Kočí <cynerd@email.cz> | 2017-05-17 08:38:46 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-05-17 08:38:46 +0200 |
commit | b9e35923da6bf013f2c582e921f6086900ad63b3 (patch) | |
tree | 992ffbcce47b6ac6825307985fcbe2d68419f9b0 /app-admin | |
parent | a880dd3943f1feb3f8f40c7425d59d58a0acdda9 (diff) | |
download | gentoo-personal-overlay-b9e35923da6bf013f2c582e921f6086900ad63b3.tar.gz gentoo-personal-overlay-b9e35923da6bf013f2c582e921f6086900ad63b3.tar.bz2 gentoo-personal-overlay-b9e35923da6bf013f2c582e921f6086900ad63b3.zip |
Update mysudo to version 1.8.20
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/mysudo/mysudo-1.8.20.ebuild (renamed from app-admin/mysudo/mysudo-1.8.19_p2.ebuild) | 75 |
1 files changed, 45 insertions, 30 deletions
diff --git a/app-admin/mysudo/mysudo-1.8.19_p2.ebuild b/app-admin/mysudo/mysudo-1.8.20.ebuild index 8bef237..af69dfc 100644 --- a/app-admin/mysudo/mysudo-1.8.19_p2.ebuild +++ b/app-admin/mysudo/mysudo-1.8.20.ebuild @@ -11,7 +11,7 @@ MY_P=${MY_P/mysudo/sudo} uri_prefix= case ${P} in -*_beta*|*_rc*) uri_prefix=beta/ ;; + *_beta*|*_rc*) uri_prefix=beta/ ;; esac DESCRIPTION="Allows users or groups to run commands as other users" @@ -26,28 +26,40 @@ SLOT="0" if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris" fi -IUSE="rootpath ldap nls pam offensive selinux skey +sendmail" +IUSE="with-secure-path gcrypt ldap nls pam offensive openssl selinux skey +sendmail" -DEPEND="pam? ( virtual/pam ) +CDEPEND=" + gcrypt? ( dev-libs/libgcrypt:= ) + openssl? ( dev-libs/openssl:0= ) + pam? ( virtual/pam ) skey? ( >=sys-auth/skey-1.1.5-r1 ) ldap? ( >=net-nds/openldap-2.1.30-r1 dev-libs/cyrus-sasl ) - sys-libs/zlib" -RDEPEND="${DEPEND} + sys-libs/zlib +" +RDEPEND=" + ${CDEPEND} selinux? ( sec-policy/selinux-sudo ) ldap? ( dev-lang/perl ) pam? ( sys-auth/pambase ) >=app-misc/editor-wrapper-3 virtual/editor - sendmail? ( virtual/mta )" -DEPEND="${DEPEND} - sys-devel/bison" + sendmail? ( virtual/mta ) +" +DEPEND=" + ${CDEPEND} + sys-devel/bison +" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" -REQUIRED_USE="pam? ( !skey ) skey? ( !pam )" +REQUIRED_USE=" + pam? ( !skey ) + skey? ( !pam ) + ?? ( gcrypt openssl ) +" MAKEOPTS+=" SAMPLES=" @@ -105,26 +117,29 @@ src_configure() { # plugindir: autoconf code is crappy and does not delay evaluation # until `make` time, so we have to use a full path here rather than # basing off other values. - econf \ - --enable-zlib=system \ - $(use_with rootpath rootpath ${ROOTPATH}) \ - --with-editor="${EPREFIX}"/usr/libexec/editor \ - --with-env-editor \ - $(use_with offensive insults) \ - $(use_with offensive all-insults) \ - $(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \ - $(use_with ldap) \ - $(use_enable nls) \ - $(use_with pam) \ - $(use_with skey) \ - $(use_with selinux) \ - $(use_with sendmail) \ - --without-opie \ - --without-linux-audit \ - --with-rundir="${EPREFIX}"/var/run/sudo \ - --with-vardir="${EPREFIX}"/var/db/sudo \ - --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} + myeconfargs=( + --enable-zlib=system + --with-editor="${EPREFIX}"/usr/libexec/editor + --with-env-editor + --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo + --with-rundir="${EPREFIX}"/var/run/sudo + $(use_with with-secure-path with-secure-path ${ROOTPATH}) + --with-vardir="${EPREFIX}"/var/db/sudo + --without-linux-audit + --without-opie + $(use_enable gcrypt) + $(use_enable nls) + $(use_enable openssl) + $(use_with offensive insults) + $(use_with offensive all-insults) + $(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) + $(use_with ldap) + $(use_with pam) + $(use_with skey) + $(use_with selinux) + $(use_with sendmail) + ) + econf "${myeconfargs[@]}" } src_install() { |