crackmapexec: 3.0 bump without keywording, broken

This commit is contained in:
blshkv 2016-04-05 11:44:36 +08:00
parent 7df67d5536
commit ec4ff49bad
5 changed files with 75 additions and 6 deletions

View file

@ -1,2 +1,2 @@
DIST crackmapexec-2.2.tar.gz 844048 SHA256 58595afab81d070ae8d648b70838530f1bf164bd81960ca5914cec0ff4cd2d57 SHA512 9f2caeb017de2f4c11b47665827451abee913a8290e5739a4c711f6ab43b6181a25e9618a6f94c82f88e0c587ff16801335c4e835172a3544501915d466e8897 WHIRLPOOL cb8bc5d815ddc5828c12a29694610248c95c7f84a37c2b4b8f2064aeae76c1eb93eaadcc23db04afebd66537282e3fb545f6ec568b085247fb5b95740c095109
DIST crackmapexec-2.3.tar.gz 846765 SHA256 8958c73a1ad753f0519b3117e441662e57a6c4f5ee1827ef78f18c376c010240 SHA512 865ab679b0e35d08d848882e270054e509b2e7ce3818eb3fc5ad8c781473e12119dcac70d8861fc607f38ef82d6391ae13251bbf3a6226599a2d7fb4cc51500b WHIRLPOOL 6c1d62c7e8f6d4bbeb6c0cf5d4bf277fe4800ad7198424e05950165a0b79f9e2ea565b907e50289a856ee5135ade962f59106b220449e4eaaa43ed99a614a653
DIST crackmapexec-3.0.tar.gz 52272 SHA256 8db3a5054fa8713181ab78e400b24838ba57ca6a925873b5bc6f51da46876cbd SHA512 36187c339b78a8515d9f267f657e0db97f50c80751135b20738839c2924567764e6f712a2e0baa155e02d058f7fb2bead050dbe01dc51a63477bbc8d90ddd106 WHIRLPOOL db42d99b7c65fcb3d9d5c478b7d3003ce57338148db54d06b69c41de05eb2fc0a0a9a8b04da4030a93baccd05c50cefef71e551e9bede4f7e31b8ff177fede8e

View file

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -16,20 +16,27 @@ KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SLOT="0"
RDEPEND=">dev-python/impacket-0.9.13
RDEPEND=">=dev-python/impacket-0.9.14
dev-python/gevent
dev-python/netaddr
dev-python/pycrypto
dev-python/pyasn1
dev-python/termcolor
dev-python/colorama"
dev-python/colorama
dev-python/pyopenssl"
S="${WORKDIR}/CrackMapExec-${PV}"
src_prepare() {
cd setup
python2 ./setup_database.py
cd ..
}
src_install() {
fperms +x crackmapexec.py
dodir /usr/$(get_libdir)/${PN}
cp -pPR "${S}"/* "${ED}"/usr/$(get_libdir)/"${PN}" || die
# python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}
dosym /usr/$(get_libdir)/${PN}/${PN}.py /usr/sbin/${PN}
}

View file

@ -1 +1,2 @@
DIST xplico-1.1.0.tgz 3692520 SHA256 3e0854ca7338efe0a0688525ac09c015a0cf8cc16db0840fa5c65351038594ac SHA512 d3a064dfd2ff632d7074ca9e770d89d4fded296f9235b16c6581484ccc0e1bf038780bcfc65f73559a142c0c40115ff574a5a59be10ec060691da1b06da0be5e WHIRLPOOL eb276308ac05bbc04a2cfd5adb719ae12f84802e859f1adbe672154ebb119d21500005d5146004d8d42b0c37a42e6927c8e8b8857034283c6aa783dad31847d4
DIST xplico-1.1.2.tgz 3133277 SHA256 08cc8bbae705e5ea3643d876e93b0dd14dd593595de0ae6ecf6a1089a056af25 SHA512 aaa205dfd3b601bd3ab510c5e0060521c85075d46754ce6d00d04e5536d957589ce7d41a27a30001273f50e653af6b8a15f0db3954cddd0ffb698c2d73934d44 WHIRLPOOL 558d2773afed001306bddf94542be372492bb808c6eeeeb8f2f36bbbc3997f215dd148c7148c97f662993bd54de259e736cb451d260a66e165bec346adb5794f

View file

@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/$PN/$P.tgz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="+geoip mysql"
SLOT="1.0.0"
SLOT="0"
DEPEND="net-libs/libpcap
>=net-libs/libndpi-1.5.0"

View file

@ -0,0 +1,61 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit multilib webapp eutils
WEBAPP_MANUAL_SLOT="yes"
DESCRIPTION="Extract data from TCP/IP traffic"
HOMEPAGE="http://www.xplico.org"
SRC_URI="mirror://sourceforge/$PN/$P.tgz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="+geoip mysql"
SLOT="0"
DEPEND="net-libs/libpcap
>=net-libs/libndpi-1.5.0"
RDEPEND="mysql? ( dev-db/mysql )
media-sound/sox
media-sound/lame
dev-lang/php
virtual/httpd-cgi
dev-db/sqlite:3
>=net-libs/libndpi-1.5.0
geoip? ( dev-libs/geoip ) "
# cups? ( app-text/ghostscript-gpl ) "
#videosnarf
src_prepare() {
epatch "${FILESDIR}"/"${P}"-dont-strip.patch
#unbundle libndpi
epatch "${FILESDIR}"/"${P}"-libndpi15.patch
# TODO:
# unbundle json-c and geoip
# fix CFLAGS
sed -i "s|CFLAGS = -rdynamic|CFLAGS += -rdynamic|g" Makefile
# sed -i "s|CFLAGS = -rdynamic|CFLAGS += -rdynamic|g" system/dema/Makefile
if use geoip; then
sed -i -e "s|GEOIP_LIB =.*|GEOIP_LIB = /usr/$(get_libdir)/libGeoIP.a|g" Makefile
sed -i "s|GeoLiteCity.dat|/usr/share/GeoIP/GeoIP.dat|" common/geoiploc.c
sed -i "s|-lpthread|-lpthread -lGeoIP|g" manipulators/www/Makefile\
manipulators/mfbc/Makefile manipulators/mwmail/Makefile\
manipulators/mfile/Makefile
fi
}
src_compile() {
emake -j1
}
src_install() {
webapp_src_preinst
# mv xi "${D}"/${MY_HTDOCSDIR}/xplico
DESTDIR="${D}" emake -j1 install
webapp_src_install
}