net-snmp: add example config file

This commit is contained in:
Piraty 2024-07-12 00:14:29 +02:00
parent 09f23f0e97
commit a630adc19e
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'net-snmp' # Template file for 'net-snmp'
pkgname=net-snmp pkgname=net-snmp
version=5.9.1 version=5.9.1
revision=5 revision=6
hostmakedepends="pkg-config unzip" hostmakedepends="pkg-config unzip"
makedepends="bzip2-devel openssl-devel libnl3-devel pciutils-devel makedepends="bzip2-devel openssl-devel libnl3-devel pciutils-devel
libsensors-devel pcre-devel" libsensors-devel pcre-devel"
@ -36,6 +36,10 @@ do_install() {
make DESTDIR=${DESTDIR} INSTALL_PREFIX=${DESTDIR} INSTALLDIRS=vendor install make DESTDIR=${DESTDIR} INSTALL_PREFIX=${DESTDIR} INSTALLDIRS=vendor install
} }
post_install() {
vsconf EXAMPLE.conf
}
libnet-snmp_package() { libnet-snmp_package() {
short_desc+=" - shared libraries" short_desc+=" - shared libraries"
pkg_install() { pkg_install() {