pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/dsniff Split parts of Makefile into Makefile....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8114e076dbb7
branches:  trunk
changeset: 491146:8114e076dbb7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Mar 22 01:07:07 2005 +0000

description:
Split parts of Makefile into Makefile.common for use by dsniff-nox11.
Only build webspy in this package, and depend on dsniff to get the
other tools. Bump PKGREVISION.

diffstat:

 security/dsniff/DESCR           |   4 +++-
 security/dsniff/Makefile        |  29 ++++++++++++-----------------
 security/dsniff/Makefile.common |  21 +++++++++++++++++++++
 security/dsniff/PLIST           |  31 ++-----------------------------
 4 files changed, 38 insertions(+), 47 deletions(-)

diffs (107 lines):

diff -r bffbefb1998e -r 8114e076dbb7 security/dsniff/DESCR
--- a/security/dsniff/DESCR     Tue Mar 22 01:05:16 2005 +0000
+++ b/security/dsniff/DESCR     Tue Mar 22 01:07:07 2005 +0000
@@ -1,1 +1,3 @@
-password sniffer, plus sniffing tools for penetration testing
+Password sniffer, plus sniffing tools for penetration testing.
+
+This package contains the X11 tool webspy.
diff -r bffbefb1998e -r 8114e076dbb7 security/dsniff/Makefile
--- a/security/dsniff/Makefile  Tue Mar 22 01:05:16 2005 +0000
+++ b/security/dsniff/Makefile  Tue Mar 22 01:07:07 2005 +0000
@@ -1,22 +1,17 @@
-# $NetBSD: Makefile,v 1.23 2005/02/05 16:11:48 adrianp Exp $
-# $OpenBSD: Makefile,v 1.13 2000/06/19 18:38:55 dugsong Exp $
+# $NetBSD: Makefile,v 1.24 2005/03/22 01:07:07 wiz Exp $
+
+.include "Makefile.common"
 
-DISTNAME=      dsniff-2.3
-PKGREVISION=   3
-CATEGORIES=    security
-MASTER_SITES+= http://monkey.org/~dugsong/dsniff/
+PKGREVISION=   4
+COMMENT=       Password sniffer (webspy)
+
+DEPENDS+=      dsniff-nox11-[0-9]*:../../security/dsniff-nox11
 
-MAINTAINER=    tech-pkg%NetBSD.org@localhost
-HOMEPAGE=      http://monkey.org/~dugsong/dsniff/
-COMMENT=       Password sniffer
+USE_X11=       yes
+BUILD_TARGET=  libmissing.a webspy
 
-USE_BUILDLINK3=        yes
-GNU_CONFIGURE= yes
-USE_X11=       yes
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/webspy ${PREFIX}/sbin
+       ${INSTALL_MAN} ${WRKSRC}/webspy.8 ${PREFIX}/man/man8
 
-BUILDLINK_DEPENDS.libnet+=     libnet-1.0.*
-
-.include "../../net/libpcap/buildlink3.mk"
-.include "../../devel/libnet/buildlink3.mk"
-.include "../../net/libnids/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bffbefb1998e -r 8114e076dbb7 security/dsniff/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/dsniff/Makefile.common   Tue Mar 22 01:07:07 2005 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile.common,v 1.1 2005/03/22 01:07:07 wiz Exp $
+
+DISTNAME=      dsniff-${VERS}
+VERS=          2.3
+CATEGORIES=    security
+MASTER_SITES+= http://monkey.org/~dugsong/dsniff/
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://monkey.org/~dugsong/dsniff/
+
+USE_BUILDLINK3=        yes
+GNU_CONFIGURE= yes
+
+BUILDLINK_DEPENDS.libnet+=     libnet-1.0.*
+
+PATCHDIR=      ${.CURDIR}/../dsniff/patches
+DISTINFO_FILE= ${.CURDIR}/../dsniff/distinfo
+
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../devel/libnet/buildlink3.mk"
+.include "../../net/libnids/buildlink3.mk"
diff -r bffbefb1998e -r 8114e076dbb7 security/dsniff/PLIST
--- a/security/dsniff/PLIST     Tue Mar 22 01:05:16 2005 +0000
+++ b/security/dsniff/PLIST     Tue Mar 22 01:07:07 2005 +0000
@@ -1,30 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:16:37 zuntum Exp $
-sbin/arpspoof
-sbin/dnsspoof
-sbin/dsniff
-sbin/filesnarf
-sbin/macof
-sbin/mailsnarf
-sbin/msgsnarf
-sbin/sshmitm
-sbin/tcpkill
-sbin/tcpnice
-sbin/urlsnarf
-sbin/webmitm
+@comment $NetBSD: PLIST,v 1.2 2005/03/22 01:07:07 wiz Exp $
+man/man8/webspy.8
 sbin/webspy
-lib/dnsspoof.hosts
-lib/dsniff.magic
-lib/dsniff.services
-man/man8/arpspoof.8
-man/man8/dnsspoof.8
-man/man8/dsniff.8
-man/man8/filesnarf.8
-man/man8/macof.8
-man/man8/mailsnarf.8
-man/man8/msgsnarf.8
-man/man8/sshmitm.8
-man/man8/tcpkill.8
-man/man8/tcpnice.8
-man/man8/urlsnarf.8
-man/man8/webmitm.8
-man/man8/webspy.8



Home | Main Index | Thread Index | Old Index