Группа :: Система/Серверы
Пакет: ulog-acctd
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: ulog-acctd
Summary: ulog-acctd - A userspace network accounting daemon
Version: 0.4.3
Release: alt0.M24.1
License: GPL
Group: System/Servers
Url: http://alioth.debian.org/projects/pkg-ulog-acctd
Source0: %{name}_%version.orig.tar.gz
Source1: ulog-acctd.init
Source2: ulog-acctd.logrotate
Source3: billing-example.tar.bz2
Patch0: ulog-acctd-logfile-perms.patch
Patch1: ulog-acctd-makefile.patch
%description
ulog-acctd is a userspace network accounting daemon which
generates log files of network traffic for accounting purposes.
%prep
%setup -n %name-%version.orig
%patch0
%patch1
pushd contrib
tar -jxvf %SOURCE3
popd
%build
pushd src
%make_build
popd
pushd doc
makeinfo --no-headers -o - ulog-acctd.texi > README
makeinfo --no-split ulog-acctd.texi
popd
%install
%__mkdir_p %buildroot%_initdir
%__mkdir_p %buildroot%_sysconfdir/logrotate.d
%__mkdir_p %buildroot%_sbindir
%__mkdir_p %buildroot%_infodir
%__mkdir_p %buildroot%_man8dir
%__mkdir_p %buildroot%_logdir/%name
%__install doc/ulog-acctd.8 %buildroot%_man8dir/ulog-acctd.8
%__install -m644 doc/ulog-acctd.info %buildroot%_infodir/ulog-acctd.info
%__install -m755 src/ulog-acctd %buildroot%_sbindir/ulog-acctd
%__install -m644 src/ulog-acctd.conf %buildroot%_sysconfdir/ulog-acctd.conf
%__install -m755 %SOURCE1 %buildroot%_initdir/%name
%__install -m620 %SOURCE2 %buildroot%_sysconfdir/logrotate.d/%name
%post
%post_service ulog-acctd
%install_info ulog-acctd.info
%preun
%preun_service ulog-acctd
%uninstall_info ulog-acctd.info
%files
%_sbindir/ulog-acctd
%config %_sysconfdir/ulog-acctd.conf
%_initdir/%name
%_sysconfdir/logrotate.d/%name
%_mandir/man8/*
%_infodir/*
%dir %_logdir/%name
%doc doc/README COPYING contrib
%changelog
…
Полный changelog можно просмотреть здесь
Summary: ulog-acctd - A userspace network accounting daemon
Version: 0.4.3
Release: alt0.M24.1
License: GPL
Group: System/Servers
Url: http://alioth.debian.org/projects/pkg-ulog-acctd
Source0: %{name}_%version.orig.tar.gz
Source1: ulog-acctd.init
Source2: ulog-acctd.logrotate
Source3: billing-example.tar.bz2
Patch0: ulog-acctd-logfile-perms.patch
Patch1: ulog-acctd-makefile.patch
%description
ulog-acctd is a userspace network accounting daemon which
generates log files of network traffic for accounting purposes.
%prep
%setup -n %name-%version.orig
%patch0
%patch1
pushd contrib
tar -jxvf %SOURCE3
popd
%build
pushd src
%make_build
popd
pushd doc
makeinfo --no-headers -o - ulog-acctd.texi > README
makeinfo --no-split ulog-acctd.texi
popd
%install
%__mkdir_p %buildroot%_initdir
%__mkdir_p %buildroot%_sysconfdir/logrotate.d
%__mkdir_p %buildroot%_sbindir
%__mkdir_p %buildroot%_infodir
%__mkdir_p %buildroot%_man8dir
%__mkdir_p %buildroot%_logdir/%name
%__install doc/ulog-acctd.8 %buildroot%_man8dir/ulog-acctd.8
%__install -m644 doc/ulog-acctd.info %buildroot%_infodir/ulog-acctd.info
%__install -m755 src/ulog-acctd %buildroot%_sbindir/ulog-acctd
%__install -m644 src/ulog-acctd.conf %buildroot%_sysconfdir/ulog-acctd.conf
%__install -m755 %SOURCE1 %buildroot%_initdir/%name
%__install -m620 %SOURCE2 %buildroot%_sysconfdir/logrotate.d/%name
%post
%post_service ulog-acctd
%install_info ulog-acctd.info
%preun
%preun_service ulog-acctd
%uninstall_info ulog-acctd.info
%files
%_sbindir/ulog-acctd
%config %_sysconfdir/ulog-acctd.conf
%_initdir/%name
%_sysconfdir/logrotate.d/%name
%_mandir/man8/*
%_infodir/*
%dir %_logdir/%name
%doc doc/README COPYING contrib
%changelog
…
Полный changelog можно просмотреть здесь