[arch-commits] Commit in p0f/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri Apr 22 16:49:26 UTC 2016


    Date: Friday, April 22, 2016 @ 18:49:24
  Author: anthraxx
Revision: 171598

upgpkg: p0f 3.09b-1

Modified:
  p0f/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-22 16:49:06 UTC (rev 171597)
+++ PKGBUILD	2016-04-22 16:49:24 UTC (rev 171598)
@@ -5,24 +5,24 @@
 # Contributor: Timothée Ravier <tim[at]siosm[dot]fr>
 
 pkgname=p0f
-pkgver=3.08b
-pkgrel=2
+pkgver=3.09b
+pkgrel=1
 pkgdesc="Purely passive TCP/IP traffic fingerprinting tool"
 url="http://lcamtuf.coredump.cx/p0f3/"
-arch=('x86_64' 'i686')
+arch=('i686' 'x86_64')
 license=('GPL2')
 depends=('libpcap')
+backup=('etc/p0f/p0f.fp')
 source=(http://lcamtuf.coredump.cx/p0f3/releases/${pkgname}-${pkgver}.tgz)
-sha512sums=('283dc76bd29350a46999fb5ef8bc6d3acc28975ca3ecf34e42348b0806b2a97aa1670f334b80ab086a6e09d1e2cdff82f387f9142f95fb42e270ebc55b04f68b')
+sha512sums=('2a688baa865f27c91c023a7c53e530649f56a681e6ca2533152ab07b42883857b20c378b636e87dda8d1d5dfac17e426d09ee032b363d0b7d98e57a9ff6164d0')
 
 prepare() {
   cd ${pkgname}-${pkgver}
+  sed -e 's|"p0f.fp"|"/etc/p0f/p0f.fp"|g' -i config.h
   sed -e 's|/usr/local/|/usr/|g' -i build.sh
-  sed -e "s|-fstack-protector-all|$CFLAGS|g" -i build.sh
   sed -e "s|-g -ggdb||g" -i build.sh
-  sed -e "s|-Wl,-z,relro -pie|$LDFLAGS|g" -i build.sh
-  sed -e 's|"p0f.fp"|"/etc/p0f/p0f.fp"|g' -i config.h
-  sed -e "s|-g -ggdb|$CFLAGS|g" -i tools/Makefile
+  sed -e "s|-g -ggdb|${CFLAGS}|g" -i tools/Makefile
+  sed -r "s|(LDFLAGS =)|\1 ${LDFLAGS}|g" -i tools/Makefile
 }
 
 build() {



More information about the arch-commits mailing list