pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libnipper Nipper performs security audits of netwo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49b5fec3471d
branches:  trunk
changeset: 546857:49b5fec3471d
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Mon Sep 08 17:27:56 2008 +0000

description:
Nipper performs security audits of network device configuration
files. The report produced by Nipper includes; detailed security-related
issues with recommendations, a configuration report and various
appendices. Nipper has a large number of configuration options.

diffstat:

 net/libnipper/DESCR            |   4 ++++
 net/libnipper/Makefile         |  33 +++++++++++++++++++++++++++++++++
 net/libnipper/PLIST            |   7 +++++++
 net/libnipper/buildlink3.mk    |  19 +++++++++++++++++++
 net/libnipper/distinfo         |   6 ++++++
 net/libnipper/patches/patch-aa |  16 ++++++++++++++++
 6 files changed, 85 insertions(+), 0 deletions(-)

diffs (109 lines):

diff -r 0a9ce3eb819e -r 49b5fec3471d net/libnipper/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnipper/DESCR       Mon Sep 08 17:27:56 2008 +0000
@@ -0,0 +1,4 @@
+Nipper performs security audits of network device configuration
+files. The report produced by Nipper includes; detailed security-related
+issues with recommendations, a configuration report and various
+appendices. Nipper has a large number of configuration options.
diff -r 0a9ce3eb819e -r 49b5fec3471d net/libnipper/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnipper/Makefile    Mon Sep 08 17:27:56 2008 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/08 17:27:56 adrianp Exp $
+#
+
+DISTNAME=      libnipper-0.12.1
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nipper/}
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://nipper.sourceforge.net/
+COMMENT=       Performs security audits of network device configuration
+
+USE_LANGUAGES= c++
+USE_CMAKE=     yes
+
+CONF_FILES+=   ${PREFIX}/share/examples/nipper.conf \
+               ${PKG_SYSCONFDIR}/nipper.conf
+
+SUBST_CLASSES+=                config
+SUBST_STAGE.config=    post-patch
+SUBST_FILES.config=    CMakeLists.txt libnipper.cpp 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_SYSONFDIR}|g"
+SUBST_MESSAGE.config=  Fixing configuration files.
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples
+       ${INSTALL_DATA} ${WRKSRC}/nipper.conf \
+               ${PREFIX}/share/examples/nipper.conf
+
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0a9ce3eb819e -r 49b5fec3471d net/libnipper/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnipper/PLIST       Mon Sep 08 17:27:56 2008 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/08 17:27:56 adrianp Exp $
+include/libnipper/config.h
+include/libnipper/libnipper.h
+lib/libnipper.so
+share/examples/nipper.conf
+man/man5/nipper.conf.5
+@dirrm include/libnipper
diff -r 0a9ce3eb819e -r 49b5fec3471d net/libnipper/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnipper/buildlink3.mk       Mon Sep 08 17:27:56 2008 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/08 17:27:56 adrianp Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBNIPPER_BUILDLINK3_MK:=      ${LIBNIPPER_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libnipper
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibnipper}
+BUILDLINK_PACKAGES+=   libnipper
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnipper
+
+.if ${LIBNIPPER_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libnipper+=      libnipper>=0.12.1
+BUILDLINK_PKGSRCDIR.libnipper?=        ../../net/libnipper
+.endif # LIBNIPPER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r 0a9ce3eb819e -r 49b5fec3471d net/libnipper/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnipper/distinfo    Mon Sep 08 17:27:56 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/08 17:27:56 adrianp Exp $
+
+SHA1 (libnipper-0.12.1.tgz) = 0999540d127588d1be1b9f3baecb25603511e448
+RMD160 (libnipper-0.12.1.tgz) = 3ff9bdae5e41a1b1549103c6bea030f662d0d19c
+Size (libnipper-0.12.1.tgz) = 450651 bytes
+SHA1 (patch-aa) = c4d245196cd901b9f11826bd163df701e1b447a2
diff -r 0a9ce3eb819e -r 49b5fec3471d net/libnipper/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnipper/patches/patch-aa    Mon Sep 08 17:27:56 2008 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/08 17:27:56 adrianp Exp $
+
+--- CMakeLists.txt.orig        2008-09-05 21:01:55.000000000 +0100
++++ CMakeLists.txt
+@@ -319,7 +319,6 @@ SET(libnipper_SRC
+ ADD_LIBRARY(nipper SHARED ${libnipper_SRC})
+ 
+ # Install...
+-INSTALL(TARGETS nipper LIBRARY DESTINATION /usr/lib)
+-INSTALL(FILES nipper.conf DESTINATION /etc)
+-INSTALL(FILES libnipper.h config.h DESTINATION /usr/include/libnipper/)
+-INSTALL(FILES man/nipper.conf.5 DESTINATION /usr/share/man/man5)
+\ No newline at end of file
++INSTALL(TARGETS nipper LIBRARY DESTINATION @@PREFIX@@/lib)
++INSTALL(FILES libnipper.h config.h DESTINATION @@PREFIX@@/include/libnipper/)
++INSTALL(FILES man/nipper.conf.5 DESTINATION @@PREFIX@@/@@PKGMANDIR@@/man5)



Home | Main Index | Thread Index | Old Index