Репозитории ALT
S: | 2.2.3-alt5 |
5.1: | 2.2.3-alt3 |
4.1: | 2.2.3-alt3 |
4.0: | 2.2.3-alt3 |
3.0: | 2.2.3-alt3 |
Другие репозитории
Upstream: | 2.2.3 |
Группа :: Работа с текстами
Пакет: apg
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: apg
Version: 2.2.3
Release: alt3
License: BSD
Summary: Automated password generator
Summary(ru_RU.KOI8-R): Автоматический генератор паролей
Group: Text tools
URL: http://www.adel.nursat.kz/apg/
Packager: Denis Ovsienko <pilot at altlinux.ru>
Source0: http://www.adel.nursat.kz/apg/download/%{name}-%{version}.tar.gz
Source1: %{name}.xinetd
Patch0: %{name}-makefile.patch
%description
* Built-in ANSI X9.17 RNG (Random Number Generator)(CAST/SHA1)
* Built-in password strength checking system (support for Bloom filter for faster access)
* Two password generation algorithms:
1. pronounceable password generation algorithm (according to NIST FIPS 181)
2. random character password generation algorithm with 35 configurable modes of operation
* Configurable password length
* Configurable passwords amount
* Ability to initialize RNG with user string
* /dev/random support
* Ability to crypt() generated passwords and print crypted value as additional output
* Special parameters to call APG from shell scripts
%prep
%setup
%patch0
%build
%make_build -e all
%install
INSTALL_PREFIX=%{buildroot} APG_BIN_DIR=%_bindir APG_MAN_DIR=%_man1dir APGD_BIN_DIR=%_sbindir \
APGD_MAN_DIR=%_man8dir %make_install -e install
install -D %SOURCE1 %{buildroot}/%{_sysconfdir}/xinetd.d/%{name}d
%files
%_bindir/%{name}
%_bindir/%{name}bfm
%_man1dir/*
%doc CHANGES INSTALL README THANKS TODO
%package daemon
Requires: %{name} xinetd service
# pwdgen entry
Requires: setup >= 2.2.3-alt1
Group: System/Servers
Summary: Automated password generator daemon
Summary(ru_RU.KOI8-R): Демон автоматической генерации паролей
%description daemon
* Ability to log password generation requests for network version
* Password Generator Protocol (RFC972) support
* Ability to enforce remote users to use only allowed password generation method
%files daemon
%_sbindir/%{name}d
%_man8dir/*
%config(noreplace) %attr(0640, root, root) %_sysconfdir/xinetd.d/%{name}d
%pre daemon
[ "$1" -eq 1 ] && useradd -c "APG daemon" -r -d /dev/null -s /dev/null apgd
%post daemon
[ "$1" -eq 1 ] && service xinetd condreload
%postun daemon
if [ "$1" -eq 0 ]; then
service xinetd condreload
userdel apgd
fi
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.2.3
Release: alt3
License: BSD
Summary: Automated password generator
Summary(ru_RU.KOI8-R): Автоматический генератор паролей
Group: Text tools
URL: http://www.adel.nursat.kz/apg/
Packager: Denis Ovsienko <pilot at altlinux.ru>
Source0: http://www.adel.nursat.kz/apg/download/%{name}-%{version}.tar.gz
Source1: %{name}.xinetd
Patch0: %{name}-makefile.patch
%description
* Built-in ANSI X9.17 RNG (Random Number Generator)(CAST/SHA1)
* Built-in password strength checking system (support for Bloom filter for faster access)
* Two password generation algorithms:
1. pronounceable password generation algorithm (according to NIST FIPS 181)
2. random character password generation algorithm with 35 configurable modes of operation
* Configurable password length
* Configurable passwords amount
* Ability to initialize RNG with user string
* /dev/random support
* Ability to crypt() generated passwords and print crypted value as additional output
* Special parameters to call APG from shell scripts
%prep
%setup
%patch0
%build
%make_build -e all
%install
INSTALL_PREFIX=%{buildroot} APG_BIN_DIR=%_bindir APG_MAN_DIR=%_man1dir APGD_BIN_DIR=%_sbindir \
APGD_MAN_DIR=%_man8dir %make_install -e install
install -D %SOURCE1 %{buildroot}/%{_sysconfdir}/xinetd.d/%{name}d
%files
%_bindir/%{name}
%_bindir/%{name}bfm
%_man1dir/*
%doc CHANGES INSTALL README THANKS TODO
%package daemon
Requires: %{name} xinetd service
# pwdgen entry
Requires: setup >= 2.2.3-alt1
Group: System/Servers
Summary: Automated password generator daemon
Summary(ru_RU.KOI8-R): Демон автоматической генерации паролей
%description daemon
* Ability to log password generation requests for network version
* Password Generator Protocol (RFC972) support
* Ability to enforce remote users to use only allowed password generation method
%files daemon
%_sbindir/%{name}d
%_man8dir/*
%config(noreplace) %attr(0640, root, root) %_sysconfdir/xinetd.d/%{name}d
%pre daemon
[ "$1" -eq 1 ] && useradd -c "APG daemon" -r -d /dev/null -s /dev/null apgd
%post daemon
[ "$1" -eq 1 ] && service xinetd condreload
%postun daemon
if [ "$1" -eq 0 ]; then
service xinetd condreload
userdel apgd
fi
%changelog
…
Полный changelog можно просмотреть здесь