info:shadow.spec -devel
Wojtek Slusarczyk
wojtek w SHADOW.EU.ORG
Pią, 9 Paź 1998, 14:41:01 CEST
Hej,
Prosilbym o wnikliwe przejzenie tego speca.
na gazie,
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu
-------------- następna część ---------
Summary: Shadow password file utilities for Linux
Summary(de): Shadow-Paßwortdatei-Dienstprogramme für Linux
Summary(fr): Fichiers utilitaires pour Shadow password pour Linux.
Summary(pl): Narzędzia do obsługi shadow passwords
Summary(tr): Gölge parola dosyasý araçlarý
Name: shadow
Version: 980724
Release: 1d
Source: ftp://ftp.ists.pwr.wroc.pl/pub/linux/shadow/%{name}-%{version}.tar.gz
Source1: %{name}-login.defs
Source2: %{name}.useradd
Source3: shells
Patch: %{name}-pld.patch
Patch1: %{name}-useradd.patch
Copyright: BSD
Group: Utilities/System
Buildroot: /tmp/%{name}-%{version}-root
Obsoletes: shadow-utils
%description
This package includes the programs necessary to convert standard
UNIX password files to the shadow password format, as well as
programs for command-line management of the user's accounts.
- 'pwconv' converts everything to the shadow password format.
- 'pwunconv' unconverts from shadow passwords, generating a file
in the current directory called npasswd that is a standard UNIX
password file.
- 'pwck' checks the integrity of the password and shadow files.
- 'lastlog' prints out the last login times of all users.
- 'useradd', 'userdel' and 'usermod' for accounts management.
- 'groupadd', 'groupdel' and 'groupmod' for group management.
A number of man pages are also included that relate to these utilities,
and shadow passwords in general.
%description -l pl
Pakiet zawiera programy do obsługi shadow password. Zanjdują się w nim
programy do konwersji standardowego pliku haseł do wersji shadow password
a także programy do zarządanie kontami użytkowników w systemie
- 'pwconv' konwertuje do formatu shadow passwords
- 'pwunconv' konwertuje z shadow passwords do formatu standardowego
pliku haseł. W bierzącym katalogu tworzy plik npasswd będący
standardowym plikiem z hasłami.
- 'lastlog' wyświetla czas logowanie użytkowników
- 'userdel' i 'usermod' do zarządzania kontami
użytkowników.
- 'groupadd', 'groupdel' and 'groupmod' do zarządzania grupami
Ostrzeżenie:
Programy znajdujące się w tym pakiecie są niezbędne do prawidłowej pracy
twojego systemy i podobnie jak pakiet z bibliotekami systemowymi - glibc
nigdy nie powinien zostać odinstalowany !
%prep
%setup -q
%patch -p1
%patch1 -p1
autoconf
sleep 2
%build
CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr \
--disable-desrpc \
--with-libcrypt \
--disable-shared \
--with-libpam \
--with-md5crypt
make 2>/dev/null
%install
rm -rf $RPM_BUILD_ROOT
make install prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/default
install %{SOURCE1} $RPM_BUILD_ROOT/etc/login.defs
install %{SOURCE2} $RPM_BUILD_ROOT/etc/default/useradd
install %{SOURCE3} $RPM_BUILD_ROOT/etc/shells
echo .so pwconv.8 > $RPM_BUILD_ROOT/usr/man/man8/pwunconv.8
echo .so pwconv.8 > $RPM_BUILD_ROOT/usr/man/man8/grpconv.8
echo .so pwconv.8 > $RPM_BUILD_ROOT/usr/man/man8/grpunconv.8
%post
if [ ! -f /etc/shadow ]; then
/usr/sbin/pwconv
fi
%files
%defattr(644, root, root, 755)
%doc doc/ANNOUNCE doc/CHANGES doc/HOWTO
%doc doc/README doc/README.linux
%attr(700, root, root) %dir /etc/default
%config %verify(not size mtime md5) /etc/login.defs
%config %verify(not size mtime md5) /etc/shells
%attr(600, root, root) %config %verify(not size mtime md5) /etc/default/*
%attr(711, root, root) /usr/sbin/user*
%attr(711, root, root) /usr/sbin/group*
%attr(711, root, root) /usr/sbin/grpck
%attr(711, root, root) /usr/sbin/pwck
%attr(711, root, root) /usr/sbin/*conv
%attr(711, root, root) /usr/sbin/chpasswd
%attr(711, root, root) /usr/sbin/newusers
%attr(711, root, root) /usr/sbin/mkpasswd
%attr(711, root, root) /usr/bin/chage
%attr(711, root, root) /usr/bin/gpasswd
%attr(711, root, root) /usr/bin/lastlog
%attr(711, root, root) /usr/bin/faillog
%attr(644, root, man) /usr/man/man1/chage.1
%attr(644, root, man) /usr/man/man1/gpasswd.1
%attr(644, root, man) /usr/man/man3/shadow.3
%attr(644, root, man) /usr/man/man5/shadow.5
%attr(644, root, man) /usr/man/man5/faillog.5
%attr(644, root, man) /usr/man/man8/group*.8
%attr(644, root, man) /usr/man/man8/user*.8
%attr(644, root, man) /usr/man/man8/pwck.8
%attr(644, root, man) /usr/man/man8/grpck.8
%attr(644, root, man) /usr/man/man8/chpasswd.8
%attr(644, root, man) /usr/man/man8/newusers.8
%attr(644, root, man) /usr/man/man8/mkpasswd.8
%attr(644, root, man) /usr/man/man8/*conv.8
%attr(644, root, man) /usr/man/man8/lastlog.8
%attr(644, root, man) /usr/man/man8/faillog.8
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Oct 09 1998 Wojtek Ślusarczyk <wojtek w shadow.eu.org>
[980724-1d]
- build against PLD Tornado,
- restricted files permissions,
- removed adduser,
- renamed invalid package name to shadow,
- added %postin scripts,
- fixed pl translation,
- minor changes.
* Tue Sep 1 1998 Konrad Stępień <konrad w interdata.com.pl>
- modify to build non-root
- change mkdir to install -d
- %attr makros
- translations for pl
- update source URL
* Fri Aug 21 1998 Jeff Johnson <jbj w redhat.com>
- Note that /usr/sbin/mkpasswd conflicts with /usr/bin/mkpasswd;
one of these (I think /usr/sbin/mkpasswd but other opinions are valid)
should probably be renamed. In any case, mkpasswd.8 from this package
needs to be installed. (problem #823)
* Fri May 08 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr
* Tue Apr 21 1998 Cristian Gafton <gafton w redhat.com>
- updated to 980403
- redid the patches
* Tue Dec 30 1997 Cristian Gafton <gafton w redhat.com>
- updated the spec file
- updated the patch so that new accounts created on shadowed system won't
confuse pam_pwdb anymore ('!!' default password instead on '!')
- fixed a bug that made useradd -G segfault
- the check for the ut_user is now patched into configure
* Thu Nov 13 1997 Erik Troan <ewt w redhat.com>
- added patch for XOPEN oddities in glibc headers
- check for ut_user before checking for ut_name -- this works around some
confusion on glibc 2.1 due to the utmpx header not defining the ut_name
compatibility stuff. I used a gross sed hack here because I couldn't make
automake work properly on the sparc (this could be a glibc 2.0.99 problem
though). The utuser patch works fine, but I don't apply it.
- sleep after running autoconf
* Thu Nov 06 1997 Cristian Gafton <gafton w redhat.com>
- added forgot lastlog command to the spec file
* Mon Oct 26 1997 Cristian Gafton <gafton w redhat.com>
- obsoletes adduser
* Thu Oct 23 1997 Cristian Gafton <gafton w redhat.com>
- modified groupadd; updated the patch
* Fri Sep 12 1997 Cristian Gafton <gafton w redhat.com>
- updated to 970616
- changed useradd to meet RH specs
- fixed some bugs
* Tue Jun 17 1997 Erik Troan <ewt w redhat.com>
- built against glibc
Więcej informacji o liście dyskusyjnej pld-devel-pl