info: util-linux -devel

Wojtek Slusarczyk wojtek w SHADOW.EU.ORG
Pon, 5 Paź 1998, 09:52:53 CEST


Hej,
	Po `wyplenieniu` zarazy getopowej jest nowy util-linux dla devela

na razie,

Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu
-------------- następna część ---------
Summary: Collection of basic system utilities for Linux
Summary(de): Sammlung von grundlegenden Systemdienstprogrammen für Linux
Summary(fr): Ensemble d'utilitaires systčme de base pour Linux
Summary(pl): Zbiór podstawowych narzędzi systemowych dla Linuxa
Summary(tr): Temel sistem araçlarý
Name: util-linux
Version: 2.8
Release: 6d
Copyright: distributable
Group: Utilities/System
Source:  sunsite.unc.edu:/pub/Linux/system/Misc/%{name}-%{version}.tar.gz
Source1: chfn.pamd
Source2: chsh.pamd
Source3: login.pamd
Patch:  %{name}-%{version}-rhconfig.patch
Patch4: %{name}-2.7-title.patch
Patch5: %{name}-%{version}-noclock.patch
Patch6: %{name}-%{version}-nochkdupexe.patch
Patch11: %{name}-2.7-path.patch
Patch12: %{name}-2.7-gecos.patch
Patch15: %{name}-%{version}-more.patch
Patch17: %{name}-%{version}-clean.patch
Patch18: %{name}-%{version}-mount.patch
Patch19: %{name}-%{version}-nologin.patch
Patch20: %{name}-%{version}-cbm1581.patch
Patch21: %{name}-ipcs.patch
Patch22: %{name}-ipcmr.patch
Patch23: %{name}-kdbrate.patch
Buildroot: /tmp/%{name}-%{version}-root

%description
util-linux contains a large variety of low-level system utilities
necessary for a functional Linux system.  This includes, among other
things, configuration tools such as fdisk and system programs such
as login.

%description -l de
util-linux enthält eine große Anzahl an low-level-Systemdienstprogrammen,
die für ein funktionierendes Linux-System erforderlich sind. Dazu gehören
Konfigurationstools wie 'fdisk' und Systemprogramme wie 'login'.

%description -l fr
util-linux contient une grande variété d'utilitaire systčme bas niveau
nécessaires au fonctionnement d'un systčme Linux. Cela comprend, entre
autres, les outils de configuration comme fdisk et des programmes
systčmes comme login.

%sescription -l pl
Util-linux zawiera wiele różnych niskopoziomuwych narzędzi systemowych
nizbędnych do prawidłowego działania systemu Linux. W pakiecie znajdują
się między innymi, narzędzia konfiguracyjne takie jak fdisk i programy 
systemowe takie jak login.

%description -l tr
Ýţlevsel durumdaki bir Linux sistemi için gerekli birçok alt düzey sistem
araçlarýný içerir. Bunlar arasýnda fdisk gibi yapýlandýrma uygulamalarý ve
login gibi sistem programlarý sayýlabilir.

%prep
%setup -q
%patch0 -p1 
%patch5 -p1 
%patch6 -p1 
%patch11 -p1 
%patch12 -p1 
%patch15 -p1 
%patch17 -p1 
%patch19 -p1 
%patch20 -p1 
%patch21 -p1 
%patch22 -p1 
%patch23 -p1 

%build
make OPT="-pipe -O3 -m486 -fomit-frame-pointer -D_GNU_SOURCE" 2>/dev/null

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/{bin,etc/pam.d,sbin}
install -d $RPM_BUILD_ROOT/usr/{bin,info,lib,man/man1,man/man6,man/man8,sbin}

SUBDIRS="bsd getopt disk-utils games sys-utils text-utils"
for i in $SUBDIRS
do
  cd $i
  make install DESTDIR=$RPM_BUILD_ROOT
  cd ..
done

cd login-utils
make install DESTDIR=$RPM_BUILD_ROOT INSTALLSUID="install -m 4711"
cd ..

