Репозиторий Sisyphus
Последнее обновление: 24 сентября 2017 | Пакетов: 17917 | Посещений: 10034809
en ru br
Репозитории ALT
S:4.03.0.39.251c-alt1
5.1: 3.14-alt1
4.1: 3.14-alt1
4.0: 3.14-alt1
3.0: 3.13-alt1
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: quota

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: quota
Version: 4.03
Release: alt1
Epoch: 2

%def_disable rpcsetquota

# quota_nld.c, quotaio_xfs.h:       GPLv2

# bylabel.c copied from util-linux: GPLv2+
# svc_socket.c copied from glibc:   LGPLv2+
# doc/quotas.ms, quotaops.c, quot.c, quotaon.c, edquota.c, quot.h, quota.c,
# quotaio_v1.c:                     BSD
License: BSD and LGPLv2+ and GPLv2+
Summary: System administration tools for monitoring users' disk usage
Group: System/Configuration/Other
Url: http://sourceforge.net/projects/linuxquota/

# http://downloads.sourceforge.net/linuxquota/quota-%version.tar.gz

# git://linuxquota.git.sourceforge.net/gitroot/linuxquota/linuxquota
# git://git.altlinux.org/gears/q/quota.git
Source: %name-%version-%release.tar

Requires: vitmp
BuildRequires: libe2fs-devel

%description
This package contains system administration tools for monitoring
and limiting user and or group disk usage per file system.

%package rpc
Group: Networking/Other
Summary: RPC quota daemon
Requires: %name = %EVR
Provides: rquotad = %version

%description rpc
rpc.rquotad is an rpc(3) server which returns quotas for a user
of a local filesystem which is mounted by a remote machine over the NFS.

%package devel
Group: Development/C
Summary: Remote quota protocol header files and documentation
BuildArch: noarch
Requires: %name = %EVR

%description devel
This package contains remote quota protocol header files and documentation.

%prep
%setup -n %name-%version-%release

%build
%autoreconf
%configure \
--enable-ext2direct \
--enable-werror \
--disable-bsd_behaviour \
--disable-ldapmail \
--disable-libwrap \
--disable-netlink \
--disable-silent-rules \
--disable-xfs-roothack \
%{subst_enable rpcsetquota} \
#
%make_build

%install
%makeinstall_std
mkdir %buildroot/sbin
mv %buildroot%_sbindir/quota{on,off,check} %buildroot/sbin/
install -Dpm644 rpc-rquotad.service %buildroot%_unitdir/rpc-rquotad.service
install -Dpm644 rpc-rquotad.sysconfig %buildroot/etc/sysconfig/rpc-rquotad
%define docdir %_docdir/%name
gzip -9n %buildroot%docdir/*.eps
gzip -c9n Changelog > %buildroot%docdir/Changelog.gz

%find_lang %name

%post rpc
%post_service rpc.rquotad

%preun rpc
%preun_service rpc.rquotad

%files -f %name.lang
%config(noreplace) /etc/*quota*
/sbin/*
%_bindir/*
%_sbindir/*
%exclude %_sbindir/rpc.rquotad
%_man1dir/*
%_man5dir/*
%_man8dir/*
%exclude %_man8dir/rpc.rquotad.8*
%doc %docdir/

%files rpc
%config(noreplace) /etc/sysconfig/rpc-rquotad
%_unitdir/rpc-rquotad.service
%_sbindir/rpc.rquotad
%_man8dir/rpc.rquotad.8*

%files devel
%_includedir/rpcsvc/*
%_man3dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin