quota: use bash for configure, new dependency rpcsvc-proto
This commit is contained in:
parent
aee38bee46
commit
08469674f9
|
@ -1,5 +1,5 @@
|
|||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/TsbKaZMCun+gIf0UI8WMge49unGR/sgq4aI6BAivenlpt+yu/TZ+U0fS3jvFhpF/rEGYNDQ34wpsAT/TIJyswQ=
|
||||
SHA256 (Pkgfile) = c6b35936cfd8625ba193a2057b5ccea77c84997b16c2952bb3a482adea31c880
|
||||
RWSE3ohX2g5d/RDLnyZGGLURGPtY0ENwj5YTMqXBBdh72Eg8SieJrJeLnvJUGrmW+ygqACq8C13TxpKTXd+UeaDD0x9oIn9kIgY=
|
||||
SHA256 (Pkgfile) = 4e3b6e98e272d611d506c1c237307588d93c192803166064fa8cf83a86c0c3ab
|
||||
SHA256 (.footprint) = ffe0b8b1771b0fce9c6144e2e877e31bbd37f1559531b0166b96c092a001f903
|
||||
SHA256 (quota-4.06.tar.gz) = 2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Description: Tools for the Linux quota system
|
||||
# URL: https://sourceforge.net/projects/linuxquota/
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: e2fsprogs libtirpc
|
||||
# URL: https://sourceforge.net/projects/linuxquota/
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: e2fsprogs libtirpc rpcsvc-proto
|
||||
|
||||
name=quota
|
||||
version=4.06
|
||||
|
@ -9,25 +9,27 @@ release=1
|
|||
source=(https://downloads.sourceforge.net/sourceforge/linuxquota/$name-$version.tar.gz)
|
||||
|
||||
build(){
|
||||
cd $name-$version
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-nls \
|
||||
--disable-libwrap \
|
||||
--disable-netlink \
|
||||
--disable-ldapmail
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/{include,share/doc}
|
||||
|
||||
install -d $PKG/etc $PKG/sbin
|
||||
CONFIG_SHELL=/bin/bash ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-nls \
|
||||
--disable-libwrap \
|
||||
--disable-netlink \
|
||||
--disable-ldapmail
|
||||
|
||||
mv $PKG/usr/sbin/quotacheck $PKG/sbin
|
||||
mv $PKG/usr/sbin/{quotaon,quotaoff} $PKG/sbin
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -m 644 warnquota.conf $PKG/etc
|
||||
install -m 644 quotagrpadmins $PKG/etc
|
||||
# conflict with rpcsvc-proto
|
||||
rm -r $PKG/usr/{include,share/doc}
|
||||
|
||||
install -d $PKG/etc $PKG/sbin
|
||||
|
||||
mv $PKG/usr/sbin/quotacheck $PKG/sbin
|
||||
mv $PKG/usr/sbin/{quotaon,quotaoff} $PKG/sbin
|
||||
|
||||
install -m 644 warnquota.conf $PKG/etc
|
||||
install -m 644 quotagrpadmins $PKG/etc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user