net-analyzer/medusa - 2.3 (pentoo)

Search

Install

Install this version:

emerge -a =net-analyzer/medusa-2.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-analyzer/medusa-2.3

Or alternatively:

emerge --autounmask-write -a =net-analyzer/medusa-2.3

Package Information

Description:
A modular, parallel, multiprotocol, network login auditor
Homepage:
http://foofus.net/goons/jmk/medusa/medusa.html
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2.3 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MODULES=( postgres +rdp +ssh subversion )

inherit autotools

DESCRIPTION="A modular, parallel, multiprotocol, network login auditor"
HOMEPAGE="http://foofus.net/goons/jmk/medusa/medusa.html"

#SRC_URI="https://github.com/jmk-foofus/medusa/releases/download/2.3/medusa-2.3.tar.gz"
SRC_URI="https://github.com/jmk-foofus/medusa/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="${MODULES[@]} debug"
DOCS=( AUTHORS NEWS README.md TODO ChangeLog sample )

RDEPEND="dev-libs/openssl:=
	ssh? ( net-libs/libssh2 )
	postgres? ( dev-db/postgresql:= )
	rdp? ( net-misc/freerdp )
	subversion? ( dev-vcs/subversion )
	"
	#afp was removed as unmaintained and unbuildable
	#afp? ( net-fs/afpfs-ng )"
#FIXME: CONFIG_NCP_FS

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[@]}
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-analyzer/medusa | euse -E <flag> -p net-analyzer/medusa | euse -D <flag> -p net-analyzer/medusa

Global/Standard Flags

(
rdp
Default: Enabled (+)
ssh
Default: Enabled (+)
)

Inherited Eclasses

Dependencies

DEPEND

dev-libs/openssl:=
	ssh? ( net-libs/libssh2 )
	postgres? ( dev-db/postgresql:= )
	rdp? ( net-misc/freerdp )
	subversion? ( dev-vcs/subversion )
	

RDEPEND

dev-libs/openssl:=
	ssh? ( net-libs/libssh2 )
	postgres? ( dev-db/postgresql:= )
	rdp? ( net-misc/freerdp )
	subversion? ( dev-vcs/subversion )
	

Manifest for 2.3

Type File Size Source URLs
DIST medusa-2.3.gh.tar.gz 417509 bytes https://github.com/jmk-foofus/medusa/archive/refs/tags/2.3.tar.gz