cd misc-utils
make install DESTDIR=$RPM_BUILD_ROOT USE_TTY_GROUP="no"
cd ..

%ifarch i386
mv -f $RPM_BUILD_ROOT/usr/bin/rdev $RPM_BUILD_ROOT/usr/sbin
%endif

mv $RPM_BUILD_ROOT/usr/bin/{swapdev,vidmode,ramsize,rootflags,readprofile} $RPM_BUILD_ROOT/usr/sbin

gzip -9nf $RPM_BUILD_ROOT/usr/info/ipc.info

strip $RPM_BUILD_ROOT/{bin/*,sbin/*,usr/{bin/*,sbin/*}} || :

%ifarch i386 alpha
strip $RPM_BUILD_ROOT/sbin/fdisk
%endif

install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/chfn
install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/chsh
install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/login
install -d $RPM_BUILD_ROOT/etc/security
touch $RPM_BUILD_ROOT/etc/security/{chsh,chfn}

%ifarch i386
rm -f $RPM_BUILD_ROOT/sbin/clock
ln -s hwclock $RPM_BUILD_ROOT/sbin/clock
echo .so hwclock.8 > $RPM_BUILD_ROOT/usr/man/man8/clock.8
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%ifarch i386
%attr(-   , root, root) /sbin/clock
%attr(0711, root, root) /sbin/hwclock
%attr(0644, root, man) /usr/man/man8/hwclock.8
%attr(0644, root, man) /usr/man/man8/clock.8
%endif

%attr(640, root, root) %config(noreplace) %verify(not mtime size md5) /etc/pam.d/*
%attr(640, root, root) %config(missingok) %verify(not mtime size md5) /etc/security/*
%ifarch i386 alpha
%attr(0700, root, root) /sbin/fdisk
%attr(0700, root, root) /sbin/cfdisk
%attr(0700, root, root) /sbin/fsck.minix
%attr(0700, root, root) /sbin/mkfs.minix
%endif

%attr(0711, root, root) /sbin/mkfs
%attr(0700, root, root) /sbin/mkswap

%attr(0700, root, root) /usr/bin/fdformat
%attr(0700, root, root) /usr/bin/setfdprm
%config /etc/fdprm

%attr(0644, root, man) /usr/man/man8/fdformat.8
%attr(0644, root, man) /usr/man/man8/mkswap.8
%attr(0644, root, man) /usr/man/man8/setfdprm.8

%attr(0711, root, root) /usr/games/banner
%attr(0644, root, man) /usr/man/man6/banner.6

%attr(0711, root, root) /usr/bin/ddate
%attr(0644, root, man) /usr/man/man1/ddate.1

%attr(0711, root, root) /bin/login
%attr(4711, root, root) /usr/bin/chfn
%attr(4711, root, root) /usr/bin/chsh
%attr(0711, root, root) /usr/bin/newgrp
%attr(0711, root, root) /usr/sbin/vipw
%attr(0644, root, man) /usr/man/man1/chfn.1
%attr(0644, root, man) /usr/man/man1/chsh.1
%attr(0644, root, man) /usr/man/man1/login.1
%attr(0644, root, man) /usr/man/man1/newgrp.1
%attr(0644, root, man) /usr/man/man8/vipw.8

%attr(0711, root, root) /bin/kill
%attr(0711, root, root) /usr/bin/cal
%attr(0711, root, root) /usr/bin/logger
%attr(0711, root, root) /usr/bin/look
%attr(0711, root, root) /usr/bin/mcookie
%attr(0711, root, root) /usr/bin/namei
%attr(0711, root, root) /usr/bin/script
%attr(0711, root, root) /usr/bin/setterm
%attr(0711, root, root) /usr/bin/tsort
%attr(0711, root, root) /usr/bin/whereis
%attr(0711, root, tty) /usr/bin/write
%attr(0711, root, root) /usr/bin/getopt
%attr(0644, root, man) /usr/man/man1/cal.1
%attr(0644, root, man) /usr/man/man1/kill.1
%attr(0644, root, man) /usr/man/man1/logger.1
%attr(0644, root, man) /usr/man/man1/look.1
%attr(0644, root, man) /usr/man/man1/mcookie.1
%attr(0644, root, man) /usr/man/man1/namei.1
%attr(0644, root, man) /usr/man/man1/script.1
%attr(0644, root, man) /usr/man/man1/setterm.1
%attr(0644, root, man) /usr/man/man1/tsort.1
%attr(0644, root, man) /usr/man/man1/whereis.1
%attr(0644, root, man) /usr/man/man1/write.1
%attr(0644, root, man) /usr/man/man1/getopt.1

%attr(0711, root, root) /bin/dmesg

%attr(0700, root, root) /sbin/ctrlaltdel
%attr(0711, root, root) /sbin/kbdrate
%attr(0711, root, root) /bin/arch
%attr(0711, root, root) /usr/bin/ipcrm
%attr(0711, root, root) /usr/bin/ipcs
%attr(0711, root, root) /usr/bin/renice
%attr(0711, root, root) /usr/sbin/readprofile
%attr(0711, root, root) /usr/bin/setsid
%attr(-   , root, root) /usr/sbin/ramsize

%ifnarch sparc
%attr(0711, root, root) /usr/bin/cytune
%attr(-   , root, root) /usr/sbin/swapdev
%attr(-   , root, root) /usr/sbin/vidmode
%endif

%attr(- , root, root) /usr/sbin/rootflags

%attr(0644, root, man) /usr/man/man1/arch.1
%attr(0644, root, man) /usr/man/man1/readprofile.1
%attr(0644, root, man) /usr/man/man8/cytune.8
%attr(0644, root, man) /usr/man/man8/ctrlaltdel.8
%attr(0644, root, man) /usr/man/man8/dmesg.8
%attr(0644, root, man) /usr/man/man8/ipcrm.8
%attr(0644, root, man) /usr/man/man8/ipcs.8
%attr(0644, root, man) /usr/man/man8/kbdrate.8
%attr(0644, root, man) /usr/man/man8/ramsize.8
%attr(0644, root, man) /usr/man/man8/renice.8
%attr(0644, root, man) /usr/man/man8/rootflags.8
%attr(0644, root, man) /usr/man/man8/setsid.8
%attr(0644, root, man) /usr/man/man8/swapdev.8
%attr(0644, root, man) /usr/man/man8/vidmode.8

%ifarch i386
%attr(0700, root, root) /usr/sbin/rdev
%attr(0644, root, man) /usr/man/man8/rdev.8
%endif

/usr/info/ipc.info.gz

%attr(0711, root, root) /usr/bin/col
%attr(0711, root, root) /usr/bin/colcrt
%attr(0711, root, root) /usr/bin/colrm
%attr(0711, root, root) /usr/bin/column
%attr(0711, root, root) /usr/bin/hexdump
%attr(0711, root, root) /usr/bin/rev
%attr(0711, root, root) /usr/bin/ul

%attr(0644, root, man) /usr/man/man1/col.1
%attr(0644, root, man) /usr/man/man1/colcrt.1
%attr(0644, root, man) /usr/man/man1/colrm.1
%attr(0644, root, man) /usr/man/man1/column.1
%attr(0644, root, man) /usr/man/man1/hexdump.1
%attr(0644, root, man) /usr/man/man1/rev.1
%attr(0644, root, man) /usr/man/man1/ul.1

%attr(0711, root, root) /bin/more
%attr(0644, root, man) /usr/man/man1/more.1
%config /usr/lib/more.help

%ifnarch sparc
%attr(0644, root, man) /usr/man/man8/fsck.minix.8
%attr(0644, root, man) /usr/man/man8/mkfs.minix.8
%attr(0644, root, man) /usr/man/man8/mkfs.8
%endif

%ifarch i386 alpha
%attr(0644, root, man) /usr/man/man8/fdisk.8
%attr(0644, root, man) /usr/man/man8/cfdisk.8
%endif

%doc README */README.*

%changelog
* Mon Oct 05 1998 Wojtek Ślusarczyk <wojtek w shadow.eu.org>
[2.8-6d]
- build against PLD Tornado, 
- restricted ELF binaries permissions,
- fixed pl translation,
- added new PAM config for login, chsh, chfn,
- removed sln (now is in glibc-2.1),
- macro %%{SOURCE{1,2,3}} in %install,
- removed symlink hwclock.8,
- macro %%{name} in Source & Patch,
- added /etc/security/{chsh,chfn},
- fixed all files permissions,
- minor modifications of the spec file.

* Sat Aug 29 1998 Konrad Stępień <konrad w interdata.com.pl>
- reconfigure spec to build non root
- link man clock to hwclock for i386
- few simplification in %install
- added full %attr description in %files

* Sun Aug 23 1998 Jeff Johnson <jbj w redhat.com>
- add cbm1581 floppy definitions (problem #787)

* Mon Jun 29 1998 Jeff Johnson <jbj w redhat.com>
- remove /etc/nologin at end of shutdown/halt.

* Fri Jun 19 1998 Jeff Johnson <jbj w redhat.com>
- add mount/losetup.

* Thu Jun 18 1998 Jeff Johnson <jbj w redhat.com>
- update to 2.8 with 2.8b clean up. hostid now defunct?

* Mon Jun 01 1998 David S. Miller <davem w dm.cobaltmicro.com>
- "more" now works properly on sparc

* Sat May 02 1998 Jeff Johnson <jbj w redhat.com>
- Fix "fdisk -l" fault on mounted cdrom. (prob #513)

* Fri Apr 24 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr

* Sat Apr 11 1998 Cristian Gafton <gafton w redhat.com>
- manhattan rebuild

* Mon Dec 29 1997 Erik Troan <ewt w redhat.com>
- more didn't suspend properly on glibc
- use proper tc*() calls rather then ioctl's

* Sun Dec 21 1997 Cristian Gafton <gafton w redhat.com>
- fixed a security problem in chfn and chsh accepting too 
  long gecos fields

* Fri Dec 19 1997 Mike Wangsmo <wanger w redhat.com>
- removed "." from default path

* Tue Dec 02 1997 Cristian Gafton <gafton w redhat.com>
- added (again) the vipw patch

* Wed Oct 22 1997 Michael Fulbright <msf w redhat.com>
- minor cleanups for glibc 2.1

* Fri Oct 17 1997 Michael Fulbright <msf w redhat.com>
- added vfat32 filesystem type to list recognized by fdisk

* Fri Oct 10 1997 Erik Troan <ewt w redhat.com>
- don't build clock on the alpha 
- don't install chkdupexe

* Thu Oct 02 1997 Michael K. Johnson <johnsonm w redhat.com>
- Update to new pam standard.
- BuildRoot.

* Thu Sep 25 1997 Cristian Gafton <gafton w redhat.com>
- added rootok and setproctitle patches
- updated pam config files for chfn and chsh

* Tue Sep 02 1997 Erik Troan <ewt w redhat.com>
- updated MCONFIG to automatically determine the architecture
- added glibc header hacks to fdisk code
- rdev is only available on the intel

* Fri Jul 18 1997 Erik Troan <ewt w redhat.com>
- update to util-linux 2.7, fixed login problems

* Wed Jun 25 1997 Erik Troan <ewt w redhat.com>
- Merged Red Hat changes into main util-linux source, updated package to
  development util-linux (nearly 2.7).

* Tue Apr 22 1997 Michael K. Johnson <johnsonm w redhat.com>
- LOG_AUTH --> LOG_AUTHPRIV in login and shutdown

* Mon Mar 03 1997 Michael K. Johnson <johnsonm w redhat.com>
- Moved to new pam and from pam.conf to pam.d

* Tue Feb 25 1997 Michael K. Johnson <johnsonm w redhat.com>
- pam.patch differentiated between different kinds of bad logins.
  In particular, "user does not exist" and "bad password" were treated
  differently.  This was a minor security hole.


Więcej informacji o liście dyskusyjnej pld-devel-pl