enum4linux-0.9.1.ebuild

This commit is contained in:
Anton Bolshakov 2021-08-19 09:24:05 +08:00
parent ffeaa0316b
commit 4909b65e64
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 34 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST enum4linux-0.8.9.tar.gz 31949 BLAKE2B 2a682c8a055de9a90ca3ba19cf3d35ce51d1184f308d706831bd09bf4369e26256ea6e07ed2def6b3718165cc70775728f4582d6c143d738da4b1f9955852ca5 SHA512 3c3973ed85cbd585f5534a6871c4c07111d112d0be4e776780974e06ad4f0e47132a7d22e6c68658af5903811e9b87ef77e0b48e3dad848e2ebef5058b46ac83
DIST enum4linux-0.9.1.tar.gz 19775 BLAKE2B ceab9df2d421678e23634437528661fa28642e3ce3a2dcde7c5a6d2914107ac31d6943dbe0aec49a86f206c70c224b3b99f0de786de9df52b3df3a47fb9eb860 SHA512 acb454130e171eb5b9b5f9ff4bff823a4caefb8d052b092b0f84b2020314c1f1a4385342b6be091b2f84f2f0ea67b9fdfed23952bdb66014ad1acf6438b51d9d

View file

@ -0,0 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A tool for enumerating information from Windows and Samba systems"
HOMEPAGE="https://labs.portcullis.co.uk/application/enum4linux/"
#SRC_URI="https://labs.portcullis.co.uk/download/${P}.tar.gz"
SRC_URI="https://github.com/CiscoCXSecurity/enum4linux/archive/refs/tags/v0.9.1.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="+polenum ldap"
DEPEND=""
RDEPEND="
dev-lang/perl:0=
net-fs/samba
polenum? ( net-analyzer/polenum )
ldap? ( net-nds/openldap )"
src_prepare () {
sed -i -e 's/polenum.py/polenum/' ${PN}.pl || die "Sed failed!"
default
}
src_install () {
newbin ${PN}.pl ${PN}
insinto "/usr/share/${PN}"
doins share-list.txt
dodoc CHANGELOG
}