pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/nipper This is a major update of nipper from 0.10....
details: https://anonhg.NetBSD.org/pkgsrc/rev/0c3c72184809
branches: trunk
changeset: 546859:0c3c72184809
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Mon Sep 08 17:39:29 2008 +0000
description:
This is a major update of nipper from 0.10.5->0.12.0 which includes
it being split between net/libnipper and the CLI in this package
Lots of devices supported including:
* 3Com SuperStack 3 Firewall
* Bay Networks Accelar
* CheckPoint Firewall Module
* CheckPoint Management Module
* Cisco IOS-based Router
* Cisco IOS-based Catalyst Switch
* Cisco PIX-based Firewall
* Cisco ASA-based Firewall
* Cisco FWSM-based Firewall
* Cisco CatOS-based Catalyst
* Cisco NMP-based Catalyst
* Cisco Content Services Switch
* HP ProCurve Switches
* Juniper NetScreen Firewall
* Nokia IP Firewall
* Nortel Ethernet Routing Switch 8300
* Nortel Passport Device
* SonicWall SonicOS Firewall
For more details of changes between specific release see:
http://nipper.titania.co.uk/news.php
diffstat:
net/nipper/Makefile | 24 ++++++++++++++----------
net/nipper/PLIST | 8 ++------
net/nipper/distinfo | 9 +++++----
net/nipper/patches/patch-aa | 12 ++++++++++++
4 files changed, 33 insertions(+), 20 deletions(-)
diffs (83 lines):
diff -r 8e8a04f1bbae -r 0c3c72184809 net/nipper/Makefile
--- a/net/nipper/Makefile Mon Sep 08 17:28:12 2008 +0000
+++ b/net/nipper/Makefile Mon Sep 08 17:39:29 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/09/01 22:33:53 adrianp Exp $
+# $NetBSD: Makefile,v 1.2 2008/09/08 17:39:29 adrianp Exp $
#
-DISTNAME= nipper-0.10.5
+DISTNAME= nipper-cli-0.12.0
+PKGNAME= ${DISTNAME:S/-cli//}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nipper/}
EXTRACT_SUFX= .tgz
@@ -10,14 +11,17 @@
HOMEPAGE= http://nipper.sourceforge.net/
COMMENT= Performs security audits of network device configuration
-INSTALLATION_DIRS= ${PREFIX}/share/doc/nipper
-
-do-build:
- cd ${WRKSRC} && \
- ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o nipper nipper.c
+USE_LANGUAGES= c++ c
+USE_CMAKE= yes
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nipper ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/nipper
+SUBST_CLASSES+= config
+SUBST_STAGE.config= post-patch
+SUBST_FILES.config= CMakeLists.txt nipper.cpp
+SUBST_SED.config= -e "s|@@PREFIX@@|${PREFIX}|g"
+SUBST_SED.config+= -e "s|@@PKGMANDIR@@|${PKGMANDIR}|g"
+SUBST_SED.config+= -e "s|/etc|${PKG_SYSCONFDIR}|g"
+SUBST_MESSAGE.config= Fixing configuration files.
+.include "../../net/libnipper/buildlink3.mk"
+.include "../../devel/cmake/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 8e8a04f1bbae -r 0c3c72184809 net/nipper/PLIST
--- a/net/nipper/PLIST Mon Sep 08 17:28:12 2008 +0000
+++ b/net/nipper/PLIST Mon Sep 08 17:39:29 2008 +0000
@@ -1,7 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/01 22:33:53 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/09/08 17:39:29 adrianp Exp $
bin/nipper
-share/doc/nipper/Features.txt
-share/doc/nipper/Options.txt
-share/doc/nipper/Quickstart.txt
-share/doc/nipper/XML.txt
-@dirrm share/doc/nipper
+man/man1/nipper.1
diff -r 8e8a04f1bbae -r 0c3c72184809 net/nipper/distinfo
--- a/net/nipper/distinfo Mon Sep 08 17:28:12 2008 +0000
+++ b/net/nipper/distinfo Mon Sep 08 17:39:29 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/09/01 22:33:53 adrianp Exp $
+$NetBSD: distinfo,v 1.2 2008/09/08 17:39:29 adrianp Exp $
-SHA1 (nipper-0.10.5.tgz) = f99faf8e0731b81463f82d7ff64f86a9d5f762e2
-RMD160 (nipper-0.10.5.tgz) = 40322e68376ec19a01a5654d2792aff0a98b0fee
-Size (nipper-0.10.5.tgz) = 198770 bytes
+SHA1 (nipper-cli-0.12.0.tgz) = 8e5717e5891d4ecdd3a4d73cde2c97f75dc3fb71
+RMD160 (nipper-cli-0.12.0.tgz) = c0a83f4c21941556bacee777801288d162b4fdea
+Size (nipper-cli-0.12.0.tgz) = 34157 bytes
+SHA1 (patch-aa) = 0ffd30ecd32ccb32746b03942e9b47df38508540
diff -r 8e8a04f1bbae -r 0c3c72184809 net/nipper/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nipper/patches/patch-aa Mon Sep 08 17:39:29 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2008/09/08 17:39:29 adrianp Exp $
+
+--- CMakeLists.txt.orig 2008-08-30 18:06:30.000000000 +0100
++++ CMakeLists.txt
+@@ -7,5 +7,5 @@ SET_TARGET_PROPERTIES(nipper-cli PROPERT
+ TARGET_LINK_LIBRARIES(nipper-cli nipper)
+
+ # Install...
+-INSTALL(TARGETS nipper-cli DESTINATION /usr/bin)
+-INSTALL(FILES man/nipper.1 DESTINATION /usr/share/man/man1)
++INSTALL(TARGETS nipper-cli DESTINATION @@PREFIX@@/bin)
++INSTALL(FILES man/nipper.1 DESTINATION @@PREFIX@@/@@PKGMANDIR@@/man1)
Home |
Main Index |
Thread Index |
Old Index