mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-17 20:30:58 +02:00
net-snmp: remove outdated package. We relay on Gentoo's ebuild
This commit is contained in:
parent
275c70d6fc
commit
e7cd1f0fed
16 changed files with 0 additions and 1646 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,16 +0,0 @@
|
|||
AUX 0001-Fix-toolchain-quadruplet-detection-Gentoo-bug-432004.patch 1183 SHA256 cd8c6b72f37cfe1396d0e7dffec6160bebca2e86bc55f4bcca67cb338bcf89d0 SHA512 d96a63d3257118296e9f31a11ddb99e1728c3ed80c9f6953d74a5c2cdf9ffbfa36aaa8f2facfe4961d0f5dff58769e74319f1e848f0649911a447872ef22ac6e WHIRLPOOL 45ee7669fc1bab5dc9778b72239566ec04191c3b982f9ac33ca8e2ab5aaae3f76aa45cb6d87e4cbed8c06d96ca4baff61ec8649609d9a5be6e4d9130a29399a2
|
||||
AUX 0002-Respect-DESTDIR-for-pythoninstall.patch 873 SHA256 c66e7118c222e96f234af6901ede1c1c4cda4ca2403a93ac0a1f7d74a5cab514 SHA512 d8d9dcfdd7dd99bb03fd524ecf5ba5a3c76b17784a1bcb184c6f224eee746850fcb98036d9840c1d02e6f843fea2cf4bbf437e706c9fd3bab6302d403741bf8f WHIRLPOOL 0e9a9a593ba712b4a66c32bdcaf66c199d8b2a023eb4c2e274855af9f9df33e93fddc8e009a851bef0e69326456cabaf5ca7e93d5798e628619ca5010ec37baf
|
||||
AUX 0003-Make-fixproc-use-etc-insetad-of-local-etc.patch 819 SHA256 32881cffcb5fba1d2dde9ac242f41d90f61ba9c96ef5ad2f8c97c0d3d5f899f4 SHA512 c845f3eaf1f5f62d064d7b0d665c9c210b7e6d1cc67952d05e16e90be5c60b34dadb97bb64b548060df6320ed6eb220be22609ba3bd69962aa136539c8dccc4d WHIRLPOOL e2e72c328a23c853f9e56b65f3d1f1f7bcf74b016b6fc0b83305cc51420a222da74e48e111d71d46bd0416bd534d14b30a855dad80db7ce55de168c612fe27e1
|
||||
AUX 0004-Don-t-report-CFLAGS-and-LDFLAGS-in-net-snmp-config.patch 2009 SHA256 4365b10de022fbba7d8e8d2ea7db43f650250fd50d7d761ba3ad237d266acee5 SHA512 453686e18f1d20a36eda08a6db1555f5836f59d911718cfd19e95d80d82566e201ea8eb05e586786e0faceabe24a1d87bf3cdc7496187ec0bdd373d58d6b81c4 WHIRLPOOL d0888de94c4a8fd7fd22da2a5b97de696f8feb2b12b40791aa48d10996ff8f3729bdcbdebb22e78d1e3d2a78a0f13fe3f653980d7e500b5d7e8464ae295c03d2
|
||||
AUX 0005-Respect-LDFLAGS-properly.patch 604 SHA256 96f45cb16d52e14f288cad3d2accc47955b383f03ab83e3ba554ceee7bca1d6c SHA512 ff2a1204efc122e8558b801ddff386c032c9254b69f26dfd8cee79464b7d5b3a3d1886dd33bbc438e44511e96c96046416c481cf2613b12f86d137332de2a0dc WHIRLPOOL f296caae28819de0fb2f35e7b3f48e4bdb3412c1720583edfd75cad11dea5e8ba4c33eb7518dd9e68155ec5e28471bd93492954b8733e2f390ed2bc0973b1222
|
||||
AUX 0006-build-make-sure-that-the-man-aliases-are-all-properl.patch 854 SHA256 7e4082cc6d27bf2288fbff8b5c61127dc30638bdcf93707ce25bc323e1c10b42 SHA512 f2199ab90a84318354586bbfae6cee5582a5a581db5f42ec3230bf9796d779a5c7a697d0bc01d6287db47f1a17b58ab810dca5f2d202c71e89500f77193ee0bf WHIRLPOOL 5fc27f39983cc5cb05d306ebcee536e5102b9042015e9d0c60d71614465c5957952f3fbbc0b329e53469b52689feb183dc3cf6ce068695b152112ba5166c013d
|
||||
AUX 0007-build-add-a-with-pci-option-that-can-be-used-to-disa.patch 2580 SHA256 1bd158bb083a811813ce68f3f4a5b33286b87615077eaea4656ac16de7cfc6b0 SHA512 8819a95b2fa727fc05139e7306225f820a7fcfee1b1bb8ed1d2982495df0f8c2348c0dedeee03f4e44e6045f48e7567469532f183af9d5925cffe063c8c9e5ce WHIRLPOOL 5507213150f4d50f046cac27540a7692dfb8726d2df8e9ac93bd87fe4dea755933f051cdabbbf999a1e6d1ae88932c98c368ad0ecbd8f702cb9236f4e776497b
|
||||
AUX net-snmp-5.1.2-snmpconf-selinux.patch 286 SHA256 70b4bdaa243efd5ae5703b3272063314fc56b6e2333f7c650b635ddab141f874 SHA512 704b6366c797e2c114b111869f920fd608ba75cdea2854de29f2df0d453906225e9af71318920465bd94a991f771c4a3ab4cf5efc8ee67c65053efa2113d7ee4 WHIRLPOOL b4e0ccc9d8fe3db265aef90ff11e054594e0de75fc2e503d09a64a770de27514d6e1948ead207b4ffa561cd94a82371f20d47dacd90ed6cc59beb72e2b7915d2
|
||||
AUX snmpd.conf 598 SHA256 1f4f07b831c3227588fd546423137ed5c60a602fbee13b0d66edd801e4e7d598 SHA512 3df54b15edef7347283aaad6eca4e4222a785f10abdbd42abe6a23b16ced2364e4302a3b8e87a62570b5b1d5d103f14244c7098034c4b941630478d6e72c3a68 WHIRLPOOL 69ef718567becf3d04cc25f0ec6491d7bbf6a9906edba146e6913fcbf41ae6d70d4cc010a217a7297398ce95b52c6d6091859432b8d73be99bee9e06c15ccd24
|
||||
AUX snmpd.init.2 807 SHA256 accfb4287442bddfd996ae73da9e0bde87a9c7ab48df9bc715e0cc8f5d11ad50 SHA512 92f13b39dcb79a5404b07cf35a2c0f8b2c5d5b671ca73eef5ef719a585b503a2d3e199ff683e7b037da14499e5f93e16ba083c6399ca6b5e630f7bad83decb1b WHIRLPOOL fcb15bfd6bcc16f57d3efd7f171739cddefec91ec70f27c5561614fee66f11b3f00d95339b7136236608ee94603deb7466f0735038de9efdce50a0751bcd446b
|
||||
AUX snmptrapd.conf 635 SHA256 902d73cb44446df060bf20e0c8ef0f8815d5b846f96d93894913d3309a3841b3 SHA512 ed7f5229cb080e77e9a461959e217f3a847eb800f139077bab6a9530683de4be212a2f7abe294b2261093a9e0f4a28ff8124f5ffc74ce0306ebe60d4f7fa3ea6 WHIRLPOOL 8dfc229f48062925957942613bf6125ac2eb7d13bf56869873c37522ccecb570d9bd861bc855c71f21827b9ed5a578a5b3617ed61fd7518571114f9376d051f0
|
||||
AUX snmptrapd.init.2 469 SHA256 3317ef6465de036352f9ce0b6c0b980ac7186e931d74977b0f1456aa50d18d9f SHA512 b7ff1ae925b5c3bf9cc7554877ec02e1266a7d9e15d6c9c617670170380d416e4ac265bf1b2966a6824366217be0a9ea11744ba562be255f5ecfc8804e8f29ce WHIRLPOOL 86344d50d2f183cb959039af6bd09f7bc24aa7d7dd8473628faf3f73b912e20f3f07b7979d86fce9bdfa8f616349f30cb0acd0c82d9c386a4fef562c5bff14bc
|
||||
DIST net-snmp-5.7.1.tar.gz 6110619 SHA256 7c71c9650c65b715356547e20ca2dbe6313944278af8cc19c32a5337f46b181f SHA512 1e20181ab6c7c6062e0dd2f9b55f27bceb151b83e3174aa86e358e55be99792ef01251edc1401cde1192494599b17f65d390f7286b3571a733c32b12fac46993 WHIRLPOOL 02c7b930f63caaf95166d659484bc26a7495cddd8f8477dba6c5d0b13475b0a48b17fb39d535eb4671c9239b04aacf27db3edcf2fd694978894f103af305bf04
|
||||
EBUILD net-snmp-5.7.1.ebuild 4305 SHA256 3df9b82a4a803d00956d87775cba30d5994be28574a02521dcaa2bfdcd7bc137 SHA512 c0d999be8977fbf22eb133debb01ce4318de65ed71da31528531acce03c13e030d3b0b90006535e72352bc9669d1ca59570858ed8a38b880d2f56c836bb17928 WHIRLPOOL 457028d23ff4db69fe61421d69cf4aa5de063f9d799a183cff28188c9069216ed8a1850f5a16b45d25c25a99e19fc60b109496c00ba4aa3599ea5cdc91f20a47
|
||||
MISC ChangeLog 41011 SHA256 8f0d7a0f9231963cd14a394ab2549a0b0c449f9c3d27b3ba5dfb07f538ac2187 SHA512 5e5383c7e71bd8c1e3c837247fc41af31575bd1d1de37595407032aa2f15a68824be20d51ff8682930a54dd30dc6ca9eb3e85ee313f7c13f7de54c6c7ccb5eba WHIRLPOOL 105e51a8431f64516a9c92e17d44f6c879d16efef9bceab50e6fca2364482bcaf5ce942cfcc29c7f1e8e9278081fae660d764f6829e61d669fee42f9bc3cc217
|
||||
MISC metadata.xml 969 SHA256 1f03f76f0787332dfd77b0631ba1f7a933b1d2facf0ffa5a0d8a258d591971d0 SHA512 d2200fd7ec47d88827b25b7b5ba4d357523b4bc2064671e98e59577a24b707adc64687a96e3fb9e75a2b792d717eb5279063996e64129bc0c9708ae5855951ae WHIRLPOOL 997bbdd7e56790fb82128c87efd7bc638c78cc2d472120410052ed309b9817d88e6ce6a5a7e285d91c60aa96254714b0bc4e6735b803cd69a037e02b223a74b8
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
From 1c88f216bbb7cee5fd80d95925ccbcb1ec2d9d9e Mon Sep 17 00:00:00 2001
|
||||
From: Jeroen Roovers <jer@gentoo.org>
|
||||
Date: Sun, 19 Aug 2012 19:18:10 -0700
|
||||
Subject: [PATCH 1/7] Fix toolchain quadruplet detection (Gentoo bug #432004).
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
configure.d/config_project_perl_python | 2 +-
|
||||
1 file modificato, 1 inserzione(+). 1 rimozione(-)
|
||||
|
||||
diff --git a/configure.d/config_project_perl_python b/configure.d/config_project_perl_python
|
||||
index 23f8c7e..477a939 100644
|
||||
--- a/configure.d/config_project_perl_python
|
||||
+++ b/configure.d/config_project_perl_python
|
||||
@@ -87,7 +87,7 @@ if test "x$install_perl" != "xno" ; then
|
||||
if test "xenable_perl_cc_checks" != "xno" ; then
|
||||
AC_MSG_CHECKING([for Perl cc])
|
||||
changequote(, )
|
||||
- PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'`
|
||||
+ PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/\.]+).;\s*/$1/);'`
|
||||
changequote([, ])
|
||||
if test "x$PERLCC" != "x" ; then
|
||||
AC_MSG_RESULT([$PERLCC])
|
||||
--
|
||||
1.7.12
|
||||
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
From 3554dfd23c0c1080a0a3152265802410db6dd24e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
|
||||
Date: Sun, 19 Aug 2012 19:21:12 -0700
|
||||
Subject: [PATCH 2/7] Respect DESTDIR for pythoninstall.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
Makefile.in | 2 +-
|
||||
1 file modificato, 1 inserzione(+). 1 rimozione(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 4d00168..cb37410 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -229,7 +229,7 @@ pythonmodules: subdirs
|
||||
fi
|
||||
|
||||
pythoninstall:
|
||||
- @(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir) ; \
|
||||
+ @(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir --root=$(DESTDIR)) ; \
|
||||
if test $$? != 0 ; then \
|
||||
exit 1 ; \
|
||||
fi
|
||||
--
|
||||
1.7.12
|
||||
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
From 194e78325e25a30afd11d2bf4103f123dd0c676e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
|
||||
Date: Sun, 19 Aug 2012 19:22:42 -0700
|
||||
Subject: [PATCH 3/7] Make fixproc use /etc insetad of /local/etc.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
local/fixproc | 2 +-
|
||||
1 file modificato, 1 inserzione(+). 1 rimozione(-)
|
||||
|
||||
diff --git a/local/fixproc b/local/fixproc
|
||||
index b79630b..0d01cfd 100755
|
||||
--- a/local/fixproc
|
||||
+++ b/local/fixproc
|
||||
@@ -131,7 +131,7 @@
|
||||
|
||||
use File::Temp qw(tempfile);
|
||||
|
||||
-$database_file = '/local/etc/fixproc.conf';
|
||||
+$database_file = '/etc/fixproc.conf';
|
||||
|
||||
$debug = 0; # specify debug level using -dN
|
||||
# currently defined: -d1
|
||||
--
|
||||
1.7.12
|
||||
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
From 3f62d952be35a1eb72565dc06cce8b9faa5e4fff Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
|
||||
Date: Sun, 19 Aug 2012 19:24:38 -0700
|
||||
Subject: [PATCH 4/7] Don't report CFLAGS and LDFLAGS in net-snmp-config.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
net-snmp-config.in | 10 +++++-----
|
||||
1 file modificato, 5 inserzioni(+), 5 rimozioni(-)
|
||||
|
||||
diff --git a/net-snmp-config.in b/net-snmp-config.in
|
||||
index 2300fe1..836ad2f 100644
|
||||
--- a/net-snmp-config.in
|
||||
+++ b/net-snmp-config.in
|
||||
@@ -46,7 +46,7 @@ exec_prefix=@exec_prefix@
|
||||
includedir=@includedir@
|
||||
libdir=@libdir@
|
||||
datarootdir=@datarootdir@
|
||||
-NSC_LDFLAGS="@LDFLAGS@"
|
||||
+NSC_LDFLAGS=""
|
||||
|
||||
NSC_LIBS="@LIBS@"
|
||||
NSC_LNETSNMPLIBS="@LNETSNMPLIBS@"
|
||||
@@ -138,10 +138,10 @@ else
|
||||
;;
|
||||
#################################################### compile
|
||||
--base-cflags)
|
||||
- echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
|
||||
+ echo -I${NSC_INCLUDEDIR}
|
||||
;;
|
||||
--cflags|--cf*)
|
||||
- echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
|
||||
+ echo @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR}
|
||||
;;
|
||||
--srcdir)
|
||||
echo $NSC_SRCDIR
|
||||
@@ -183,7 +183,7 @@ else
|
||||
echo $result
|
||||
;;
|
||||
--build-command)
|
||||
- echo "@CC@ @CFLAGS@ @DEVFLAGS@"
|
||||
+ echo "@CC@ @DEVFLAGS@"
|
||||
;;
|
||||
#################################################### client lib
|
||||
--libs)
|
||||
@@ -598,7 +598,7 @@ EOF
|
||||
echo "Ack. Can't create $tmpfile."
|
||||
exit 1
|
||||
fi
|
||||
- cmd="@CC@ $cflags @CFLAGS@ @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR} -o $outname $tmpfile $cfiles $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS $ldflags"
|
||||
+ cmd="@CC@ $cflags @CFLAGS@ @LDFLAGS@ @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR} -o $outname $tmpfile $cfiles $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS $ldflags"
|
||||
echo "running: $cmd"
|
||||
`$cmd`
|
||||
if test "x$norm" != "x1" ; then
|
||||
--
|
||||
1.7.12
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
--- a/Makefile.top
|
||||
+++ b/Makefile.top
|
||||
@@ -83,11 +83,11 @@
|
||||
LIBAGE = 0
|
||||
LIBREVISION = 1
|
||||
|
||||
-LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
|
||||
+LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) $(LDFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
|
||||
LIB_EXTENSION = la
|
||||
LIB_VERSION =
|
||||
LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir)
|
||||
-LINK = $(LIBTOOL) --mode=link $(LINKCC)
|
||||
+LINK = $(LIBTOOL) --mode=link $(LINKCC) $(LDFLAGS)
|
||||
# RANLIB = @RANLIB@
|
||||
RANLIB = :
|
||||
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
From 191e5b05233a72570a8a1f2233dd9f3c8e5d6171 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
|
||||
Date: Mon, 27 Aug 2012 09:01:52 -0700
|
||||
Subject: [PATCH 6/7] build: make sure that the man aliases are all properly
|
||||
built.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
man/Makefile.in | 2 ++
|
||||
1 file modificato, 2 inserzioni(+)
|
||||
|
||||
diff --git a/man/Makefile.in b/man/Makefile.in
|
||||
index 5627cc0..2bcea98 100644
|
||||
--- a/man/Makefile.in
|
||||
+++ b/man/Makefile.in
|
||||
@@ -81,6 +81,8 @@ OTHERCLEANTARGETS=$(TARGETS) default_store.3.h $(MANALIASES) manaliases
|
||||
|
||||
all: $(TARGETS) standardall manaliases
|
||||
|
||||
+$(MANALIASES): manaliases
|
||||
+
|
||||
manaliases: Makefile
|
||||
touch manaliases
|
||||
@for i in $(MAN3_API) ; do \
|
||||
--
|
||||
1.7.12
|
||||
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
From 79076c2a9adb9c10af52694a46c9965a539fd234 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
|
||||
Date: Mon, 27 Aug 2012 09:05:31 -0700
|
||||
Subject: [PATCH 7/7] build: add a --with-pci option that can be used to
|
||||
disable libpci.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
configure.d/config_os_headers | 6 ++++--
|
||||
configure.d/config_os_libs2 | 13 ++++++++++---
|
||||
configure.d/config_project_with_enable | 3 +++
|
||||
3 file modificati, 17 inserzioni(+), 5 rimozioni(-)
|
||||
|
||||
diff --git a/configure.d/config_os_headers b/configure.d/config_os_headers
|
||||
index d903f58..7f36338 100644
|
||||
--- a/configure.d/config_os_headers
|
||||
+++ b/configure.d/config_os_headers
|
||||
@@ -86,9 +86,11 @@ AC_CHECK_HEADERS([fcntl.h grp.h pwd.h ] dnl
|
||||
AC_CHECK_HEADERS([search.h sgtty.h xti.h ] dnl
|
||||
[sys/dmap.h sys/poll.h ] dnl
|
||||
[sys/timeout.h ] dnl
|
||||
- [machine/pte.h ] dnl
|
||||
- [pci/pci.h ])
|
||||
+ [machine/pte.h ])
|
||||
|
||||
+if test "x$with_pci" != "xno"; then
|
||||
+ AC_CHECK_HEADERS([pci/pci.h])
|
||||
+fi
|
||||
|
||||
# Valgrind
|
||||
AC_CHECK_HEADERS([valgrind/valgrind.h valgrind/memcheck.h])
|
||||
diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2
|
||||
index 677f3e6..6306f96 100644
|
||||
--- a/configure.d/config_os_libs2
|
||||
+++ b/configure.d/config_os_libs2
|
||||
@@ -190,9 +190,16 @@ fi
|
||||
# libpci
|
||||
# (for if-mib description)
|
||||
#
|
||||
-NETSNMP_SEARCH_LIBS(pci_lookup_name, pci,
|
||||
- AC_DEFINE(HAVE_PCI_LOOKUP_NAME, 1,
|
||||
- [define if you have pci_lookup_name()]),,,LMIBLIBS)
|
||||
+if test "x$with_pci" != "xno"; then
|
||||
+ case $target_os in
|
||||
+ linux*) # Check for libpci (linux)
|
||||
+ NETSNMP_SEARCH_LIBS(
|
||||
+ pci_lookup_name, pci,
|
||||
+ [AC_DEFINE(HAVE_PCI_LOOKUP_NAME, 1,
|
||||
+ [define if you have pci_lookup_name()])],,,LMIBLIBS)
|
||||
+ ;;
|
||||
+ esac
|
||||
+fi
|
||||
|
||||
# LM-SENSORS-MIB support
|
||||
#
|
||||
diff --git a/configure.d/config_project_with_enable b/configure.d/config_project_with_enable
|
||||
index 8b46ad2..736882d 100644
|
||||
--- a/configure.d/config_project_with_enable
|
||||
+++ b/configure.d/config_project_with_enable
|
||||
@@ -1137,6 +1137,9 @@ NETSNMP_ARG_WITH(
|
||||
[--with-mnttab="/etc/mnttab"],
|
||||
[Mount table location. The default is to autodetect this.]))
|
||||
|
||||
+NETSNMP_ARG_WITH(pci,
|
||||
+ [AS_HELP_STRING([--with-pci],[use libpci to get network interface data (linux only).])])
|
||||
+
|
||||
##
|
||||
# Project: mysql
|
||||
##
|
||||
--
|
||||
1.7.12
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
https://bugzilla.redhat.com/show_bug.cgi?id=248329
|
||||
|
||||
--- net-snmp-5.1.2/local/snmpconf.orig 2004-04-20 16:20:51.000000000 +0200
|
||||
+++ net-snmp-5.1.2/local/snmpconf 2007-07-09 15:34:48.000000000 +0200
|
||||
@@ -585,6 +585,7 @@
|
||||
}
|
||||
}
|
||||
close(O);
|
||||
+ system("restorecon $outputf");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/files/snmpd.conf,v 1.8 2006/11/26 21:37:22 cedk Exp $
|
||||
|
||||
# Initial (empty) options.
|
||||
SNMPD_FLAGS=""
|
||||
|
||||
# Enable connection logging.
|
||||
#SNMPD_FLAGS="${SNMPD_FLAGS} -a"
|
||||
|
||||
# Enable syslog and disable file log.
|
||||
#SNMPD_FLAGS="${SNMPD_FLAGS} -Lsd -Lf /dev/null"
|
||||
|
||||
# Enable agentx socket as /var/agentx/master
|
||||
# *NOTE* Before uncommenting this, make sure
|
||||
# the /var/agentx directory exists.
|
||||
#SNMPD_FLAGS="${SNMPD_FLAGS} -x /var/agentx/master"
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/files/snmpd.init.2,v 1.2 2012/08/21 15:45:47 flameeyes Exp $
|
||||
|
||||
SNMPD_PIDFILE="${SNMPD_PIDFILE:-/var/run/snmpd.pid}"
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
command="/usr/sbin/snmpd"
|
||||
command_args="-p ${SNMPD_PIDFILE} ${SNMPD_FLAGS}"
|
||||
pidfile="${SNMPD_PIDFILE}"
|
||||
|
||||
depend() {
|
||||
use logger
|
||||
need net
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -e /etc/snmp/snmpd.conf ] ; then
|
||||
eerror "${SVCNAME} requires an /etc/snmp/snmpd.conf configuration file"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig || return 1
|
||||
}
|
||||
|
||||
reload() {
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Reloading ${SVCNAME} configuration"
|
||||
kill -HUP $(cat ${SNMPD_PIDFILE}) 2>&1 > /dev/null
|
||||
eend $?
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/files/snmptrapd.conf,v 1.1 2005/01/28 11:19:25 ka0ttic Exp $
|
||||
|
||||
# extra flags to pass to snmptrapd
|
||||
SNMPTRAPD_FLAGS=""
|
||||
|
||||
# ignore authentication failure traps
|
||||
#SNMPTRAPD_FLAGS="${SNMPTRAPD_FLAGS} -a"
|
||||
|
||||
# log messages to specified file
|
||||
#SNMPTRAPD_FLAGS="${SNMPTRAPD_FLAGS} -Lf /var/log/snmptrapd.log"
|
||||
|
||||
# log messages to syslog with the specified facility
|
||||
# where facility is: 'd' = LOG_DAEMON, 'u' = LOG_USER, [0-7] = LOG_LOCAL[0-7]
|
||||
#SNMPTRAPD_FLAGS="${SNMPTRAPD_FLAGS} -Ls d"
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/files/snmptrapd.init.2,v 1.1 2012/08/19 02:23:59 flameeyes Exp $
|
||||
|
||||
SNMPTRAPD_PIDFILE="${SNMPTRAPD_PIDFILE:-/var/run/snmptrapd.pid}"
|
||||
|
||||
command="/usr/sbin/snmptrapd"
|
||||
command_args="-p ${SNMPTRAPD_PIDFILE} ${SNMPTRAPD_FLAGS}"
|
||||
pidfile="${SNMPTRAPD_PIDFILE}"
|
||||
|
||||
depend() {
|
||||
use logger
|
||||
need net
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>netmon</herd>
|
||||
<use>
|
||||
<flag name='elf'>Enable the use of elf utils to check uptime on some systems</flag>
|
||||
<flag name='mfd-rewrites'>Use MFD rewrites of mib modules where available</flag>
|
||||
<flag name='rpm'>
|
||||
Enable monitoring of <pkg>app-arch/rpm</pkg>. This flag requires
|
||||
the bzip2 and zlib flags to be enabled as well.
|
||||
</flag>
|
||||
<flag name='ucd-compat'>
|
||||
Build UCD compatibility library. Increases significantly the
|
||||
install size.
|
||||
</flag>
|
||||
<flag name='pci'>
|
||||
Use libpci (from <pkg>sys-apps/pciutils</pkg>) to look up
|
||||
network interface description. This feature is only available on
|
||||
Linux.
|
||||
</flag>
|
||||
<flag name='netlink'>
|
||||
Use <pkg>dev-libs/libnl</pkg> to fetch TCP statistics instead of
|
||||
using /proc/net/tcp (Linux only).
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,166 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.7.2_rc1.ebuild,v 1.11 2012/10/05 17:04:55 ranger Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
WANT_AUTOMAKE=none
|
||||
|
||||
inherit eutils perl-module python autotools
|
||||
|
||||
MY_P="${P/_rc/.rc}"
|
||||
|
||||
DESCRIPTION="Software for generating and retrieving SNMP data"
|
||||
HOMEPAGE="http://net-snmp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
# http://dev.gentoo.org/~flameeyes/${PN}/net-snmp-5.7.2.rc1-patches-3.tar.xz"
|
||||
|
||||
# GPL-2 for the init scripts
|
||||
LICENSE="as-is BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="bzip2 doc elf ipv6 mfd-rewrites minimal perl python rpm selinux ssl tcpd X zlib lm_sensors ucd-compat"
|
||||
|
||||
COMMON="ssl? ( >=dev-libs/openssl-0.9.6d )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
rpm? (
|
||||
app-arch/rpm
|
||||
dev-libs/popt
|
||||
)
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
elf? ( dev-libs/elfutils )
|
||||
python? ( dev-python/setuptools )
|
||||
sys-apps/pciutils
|
||||
lm_sensors? ( sys-apps/lm_sensors )"
|
||||
|
||||
RDEPEND="${COMMON}
|
||||
perl? (
|
||||
X? ( dev-perl/perl-tk )
|
||||
!minimal? ( dev-perl/TermReadKey )
|
||||
)
|
||||
selinux? ( sec-policy/selinux-snmp )
|
||||
sys-apps/openrc"
|
||||
|
||||
# Dependency on autoconf due to bug #225893
|
||||
DEPEND="${COMMON}
|
||||
>=sys-apps/sed-4
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
REQUIRED_USE="rpm? ( bzip2 zlib )"
|
||||
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# snmpconf generates config files with proper selinux context
|
||||
use selinux && epatch "${FILESDIR}"/${PN}-5.1.2-snmpconf-selinux.patch
|
||||
|
||||
epatch "${FILESDIR}"/000*.patch
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# keep this in the same line, configure.ac arguments are passed down to config.h
|
||||
local mibs="host ucd-snmp/dlmod ucd-snmp/diskio ucd-snmp/extensible mibII/mta_sendmail smux"
|
||||
use lm_sensors && mibs="${mibs} ucd-snmp/lmsensorsMib"
|
||||
|
||||
use python && export PYTHON_DIR="$(python_get_sitedir)"
|
||||
|
||||
econf \
|
||||
--with-install-prefix="${D}" \
|
||||
--with-sys-location="Unknown" \
|
||||
--with-sys-contact="root@Unknown" \
|
||||
--with-default-snmp-version="3" \
|
||||
--with-mib-modules="${mibs}" \
|
||||
--with-logfile="/var/log/net-snmpd.log" \
|
||||
--with-persistent-directory="/var/lib/net-snmp" \
|
||||
$(use_enable ucd-compat ucd-snmp-compatibility) \
|
||||
--enable-shared --disable-static \
|
||||
--with-ldflags="${LDFLAGS}" \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable mfd-rewrites) \
|
||||
$(use_enable perl embedded-perl) \
|
||||
$(use_enable !ssl internal-md5) \
|
||||
$(use_with elf) \
|
||||
$(use_with perl perl-modules INSTALLDIRS=vendor) \
|
||||
$(use_with python python-modules) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcpd libwrap) \
|
||||
$(use_with bzip2) \
|
||||
$(use_with zlib) \
|
||||
$(use_with rpm) \
|
||||
--without-nl \
|
||||
--with-pci
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OTHERLDFLAGS="${LDFLAGS}"
|
||||
|
||||
if use doc ; then
|
||||
einfo "Building HTML Documentation"
|
||||
emake docsdox
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# bug #317965
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
if use perl ; then
|
||||
fixlocalpod
|
||||
use X || rm -f "${D}"/usr/bin/tkmib
|
||||
else
|
||||
rm -f "${D}"/usr/bin/mib2c "${D}"/usr/bin/snmpcheck "${D}"/usr/bin/tkmib
|
||||
fi
|
||||
|
||||
dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING README* TODO
|
||||
newdoc EXAMPLE.conf.def EXAMPLE.conf
|
||||
|
||||
use doc && dohtml docs/html/*
|
||||
|
||||
keepdir /var/lib/net-snmp
|
||||
|
||||
newinitd "${FILESDIR}"/snmpd.init.2 snmpd
|
||||
newconfd "${FILESDIR}"/snmpd.conf snmpd
|
||||
|
||||
newinitd "${FILESDIR}"/snmptrapd.init.2 snmptrapd
|
||||
newconfd "${FILESDIR}"/snmptrapd.conf snmptrapd
|
||||
|
||||
insinto /etc/snmp
|
||||
newins "${S}"/EXAMPLE.conf snmpd.conf.example
|
||||
|
||||
# Remove everything not required for an agent.
|
||||
# Keep only the snmpd, snmptrapd, MIBs, headers and libraries.
|
||||
if use minimal; then
|
||||
rm -rf \
|
||||
"${D}"/usr/bin/{encode_keychange,snmp{get,getnext,set,usm,walk,bulkwalk,table,trap,bulkget,translate,status,delta,test,df,vacm,netstat,inform,check,conf},fixproc,traptoemail} \
|
||||
"${D}"/usr/share/snmp/snmpconf-data \
|
||||
"${D}"/usr/share/snmp/*.conf \
|
||||
"${D}"/**/*.pl
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize netsnmp
|
||||
fi
|
||||
|
||||
elog "An example configuration file has been installed in"
|
||||
elog "/etc/snmp/snmpd.conf.example."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup netsnmp
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue