pkgsrc-WIP-changes archive

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

wip/libpcap-latest: remove (mechanical cleanup)



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Wed Sep 23 05:12:58 2015 +0200
Changeset:	76a7bdcbd254617f227183657b610875dc6f414b

Removed Files:
	libpcap-latest/DESCR
	libpcap-latest/Makefile
	libpcap-latest/PLIST
	libpcap-latest/buildlink3.mk
	libpcap-latest/builtin.mk
	libpcap-latest/distinfo
	libpcap-latest/patches/patch-aa

Log Message:
wip/libpcap-latest: remove (mechanical cleanup)

- pkgsrc/net/libpcap exists
- pkgsrc (1.7.2) >= wip (0.8.3)
- doc/CHANGES-2013: Updated to 1.4.0nb1 [jperkin 2013-06-21]
- doc/CHANGES-2015: Updated to 1.7.2 [tnn 2015-03-11]
- wip/libpcap-latest last touched [wiz 2014-10-09]
- package does not appear to be actively used to stage updates
- manual inspection of diff revealed no uncommitted improvements

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=76a7bdcbd254617f227183657b610875dc6f414b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libpcap-latest/DESCR            |   9 ----
 libpcap-latest/Makefile         |  25 ----------
 libpcap-latest/PLIST            |   6 ---
 libpcap-latest/buildlink3.mk    |  21 --------
 libpcap-latest/builtin.mk       |  59 ----------------------
 libpcap-latest/distinfo         |   6 ---
 libpcap-latest/patches/patch-aa | 108 ----------------------------------------
 7 files changed, 234 deletions(-)

