1
0
forked from ports/opt

quota: update to git HEAD as of 20160809

This commit is contained in:
Juergen Daubert 2016-11-13 16:27:28 +01:00
parent e3c5b04b89
commit 35822f853d
5 changed files with 55 additions and 133 deletions

View File

@ -3,40 +3,45 @@ drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/quotatab
-rw-r--r-- root/root etc/warnquota.conf
drwxr-xr-x root/root sbin/
-r-xr-xr-x root/root sbin/quotacheck
-rwxr-xr-x root/root sbin/quotacheck
lrwxrwxrwx root/root sbin/quotaoff -> quotaon
-r-xr-xr-x root/root sbin/quotaon
-rwxr-xr-x root/root sbin/quotaon
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-r-xr-xr-x root/root usr/bin/quota
-r-xr-xr-x root/root usr/bin/quotasync
-rwxr-xr-x root/root usr/bin/quota
-rwxr-xr-x root/root usr/bin/quotasync
drwxr-xr-x root/root usr/sbin/
-r-xr-xr-x root/root usr/sbin/convertquota
-r-xr-xr-x root/root usr/sbin/edquota
-r-xr-xr-x root/root usr/sbin/quot
-r-xr-xr-x root/root usr/sbin/quotastats
-r-xr-xr-x root/root usr/sbin/repquota
-r-xr-xr-x root/root usr/sbin/rpc.rquotad
-r-xr-xr-x root/root usr/sbin/setquota
-r-xr-xr-x root/root usr/sbin/warnquota
-r-xr-xr-x root/root usr/sbin/xqmstats
-rwxr-xr-x root/root usr/sbin/convertquota
-rwxr-xr-x root/root usr/sbin/edquota
-rwxr-xr-x root/root usr/sbin/quot
-rwxr-xr-x root/root usr/sbin/quotastats
-rwxr-xr-x root/root usr/sbin/repquota
-rwxr-xr-x root/root usr/sbin/rpc.rquotad
-rwxr-xr-x root/root usr/sbin/setquota
-rwxr-xr-x root/root usr/sbin/warnquota
-rwxr-xr-x root/root usr/sbin/xqmstats
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-r--r--r-- root/root usr/share/man/man1/quota.1.gz
drwxr-xr-x root/root usr/share/man/man2/
-rw-r--r-- root/root usr/share/man/man1/quota.1.gz
-rw-r--r-- root/root usr/share/man/man1/quotasync.1.gz
drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/rquota.3.gz
-rw-r--r-- root/root usr/share/man/man3/rquota.3.gz
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/quotagrpadmins.5.gz
-rw-r--r-- root/root usr/share/man/man5/quotatab.5.gz
-rw-r--r-- root/root usr/share/man/man5/warnquota.conf.5.gz
drwxr-xr-x root/root usr/share/man/man8/
-r--r--r-- root/root usr/share/man/man8/convertquota.8.gz
-r--r--r-- root/root usr/share/man/man8/edquota.8.gz
-r--r--r-- root/root usr/share/man/man8/quot.8.gz
-r--r--r-- root/root usr/share/man/man8/quota_nld.8.gz
-r--r--r-- root/root usr/share/man/man8/quotacheck.8.gz
-r--r--r-- root/root usr/share/man/man8/quotaon.8.gz
-r--r--r-- root/root usr/share/man/man8/quotastats.8.gz
-r--r--r-- root/root usr/share/man/man8/repquota.8.gz
-r--r--r-- root/root usr/share/man/man8/rquotad.8.gz
-r--r--r-- root/root usr/share/man/man8/setquota.8.gz
-r--r--r-- root/root usr/share/man/man8/warnquota.8.gz
-r--r--r-- root/root usr/share/man/man8/xqmstats.8.gz
-rw-r--r-- root/root usr/share/man/man8/convertquota.8.gz
-rw-r--r-- root/root usr/share/man/man8/edquota.8.gz
-rw-r--r-- root/root usr/share/man/man8/quot.8.gz
-rw-r--r-- root/root usr/share/man/man8/quota_nld.8.gz
-rw-r--r-- root/root usr/share/man/man8/quotacheck.8.gz
lrwxrwxrwx root/root usr/share/man/man8/quotaoff.8.gz -> quotaon.8.gz
-rw-r--r-- root/root usr/share/man/man8/quotaon.8.gz
-rw-r--r-- root/root usr/share/man/man8/quotastats.8.gz
-rw-r--r-- root/root usr/share/man/man8/repquota.8.gz
-rw-r--r-- root/root usr/share/man/man8/rpc.rquotad.8.gz
-rw-r--r-- root/root usr/share/man/man8/setquota.8.gz
-rw-r--r-- root/root usr/share/man/man8/warnquota.8.gz
-rw-r--r-- root/root usr/share/man/man8/xqmstats.8.gz

View File

