View | Details | Raw Unified | Return to bug 117457
Collapse All | Expand All

(-)/usr/ports/emulators/dynamips-devel/Makefile (-4 / +9 lines)
Lines 6-18 Link Here
6
#
6
#
7
7
8
PORTNAME=	dynamips
8
PORTNAME=	dynamips
9
DISTVERSION=	0.2.8-RC1
9
DISTVERSION=	0.2.8-RC2
10
CATEGORIES=	emulators
10
CATEGORIES=	emulators
11
MASTER_SITES=	http://www.ipflow.utc.fr/dynamips/
11
MASTER_SITES=	http://www.ipflow.utc.fr/dynamips/
12
PKGNAMESUFFIX=	-devel
12
PKGNAMESUFFIX=	-devel
13
13
14
MAINTAINER=	pol@opk.ru
14
MAINTAINER=	pol@opk.ru
15
COMMENT=	Cisco 3600/7200 Simulator
15
COMMENT=	Cisco 1700/2600/3600/3700/7200 Simulator
16
16
17
LIB_DEPENDS=	elf.0:${PORTSDIR}/devel/libelf
17
LIB_DEPENDS=	elf.0:${PORTSDIR}/devel/libelf
18
18
Lines 46-53 Link Here
46
DYNAMIPS_ARCH=	"nojit"
46
DYNAMIPS_ARCH=	"nojit"
47
.endif
47
.endif
48
48
49
.if ${OSVERSION} < 602100 || ${OSVERSION} < 700021
49
# It required libpcap version 0.9.4 or is higher.
50
LIB_DEPENDS+=	libpcap>=0.9.4:${PORTSDIR}/net/libpcap
50
.if ${OSVERSION} < 602100 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700021)
51
LIB_DEPENDS+=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
52
MAKE_ENV+=	PCAP_LIB=${LOCALBASE}/lib/libpcap.a
53
#.warning Do not overlook, make libpcap with LIBPCAP_OVERWRITE_BASE parameter, for use with shared library.
54
#LIB_DEPENDS+=	pcap.\(0.9.\)?[2-9]:${PORTSDIR}/net/libpcap
55
#MAKE_ENV+=	PCAP_LIB=-lpcap.2
51
.endif
56
.endif
52
57
53
.if ${OSVERSION} >= 700013
58
.if ${OSVERSION} >= 700013
(-)/usr/ports/emulators/dynamips-devel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (dynamips-0.2.8-RC1.tar.gz) = 39d08f2d20cdd78ef05c50ae86c4b522
1
MD5 (dynamips-0.2.8-RC2.tar.gz) = 8d12d28684d164fe3312a3fe43c84d2e
2
SHA256 (dynamips-0.2.8-RC1.tar.gz) = 266cd3fe12f643f8c6aaf59ec8b99b20d6fb53ed8032c1984477065ca97ee994
2
SHA256 (dynamips-0.2.8-RC2.tar.gz) = a8b377ce631119e285c401fdb7cb4d0bcc600a15508bdffcf337546957e252de
3
SIZE (dynamips-0.2.8-RC1.tar.gz) = 569599
3
SIZE (dynamips-0.2.8-RC2.tar.gz) = 578935
(-)/usr/ports/emulators/dynamips-devel/files/patch-Makefile (-3 / +11 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	Thu Sep 13 19:55:14 2007
1
--- Makefile.orig	2007-10-14 12:43:07.000000000 +0400
2
+++ Makefile	Thu Sep 13 19:55:30 2007
2
+++ Makefile	2007-10-24 19:48:14.000000000 +0400
3
@@ -52,7 +52,7 @@
3
@@ -45,14 +45,14 @@
4
 	-DHAS_POSIX_MEMALIGN=$(HAS_POSIX_MEMALIGN)
5
 
6
 #PCAP_LIB=/usr/local/lib/libpcap.a
7
-PCAP_LIB=-lpcap
8
+PCAP_LIB?=-lpcap
9
 
10
 ifeq ($(shell uname), FreeBSD)
11
    PTHREAD_LIBS?=-pthread
4
    LOCALBASE?=/usr/local
12
    LOCALBASE?=/usr/local
5
    CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf \
13
    CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf \
6
 	$(PTHREAD_CFLAGS) -D_FILE_OFFSET_BITS=64
14
 	$(PTHREAD_CFLAGS) -D_FILE_OFFSET_BITS=64
(-)/usr/ports/emulators/dynamips-devel/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Cisco 3600/7200 simulator.
1
Cisco 1700/2600/3600/3700/7200 simulator.
2
2
3
WWW:	http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
3
WWW:	http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
4
	http://www.ipflow.utc.fr/blog/
4
	http://www.ipflow.utc.fr/blog/

Return to bug 117457