pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/libpcap



Module Name:    pkgsrc
Committed By:   dsainty
Date:           Wed Apr 19 11:50:18 UTC 2017

Modified Files:
        pkgsrc/net/libpcap: distinfo
        pkgsrc/net/libpcap/patches: patch-ac

Log Message:
Remove dependencies on VERSION, which trigger unintended implicit rules against
version.c on case-insensitive file systems.

Fixes build on Darwin in its out-of-the-box case-insensitive configuration.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/net/libpcap/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/libpcap/patches/patch-ac

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

Modified files:

Index: pkgsrc/net/libpcap/distinfo
diff -u pkgsrc/net/libpcap/distinfo:1.33 pkgsrc/net/libpcap/distinfo:1.34
--- pkgsrc/net/libpcap/distinfo:1.33    Thu Feb  2 18:46:39 2017
+++ pkgsrc/net/libpcap/distinfo Wed Apr 19 11:50:18 2017
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.33 2017/02/02 18:46:39 maya Exp $
+$NetBSD: distinfo,v 1.34 2017/04/19 11:50:18 dsainty Exp $
 
 SHA1 (libpcap-1.8.1.tar.gz) = 32d7526dde8f8a2f75baf40c01670602aeef7e39
 RMD160 (libpcap-1.8.1.tar.gz) = 295766ab2646c05c330aa04cabc30c5737200279
 SHA512 (libpcap-1.8.1.tar.gz) = bff5ff53fe53324f423e38eb4062c3fbb9125f86ca90d5e88aca9f0b3da72bc0acc6221c022b0f88cb3f000267580719119824c388da545c6f35117660cbb53b
 Size (libpcap-1.8.1.tar.gz) = 739163 bytes
-SHA1 (patch-ac) = c83749e249d8127267045b323f077d93acff54a7
+SHA1 (patch-ac) = bcbb2a5de2eedf10b7cb38d6b78f68540bf4161c
 SHA1 (patch-ad) = ea818a5fb146488f909483d96d943941ea1873e4
 SHA1 (patch-configure) = 36557d7db9f09467fc9699b96d96c4c49173246b

Index: pkgsrc/net/libpcap/patches/patch-ac
diff -u pkgsrc/net/libpcap/patches/patch-ac:1.11 pkgsrc/net/libpcap/patches/patch-ac:1.12
--- pkgsrc/net/libpcap/patches/patch-ac:1.11    Thu Feb  2 18:46:39 2017
+++ pkgsrc/net/libpcap/patches/patch-ac Wed Apr 19 11:50:18 2017
@@ -1,11 +1,15 @@
-$NetBSD: patch-ac,v 1.11 2017/02/02 18:46:39 maya Exp $
+$NetBSD: patch-ac,v 1.12 2017/04/19 11:50:18 dsainty Exp $
 
 Add libtoolization
+
 Fix manpage installation
 
---- Makefile.in.orig   2015-06-28 01:03:37.000000000 +0000
-+++ Makefile.in
-@@ -43,7 +43,7 @@ VPATH = @srcdir@
+Remove dependencies on VERSION, which trigger unintended implicit rules against
+version.c on case-insensitive file systems.
+
+--- Makefile.in.orig   2016-10-26 11:07:59.000000000 +1100
++++ Makefile.in        2017-04-19 21:01:59.000000000 +1000
+@@ -43,7 +43,7 @@
  #
  
  LD = /usr/bin/ld
@@ -14,7 +18,7 @@ Fix manpage installation
  AR = @AR@
  LN_S = @LN_S@
  MKDEP = @MKDEP@
-@@ -75,7 +75,8 @@ YACC = @YACC@
+@@ -75,7 +75,8 @@
  # Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
  # Also, gcc does not remove the .o before forking 'as', which can be a
  # problem if you don't own the file but can write to the directory.
