summaryrefslogtreecommitdiff
path: root/community/ipguard
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/ipguard
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/ipguard')
-rw-r--r--community/ipguard/PKGBUILD34
-rw-r--r--community/ipguard/build-fix-le.patch24
2 files changed, 0 insertions, 58 deletions
diff --git a/community/ipguard/PKGBUILD b/community/ipguard/PKGBUILD
deleted file mode 100644
index 691be3d32..000000000
--- a/community/ipguard/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 91832 2013-05-28 17:04:05Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=ipguard
-pkgver=1.04
-pkgrel=3
-pkgdesc="ipguard - arp<->ip relation checking tool"
-arch=(i686 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/
-}
diff --git a/community/ipguard/build-fix-le.patch b/community/ipguard/build-fix-le.patch
deleted file mode 100644
index 05cd1a902..000000000
--- a/community/ipguard/build-fix-le.patch
+++ /dev/null
@@ -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