diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/gsnmp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/gsnmp')
-rw-r--r-- | net-libs/gsnmp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/gsnmp/files/gsnmp-0.3.0-g_access.patch | 10 | ||||
-rw-r--r-- | net-libs/gsnmp/files/gsnmp-0.3.0-pkg_config.patch | 31 | ||||
-rw-r--r-- | net-libs/gsnmp/files/gsnmp-0.3.0-underquoting.patch | 11 | ||||
-rw-r--r-- | net-libs/gsnmp/gsnmp-0.3.0.ebuild | 42 | ||||
-rw-r--r-- | net-libs/gsnmp/metadata.xml | 6 |
6 files changed, 101 insertions, 0 deletions
diff --git a/net-libs/gsnmp/Manifest b/net-libs/gsnmp/Manifest new file mode 100644 index 000000000000..1b7e09fac471 --- /dev/null +++ b/net-libs/gsnmp/Manifest @@ -0,0 +1 @@ +DIST gsnmp-0.3.0.tar.gz 423137 SHA256 e428b61071b8ba2971fc8737ed2987210b04a71ffde307900df12c06a0bed0f9 SHA512 dcba2eb5ae31704fe6dc3e0b98f3032666b7b2be1efdff0f60a3cf4d0e0c3384563d72e5289a8d10c447f00da73f646a1963ffe08b46c7bc165972ac1b07c8b1 WHIRLPOOL 1ada5531cf66c623f9d1c32ecc5f60cd6f86c8cd8dc2cf75b1bf23be1369ee0f085e3dd98e6495cb85c47a2a8f4f40a414230c96d6f9161fc592841323554af5 diff --git a/net-libs/gsnmp/files/gsnmp-0.3.0-g_access.patch b/net-libs/gsnmp/files/gsnmp-0.3.0-g_access.patch new file mode 100644 index 000000000000..505f7d166a9d --- /dev/null +++ b/net-libs/gsnmp/files/gsnmp-0.3.0-g_access.patch @@ -0,0 +1,10 @@ +--- 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; diff --git a/net-libs/gsnmp/files/gsnmp-0.3.0-pkg_config.patch b/net-libs/gsnmp/files/gsnmp-0.3.0-pkg_config.patch new file mode 100644 index 000000000000..2e837caa820d --- /dev/null +++ b/net-libs/gsnmp/files/gsnmp-0.3.0-pkg_config.patch @@ -0,0 +1,31 @@ +--- 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 \ diff --git a/net-libs/gsnmp/files/gsnmp-0.3.0-underquoting.patch b/net-libs/gsnmp/files/gsnmp-0.3.0-underquoting.patch new file mode 100644 index 000000000000..877aeceb0b0e --- /dev/null +++ b/net-libs/gsnmp/files/gsnmp-0.3.0-underquoting.patch @@ -0,0 +1,11 @@ +--- 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) + ]) diff --git a/net-libs/gsnmp/gsnmp-0.3.0.ebuild b/net-libs/gsnmp/gsnmp-0.3.0.ebuild new file mode 100644 index 000000000000..de484916524a --- /dev/null +++ b/net-libs/gsnmp/gsnmp-0.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="An SNMP library based on glib and gnet" +HOMEPAGE="http://cnds.eecs.jacobs-university.de/users/schoenw/articles/software/index.html" +SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~amd64-linux ~ppc x86" +IUSE="static-libs" + +DEPEND=" + dev-libs/glib:2 + net-libs/gnet +" +RDEPEND="${DEPEND}" + +DOCS="README" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-g_access.patch \ + "${FILESDIR}"/${P}-pkg_config.patch \ + "${FILESDIR}"/${P}-underquoting.patch + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + prune_libtool_files +} diff --git a/net-libs/gsnmp/metadata.xml b/net-libs/gsnmp/metadata.xml new file mode 100644 index 000000000000..9ca15ca788e8 --- /dev/null +++ b/net-libs/gsnmp/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>netmon</herd> +</pkgmetadata> + |