summaryrefslogtreecommitdiff
path: root/net-libs/libnipper
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libnipper
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libnipper')
-rw-r--r--net-libs/libnipper/Manifest8
-rw-r--r--net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch16
-rw-r--r--net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch13
-rw-r--r--net-libs/libnipper/files/libnipper-0.12.6-multilib-strict.patch13
-rw-r--r--net-libs/libnipper/libnipper-0.12.6-r1.ebuild21
-rw-r--r--net-libs/libnipper/metadata.xml12
6 files changed, 83 insertions, 0 deletions
diff --git a/net-libs/libnipper/Manifest b/net-libs/libnipper/Manifest
new file mode 100644
index 000000000000..ef4541f7ff8a
--- /dev/null
+++ b/net-libs/libnipper/Manifest
@@ -0,0 +1,8 @@
+AUX libnipper-0.12.6-gcc47.patch 272 SHA256 9453c62bf6271bca2e629106a558490423ba30f40e897e385a618194687bab5b SHA512 fa6e326a97d5d6e72fc04fc2aebf6fb56be0c3683b5d1a02fcb907a944d2b3cb41d91a750c69c69a73e0fbec670d288b16bfcf718a3ec43a1689dbfb67411edf WHIRLPOOL 104b81b20eaab91114775e28b608a1eda86ed80e4e47545e89ebfe10e33b655d3d6485fb2cd9a4cb2bc8abbb5cfc9b6bd0838806aa811039f1af2edcde446ace
+AUX libnipper-0.12.6-glibc-2.10.patch 418 SHA256 2bd953dcbfd4f1dc081083ee230367b86cad739576a2df3cee6d33c6d7a1d306 SHA512 0111563759771a4fbb9464c41cb66358a8a12c461709b3cb5638663b6d39ea594aa4402eb488080992a173ad1d639790c6632ca5e8f0c85ce60af5c6e1fc54ea WHIRLPOOL c8123b9a4bc25c3d7431190a19c088352a9e3bef62c545b3613bc10d668f736041058ed7e3cecc78debbae718fccb053aaf9ef28a902d8ddd026f8a4c2c16d18
+AUX libnipper-0.12.6-multilib-strict.patch 523 SHA256 275cc804875c3557f99dc0e278866bb9247799ee9e8aede49e45aca330be0dbd SHA512 4290a1b5afdf3215d25d1eb173a0dca421f209335cbe413aa3f051df31c132e85dcafaec89eee52709ece258aba37b507cc4499369e9ad403aa7ecb2b7ba04a6 WHIRLPOOL 45797f4a34b9abf08aa006fa965ea566c50345f1b6d20bef40404b7a53d6b5b0e6ec82ec9aca445df0adba0d6767cb0bf695688a93ea204b8c1d09d1aadc750e
+DIST libnipper-0.12.6.tgz 444578 SHA256 70cd0cb66d8c0718c7d1ec9bc510d70ed17efed0213833790e79d7ca43fccf8c SHA512 eb6eabce06a71463f8dad59a2aca13583e9ae8113b6997a7946b9bbafe54cd0668189c915f917ffcb7ffe3b5dc6dbbf7d37874ec226e5bd8cdd3c8999f9e10b0 WHIRLPOOL dae559647ec689087d103fb0a8da4ef5179afc6a426412ab211eff6009df87b264decfe19aca84f29e3eaa187b26dc558341670c4efd3b8e47a3c201668ba1f9
+EBUILD libnipper-0.12.6-r1.ebuild 468 SHA256 2f69831e3d369e0846feffcb92f3fe8cda22846150f158fe9edad1e01142984a SHA512 7a67d1cab29df68cafe09c4549c6426316f6181b888040ebee8abdaf2c3d3554d7f223cd439a499cf2a361cd9930b6efc3c90e58b7121d009e1dd1f781b71b90 WHIRLPOOL 2edb487fdfd8ab97e2a6fd018ba06a4b03deff7de4a04daca871f5096107303609031718ec94101411e177f4b483fc0428f56b242204963448ba90c98d62d0cc
+MISC ChangeLog 2322 SHA256 6fd2c3b83496c8ebaefdec45daf8fe2a8421dbad39ae290c6dc409117096504c SHA512 9ff0e21401c3c4dd45abfb10815880ff3fed303f2db009e7f86757b677d3357df65dd76346aebe4b91d32b9c6239273267f4c6053014dd1ed1f15455e3266d60 WHIRLPOOL 332d2a75e6eadffdaa07ee2371c28c1dd35f6529a365f8997426d370a45777870f940fa5d1b8c400a271c46384cb6c636edd028ab649db9c50e0b27e2dbb4136
+MISC ChangeLog-2015 2252 SHA256 b12c887c7f17594d3a127ae2b35fc4375146c3a9ea5540099831c0dd1b553cca SHA512 d2ac3e803c7dbd8752b9d64be6890d83e6f2f5cbe3995327aa711e5e61b928e61faa074963f3fa741ba12bfa30c94fa8eb800b4cb29272fa0ec807b6f4219a73 WHIRLPOOL a4e6ecf1fcf9a291aaab96db10d7276fd1c879a3590629fd7b67f8a3dfeb9ac21365cbe13e583497e2362a89351991c65d3509dd21808a3a18f6abd3b3161222
+MISC metadata.xml 446 SHA256 bdca1f2a423937a541d7a4a11742dcb76725fc8ab1d8aac2bd7cdab9f7a3b883 SHA512 fce909775e84b475f504f9aea14ed5090b1b849ec65b4d3013893d3aca2d8ab4c8e074e1e5b632d0f92313e003b6c70f138b63985e90565f4c283964f47b87c7 WHIRLPOOL 96b75ebbe875eb33b006a44921797a67ae47466ec6d6e46b9bda14c9a29bc9a5dd5448112f1caa075b0986b33ae1b090170e6818bfca43a8c298352c205aed94
diff --git a/net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch b/net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch
new file mode 100644
index 000000000000..45b65b5e0383
--- /dev/null
+++ b/net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch
@@ -0,0 +1,16 @@
+ https://bugs.gentoo.org/423813
+
+
+ device/device.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/device/device.cpp
++++ b/device/device.cpp
+@@ -31,6 +31,7 @@
+
+
+ // Includes...
++#include <unistd.h>
+ #include "../globaldefs.h"
+ #include "errortext.h"
+ #include "device.h"
diff --git a/net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch b/net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch
new file mode 100644
index 000000000000..332276e14329
--- /dev/null
+++ b/net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch
@@ -0,0 +1,13 @@
+diff --git a/device/common/misc.cpp b/device/common/misc.cpp
+index 7b3a7fb..612aacd 100644
+--- a/device/common/misc.cpp
++++ b/device/common/misc.cpp
+@@ -198,7 +198,7 @@ const char *Device::cidrToNetmask(const char *cidr)
+ unsigned int Device::ipAddressToNum(const char *address)
+ {
+ // Variables...
+- char *addressPointer = 0;
++ const char *addressPointer = 0;
+ unsigned int returnAddress = 0;
+ int tempInt = 0;
+
diff --git a/net-libs/libnipper/files/libnipper-0.12.6-multilib-strict.patch b/net-libs/libnipper/files/libnipper-0.12.6-multilib-strict.patch
new file mode 100644
index 000000000000..471236b84f92
--- /dev/null
+++ b/net-libs/libnipper/files/libnipper-0.12.6-multilib-strict.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4cc6260..d4518fb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -319,7 +319,7 @@ SET(libnipper_SRC
+ ADD_LIBRARY(nipper SHARED ${libnipper_SRC})
+
+ # Install...
+-INSTALL(TARGETS nipper LIBRARY DESTINATION /usr/lib)
++INSTALL(TARGETS nipper LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ 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)
diff --git a/net-libs/libnipper/libnipper-0.12.6-r1.ebuild b/net-libs/libnipper/libnipper-0.12.6-r1.ebuild
new file mode 100644
index 000000000000..f06a4c7bc6d0
--- /dev/null
+++ b/net-libs/libnipper/libnipper-0.12.6-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A router configuration security analysis library"
+HOMEPAGE="http://nipper.titania.co.uk/"
+SRC_URI="mirror://sourceforge/nipper/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/${P}-glibc-2.10.patch"
+ "${FILESDIR}/${P}-gcc47.patch"
+ "${FILESDIR}/${P}-multilib-strict.patch"
+)
diff --git a/net-libs/libnipper/metadata.xml b/net-libs/libnipper/metadata.xml
new file mode 100644
index 000000000000..5b93ff141c8f
--- /dev/null
+++ b/net-libs/libnipper/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ikelos@gentoo.org</email>
+ <name>Mike Auty</name>
+ </maintainer>
+ <longdescription>A library for conducting security audits of cisco and other firewall device configurations.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">nipper</remote-id>
+ </upstream>
+</pkgmetadata>