nut: marked unmaintained
This commit is contained in:
parent
4c566147ec
commit
96c36f7386
|
@ -1,6 +1,6 @@
|
||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF3/nuZDWNHEnYuQPWlZofrpfzmGXN2Ynosgu59IrhCNW/fUsIF1fl2RPuiVOHdPcRP6Dd2L5SL1InAdpLAIf/sQY=
|
RWSagIOpLGJF31PeW3xlAtHvoSGkI5uBUZKPtxo3lXulf7MiolDh9fTt5gos7bP28ihV8sFVtRvAnv1NYv4hipvmTKdYI23rHws=
|
||||||
SHA256 (Pkgfile) = 0d1dc234365e50eccc29b924172d9ca615d5bb921c175de91488a9dbb25e59e9
|
SHA256 (Pkgfile) = 62a3ebd3a8cc583c90603932ba4a038ef8708fae85848d5307aadd48aa5a0349
|
||||||
SHA256 (.footprint) = d81ef8f38c18b2f891e30c523400bd9b5b3abe8e8bfc31b5cb6c0c8013d493ef
|
SHA256 (.footprint) = d81ef8f38c18b2f891e30c523400bd9b5b3abe8e8bfc31b5cb6c0c8013d493ef
|
||||||
SHA256 (nut-2.8.0.tar.gz) = c3e5a708da797b7c70b653d37b1206a000fcb503b85519fe4cdf6353f792bfe5
|
SHA256 (nut-2.8.0.tar.gz) = c3e5a708da797b7c70b653d37b1206a000fcb503b85519fe4cdf6353f792bfe5
|
||||||
SHA256 (upsd) = 3aef2c1ea325ef9b7d799d244a4fd633ec378e963776bf643273c9d6ee83172a
|
SHA256 (upsd) = 3aef2c1ea325ef9b7d799d244a4fd633ec378e963776bf643273c9d6ee83172a
|
||||||
|
|
36
nut/Pkgfile
36
nut/Pkgfile
|
@ -8,28 +8,28 @@ name=nut
|
||||||
version=2.8.0
|
version=2.8.0
|
||||||
release=1
|
release=1
|
||||||
source=(http://www.networkupstools.org/source/${version%.*}/$name-$version.tar.gz
|
source=(http://www.networkupstools.org/source/${version%.*}/$name-$version.tar.gz
|
||||||
upsd)
|
upsd)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-user=nut \
|
--with-user=nut \
|
||||||
--with-group=nut \
|
--with-group=nut \
|
||||||
--with-pidpath=/run \
|
--with-pidpath=/run \
|
||||||
--sysconfdir=/etc/$name \
|
--sysconfdir=/etc/$name \
|
||||||
--datadir=/usr/share/$name \
|
--datadir=/usr/share/$name \
|
||||||
--localstatedir=/var/$name
|
--localstatedir=/var/$name
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
#if you dont want config templates uncomment the next line
|
#if you dont want config templates uncomment the next line
|
||||||
#rm $PKG/etc/nut/*
|
#rm $PKG/etc/nut/*
|
||||||
|
|
||||||
find $PKG/etc/nut -type f -print0 | xargs -0 chown root:nut
|
find $PKG/etc/nut -type f -print0 | xargs -0 chown root:nut
|
||||||
install -d $PKG/etc/udev/rules.d
|
install -d $PKG/etc/udev/rules.d
|
||||||
install -d -m 0770 -o root -g nut $PKG/var/state/ups
|
install -d -m 0770 -o root -g nut $PKG/var/state/ups
|
||||||
install -D -m 0754 $SRC/upsd $PKG/etc/rc.d/upsd
|
install -D -m 0754 $SRC/upsd $PKG/etc/rc.d/upsd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue