net-libs/libnipper: treeclean

Closes: https://bugs.gentoo.org/951888 (pkgremoved)
Closes: https://bugs.gentoo.org/957258 (pkgremoved)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-09-29 18:09:26 +02:00
parent a5790fed9c
commit b7ea86384a
9 changed files with 0 additions and 100 deletions

View File

@@ -1 +0,0 @@
DIST libnipper-0.12.6.tgz 444578 BLAKE2B 66a9d9158a132a447e5acfb2da51618c2be09f51a8bea3b47bb953a8734e5be5666a6d330e20ec9b5ad6455ac98fbc651a673dd4c47045f916cc3894ff40f5c2 SHA512 eb6eabce06a71463f8dad59a2aca13583e9ae8113b6997a7946b9bbafe54cd0668189c915f917ffcb7ffe3b5dc6dbbf7d37874ec226e5bd8cdd3c8999f9e10b0

View File

@@ -1,11 +0,0 @@
https://bugs.gentoo.org/851666
--- a/report/report-text.cpp
+++ b/report/report-text.cpp
@@ -34,6 +34,7 @@
#include "../device/general/general.h"
#include "report.h"
+#include <ctime>
int Report::writeText(const char *theText, Device::paragraphStruct *paragraph, bool expandAbbreviations, bool hideMarkup)
{

View File

@@ -1,16 +0,0 @@
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"

View File

@@ -1,13 +0,0 @@
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;

View File

@@ -1,13 +0,0 @@
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)

View File

@@ -1,11 +0,0 @@
--- a/report/report-table.cpp
+++ b/report/report-table.cpp
@@ -359,7 +359,7 @@ int Report::writeTable(Device::paragraphStruct *paragraph)
else if (config->reportFormat == Config::XML)
fprintf(outFile, ">");
if (cellPointer->cellData.empty())
- fprintf(outFile, config->emptyTableCell);
+ fprintf(outFile, "%s", config->emptyTableCell);
else
errorCode = writeText(cellPointer->cellData.c_str(), paragraph);
if (errorCode != 0)

View File

@@ -1,22 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="A router configuration security analysis library"
HOMEPAGE="http://nipper.titania.co.uk/"
SRC_URI="https://downloads.sourceforge.net/nipper/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PATCHES=(
"${FILESDIR}/${P}-glibc-2.10.patch"
"${FILESDIR}/${P}-gcc47.patch"
"${FILESDIR}/${P}-multilib-strict.patch"
"${FILESDIR}/${P}-gcc12-time.patch"
"${FILESDIR}/${P}-wformat-security.patch"
)

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="sourceforge">nipper</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -196,11 +196,6 @@ dev-python/spur
# Bug #955270. Removal on 2025-10-05.
sci-libs/silo
# Andreas Sturmlechner <asturm@gentoo.org> (2025-09-01)
# EAPI-7 cmake.eclass, no revdeps, no one else is packaging this.
# Bugs #951888, #957258. Removal on 2025-10-01.
net-libs/libnipper
# Eli Schwartz <eschwartz@gentoo.org> (2025-09-01)
# Effectively unmaintained in Gentoo. Upstream dead for 8 years. Stuck
# on py3.11, but no testsuite and still has py2-specific source code so