network-ups-tools: update to 2.7.3.

This commit is contained in:
Juan RP 2015-06-03 19:00:44 +02:00
parent 0e9f27a7c4
commit 04d8c2afa6
1 changed files with 8 additions and 19 deletions

View File

@ -1,13 +1,14 @@
# Template file for 'network-ups-tools' # Template file for 'network-ups-tools'
pkgname=network-ups-tools pkgname=network-ups-tools
version=2.7.2 version=2.7.3
revision=7 revision=1
wrksrc="nut-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args=" configure_args="
--sbindir=/usr/bin --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-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir"
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"
system_accounts="nut" system_accounts="nut"
@ -18,23 +19,12 @@ conf_files="
/etc/ups/upsd.conf /etc/ups/upsd.conf
/etc/ups/upssched.conf /etc/ups/upssched.conf
/etc/ups/nut.conf" /etc/ups/nut.conf"
short_desc="NUT provides UPS control and monitoring features" short_desc="UPS control and monitoring features"
maintainer="Ypnose <linuxienATlegtuxDOTorg>" 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="http://www.networkupstools.org/source/2.7/nut-$version.tar.gz"
checksum=4d5365359b059d96dfcb77458f361a114d26c84f1297ffcd0c6c166f7200376d checksum=ff44d95d06a51559a0a018eef7f8d17911c1002b6352a7d7580ff75acb12126b
wrksrc="nut-${version}"
# Package build options
build_options="systemd"
if [ "$build_option_systemd" ]; then
configure_args+=" --with-systemdsystemunitdir=/lib/systemd/system"
makedepends+=" systemd-devel"
else
configure_args+=" --without-systemdsystemunitdir"
fi
post_install() { post_install() {
# remove unused stuff # remove unused stuff
@ -64,4 +54,3 @@ network-ups-tools-devel_package() {
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }
} }