Date: Sunday, September 22, 2019 @ 13:15:40 Author: jelle Revision: 511518
archrelease: copy trunk to community-x86_64 Added: ipguard/repos/community-x86_64/PKGBUILD (from rev 511517, ipguard/trunk/PKGBUILD) ipguard/repos/community-x86_64/build-fix-le.patch (from rev 511517, ipguard/trunk/build-fix-le.patch) ipguard/repos/community-x86_64/pass-ldflags.patch (from rev 511517, ipguard/trunk/pass-ldflags.patch) Deleted: ipguard/repos/community-x86_64/PKGBUILD ipguard/repos/community-x86_64/build-fix-le.patch --------------------+ PKGBUILD | 69 +++++++++++++++++++++++++-------------------------- build-fix-le.patch | 48 +++++++++++++++++------------------ pass-ldflags.patch | 16 +++++++++++ 3 files changed, 75 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-22 13:15:22 UTC (rev 511517) +++ PKGBUILD 2019-09-22 13:15:40 UTC (rev 511518) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=ipguard -pkgver=1.04 -pkgrel=4 -pkgdesc="ipguard - arp<->ip relation checking tool" -arch=(x86_64) -url="http://ipguard.deep.perm.ru/" -license=("GPL") -depends=(libpcap libnet) -source=(http://ipguard.deep.perm.ru/files/$pkgname-$pkgver.tar.gz - build-fix-le.patch) -md5sums=('7f44f7c31876f0d68792f02047e25409' - 'b27cfc9e8ad4ef9459d7274a2e624831') - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - patch -Np1 <../build-fix-le.patch - sed -i 's|$(PREFIX)/sbin|$(PREFIX)/bin|g' Makefile -} - -build() { - cd "$srcdir"/$pkgname-$pkgver - CFLAGS="-DLIBNET_LIL_ENDIAN" make -} - -package() { - cd "$srcdir"/$pkgname-$pkgver - make PREFIX="$pkgdir"/usr install - mkdir -p "$pkgdir"/usr/share - mv "$pkgdir"/usr/man "$pkgdir"/usr/share/ -} Copied: ipguard/repos/community-x86_64/PKGBUILD (from rev 511517, ipguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-22 13:15:40 UTC (rev 511518) @@ -0,0 +1,35 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=ipguard +pkgver=1.04 +pkgrel=5 +pkgdesc="ipguard - arp<->ip relation checking tool" +arch=(x86_64) +url="http://ipguard.deep.perm.ru/" +license=("GPL") +depends=(libpcap libnet) +source=(http://ipguard.deep.perm.ru/files/$pkgname-$pkgver.tar.gz + build-fix-le.patch pass-ldflags.patch) +md5sums=('7f44f7c31876f0d68792f02047e25409' + 'b27cfc9e8ad4ef9459d7274a2e624831' + '9ea4b1a5523628c5e5684589aeb420e4') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -Np1 <../build-fix-le.patch + patch -Np1 <../pass-ldflags.patch + sed -i 's|$(PREFIX)/sbin|$(PREFIX)/bin|g' Makefile +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + LDFLAGS=${LDFLAGS} CFLAGS="${CFLAGS} -DLIBNET_LIL_ENDIAN" make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make PREFIX="$pkgdir"/usr install + mkdir -p "$pkgdir"/usr/share + mv "$pkgdir"/usr/man "$pkgdir"/usr/share/ +} Deleted: build-fix-le.patch =================================================================== --- build-fix-le.patch 2019-09-22 13:15:22 UTC (rev 511517) +++ build-fix-le.patch 2019-09-22 13:15:40 UTC (rev 511518) @@ -1,24 +0,0 @@ -diff -wbBur ipguard-1.02/Makefile ipguard-1.02.my/Makefile ---- ipguard-1.02/Makefile 2008-11-24 15:33:11.000000000 +0300 -+++ ipguard-1.02.my/Makefile 2008-12-11 17:23:07.000000000 +0300 -@@ -9,16 +9,16 @@ - ETHERS?=/etc/ethers - - ## FreeBSD --LOCALBASE=/usr/local --LIBNET_CONFIG=libnet11-config -+# LOCALBASE=/usr/local -+# LIBNET_CONFIG=libnet11-config - - ## OpenBSD (tested by irix) - # LOCALBASE=/usr/local - # LIBNET_CONFIG=libnet-config-1.1 - - ## Linux --# LOCALBASE=/usr --# LIBNET_CONFIG=libnet-config -+LOCALBASE=/usr -+LIBNET_CONFIG=libnet-config - - INCLUDES=`${LIBNET_CONFIG} --cflags` - LIBS=`${LIBNET_CONFIG} --libs` -lpcap -L${LOCALBASE}/lib Copied: ipguard/repos/community-x86_64/build-fix-le.patch (from rev 511517, ipguard/trunk/build-fix-le.patch) =================================================================== --- build-fix-le.patch (rev 0) +++ build-fix-le.patch 2019-09-22 13:15:40 UTC (rev 511518) @@ -0,0 +1,24 @@ +diff -wbBur ipguard-1.02/Makefile ipguard-1.02.my/Makefile +--- ipguard-1.02/Makefile 2008-11-24 15:33:11.000000000 +0300 ++++ ipguard-1.02.my/Makefile 2008-12-11 17:23:07.000000000 +0300 +@@ -9,16 +9,16 @@ + ETHERS?=/etc/ethers + + ## FreeBSD +-LOCALBASE=/usr/local +-LIBNET_CONFIG=libnet11-config ++# LOCALBASE=/usr/local ++# LIBNET_CONFIG=libnet11-config + + ## OpenBSD (tested by irix) + # LOCALBASE=/usr/local + # LIBNET_CONFIG=libnet-config-1.1 + + ## Linux +-# LOCALBASE=/usr +-# LIBNET_CONFIG=libnet-config ++LOCALBASE=/usr ++LIBNET_CONFIG=libnet-config + + INCLUDES=`${LIBNET_CONFIG} --cflags` + LIBS=`${LIBNET_CONFIG} --libs` -lpcap -L${LOCALBASE}/lib Copied: ipguard/repos/community-x86_64/pass-ldflags.patch (from rev 511517, ipguard/trunk/pass-ldflags.patch) =================================================================== --- pass-ldflags.patch (rev 0) +++ pass-ldflags.patch 2019-09-22 13:15:40 UTC (rev 511518) @@ -0,0 +1,16 @@ +Only in ipguard-1.04.new: ethers.o +Only in ipguard-1.04.new: ipguard.o +diff -aur ipguard-1.04/Makefile ipguard-1.04.new/Makefile +--- ipguard-1.04/Makefile 2010-07-12 05:46:36.000000000 +0200 ++++ ipguard-1.04.new/Makefile 2019-09-22 15:10:07.843051441 +0200 +@@ -47,7 +47,7 @@ + + $(NAME): $(OBJS) + @echo Linking $@ +- @$(CC) -o $@ $(OBJS) $(LIBS) $(STATIC) ++ @$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(STATIC) + + clean: + @echo Cleaning OBJS +Only in ipguard-1.04.new: packet.o +Only in ipguard-1.04.new: system.o