[arch-commits] Commit in net-snmp/repos/extra-x86_64 (6 files)
Felix Yan
felixonmars at archlinux.org
Fri May 28 12:46:57 UTC 2021
Date: Friday, May 28, 2021 @ 12:46:57
Author: felixonmars
Revision: 416786
archrelease: copy trunk to extra-x86_64
Added:
net-snmp/repos/extra-x86_64/PKGBUILD
(from rev 416785, net-snmp/trunk/PKGBUILD)
net-snmp/repos/extra-x86_64/snmpd.service
(from rev 416785, net-snmp/trunk/snmpd.service)
net-snmp/repos/extra-x86_64/snmptrapd.service
(from rev 416785, net-snmp/trunk/snmptrapd.service)
Deleted:
net-snmp/repos/extra-x86_64/PKGBUILD
net-snmp/repos/extra-x86_64/snmpd.service
net-snmp/repos/extra-x86_64/snmptrapd.service
-------------------+
PKGBUILD | 112 ++++++++++++++++++++++++++--------------------------
snmpd.service | 24 +++++------
snmptrapd.service | 24 +++++------
3 files changed, 80 insertions(+), 80 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-28 12:46:32 UTC (rev 416785)
+++ PKGBUILD 2021-05-28 12:46:57 UTC (rev 416786)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Dale Blount <dale at archlinux.org>
-
-pkgname=net-snmp
-pkgver=5.9
-pkgrel=4
-pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
-arch=('x86_64')
-url="http://www.net-snmp.org/"
-license=('BSD')
-depends=('libnsl' 'libpcap' 'lm_sensors' 'pciutils' 'pcre')
-makedepends=('python-setuptools')
-optdepends=('perl-term-readkey: for snmpcheck application'
- 'perl-tk: for snmpcheck and tkmib applications'
- 'python: for the python modules')
-options=('!emptydirs' '!makeflags')
-source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
- snmpd.service snmptrapd.service)
-sha512sums=('df3273f03065ea5cb7d63398308ada06bcd186e0bc48929e81ba647f392b646ab81ddc241aebcd75408ec29231377375af62edf2835e9c3eb01d0a6856b79434'
- 'SKIP'
- '802057d08f4fe69fa9fafed349d37c0f8a6092002b933292563568db274890ae8932a000ecb60c5db0db792ecca30723fc803c0af6da147d148bf059b7f137eb'
- '82b05b805db5f6870242ea4dfaa58de2865c367208cacfa4fc543c9f2a310d7229dee94ea6054d35c4bab69393f33fd367551727279da4411052589ed37bb4a4')
-validpgpkeys=('8AAA779B597B405BBC329B6376CF47B8A77C5329'
- '27CAA4A32E371383A33ED0587D5F9576E0F81533'
- 'D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6') # Net-SNMP Administrators
-
-prepare() {
- cd ${pkgname}-${pkgver}
- autoreconf -i
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc --sbindir=/usr/bin \
- --mandir=/usr/share/man \
- --enable-ucd-snmp-compatibility \
- --enable-ipv6 \
- --with-python-modules \
- --with-default-snmp-version="3" \
- --with-sys-contact="root at localhost" \
- --with-sys-location="Unknown" \
- --with-logfile="/var/log/snmpd.log" \
- --with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod ucd-snmp/lmsensorsMib" \
- --with-persistent-directory="/var/net-snmp"
- make NETSNMP_DONT_CHECK_VERSION=1
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- sed -i -e "s:install --basedir=\$\$dir:install --basedir=\$\$dir --root=${pkgdir}:" Makefile
- make DESTDIR="${pkgdir}" INSTALL_PREFIX="${pkgdir}" INSTALLDIRS=vendor install
- install -D -m644 "${srcdir}/snmpd.service" "${pkgdir}/usr/lib/systemd/system/snmpd.service"
- install -D -m644 "${srcdir}/snmptrapd.service" "${pkgdir}/usr/lib/systemd/system/snmptrapd.service"
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: net-snmp/repos/extra-x86_64/PKGBUILD (from rev 416785, net-snmp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-28 12:46:57 UTC (rev 416786)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=net-snmp
+pkgver=5.9.1
+pkgrel=1
+pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
+arch=('x86_64')
+url="http://www.net-snmp.org/"
+license=('BSD')
+depends=('libnsl' 'libpcap' 'lm_sensors' 'pciutils' 'pcre')
+makedepends=('python-setuptools')
+optdepends=('perl-term-readkey: for snmpcheck application'
+ 'perl-tk: for snmpcheck and tkmib applications'
+ 'python: for the python modules')
+options=('!emptydirs' '!makeflags')
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+ snmpd.service snmptrapd.service)
+sha512sums=('30989e43034e17433b885854490f2f37470a532cb7cab0d2a3beb37f5f3c2b10e803af125a5177d87fc0a36cecc266fefc016b609427b558f36567c2f1a84b20'
+ 'SKIP'
+ '802057d08f4fe69fa9fafed349d37c0f8a6092002b933292563568db274890ae8932a000ecb60c5db0db792ecca30723fc803c0af6da147d148bf059b7f137eb'
+ '82b05b805db5f6870242ea4dfaa58de2865c367208cacfa4fc543c9f2a310d7229dee94ea6054d35c4bab69393f33fd367551727279da4411052589ed37bb4a4')
+validpgpkeys=('8AAA779B597B405BBC329B6376CF47B8A77C5329'
+ '27CAA4A32E371383A33ED0587D5F9576E0F81533'
+ 'D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6') # Net-SNMP Administrators
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -i
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc --sbindir=/usr/bin \
+ --mandir=/usr/share/man \
+ --enable-ucd-snmp-compatibility \
+ --enable-ipv6 \
+ --with-python-modules \
+ --with-default-snmp-version="3" \
+ --with-sys-contact="root at localhost" \
+ --with-sys-location="Unknown" \
+ --with-logfile="/var/log/snmpd.log" \
+ --with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod ucd-snmp/lmsensorsMib" \
+ --with-persistent-directory="/var/net-snmp"
+ make NETSNMP_DONT_CHECK_VERSION=1
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ sed -i -e "s:install --basedir=\$\$dir:install --basedir=\$\$dir --root=${pkgdir}:" Makefile
+ make DESTDIR="${pkgdir}" INSTALL_PREFIX="${pkgdir}" INSTALLDIRS=vendor install
+ install -D -m644 "${srcdir}/snmpd.service" "${pkgdir}/usr/lib/systemd/system/snmpd.service"
+ install -D -m644 "${srcdir}/snmptrapd.service" "${pkgdir}/usr/lib/systemd/system/snmptrapd.service"
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Deleted: snmpd.service
===================================================================
--- snmpd.service 2021-05-28 12:46:32 UTC (rev 416785)
+++ snmpd.service 2021-05-28 12:46:57 UTC (rev 416786)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Simple Network Management Protocol (SNMP) Daemon
-After=syslog.target network.target
-
-[Service]
-Type=forking
-PIDFile=/run/snmpd.pid
-ExecStart=/usr/bin/snmpd -p /run/snmpd.pid
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
Copied: net-snmp/repos/extra-x86_64/snmpd.service (from rev 416785, net-snmp/trunk/snmpd.service)
===================================================================
--- snmpd.service (rev 0)
+++ snmpd.service 2021-05-28 12:46:57 UTC (rev 416786)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple Network Management Protocol (SNMP) Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/snmpd.pid
+ExecStart=/usr/bin/snmpd -p /run/snmpd.pid
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
Deleted: snmptrapd.service
===================================================================
--- snmptrapd.service 2021-05-28 12:46:32 UTC (rev 416785)
+++ snmptrapd.service 2021-05-28 12:46:57 UTC (rev 416786)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Simple Network Management Protocol (SNMP) TRAP Daemon
-After=syslog.target network.target
-
-[Service]
-Type=forking
-PIDFile=/run/snmptrapd.pid
-ExecStart=/usr/bin/snmptrapd -p /run/snmptrapd.pid
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
Copied: net-snmp/repos/extra-x86_64/snmptrapd.service (from rev 416785, net-snmp/trunk/snmptrapd.service)
===================================================================
--- snmptrapd.service (rev 0)
+++ snmptrapd.service 2021-05-28 12:46:57 UTC (rev 416786)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple Network Management Protocol (SNMP) TRAP Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/snmptrapd.pid
+ExecStart=/usr/bin/snmptrapd -p /run/snmptrapd.pid
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list