sci-chemistry/ball: remove last rited package

Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2019-05-02 21:50:01 +03:00
parent 90360a7c02
commit 1aa904188f
13 changed files with 0 additions and 514 deletions

View File

@@ -1,3 +0,0 @@
DIST dsniff-2.4b1.tar.gz 131666 BLAKE2B f0cc3c875ed37ee573a28d2c54e7dc89bd14df233b047273ebb054820c2f8c61be22b0310c9354446a9ca6e99fdcd7f027fa7a122da667d4a809362dcb8c957f SHA512 62dafab293de6dc3e9b01561b3627d63ca334467c01c3550a6318d8bcbe99d5a301ec16967af34065a14e8bca1c4b6a41da766cbd51ebd8338615b950c4f642f
DIST dsniff_2.4b1+debian-18.diff.gz 44819 BLAKE2B 79b5614cbe4f36c2d321cd392cbfd2db94530680fbbab35f5069850ab6bda0fab6b7a2a93a983773793b9f645499c24393d6c652f0aba6c48651ae17ff4b24fe SHA512 9f219dfa7fd68399126cd2b373a7054168638606c03e8297af46a89c242f81e45f99857922e6782cab608b8cafab528bcfaeb37acd3cca85f5b4a8efd91e71d5
DIST dsniff_2.4b1+debian-22.1.debian.tar.gz 29657 BLAKE2B 88333aad1498cb5b4fd68776f8e0599672c9c69ee5b0d5424f0a8e9f0958412fb420a6d6ae6d46dc5e6c73c4ab39b1fedbef1a4c6879bb4c2bd363271cb6d98b SHA512 11c6a3c04b5a8b3afb78901003132186964e88019011bea69b43a000c31d23f15c1a1c343c2ad1b03bf0a09664aebfa6f99e335fdfa1496bb020db6541eab6e3

View File

@@ -1,83 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools toolchain-funcs
DESCRIPTION="A collection of tools for network auditing and penetration testing"
HOMEPAGE="https://monkey.org/~dugsong/dsniff/"
SRC_URI="
https://monkey.org/~dugsong/${PN}/beta/${P/_beta/b}.tar.gz
mirror://debian/pool/main/d/${PN}/${PN}_2.4b1+debian-22.1.debian.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
IUSE="libressl X"
DEPEND="net-libs/libpcap
>=net-libs/libnet-1.1.2.1-r1
>=net-libs/libnids-1.21
net-libs/libnsl:0=
net-libs/libtirpc
net-libs/rpcsvc-proto
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
>=sys-libs/db-4:*
X? ( x11-libs/libXmu )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P/_beta1/}"
src_prepare() {
# replace Debian patch 23 with a simpler one (bug #506076)
mv -v \
"${WORKDIR}"/debian/patches/23_urlsnarf_timestamp.patch{,.old} || die
cp -v \
"${FILESDIR}"/${PV}-urlsnarf-pcap_timestamps.patch \
"${WORKDIR}"/debian/patches/23_urlsnarf_timestamp.patch || die
# Debian patchset, needs to be applied in the exact order that "series"
# lists or patching will fail.
# Bug #479882
eapply $(
for file in $(< "${WORKDIR}"/debian/patches/series ); do
printf "%s/debian/patches/%s " "${WORKDIR}" "${file}"
done
)
# Bug 125084
eapply "${FILESDIR}"/${PV}-httppostfix.patch
# various Makefile.in patches
eapply "${FILESDIR}"/${PV}-make.patch
# bug #538462
eapply "${FILESDIR}"/${PV}-macof-size-calculation.patch
# libtirpc support
eapply "${FILESDIR}"/${PV}-rpc.patch
default
eautoreconf
}
src_configure() {
econf \
--with-libtirpc \
$(use_with X x) \
|| die "econf failed"
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
emake install install_prefix="${D}"
dodir /etc/dsniff
cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \
"${D}"/etc/dsniff/ || die
dodoc CHANGES README TODO
}

View File