@ -1,3 +1 @@
5c2c31e321d2e1322ce12d69ae5c66d6 quota-4.01.tar.gz
b26ac767894bb8847215906da137ea68 quotagrpadmins
70fecd0bd0f9390dec10ce4d0ce7c3d7 warnquota.conf
6939539455c0668f4586dcb0ff0b4f59 quota-20160809.tar.xz

View File

@ -1,28 +1,33 @@
# Description: Tools for the Linux quota system
# URL: http://sourceforge.net/projects/linuxquota/
# Packager: Mikhail Kolesnik, mike at openbunker dot org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: e2fsprogs
name=quota
version=4.01
release=2
source=(http://download.sourceforge.net/linuxquota/$name-$version.tar.gz \
warnquota.conf quotagrpadmins)
version=20160809
release=1
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
build(){
cd $name-tools
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-nls=no \
--enable-altformat=yes \
--enable-rpc=yes \
--enable-nis=no \
--enable-bsd_behaviour=yes \
--enable-rootsbin=yes
--disable-nls \
--disable-libwrap \
--disable-netlink \
--disable-ldapmail
make
make install ROOTDIR=$PKG
rm -r $PKG/usr/include
install -D -m 644 $SRC/warnquota.conf $PKG/etc/warnquota.conf
install -D -m 644 $SRC/quotagrpadmins $PKG/etc/quotagrpadmins
make DESTDIR=$PKG install
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
}

View File

@ -1,8 +0,0 @@
# /etc/quotagrpadmins
#
# Comments begin with hash in the beginning of the line
# In this file you specify users responsible for space used by the group
users: root
#mygroup: chief

View File

@ -1,78 +0,0 @@
# /etc/warnquota.conf
#
; ; and # type comments are allowed
# and even blank lines
# values can be quoted, but they don't have to be
# /usr/sbin/sendmail can be a symlink to compatible mail program
# (/var/lib/pkg/prt-get.aliases might provide some alternatives)
MAIL_CMD = "/usr/sbin/sendmail -t"
FROM = "bas@example.com"
SUBJECT = Hey, user, clean up your account!
CC_TO = "sysadm@example.com"
# If you set this variable CC will be used only when user has less than
# specified grace time left (examples of possible times: 5 seconds, 1 minute,
# 12 hours, 5 days)
# CC_BEFORE = 2 days
# this address also appears in Reply-To
SUPPORT = "support@example.com"
PHONE = "(123) 456-1111 or (222) 333-4444"
# Text in the beginning of the mail (if not specified, default text is used)
# This way text can be split to more lines
# Line breaks are done by '|' character
# The expressions %i, %h, %d, and %% are substituted for user/group name,
# host name, domain name, and '%' respectively. For backward compatibility
# %s behaves as %i but is deprecated.
MESSAGE = Hello user %i, I've noticed you use too much space\
on my disk in %h.%d.|Delete your files on the following filesystems:|
# Text in the end of the mail (if not specified, default text using SUPPORT and PHONE
# is created)
SIGNATURE = See you!| Your admin of %h|
# Following text is used for mails about group exceeding quotas
GROUP_MESSAGE = Hello, a group '%i' you're member of use too much space at %h.|\
I chose you to do the cleanup.|Delete group files on the following filesystems:|
# Text in the end of the mail to the group (if not specified, default text using SUPPORT
# and PHONE is created).
GROUP_SIGNATURE = See you!| Your admin|
#If you are running warnquota on a mail server, and don't want bounces
#because clients cannot receive mail setting this to "any" will cause
#warnquota to not send them mail for all devices. If you set this to the
#device name (for example /dev/hdb1) then they will not be sent mail if they
#are overquota on that device only, and will be sent mail for all other
#devices.
#MAILDEV =
#Here you can set a charset for emails sent by warnquota (e.g. UTF-8)
#CHARSET =
# If you are using LDAP mail lookups.
# host, port, tls, binddn, and bindpw are straight forward.
# LDAP_BASEDN is your search base dn
# LDAP_SEARCH_ATTRIBUTE is the attr for the value you are looking for
# LDAP_MAIL_ATTRIBUTE is the attribute you want used for the mail address
# LDAP_DEFAULT_MAIL_DOMAIN is the default domain
# if the attribute isn't found
# if binddn and bindpw are blank or left out, an anonymous bind is used
#
# LDAP_MAIL = false # or true if you want to use it
# If you have at least LDAP 2.3 installed, you should use LDAP_URI
# LDAP_URI = ldaps://my.server:389
# Otherwise you should specify LDAP_HOST and LDAP_PORT
# LDAP_HOST = ldap
# LDAP_PORT = 389
# LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg
# LDAP_BINDPW = YourReadOnlyUserPassword
# LDAP_BASEDN = YourSearchBase
# LDAP_SEARCH_ATTRIBUTE = uid
# LDAP_MAIL_ATTRIBUTE = mailLocalAddress
# LDAP_DEFAULT_MAIL_DOMAIN = YourDefaultMailDomain.com
#
# end of /etc/warnquota.conf file