From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 06 Jan 2023 17:02:47 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pDpBA-003d2S-Mf for lore@lore.pengutronix.de; Fri, 06 Jan 2023 17:02:47 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pDpB8-000854-6L; Fri, 06 Jan 2023 17:02:46 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pDp9n-0003xB-Fc; Fri, 06 Jan 2023 17:01:23 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pDp9m-004Eqb-Q0; Fri, 06 Jan 2023 17:01:22 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pDp9l-00Cu0Q-OU; Fri, 06 Jan 2023 17:01:21 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 6 Jan 2023 17:01:21 +0100 Message-Id: <20230106160121.3075178-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230102084321.1853175-1-christian.melki@t2data.com> References: <20230102084321.1853175-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] libpcap: Version bump. 1.10.1 -> 1.10.2 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Christian Melki Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 9ef4f7464068a6b5c5d346b41a4cb0b345251d4f. Michael [sent from post-receive hook] On Fri, 06 Jan 2023 17:01:21 +0100, Christian Melki wrote: > A bunch of fixes. > https://github.com/the-tcpdump-group/libpcap/blob/0ec30c896aceed38db0dfc0144ffc09669769855/CHANGES#L42 > > * Reworked patch for just installing the shared library file. > * Reworked $SYSROOT for pcap-config patch. > I don't think pcap-config is needed though. libpcap got .pc back in 2018 something. > So this is mostly for builds that don't use that (or before 2018). > I'll leave this up to the maintainer to remove. > > Signed-off-by: Christian Melki > Message-Id: <20230102084321.1853175-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/patches/libpcap-1.10.1/0100-build-and-install-share-lib-only.patch b/patches/libpcap-1.10.2/0100-build-and-install-share-lib-only.patch > similarity index 79% > rename from patches/libpcap-1.10.1/0100-build-and-install-share-lib-only.patch > rename to patches/libpcap-1.10.2/0100-build-and-install-share-lib-only.patch > index dda3366aea13..c909f70b115c 100644 > --- a/patches/libpcap-1.10.1/0100-build-and-install-share-lib-only.patch > +++ b/patches/libpcap-1.10.2/0100-build-and-install-share-lib-only.patch > @@ -12,19 +12,19 @@ Signed-off-by: Alexander Aring > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile.in b/Makefile.in > -index 5d88ea713174..2cbcab1a0907 100644 > +index 787b18a06a93..dd7870c0475b 100644 > --- a/Makefile.in > +++ b/Makefile.in > -@@ -415,7 +415,7 @@ EXTRA_DIST = \ > - Win32/Prj/wpcap.vcxproj \ > - Win32/Prj/wpcap.vcxproj.filters > +@@ -429,7 +429,7 @@ RELEASE_FILES = $(COMMON_C_SRC) $(HDR) $(MAN1) $(MAN3PCAP_EXPAND) \ > + $(MAN3PCAP_NOEXPAND) $(MANFILE) $(MANMISC) $(EXTRA_DIST) \ > + $(TEST_DIST) > > -all: libpcap.a shared $(BUILD_RPCAPD) libpcap.pc pcap-config > +all: shared $(BUILD_RPCAPD) libpcap.pc pcap-config > > libpcap.a: $(OBJ) > @rm -f $@ > -@@ -601,7 +601,7 @@ testprogs: FORCE > +@@ -615,7 +615,7 @@ testprogs: FORCE > > FORCE: > > diff --git a/patches/libpcap-1.10.1/0101-pcap-config-add-SYSROOT-support.patch b/patches/libpcap-1.10.2/0101-pcap-config-add-SYSROOT-support.patch > similarity index 54% > rename from patches/libpcap-1.10.1/0101-pcap-config-add-SYSROOT-support.patch > rename to patches/libpcap-1.10.2/0101-pcap-config-add-SYSROOT-support.patch > index b51c27faae25..9cb27d0af151 100644 > --- a/patches/libpcap-1.10.1/0101-pcap-config-add-SYSROOT-support.patch > +++ b/patches/libpcap-1.10.2/0101-pcap-config-add-SYSROOT-support.patch > @@ -4,11 +4,11 @@ Subject: [PATCH] pcap-config: add SYSROOT support > > Signed-off-by: Alexander Aring > --- > - pcap-config.in | 6 +++--- > - 1 file changed, 3 insertions(+), 3 deletions(-) > + pcap-config.in | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/pcap-config.in b/pcap-config.in > -index 54ca42f07bc5..23b06c300577 100644 > +index afa8919d8a50..f9b8b1512892 100644 > --- a/pcap-config.in > +++ b/pcap-config.in > @@ -10,8 +10,8 @@ > @@ -19,15 +19,6 @@ index 54ca42f07bc5..23b06c300577 100644 > -libdir="@libdir@" > +includedir="${SYSROOT}@includedir@" > +libdir="${SYSROOT}@libdir@" > - V_RPATH_OPT="@V_RPATH_OPT@" > LIBS="@LIBS@" > - PACKAGE_NAME="@PACKAGE_NAME@" > -@@ -46,7 +46,7 @@ then > - # > - # If libdir isn't /usr/lib, add it to the run-time linker path. > - # > -- if [ "$libdir" != "/usr/lib" ] > -+ if [ "$libdir" != "${SYSROOT}/usr/lib" ] > - then > - RPATH=$V_RPATH_OPT$libdir > - fi > + LIBS_STATIC="@LIBS_STATIC@" > + > diff --git a/patches/libpcap-1.10.1/series b/patches/libpcap-1.10.2/series > similarity index 100% > rename from patches/libpcap-1.10.1/series > rename to patches/libpcap-1.10.2/series > diff --git a/rules/libpcap.make b/rules/libpcap.make > index 1d51449aec8f..9f07d452ae92 100644 > --- a/rules/libpcap.make > +++ b/rules/libpcap.make > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBPCAP) += libpcap > # > # Paths and names > # > -LIBPCAP_VERSION := 1.10.1 > -LIBPCAP_MD5 := 28e17495004036567c2cc884b51eba45 > +LIBPCAP_VERSION := 1.10.2 > +LIBPCAP_MD5 := 9f27d8e5595fb14e6bc8151ef6f5610b > LIBPCAP := libpcap-$(LIBPCAP_VERSION) > LIBPCAP_SUFFIX := tar.gz > LIBPCAP_URL := http://www.tcpdump.org/release/$(LIBPCAP).$(LIBPCAP_SUFFIX)