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@
This commit is contained in:
steven 2008-09-20 20:28:02 +00:00
parent 6162e4a100
commit a838be21ce
5 changed files with 67 additions and 0 deletions

34
security/nipper/Makefile Normal file
View File

@ -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 <steven@openbsd.org>
# 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 <bsd.port.mk>

5
security/nipper/distinfo Normal file
View File

@ -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

View File

@ -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)

View File

@ -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.

View File

@ -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