@@ -1,59 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=0
inherit autotools eutils flag-o-matic toolchain-funcs
DESCRIPTION="A collection of tools for network auditing and penetration testing"
HOMEPAGE="https://monkey.org/~dugsong/dsniff/"
SRC_URI="https://monkey.org/~dugsong/${PN}/beta/${P/_beta/b}.tar.gz
mirror://debian/pool/main/d/${PN}/${PN}_2.4b1+debian-18.diff.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="X"
DEPEND="net-libs/libpcap
>=net-libs/libnet-1.1.2.1-r1
>=net-libs/libnids-1.21
>=dev-libs/openssl-0.9.6e
>=sys-libs/db-4.2.52_p4
sys-apps/sed
X? ( x11-libs/libXmu )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P/_beta1/}"
src_unpack() {
unpack ${A}
cd "${S}"
# Debian's patchset
epatch "${DISTDIR}"/${PN}_2.4b1+debian-18.diff.gz
epatch "${S}"/dsniff-2.4b1+debian/debian/patches/*.dpatch
sed -i 's:-DDSNIFF_LIBDIR=\\\"$(libdir)/\\\"::' Makefile.in || die "sed makefile"
epatch "${FILESDIR}"/2.3-makefile.patch
# Bug 125084
epatch "${FILESDIR}"/${PV}-httppostfix.patch
eautoreconf
}
src_compile() {
econf \
$(use_with X x) \
|| die "econf failed"
emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
emake install install_prefix="${D}" || die "emake install failed"
dodir /etc/dsniff
cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \
"${D}"/etc/dsniff/
dodoc CHANGES README TODO
}

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils flag-o-matic toolchain-funcs
DESCRIPTION="A collection of tools for network auditing and penetration testing"
HOMEPAGE="https://monkey.org/~dugsong/dsniff/"
SRC_URI="
https://monkey.org/~dugsong/${PN}/beta/${P/_beta/b}.tar.gz
mirror://debian/pool/main/d/${PN}/${PN}_2.4b1+debian-22.1.debian.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="libressl X"
DEPEND="net-libs/libpcap
>=net-libs/libnet-1.1.2.1-r1
>=net-libs/libnids-1.21
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
>=sys-libs/db-4:*
X? ( x11-libs/libXmu )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P/_beta1/}"
src_prepare() {
# Debian patchset, needs to be applied in the exact order that "series"
# lists or patching will fail.
# Bug #479882
epatch $(
for file in $(< "${WORKDIR}"/debian/patches/series ); do
printf "%s/debian/patches/%s " "${WORKDIR}" "${file}"
done
)
# Bug 125084
epatch "${FILESDIR}"/${PV}-httppostfix.patch
# various Makefile.in patches
epatch "${FILESDIR}"/${PV}-make.patch
# bug #538462
epatch "${FILESDIR}"/${PV}-macof-size-calculation.patch
eautoreconf
}
src_configure() {
econf \
$(use_with X x) \
|| die "econf failed"
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
emake install install_prefix="${D}"
dodir /etc/dsniff
cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \
"${D}"/etc/dsniff/
dodoc CHANGES README TODO
}

View File

@@ -1,86 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils flag-o-matic toolchain-funcs
DESCRIPTION="A collection of tools for network auditing and penetration testing"
HOMEPAGE="https://monkey.org/~dugsong/dsniff/"
SRC_URI="
https://monkey.org/~dugsong/${PN}/beta/${P/_beta/b}.tar.gz
mirror://debian/pool/main/d/${PN}/${PN}_2.4b1+debian-22.1.debian.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="libressl X"
DEPEND="net-libs/libpcap
>=net-libs/libnet-1.1.2.1-r1
>=net-libs/libnids-1.21
net-libs/libnsl:0=
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
>=sys-libs/db-4:*
|| ( <sys-libs/glibc-2.26[rpc]
(
>=sys-libs/glibc-2.26
net-libs/rpcsvc-proto
net-libs/libtirpc
)
)
X? ( x11-libs/libXmu )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P/_beta1/}"
src_prepare() {
# replace Debian patch 23 with a simpler one (bug #506076)
mv -v \
"${WORKDIR}"/debian/patches/23_urlsnarf_timestamp.patch{,.old} || die
cp -v \
"${FILESDIR}"/${PV}-urlsnarf-pcap_timestamps.patch \
"${WORKDIR}"/debian/patches/23_urlsnarf_timestamp.patch || die
# Debian patchset, needs to be applied in the exact order that "series"
# lists or patching will fail.
# Bug #479882
epatch $(
for file in $(< "${WORKDIR}"/debian/patches/series ); do
printf "%s/debian/patches/%s " "${WORKDIR}" "${file}"
done
)
# Bug 125084
epatch "${FILESDIR}"/${PV}-httppostfix.patch
# various Makefile.in patches
epatch "${FILESDIR}"/${PV}-make.patch
# bug #538462
epatch "${FILESDIR}"/${PV}-macof-size-calculation.patch
# allow building against libtirpc, needed for glibc-2.26, bug 381391
epatch "${FILESDIR}"/${PV}-libtirpc.patch
eautoreconf
}
src_configure() {
econf \
$(use_with X x) \
|| die "econf failed"
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
emake install install_prefix="${D}"
dodir /etc/dsniff
cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \
"${D}"/etc/dsniff/
dodoc CHANGES README TODO
}

View File

@@ -1,29 +0,0 @@
--- a/Makefile.in 2003-08-25 18:07:17.000000000 +1200
+++ b/Makefile.in 2003-08-25 18:29:13.000000000 +1200
@@ -94,7 +94,7 @@
$(RANLIB) $@
dsniff: $(HDRS) $(SRCS) $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(DBLIB) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(SSLLIB)
arpspoof: arpspoof.o arp.o
$(CC) $(LDFLAGS) -o $@ arpspoof.o arp.o $(LIBS) $(PCAPLIB) $(LNETLIB)
@@ -115,7 +115,7 @@
$(CC) $(LDFLAGS) -o $@ msgsnarf.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
sshmitm: sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o
- $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
+ $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
tcpkill: tcpkill.o pcaputil.o
$(CC) $(LDFLAGS) -o $@ tcpkill.o pcaputil.o $(LIBS) $(PCAPLIB) $(LNETLIB)
@@ -130,7 +130,7 @@
$(CC) $(LDFLAGS) -o $@ urlsnarf.o base64.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
webmitm: webmitm.o base64.o buf.o decode_http.o record.o
- $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
+ $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
webspy: webspy.o base64.o buf.o remote.o
$(CC) $(LDFLAGS) -o $@ webspy.o base64.o buf.o remote.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(X11LIB)

View File

@@ -1,20 +0,0 @@
--- a/decode_http.c 2000-12-19 07:38:05.000000000 +0800
+++ b/decode_http.c 2006-03-05 22:32:14.000000000 +0800
@@ -139,14 +139,14 @@
host = p;
}
else if (req[0] == 'P') {
- if (strncmp(p, "Content-type: ", 14) == 0) {
- if (strncmp(p + 14, "application/"
+ if (strncasecmp(p, "Content-type: ", 14) == 0) {
+ if (strncasecmp(p + 14, "application/"
"x-www-form-urlencoded",
33) != 0) {
query = NULL;
}
}
- else if (strncmp(p, "Content-length: ", 16) == 0) {
+ else if (strncasecmp(p, "Content-length: ", 16) == 0) {
p += 16;
i = atoi(p);
if ((msg = buf_tok(&inbuf, NULL, i)) == NULL)

View File

@@ -1,22 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,8 +37,8 @@
X11INC = @X_CFLAGS@
X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
-INCS = -I. $(X11INC) -I$(srcdir)/missing
-LIBS = @LIBS@ -L$(srcdir) -lmissing
+INCS = -I. $(X11INC) -I$(srcdir)/missing @TIRPC_CFLAGS@
+LIBS = @LIBS@ -L$(srcdir) -lmissing @TIRPC_LIBS@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
--- a/configure.in
+++ b/configure.in
@@ -338,4 +338,6 @@
AC_SUBST(SSLINC)
AC_SUBST(SSLLIB)
+PKG_CHECK_MODULES([TIRPC], [libtirpc], [], [AC_MSG_NOTICE([Using glibc rpc support])])
+
AC_OUTPUT(Makefile)

View File

@@ -1,11 +0,0 @@
--- a/macof.c
+++ b/macof.c
@@ -134,7 +134,7 @@ main(int argc, char *argv[])
libnet_build_tcp(sport, dport, seq, 0, TH_SYN, 512,
0, 0, LIBNET_TCP_H, NULL, 0, l, 0);
- libnet_build_ipv4(LIBNET_TCP_H, 0,
+ libnet_build_ipv4(LIBNET_IPV4_H + LIBNET_TCP_H, 0,
libnet_get_prand(LIBNET_PRu16), 0, 64,
IPPROTO_TCP, 0, src, dst, NULL, 0, l, 0);

View File

@@ -1,62 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -16,7 +16,7 @@
mandir = @mandir@
CC = @CC@
-CFLAGS = @CFLAGS@ -DDSNIFF_LIBDIR=\"$(libdir)/\"
+CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
PCAPINC = @PCAPINC@
@@ -75,12 +75,20 @@
.c.o:
$(CC) $(CFLAGS) $(INCS) -c $(srcdir)/$*.c
-all: libmissing.a $(PROGS)
+all: $(PROGS)
+
+$(PROGS): libmissing.a
+
+$(OBJS): $(GEN)
+mount.h: mount.x
+ rpcgen -h mount.x -o mount.h
+
mount.c: mount.x
- rpcgen -h mount.x -o mount.h
rpcgen -c mount.x -o mount.c
+nfs_prot.h: nfs_prot.x
+ rpcgen -h nfs_prot.x -o nfs_prot.h
+
nfs_prot.c: nfs_prot.x
- rpcgen -h nfs_prot.x -o nfs_prot.h
rpcgen -c nfs_prot.x -o nfs_prot.c
@@ -93,7 +97,7 @@
$(RANLIB) $@
dsniff: $(HDRS) $(SRCS) $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(DBLIB) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(SSLLIB)
arpspoof: arpspoof.o arp.o
$(CC) $(LDFLAGS) -o $@ arpspoof.o arp.o $(LIBS) $(PCAPLIB) $(LNETLIB)
@@ -114,7 +118,7 @@
$(CC) $(LDFLAGS) -o $@ msgsnarf.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
sshmitm: sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o
- $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
+ $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
sshow: sshow.o pcaputil.o
$(CC) $(LDFLAGS) -o $@ sshow.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
@@ -132,7 +136,7 @@
$(CC) $(LDFLAGS) -o $@ urlsnarf.o base64.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
webmitm: webmitm.o base64.o buf.o decode_http.o record.o
- $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
+ $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
webspy: webspy.o base64.o buf.o remote.o
$(CC) $(LDFLAGS) -o $@ webspy.o base64.o buf.o remote.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(X11LIB)

View File

@@ -1,39 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,8 +37,8 @@
X11INC = @X_CFLAGS@
X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
-INCS = -I. $(X11INC) -I$(srcdir)/missing
-LIBS = @LIBS@ -L$(srcdir) -lmissing
+INCS = -I. $(X11INC) -I$(srcdir)/missing @RPC_CFLAGS@
+LIBS = @LIBS@ -L$(srcdir) -lmissing @RPC_LIBS@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
--- a/configure.in
+++ b/configure.in
@@ -337,4 +337,23 @@
AC_SUBST(SSLINC)
AC_SUBST(SSLLIB)
+AC_ARG_WITH([libtirpc],
+ AS_HELP_STRING([--with-libtirpc], [Use libtirpc as RPC implementation (instead of sunrpc)]),
+ [], [ with_libtirpc=no ])
+
+AS_IF([test "x$with_libtirpc" != xno],
+ [PKG_CHECK_MODULES([TIRPC],
+ [libtirpc],
+ [RPC_CFLAGS=$TIRPC_CFLAGS; RPC_LIBS=$TIRPC_LIBS;],
+ [AC_MSG_ERROR([libtirpc requested, but library not found.])]
+ )],
+ [AC_CHECK_HEADER(rpc/rpc.h,
+ [RPC_CFLAGS=""; RPC_LIBS="";],
+ [AC_MSG_ERROR([sunrpc requested, but headers are not present.])]
+ )]
+)
+
+AC_SUBST(RPC_CFLAGS)
+AC_SUBST(RPC_LIBS)
+
AC_OUTPUT(Makefile)

View File

@@ -1,15 +0,0 @@
Author: Hilko Bengen <bengen@debian.org>
Description: urlsnarf: use timestamps from pcap file if available. Closes: #573365
Index: dsniff-2.4b1+debian/urlsnarf.c
===================================================================
--- a/urlsnarf.c
+++ b/urlsnarf.c
@@ -57,7 +57,7 @@
{
static char tstr[32], sign;
struct tm *t, gmt;
- time_t tt = time(NULL);
+ time_t tt = nids_last_pcap_header->ts.tv_sec;
int days, hours, tz, len;
gmt = *gmtime(&tt);

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>netmon@gentoo.org</email>
<name>Gentoo network monitoring and analysis project</name>
</maintainer>
<longdescription>
dsniff is a collection of tools for network auditing and penetration testing.
dsniff, filesnarf, mailsnarf, msgsnarf, urlsnarf, and webspy passively monitor a
network for interesting data (passwords, e-mail, files, etc.). arpspoof,
dnsspoof, and macof facilitate the interception of network traffic normally
unavailable to an attacker (e.g, due to layer-2 switching). sshmitm and webmitm
implement active monkey-in-the-middle attacks against redirected SSH and HTTPS
sessions by exploiting weak bindings in ad-hoc PKI.
</longdescription>
</pkgmetadata>