diff options
author | Herb Miller Jr <herbert.miller@industryweapon.com> | 2018-06-11 17:50:02 -0400 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-06-17 13:14:38 +0200 |
commit | b955066a2726c734664fe8d000c4b05675557707 (patch) | |
tree | f6f40cf41698bfef2664350db860f0f58cb280b1 /net-dialup | |
parent | net-dialup/freeradius: Use memcached and rest flags (diff) | |
download | gentoo-b955066a2726c734664fe8d000c4b05675557707.tar.gz gentoo-b955066a2726c734664fe8d000c4b05675557707.tar.bz2 gentoo-b955066a2726c734664fe8d000c4b05675557707.zip |
net-dialup/freeradius: Add samba USE flag.
The rlm_mschap module autodetects existence of samba. This
changes the behavior a little to only build the module if
the samba USE flag is specified.
Bug: https://bugs.gentoo.org/638396
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/freeradius/freeradius-3.0.17.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net-dialup/freeradius/freeradius-3.0.17.ebuild b/net-dialup/freeradius/freeradius-3.0.17.ebuild index 4ba47a9caa3b..59c9dfd3515e 100644 --- a/net-dialup/freeradius/freeradius-3.0.17.ebuild +++ b/net-dialup/freeradius/freeradius-3.0.17.ebuild @@ -21,7 +21,7 @@ SLOT="0" IUSE=" debug firebird iodbc kerberos ldap libressl memcached mysql odbc oracle pam - pcap postgres python readline rest sqlite ssl + pcap postgres python readline rest samba sqlite ssl " RESTRICT="test firebird? ( bindist )" @@ -40,6 +40,7 @@ RDEPEND="!net-dialup/cistronradius firebird? ( dev-db/firebird ) pam? ( virtual/pam ) rest? ( dev-libs/json-c:= ) + samba? ( net-fs/samba ) ssl? ( !libressl? ( dev-libs/openssl:0=[-bindist] ) libressl? ( dev-libs/libressl:0= ) @@ -79,6 +80,8 @@ src_prepare() { use pam || { rm -r src/modules/rlm_pam || die ; } use python || { rm -r src/modules/rlm_python || die ; } use rest || { rm -r src/modules/rlm_rest || die ; } + # can't just nuke rlm_mschap because many modules rely on smbdes.h + use samba || { rm -r src/modules/rlm_mschap/{configure,*.mk} || die ; } # Do not install ruby rlm module, bug #483108 rm -r src/modules/rlm_ruby || die |