@@ -24,7 +28,7 @@ Fix manpage installation
        @rm -f $@
        $(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c
  
-@@ -86,13 +87,13 @@ CSRC =     pcap.c inet.c fad-helpers.c genco
+@@ -86,13 +87,13 @@
        etherent.c savefile.c sf-pcap.c sf-pcap-ng.c pcap-common.c \
        bpf_image.c bpf_dump.c
  GENSRC = scanner.c grammar.c bpf_filter.c version.c
@@ -40,7 +44,7 @@ Fix manpage installation
  PUBHDR = \
        pcap.h \
        pcap-bpf.h \
-@@ -358,12 +359,10 @@ EXTRA_DIST = \
+@@ -358,12 +359,10 @@
        Win32/Prj/wpcap.vcxproj \
        Win32/Prj/wpcap.vcxproj.filters
  
@@ -56,7 +60,7 @@ Fix manpage installation
  
  shared: libpcap.$(DYEXT)
  
-@@ -452,10 +451,10 @@ scanner.h: scanner.c
+@@ -452,10 +451,10 @@
                $(MAKE) $(MAKEFLAGS) scanner.c; \
        fi
  
@@ -69,7 +73,7 @@ Fix manpage installation
  
  grammar.c: $(srcdir)/grammar.y
        $(YACC) -p pcap_ -o grammar.c -d $<
-@@ -466,19 +465,19 @@ grammar.h: grammar.c
+@@ -466,22 +465,22 @@
                $(MAKE) $(MAKEFLAGS) grammar.c; \
        fi
  
@@ -93,8 +97,21 @@ Fix manpage installation
 +strtok_r.lo: $(srcdir)/missing/strtok_r.c
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strtok_r.c
  
- version.c: $(srcdir)/VERSION $(srcdir)/gen_version_c.sh
-@@ -498,7 +497,7 @@ bpf_filter.c: $(srcdir)/bpf/net/bpf_filt
+-version.c: $(srcdir)/VERSION $(srcdir)/gen_version_c.sh
++version.c: $(srcdir)/gen_version_c.sh
+       #
+       # Older programs import this if they want to show the
+       # libpcap version number, rather than calling
+@@ -490,7 +489,7 @@
+       @rm -f $@
+       $(srcdir)/gen_version_c.sh $(srcdir)/VERSION $@
+ 
+-pcap_version.h: $(srcdir)/VERSION $(srcdir)/pcap_version.h.in $(srcdir)/gen_version_header.sh
++pcap_version.h: $(srcdir)/pcap_version.h.in $(srcdir)/gen_version_header.sh
+       @rm -f $@
+       $(srcdir)/gen_version_header.sh $(srcdir)/VERSION $(srcdir)/pcap_version.h.in $@
+ 
+@@ -498,7 +497,7 @@
        rm -f bpf_filter.c
        ln -s $(srcdir)/bpf/net/bpf_filter.c bpf_filter.c
  
@@ -103,7 +120,7 @@ Fix manpage installation
        $(CC) $(FULL_CFLAGS) -c bpf_filter.c
  
  #
-@@ -550,7 +549,7 @@ selpolltest: tests/selpolltest.c libpcap
+@@ -550,7 +549,7 @@
  valgrindtest: tests/valgrindtest.c libpcap.a
        $(CC) $(FULL_CFLAGS) -I. -L. -o valgrindtest $(srcdir)/tests/valgrindtest.c libpcap.a $(LIBS)
  
@@ -112,7 +129,7 @@ Fix manpage installation
        [ -d $(DESTDIR)$(libdir) ] || \
            (mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
        [ -d $(DESTDIR)$(includedir) ] || \
-@@ -565,56 +564,73 @@ install: install-shared install-archive 
+@@ -565,56 +564,73 @@
            (mkdir -p $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@; chmod 755 $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@)
        [ -d $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@ ] || \
            (mkdir -p $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@; chmod 755 $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@)
@@ -226,7 +243,7 @@ Fix manpage installation
        for i in $(MANFILE); do \
                $(INSTALL_DATA) `echo $$i | sed 's/.manfile.in/.manfile/'` \
                    $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done
-@@ -656,15 +672,15 @@ install-shared-shareda: libpcap.shareda
+@@ -656,15 +672,15 @@
  install-shared-none:
  
  install-archive: install-archive-$(DYEXT)
@@ -245,7 +262,7 @@ Fix manpage installation
  install-archive-shareda:
        #
        # AIX, however, doesn't, so we don't install the archive
-@@ -672,7 +688,7 @@ install-archive-shareda:
+@@ -672,7 +688,7 @@
        #
  
  uninstall: uninstall-shared
@@ -254,7 +271,7 @@ Fix manpage installation
        for i in $(PUBHDR); do \
                rm -f $(DESTDIR)$(includedir)/$$i; done
        -rmdir $(DESTDIR)$(includedir)/pcap
-@@ -720,7 +736,7 @@ uninstall-shared-sl:
+@@ -720,7 +736,7 @@
        rm -f $(DESTDIR)$(libdir)/libpcap.$$MAJOR_VER; \
        rm -f $(DESTDIR)$(libdir)/libpcap.sl
  uninstall-shared-shareda:



Home | Main Index | Thread Index | Old Index