net-analyzer/medusa: pull afp use flag

This commit is contained in:
Rick Farina (Zero_Chaos) 2021-04-13 21:29:47 -04:00
parent 7c658256fb
commit 0a7ea5b982
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 3 additions and 57 deletions

View file

@ -1,2 +1 @@
DIST medusa-2.2_p20181217.tar.gz 411303 BLAKE2B 0081d8ff66fb64e10d8f69d0b3eea4cdf8d87909943929b1ceba0d314dc17be8c5d00f66331bf6b37eadf62b01a1b708948d3b6420ac8cc9733ceeba454ca6fc SHA512 8f3b528f75b1ae7e190f07084860dede5425d791519867b6a80a36625ab630fc315f313400d6b81fe8de2333c3085dbc607b295e7a7f467bebb1b6ae9b565da5
DIST medusa-2.3_pre.tar.gz 409771 BLAKE2B 32488f6f1f1420111fd8c317826ee1461e76363a70e89b824f43bd98fc3510f5fd98535613567beb0474716bdf430fc621ae465c258b30e16c692f921ce6860d SHA512 f91ce187bb77502a65663b38778eadd75f9e77e7e7e6197f55a78f926c4ef80747d230a0fa27ee8ec946557305c4f3a2f8d0ea832bd1d728fb71415a77b6d74d

View file

@ -1,55 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MODULES=( afp ncp postgres +rdp +ssh subversion )
inherit autotools multilib
DESCRIPTION="A modular, parallel, multiprotocol, network login auditor"
HOMEPAGE="http://foofus.net/goons/jmk/medusa/medusa.html"
COMMIT_HASH="292193b3995444aede53ff873899640b08129fc7" # 20181217
SRC_URI="https://github.com/jmk-foofus/medusa/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="${MODULES[@]} debug libressl"
DOCS=( AUTHORS NEWS README.md TODO ChangeLog sample )
RDEPEND="
ssh? ( net-libs/libssh2 )
postgres? ( dev-db/postgresql:= )
rdp? ( net-misc/freerdp )
subversion? ( dev-vcs/subversion )
!libressl? ( dev-libs/openssl:= )
libressl? ( dev-libs/libressl:= )
afp? ( net-fs/afpfs-ng )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
src_prepare() {
sed -e "s:\$_dir/libssh2.so:/usr/$(get_libdir)/libssh2.so:" \
-e "s/module-svn/module-subversion/" \
-i configure.ac || die 'sed failed!'
eautoreconf
default
}
src_configure() {
local econfargs
for x in ${MODULES[@]}; do
econfargs+=( $(use_enable ${x/[[:punct:]]} module-${x/[[:punct:]]}) )
done
econf \
--with-default-mod-path="/usr/$(get_libdir)/medusa/modules" \
$(use_enable debug) \
${econfargs[@]}
}

View file

@ -26,7 +26,9 @@ RDEPEND="
subversion? ( dev-vcs/subversion )
!libressl? ( dev-libs/openssl:= )
libressl? ( dev-libs/libressl:= )
afp? ( net-fs/afpfs-ng )"
"
#afp was removed as unmaintained and unbuildable
#afp? ( net-fs/afpfs-ng )"
#FIXME: CONFIG_NCP_FS
DEPEND="${RDEPEND}"