From a838be21cedb7c39fdcf8560dcab76084244dc80 Mon Sep 17 00:00:00 2001 From: steven Date: Sat, 20 Sep 2008 20:28:02 +0000 Subject: [PATCH] import nipper 0.12.0 Nipper enables network administrators, security professionals and auditors to quickly produce reports on key network infrastructure devices. tested by rui and Nigel J. Taylor ok rui@ --- security/nipper/Makefile | 34 ++++++++++++++++++++ security/nipper/distinfo | 5 +++ security/nipper/patches/patch-CMakeLists_txt | 18 +++++++++++ security/nipper/pkg/DESCR | 7 ++++ security/nipper/pkg/PLIST | 3 ++ 5 files changed, 67 insertions(+) create mode 100644 security/nipper/Makefile create mode 100644 security/nipper/distinfo create mode 100644 security/nipper/patches/patch-CMakeLists_txt create mode 100644 security/nipper/pkg/DESCR create mode 100644 security/nipper/pkg/PLIST diff --git a/security/nipper/Makefile b/security/nipper/Makefile new file mode 100644 index 00000000000..5ea871cdcfc --- /dev/null +++ b/security/nipper/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/09/20 20:28:02 steven Exp $ + +COMMENT = audit network device configuration + +V = 0.12.0 +DISTNAME = nipper-cli-$V +PKGNAME = nipper-$V +CATEGORIES = security net + +HOMEPAGE = http://nipper.sf.net/ +MAINTAINER = Steven Mestdagh + +# GPLv3 +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=nipper/} +EXTRACT_SUFX = .tgz + +WANTLIB = c m stdc++ + +LIB_DEPENDS= nipper::security/libnipper + +CONFIGURE_STYLE = cmake +MODULES += devel/cmake + +NO_REGRESS = Yes + +pre-configure: + @${SUBST_CMD} ${WRKSRC}/CMakeLists.txt + +.include diff --git a/security/nipper/distinfo b/security/nipper/distinfo new file mode 100644 index 00000000000..8a0418c557d --- /dev/null +++ b/security/nipper/distinfo @@ -0,0 +1,5 @@ +MD5 (nipper-cli-0.12.0.tgz) = ahYMr7DAQ+IzB1ait7g9rw== +RMD160 (nipper-cli-0.12.0.tgz) = wKg/TCGUFVa6zud3gBKI0WK0/eo= +SHA1 (nipper-cli-0.12.0.tgz) = jlcX5YkdTs3TpNc83iyX913D+3E= +SHA256 (nipper-cli-0.12.0.tgz) = 8Ks8oYG2yIRoOVwmT8P+ACYApDpphqWDGzx6R6Kq9gk= +SIZE (nipper-cli-0.12.0.tgz) = 34157 diff --git a/security/nipper/patches/patch-CMakeLists_txt b/security/nipper/patches/patch-CMakeLists_txt new file mode 100644 index 00000000000..06c8335c940 --- /dev/null +++ b/security/nipper/patches/patch-CMakeLists_txt @@ -0,0 +1,18 @@ +$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2008/09/20 20:28:02 steven Exp $ +--- CMakeLists.txt.orig Sat Aug 30 19:06:30 2008 ++++ CMakeLists.txt Fri Sep 19 07:54:05 2008 +@@ -2,10 +2,12 @@ PROJECT(nipper-cli) + + CMAKE_MINIMUM_REQUIRED(VERSION 2.4) + ++INCLUDE_DIRECTORIES(${LOCALBASE}/include) ++LINK_DIRECTORIES(${LOCALBASE}/lib) + ADD_EXECUTABLE(nipper-cli nipper.cpp) + SET_TARGET_PROPERTIES(nipper-cli PROPERTIES OUTPUT_NAME "nipper") + 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 ${LOCALBASE}/bin) ++INSTALL(FILES man/nipper.1 DESTINATION ${LOCALBASE}/man/man1) diff --git a/security/nipper/pkg/DESCR b/security/nipper/pkg/DESCR new file mode 100644 index 00000000000..082d132a0f4 --- /dev/null +++ b/security/nipper/pkg/DESCR @@ -0,0 +1,7 @@ +Nipper enables network administrators, security professionals and auditors +to quickly produce reports on key network infrastructure devices. + +The report can include a detailed security audit of the device settings or +be a configuration report, the output is customisable. Nipper supports a +wide variety of devices from different manufacturers such as Cisco, Nokia, +Juniper, HP, CheckPoint, Nortel, 3Com, SonicWALL and Bay Networks. diff --git a/security/nipper/pkg/PLIST b/security/nipper/pkg/PLIST new file mode 100644 index 00000000000..da2f7420a7a --- /dev/null +++ b/security/nipper/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/09/20 20:28:02 steven Exp $ +@bin bin/nipper +@man man/man1/nipper.1