View | Details | Raw Unified | Return to bug 127873 | Differences between
and this patch

Collapse All | Expand All

(-)ipguard.new/Makefile (-4 / +3 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	ipguard
8
PORTNAME=	ipguard
9
PORTVERSION=	0.04
9
PORTVERSION=	1.00
10
PORTREVISION=	2
11
CATEGORIES=	security net
10
CATEGORIES=	security net
12
MASTER_SITES=	http://ipguard.deep.perm.ru/files/
11
MASTER_SITES=	http://ipguard.deep.perm.ru/files/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Tool designed to protect LAN IP adress space by ARP spoofing
14
COMMENT=	Tool designed to protect LAN IP adress space by ARP spoofing
16
15
17
BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
16
BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
18
17
19
MAN8=		ipguard.8
18
MAN8=		ipguard.8
20
19
Lines 25-31 Link Here
25
SUB_FILES=	pkg-message
24
SUB_FILES=	pkg-message
26
SUB_LIST=	ETHERS=${ETHERS}
25
SUB_LIST=	ETHERS=${ETHERS}
27
26
28
LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config
27
LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config
29
28
30
post-patch:
29
post-patch:
31
	@${REINPLACE_CMD} -Ee \
30
	@${REINPLACE_CMD} -Ee \
(-)ipguard.new/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ipguard-0.04.tar.gz) = 00bff6650e3908e9fa352d48d1574850
1
MD5 (ipguard-1.00.tar.gz) = 3b8e99994a283c549e2e7f452ef38fd7
2
SHA256 (ipguard-0.04.tar.gz) = 9316d69010027c14f73e237e4b3584b8c1d86552c59e45df132470a0bf74c8ac
2
SHA256 (ipguard-1.00.tar.gz) = fb9d7f34a9c83976a1186f6fd33b04e31462beee7550c95001132aef3d08322e
3
SIZE (ipguard-0.04.tar.gz) = 11169
3
SIZE (ipguard-1.00.tar.gz) = 25095
(-)ipguard.new/files/patch-Makefile (-27 lines)
Lines 1-27 Link Here
1
--- Makefile.orig	Mon Aug 22 17:34:48 2005
2
+++ Makefile	Sat Sep  3 19:27:19 2005
3
@@ -3,18 +3,19 @@
4
 ##  copyright (c) 2005 SeaD
5
 ##
6
 
7
-PREFIX=/usr/local
8
-ETHERS=/etc/ethers
9
+PREFIX?=/usr/local
10
+LOCALBASE?=/usr/local
11
+ETHERS?=/etc/ethers
12
 
13
 NAME=ipguard
14
 VERSION=0.04
15
-INCLUDES=-I/usr/local/include
16
-LIBS=-lpcap `libnet-config --libs` -L/usr/local/lib
17
+INCLUDES=-I${LOCALBASE}/include
18
+LIBS=-lpcap `libnet-config --libs` -L${LOCALBASE}/lib
19
 DEFINES=`libnet-config --defines`
20
 STATIC=
21
 CC=gcc
22
 
23
-CFLAGS+=-g -Wall -O2 -DETHERS='"$(ETHERS)"'
24
+CFLAGS+=-g -Wall -DETHERS='"$(ETHERS)"'
25
 
26
 OBJS=ethers.o ipguard.o packet.o system.o
27
 DOCS=ethers.sample ipguard.sh.sample NEWS README TODO

Return to bug 127873