diffs:
diff --git a/libpcap-latest/DESCR b/libpcap-latest/DESCR
deleted file mode 100644
index 9649f83..0000000
--- a/libpcap-latest/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-This is libpcap, a system-independent interface for user-level packet
-capture.  libpcap provides a portable framework for low-level network
-monitoring.  Applications include network statistics collection,
-security monitoring, network debugging, etc.  Since almost every
-system vendor provides a different interface for packet capture, and
-since we've developed several tools that require this functionality,
-we've created this system-independent API to ease in porting and to
-alleviate the need for several system-dependent packet capture modules
-in each application.
diff --git a/libpcap-latest/Makefile b/libpcap-latest/Makefile
deleted file mode 100644
index db6fa11..0000000
--- a/libpcap-latest/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.15 2014/10/09 14:06:28 thomasklausner Exp $
-
-DISTNAME=		libpcap-0.8.3
-CATEGORIES=		net
-MASTER_SITES=	http://www.tcpdump.org/release/
-
-MAINTAINER=		imil%gcu.info@localhost
-HOMEPAGE=		http://www.tcpdump.org/
-COMMENT=		System-independent interface for user-level packet capture
-
-PKG_DESTDIR_SUPPORT=	none
-
-GNU_CONFIGURE=		yes
-USE_TOOLS+=		flex bison gm4
-USE_LIBTOOL=		yes
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
-.  if exists(/usr/include/netinet/ip6.h)
-CONFIGURE_ARGS+=	--enable-ipv6
-.  endif
-.endif
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/libpcap-latest/PLIST b/libpcap-latest/PLIST
deleted file mode 100644
index f36725f..0000000
--- a/libpcap-latest/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2004/09/23 05:59:50 jlamwww Exp $
-lib/libpcap.la
-include/pcap.h
-include/pcap-namedb.h
-include/pcap-bpf.h
-man/man3/pcap.3
diff --git a/libpcap-latest/buildlink3.mk b/libpcap-latest/buildlink3.mk
deleted file mode 100644
index 5517f57..0000000
--- a/libpcap-latest/buildlink3.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.6 2009/05/06 10:47:32 cheusov Exp $
-
-BUILDLINK_TREE+=	libpcap
-
-.if !defined(LIBPCAP_BUILDLINK3_MK)
-LIBPCAP_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.libpcap+=	libpcap>=0.8.3
-BUILDLINK_PKGSRCDIR.libpcap?=	../../wip/libpcap-latest
-
-.include "../../mk/bsd.prefs.mk"
-
-# on Solaris, we always need libnsl and libsocket because libpcap.a
-# references symbols in them.
-.if ${OPSYS} == "SunOS"
-BUILDLINK_LDADD.libpcap+=	-lnsl -lsocket
-LDFLAGS+=			${BUILDLINK_LDADD.libpcap}
-.endif
-.endif # LIBPCAP_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-libpcap
diff --git a/libpcap-latest/builtin.mk b/libpcap-latest/builtin.mk
deleted file mode 100644
index d11f03e..0000000
--- a/libpcap-latest/builtin.mk
+++ /dev/null
@@ -1,59 +0,0 @@
-# $NetBSD: builtin.mk,v 1.5 2006/04/06 07:17:53 jeremy-c-reed Exp $
-
-_LIBPCAP_PKGSRC_PKGNAME=	libpcap-0.8.3
-_LIBPCAP_PCAP_H=		/usr/include/pcap.h
-
-.if !defined(IS_BUILTIN.libpcap)
-IS_BUILTIN.libpcap=	no
-.  if exists(${_LIBPCAP_PCAP_H})
-IS_BUILTIN.libpcap=	yes
-
-# libpcap>=0.8.3: MODE_MON added
-_PCAP_083!=		${GREP} -c MODE_MON ${_LIBPCAP_PCAP_H} || ${TRUE}
-# libpcap>=0.8.1: pcap_get_selectable_fd added
-_PCAP_081!=		${GREP} -c pcap_get_selectable_fd ${_LIBPCAP_PCAP_H} || ${TRUE}
-# libpcap>=0.8.0: pcap_datalink_val_to_description added
-_PCAP_080!=		${GREP} -c pcap_datalink_val_to_description ${_LIBPCAP_PCAP_H} || ${TRUE}
-# libpcap>=0.7.0: pcap_setnonblock added
-_PCAP_070!=		${GREP} -c pcap_setnonblock ${_LIBPCAP_PCAP_H} || ${TRUE}
-# libpcap>=0.6.0: prototype change for pcap_freecode
-_PCAP_060!=		${GREP} -c pcap_freecode.struct.bpf_program ${_LIBPCAP_PCAP_H} || ${TRUE}
-# libpcap>=0.5.0: pcap_compile_nopcap added
-_PCAP_050!=		${GREP} -c pcap_compile_nopcap ${_LIBPCAP_PCAP_H} || ${TRUE}
-
-.if ${_PCAP_083} == "1"
-BUILTIN_PKG.libpcap=	libpcap-0.8.3
-.elif ${_PCAP_081} == "1"
-BUILTIN_PKG.libpcap=	libpcap-0.8.1
-.elif ${_PCAP_080} == "1"
-BUILTIN_PKG.libpcap=	libpcap-0.8.0
-.elif ${_PCAP_070} == "1"
-BUILTIN_PKG.libpcap=	libpcap-0.7.0
-.elif ${_PCAP_060} == "1"
-BUILTIN_PKG.libpcap=	libpcap-0.6.0
-.elif ${_PCAP_050} == "1"
-BUILTIN_PKG.libpcap=	libpcap-0.5.0
-.else
-BUILTIN_PKG.libpcap=	libpcap-0.4.0
-.endif
-
-.endif  # exists({_LIBPCAP_PCAP_H})
-
-.if !defined(USE_BUILTIN.libpcap)
-USE_BUILTIN.libpcap?=	${IS_BUILTIN.libpcap}
-
-.  if defined(BUILTIN_PKG.libpcap)
-USE_BUILTIN.libpcap=	yes
-.    for _depend_ in ${BUILDLINK_API_DEPENDS.libpcap}
-.      if !empty(USE_BUILTIN.libpcap:M[yY][eE][sS])
-USE_BUILTIN.libpcap!=	\
-	if ${PKG_ADMIN} pmatch '${_depend_}' ${BUILTIN_PKG.libpcap}; then \
-		${ECHO} "yes";						\
-	else								\
-		${ECHO} "no";						\
-	fi
-.      endif
-.    endfor
-.  endif
-.endif	# USE_BUILTIN.libpcap
-.endif  # IS_BUILTIN.libpcap
diff --git a/libpcap-latest/distinfo b/libpcap-latest/distinfo
deleted file mode 100644
index 189a7cd..0000000
--- a/libpcap-latest/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/09/28 06:41:26 rillig Exp $
-
-SHA1 (libpcap-0.8.3.tar.gz) = 24de556bf3dc960ad6c9839ad936037a7c8045e5
-RMD160 (libpcap-0.8.3.tar.gz) = f50e9db9d648100cdc9fcbbecde14bfccac2b2b5
-Size (libpcap-0.8.3.tar.gz) = 302551 bytes
-SHA1 (patch-aa) = 08abc6d55c288a862224aa2268e10431d43ce27c
diff --git a/libpcap-latest/patches/patch-aa b/libpcap-latest/patches/patch-aa
deleted file mode 100644
index 50a8ed9..0000000
--- a/libpcap-latest/patches/patch-aa
+++ /dev/null
@@ -1,108 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2004/08/11 13:35:07 imilh Exp $
-
---- Makefile.in.orig	2003-12-15 02:42:23.000000000 +0100
-+++ Makefile.in
-@@ -55,6 +55,12 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_DATA = @INSTALL_DATA@
- RANLIB = @RANLIB@
- 
-+LIB = libpcap.a
-+
-+MAJOR = 0
-+MINOR = 8
-+AGE = 0
-+
- #
- # Flex and bison allow you to specify the prefixes of the global symbols
- # used by the generated parser.  This allows programs to use lex/yacc
-@@ -68,7 +74,7 @@ YACC = @V_YACC@
- # problem if you don't own the file but can write to the directory.
- .c.o:
- 	@rm -f $@
--	$(CC) $(CFLAGS) -c $(srcdir)/$*.c
-+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/$*.c
- 
- PSRC =	pcap-@V_PCAP@.c
- FSRC =  fad-@V_FINDALLDEVS@.c
-@@ -94,21 +100,22 @@ TAGHDR = \
- TAGFILES = \
- 	$(SRC) $(HDR) $(TAGHDR)
- 
--CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c
-+CLEANFILES = $(OBJ) $(LIB) $(GENSRC) $(GENHDR) lex.yy.c
- 
--all: libpcap.a
-+all: $(LIB)
- 
--libpcap.a: $(OBJ)
-+$(LIB): $(OBJ)
- 	@rm -f $@
--	ar rc $@ $(OBJ) $(LIBS)
--	$(RANLIB) $@
-+	$(LIBTOOL) --mode=link $(CC) $(OBJ:.o=.lo) \
-+		-rpath $(PREFIX)/lib -version-info $(MAJOR):$(MINOR):$(AGE) \
-+		-o ${LIB:.a=.la}
- 
- scanner.c: $(srcdir)/scanner.l
- 	@rm -f $@
- 	$(LEX) -t $< > $$$$.$@; mv $$$$.$@ $@
- 
- scanner.o: scanner.c tokdefs.h
--	$(CC) $(CFLAGS) -c scanner.c
-+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c scanner.c
- 
- pcap.o: version.h
- 
-@@ -121,13 +128,15 @@ grammar.c: $(srcdir)/grammar.y
- 
- grammar.o: grammar.c
- 	@rm -f $@
--	$(CC) $(CFLAGS) -Dyylval=pcap_lval -c grammar.c
-+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) \
-+		-Dyylval=pcap_lval -c grammar.c
- 
- version.o: version.c
--	$(CC) $(CFLAGS) -c version.c
-+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c version.c
- 
- snprintf.o: $(srcdir)/missing/snprintf.c
--	$(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
-+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) \
-+		-o $@ -c $(srcdir)/missing/snprintf.c
- 
- version.c: $(srcdir)/VERSION
- 	@rm -f $@
-@@ -149,13 +158,12 @@ bpf_filter.c: $(srcdir)/bpf/net/bpf_filt
- 	ln -s $(srcdir)/bpf/net/bpf_filter.c bpf_filter.c
- 
- bpf_filter.o: bpf_filter.c
--	$(CC) $(CFLAGS) -c bpf_filter.c
-+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c bpf_filter.c
- 
- install:
--	[ -d $(DESTDIR)$(libdir) ] || \
--	    (mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
--	$(INSTALL_DATA) libpcap.a $(DESTDIR)$(libdir)/libpcap.a
--	$(RANLIB) $(DESTDIR)$(libdir)/libpcap.a
-+	$(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) \
-+		$(LIB:.a=.la) $(PREFIX)/lib
-+
- 	[ -d $(DESTDIR)$(includedir) ] || \
- 	    (mkdir -p $(DESTDIR)$(includedir); chmod 755 $(DESTDIR)$(includedir))
- 	$(INSTALL_DATA) $(srcdir)/pcap.h $(DESTDIR)$(includedir)/pcap.h
-@@ -168,8 +176,14 @@ install:
- 	$(INSTALL_DATA) $(srcdir)/pcap.3 \
- 	    $(DESTDIR)$(mandir)/man3/pcap.3
- 
-+
- uninstall:
--	rm -f $(DESTDIR)$(libdir)/libpcap.a
-+	# pretty useless with pkgsrc but well...
-+	rm -f $(DESTDIR)$(libdir)/$(LIB)
-+	rm -f $(DESTDIR)$(libdir)/libpcap.la
-+	rm -f $(DESTDIR)$(libdir)/libpcap.so
-+	rm -f $(DESTDIR)$(libdir)/libpcap.so.$(MAJOR)
-+	rm -f $(DESTDIR)$(libdir)/libpcap.so.$(MAJOR).$(MINOR)
- 	rm -f $(DESTDIR)$(includedir)/pcap.h
- 	rm -f $(DESTDIR)$(includedir)/pcap-bpf.h
- 	rm -f $(DESTDIR)$(includedir)/pcap-namedb.h


Home | Main Index | Thread Index | Old Index