net-libs/gsnmp: treeclean

Closes: https://bugs.gentoo.org/644344
Closes: https://bugs.gentoo.org/672172
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2021-10-07 10:29:59 +02:00
parent 7a4d31b37a
commit 6f4ff2b332
7 changed files with 0 additions and 112 deletions
-1
View File
@@ -1 +0,0 @@
DIST gsnmp-0.3.0.tar.gz 423137 BLAKE2B 6987b1d13b946b2e4b78618e0910cb6f787c71c1658178ca1ced866a82ca5f6467c1dd21d7c2e40dfbf9150d860539e216d4be197ed705a38517a57fc7220d66 SHA512 dcba2eb5ae31704fe6dc3e0b98f3032666b7b2be1efdff0f60a3cf4d0e0c3384563d72e5289a8d10c447f00da73f646a1963ffe08b46c7bc165972ac1b07c8b1
@@ -1,10 +0,0 @@
--- a/src/transport.c
+++ b/src/transport.c
@@ -32,6 +32,7 @@
#include "transport.h"
#include "dispatch.h"
#include "pdu.h" /* xxx only needed for debugging flags... */
+#include <glib/gstdio.h> /* g_access() */
static GUdpSocket *udp_ipv4_socket = NULL;
@@ -1,31 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -21,10 +21,18 @@
AC_PROG_LIBTOOL
+PKG_PROG_PKG_CONFIG
+
dnl Checks for libraries.
-AM_PATH_GLIB_2_0(2.0.0)
-AM_PATH_GNET_2_0(2.0.4)
+PKG_CHECK_MODULES(GLIB, glib-2.0 > 2.0.0,[
+ LIBS="$LIBS $GLIB_LIBS"
+ CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
+ ], AC_MSG_ERROR[Could not find glib])
+PKG_CHECK_MODULES(GNET, gnet-2.0 > 2.0.4,[
+ LIBS="$LIBS $GNET_LIBS"
+ CPPFLAGS="$CPPFLAGS $GNET_CFLAGS"
+ ], AC_MSG_ERROR[Could not find gnet])
dnl Checks for header files.
dnl AC_HEADER_STDC
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,3 @@
-AM_CPPFLAGS = $(GNET_CFLAGS)
-
lib_LTLIBRARIES = libgsnmp.la
libgsnmp_la_SOURCES = ber.c ber.h \
pdu.c pdu.h \
@@ -1,11 +0,0 @@
--- a/gsnmp.m4
+++ b/gsnmp.m4
@@ -1,7 +1,7 @@
dnl AM_PATH_GSNMP()
dnl
-AC_DEFUN(AM_PATH_GSNMP,
+AC_DEFUN([AM_PATH_GSNMP],
[
PKG_CHECK_MODULES(GSNMP, glib-2.0 >= 2.0.1)
])
-46
View File
@@ -1,46 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="An SNMP library based on glib and gnet"
HOMEPAGE="https://github.com/schoenw/gsnmp"
SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
IUSE="static-libs"
DEPEND="
dev-libs/glib:2
net-libs/gnet
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( README )
PATCHES=(
"${FILESDIR}"/${P}-g_access.patch
"${FILESDIR}"/${P}-pkg_config.patch
"${FILESDIR}"/${P}-underquoting.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}
-8
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 type="project">
<email>netmon@gentoo.org</email>
<name>Gentoo network monitoring and analysis project</name>
</maintainer>
</pkgmetadata>
-5
View File
@@ -296,11 +296,6 @@ dev-python/oauth2
# Masked until dev-libs/openssl-3.0* is unmasked
=dev-libs/gost-engine-3.0*
# Andreas Sturmlechner <asturm@gentoo.org> (2021-09-07)
# EAPI-5, dead upstream, last (and only) version added in 2011
# Bug 644344; Removal on 2021-10-07.
net-libs/gsnmp
# Ionen Wolkens <ionen@gentoo.org> (2021-09-03)
# Currently may not function with kde-plasma/kwin (black screen),
# so keeping masked for testing due to being a primary consumer.