network-ups-tools: enable snmp module
This commit is contained in:
parent
616b13c63c
commit
af3eea3a2c
|
@ -103,6 +103,7 @@ hook() {
|
||||||
generic_wrapper imlib2-config
|
generic_wrapper imlib2-config
|
||||||
generic_wrapper libmikmod-config
|
generic_wrapper libmikmod-config
|
||||||
generic_wrapper pcre-config
|
generic_wrapper pcre-config
|
||||||
|
generic_wrapper net-snmp-config
|
||||||
generic_wrapper2 curl-config
|
generic_wrapper2 curl-config
|
||||||
generic_wrapper2 gpg-error-config
|
generic_wrapper2 gpg-error-config
|
||||||
generic_wrapper2 libassuan-config
|
generic_wrapper2 libassuan-config
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
# Template file for 'network-ups-tools'
|
# Template file for 'network-ups-tools'
|
||||||
pkgname=network-ups-tools
|
pkgname=network-ups-tools
|
||||||
version=2.7.3
|
version=2.7.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="nut-${version}"
|
wrksrc="nut-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--sysconfdir=/etc/ups --without-doc --disable-static
|
--sysconfdir=/etc/ups --without-doc --disable-static
|
||||||
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
|
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
|
||||||
--with-usb --without-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
|
--with-usb --without-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
|
||||||
--without-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir"
|
--without-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir
|
||||||
|
--with-snmp"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel"
|
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel
|
||||||
|
net-snmp-devel"
|
||||||
system_accounts="nut"
|
system_accounts="nut"
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/ups/ups.conf
|
/etc/ups/ups.conf
|
||||||
|
@ -23,7 +25,7 @@ short_desc="UPS control and monitoring features"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.networkupstools.org/"
|
homepage="http://www.networkupstools.org/"
|
||||||
distfiles="http://www.networkupstools.org/source/2.7/nut-$version.tar.gz"
|
distfiles="${homepage}source/${version%.*}/nut-${version}.tar.gz"
|
||||||
checksum=ff44d95d06a51559a0a018eef7f8d17911c1002b6352a7d7580ff75acb12126b
|
checksum=ff44d95d06a51559a0a018eef7f8d17911c1002b6352a7d7580ff75acb12126b
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in New Issue