mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-03 12:10:50 +02:00
medusa: 2.2_p20181217 bump (add libressl USE flag: https://github.com/pentoo/pentoo-overlay/issues/475)
This commit is contained in:
parent
cec2c022b2
commit
19c50f1f80
3 changed files with 74 additions and 2 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST medusa-2.2.tar.gz 407412 BLAKE2B baa619cbda1c1cb163b3fb600e5670e706b0badf6eab6ae73adbca3e998441dc6538821bd600d2c18f04ed75fded3913b1afb6cfc6405dc7b60c175c301f96cb SHA512 7f79f0ec95d55b04ba3b3cd94a3eaccef87b5ff6cf7ae653d970e968f60b5fb27647a98a34075ee565cf5bc067c60a6883b890729a10af247f3a5e10d7dd0d2a
|
||||
DIST medusa-2.2_p20180712.zip 514115 BLAKE2B 1b52a431357988c963d00f77050805cf081a0f4853418bf29d1458ed7b75add65b7742ef1e915dc206c061c732af280e5dd12d8e7db221168bb5807bfb40808f SHA512 7867af28a1f89d82cf231dc5c67533a84a3669a6d3a19c3b666d172ffbab0ddd9c271fb6c65150b29a5e7951ddba7fcc8e52a3b80f65dd56d165ea6546d4f682
|
||||
DIST medusa-2.2_p20181217.tar.gz 411303 BLAKE2B 0081d8ff66fb64e10d8f69d0b3eea4cdf8d87909943929b1ceba0d314dc17be8c5d00f66331bf6b37eadf62b01a1b708948d3b6420ac8cc9733ceeba454ca6fc SHA512 8f3b528f75b1ae7e190f07084860dede5425d791519867b6a80a36625ab630fc315f313400d6b81fe8de2333c3085dbc607b295e7a7f467bebb1b6ae9b565da5
|
||||
|
|
|
|||
56
net-analyzer/medusa/medusa-2.2_p20181217.ebuild
Normal file
56
net-analyzer/medusa/medusa-2.2_p20181217.ebuild
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# 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 )
|
||||
ncp? ( net-fs/ncpfs )
|
||||
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[@]}
|
||||
}
|
||||
17
net-analyzer/medusa/metadata.xml
Normal file
17
net-analyzer/medusa/metadata.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="afp">Use <pkg>net-fs/afpfs-ng</pkg> end enable AFP module</flag>
|
||||
<flag name="ncp">Use <pkg>net-fs/ncpfs</pkg> end enable NCP module</flag>
|
||||
<flag name="ssh">Enable SSH2 module</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue