# Maintainer util-linux@math.uio.no Summary: A collection of basic system utilities. Name: util-linux Version: 2.11n Release: 11 License: distributable Group: System Environment/Base Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/util-linux-%{version}.tar.bz2 Source1: util-linux-2.7-login.pamd Source2: util-linux-2.7-chfn.pamd Source3: util-linux-2.7-chsh.pamd Source6: mkcramfs.c Source7: cramfs.h Source8: nologin.c Source9: nologin.8 Source10: kbdrate.tar.gz BuildRequires: sed BuildRequires: pam-devel BuildRequires: ncurses-devel BuildRequires: libtermcap-devel BuildRequires: slang-devel BuildRequires: zlib-devel Patch0: util-linux-2.11a-rhconfig.patch Patch1: util-linux-2.11n-nochkdupexe.patch Patch2: util-linux-2.11a-gecossize.patch # XXX apply next patch to enable mount-2.8 from util-linux (not applied) Patch4: util-linux-2.11n-mount.patch Patch8: util-linux-2.9i-nomount.patch #Patch9: util-linux-2.11f-vipw.patch Patch21: util-linux-2.9v-nonroot.patch Patch27: util-linux-2.11a-moretc.patch Patch35: util-linux-2.10m-loginpath.patch Patch39: util-linux-2.11n-ctty.patch Patch38: util-linux-2.11f-ctty2.patch Patch60: util-linux-2.10s-s390x.patch Patch61: util-linux-2.11b-s390x.patch Patch70: util-linux-2.11n-miscfixes.patch Patch71: fdisk.diff # This patch got added upstream in 2.11. Then we reverted it from our # local 2.10s copy. Oops. # Patches 75-77 no longer used, obsoleted by patch 37 Patch75: util-linux-2.11f-logingrp-revert.patch Patch76: util-linux-2.11f-loginctty.patch Patch77: util-linux-2.11f-loginctty2.patch Patch100: mkcramfs.patch Patch101: mkcramfs-quiet.patch # Patch36 no longer used Patch36: util-linux-2.11f-pwent.patch # Patch37 is no longer used Patch37: util-linux-2.11f-pwent2.patch Patch102: util-linux-2.11n-colrm.patch ########### START UNSUBMITTED Patch103: util-linux-2.11n-ownerumount.patch Patch104: util-linux-2.11n-mkswapprint-58799.patch Patch105: util-linux-2.11n-hexdump-58471.patch Patch106: util-linux-2.11g-swaponsymlink-57300.patch Patch107: util-linux-2.10r-procpartitions-37436.patch Patch108: util-linux-2.11n-autosmb-32132.patch Patch109: util-linux-2.11f-rawman.patch Patch110: util-linux-2.11n-skipraid.patch Patch111: util-linux-2.11n-mkfsman.patch Patch112: util-linux-2.11n-ipcrmman.patch Patch113: util-linux-2.11n-ctty3.patch Patch114: util-linux-2.11n-dumboctal.patch Patch115: util-linux-2.11n-fstabperm-61868.patch ########### END UNSUBMITTED ######## # Mount patches Patch200: mount-2.10r-alphahack.patch Patch201: mount-2.10m-nolock-docs.patch Patch202: mount-2.10o-nfsman.patch Patch204: mount-2.10r-2gb.patch Patch205: mount-2.10r-ia64.patch Patch206: mount-2.10r-kudzu.patch Patch207: mount-2.10r-swapon.patch Patch209: mount-2.11b-swapoff.patch Patch210: util-linux-2.11b-largefile.patch Patch211: mount-2.11e-user_label_umount.patch Patch212: mount-2.11m-netdev.patch Patch220: util-linux-2.11n-makej.patch Obsoletes: fdisk tunelp %ifarch alpha sparc sparc64 sparcv9 s390 Obsoletes: clock %endif %ifarch alpha Conflicts: initscripts <= 4.58, timeconfig <= 3.0.1 %endif BuildRoot: %{_tmppath}/%{name}-root Requires: pam >= 0.66-4, /etc/pam.d/system-auth Requires: usermode Conflicts: kernel < 2.2.12-7, Prereq: /sbin/install-info %description The util-linux package contains a large variety of low-level system utilities that are necessary for a Linux system to function. Among others, Util-linux contains the fdisk configuration tool and the login program. %package -n mount Group: System Environment/Base Summary: Programs for mounting and unmounting filesystems. ExclusiveOS: Linux Prereq: mktemp /bin/awk /usr/bin/cmp textutils fileutils %description -n mount The mount package contains the mount, umount, swapon, and swapoff programs. Accessible files on your system are arranged in one big tree or hierarchy. These files can be spread out over several devices. The mount command attaches a filesystem on some device to your system's file tree. The umount command detaches a filesystem from the tree. Swapon and swapoff, respectively, specify and disable devices and files for paging and swapping. %package -n losetup Summary: Programs for setting up and configuring loopback devices. Group: System Environment/Base %description -n losetup Linux supports a special block device called the loop device, which maps a normal file onto a virtual block device. This allows for the file to be used as a "virtual file system" inside another file. Losetup is used to associate loop devices with regular files or block devices, to detach loop devices and to query the status of a loop device. %prep %setup -q -a 10 %patch0 -p1 -b .rhconfig %patch1 -p1 -b .nochkdupexe %patch2 -p1 -b .gecos # mount comes from its own rpm (again) %patch4 -p1 -b .mount #%patch8 -p1 -b .nomount #%patch9 -p1 -b .vipw %patch21 -p1 -b .nonroot %patch27 -p1 -b .moretc %patch35 -p1 -b .loginpath %ifarch s390 s390x %patch60 -p1 -b .s390x2 %patch61 -p1 -b .s390x %endif %patch70 -p1 -b .miscfixes %patch71 -p1 #%patch75 -p1 #%patch76 -p1 #%patch77 -p1 # mkcramfs cp %{SOURCE7} %{SOURCE6} . %patch100 -p1 -b .mkcramfs %patch101 -p1 -b .quiet # nologin cp %{SOURCE8} %{SOURCE9} . %patch102 -p1 -b .colrmeof #%patch200 -p0 -b .alphahack # Doesn't make sense %patch201 -p1 -b .docbug %patch202 -p1 -b .nfsman %patch204 -p1 -b .2gb #%patch205 -p1 -b .ia64 # Already integrated/doesn't make sense %patch206 -p1 -b .kudzu %patch207 -p1 -b .swapon %patch209 -p2 -b .swapoff %patch210 -p1 -b .largefile %patch211 -p2 -b .userumount %patch212 -p2 -b .netdev %patch220 -p1 -b .makej sed -e 's:^MAN_DIR=.*:MAN_DIR=%{_mandir}:' -e 's:^INFO_DIR=.*:INFO_DIR=%{_infodir}:' MCONFIG > MCONFIG.new mv MCONFIG.new MCONFIG %patch103 -p1 -b .ownerumount %patch104 -p1 -b .mkswapprint %patch105 -p1 -b .hexdump %patch106 -p1 -b .swaponsymlink %patch107 -p1 -b .procpartitions %patch108 -p1 -b .autosmb %patch109 -p1 -b .rawman %patch110 -p1 -b .skipraid %patch111 -p1 -b .mkfsman %patch112 -p1 -b .ipcrmman #%patch39 -p1 -b .ctty #%patch38 -p1 -b .ctty2 # Third time's the charm %patch113 -p1 -b .ctty3 %patch114 -p1 -b .dumboctal %patch115 -p1 -b .fstabperm %build unset LINGUAS || : %configure make "OPT=$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \ HAVE_PIVOT_ROOT=yes \ %{?_smp_mflags} make CFLAGS="$RPM_OPT_FLAGS" -C partx %{?_smp_mflags} cd rescuept cc $RPM_OPT_FLAGS -o rescuept rescuept.c cd .. %ifnarch s390 s390x pushd kbdrate cc $RPM_OPT_FLAGS -o kbdrate kbdrate.c popd %endif gcc $RPM_OPT_FLAGS -o mkcramfs mkcramfs.c -I. -lz gcc $RPM_OPT_FLAGS -o nologin nologin.c pushd sys-utils makeinfo --number-sections ipc.texi popd %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}/{bin,sbin} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_infodir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,6,8,5} mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps} make \ INSTALLDIR="install -d -m 755" \ INSTALLSUID="install -s -m 755" \ INSTALLBIN="install -s -m 755" \ INSTALLMAN="install -m 644" \ install DESTDIR=${RPM_BUILD_ROOT} install -s -m 755 mount/pivot_root ${RPM_BUILD_ROOT}/sbin install -m 644 mount/pivot_root.8 ${RPM_BUILD_ROOT}%{_mandir}/man8 install -m 755 rescuept/rescuept ${RPM_BUILD_ROOT}/sbin mv rescuept/README rescuept/README.rescuept install -m 755 mkcramfs ${RPM_BUILD_ROOT}/usr/bin install -m 755 nologin ${RPM_BUILD_ROOT}/sbin install -m 644 nologin.8 ${RPM_BUILD_ROOT}%{_mandir}/man8 %ifnarch s390 s390x install -m 555 kbdrate/kbdrate ${RPM_BUILD_ROOT}/sbin install -m 644 kbdrate/kbdrate.8 ${RPM_BUILD_ROOT}%{_mandir}/man8 ln -s consolehelper ${RPM_BUILD_ROOT}/usr/bin/kbdrate %endif echo '.so man8/raw.8' > $RPM_BUILD_ROOT%{_mandir}/man8/rawdevices.8 install -m 555 -s partx/{addpart,delpart,partx} $RPM_BUILD_ROOT/sbin # Correct mail spool path. sed -e 's,/usr/spool/mail,/var/spool/mail,g' ${RPM_BUILD_ROOT}%{_mandir}/man1/login.1 > ${RPM_BUILD_ROOT}%{_mandir}/man1/login.1.new mv ${RPM_BUILD_ROOT}%{_mandir}/man1/login.1.new ${RPM_BUILD_ROOT}%{_mandir}/man1/login.1 if [ "%{_infodir}" != "%{_prefix}/info" -a -d ${RPM_BUILD_ROOT}%{_prefix}/info ]; then ( cd ${RPM_BUILD_ROOT}%{_prefix}/info; tar cf - ./* ) | ( cd ${RPM_BUILD_ROOT}%{_infodir}; tar xf - ) ( cd ${RPM_BUILD_ROOT}%{_prefix}; rm -rf ./info ) fi %ifarch sparc sparc64 sparcv9 rm -rf ${RPM_BUILD_ROOT}%{_bindir}/sunhostid cat << E-O-F > ${RPM_BUILD_ROOT}%{_bindir}/sunhostid #!/bin/sh # this should be %{_bindir}/sunhostid or somesuch. # Copyright 1999 Peter Jones, . # GPL and all that good stuff apply. ( idprom=\`cat /proc/openprom/idprom\` echo \$idprom|dd bs=1 skip=2 count=2 echo \$idprom|dd bs=1 skip=27 count=6 echo ) 2>/dev/null E-O-F chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/sunhostid %endif gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ipc.info %ifnarch s390 s390x install -m644 kbdrate/kbdrate.apps $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/kbdrate install -m644 kbdrate/kbdrate.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/kbdrate %endif { pushd ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d install -m 644 ${RPM_SOURCE_DIR}/util-linux-2.7-login.pamd ./login install -m 644 ${RPM_SOURCE_DIR}/util-linux-2.7-chsh.pamd ./chsh install -m 644 ${RPM_SOURCE_DIR}/util-linux-2.7-chsh.pamd ./chfn popd } ln -sf ../../sbin/hwclock ${RPM_BUILD_ROOT}/usr/sbin/hwclock ln -sf ../../sbin/clock ${RPM_BUILD_ROOT}/usr/sbin/clock ln -sf hwclock ${RPM_BUILD_ROOT}/sbin/clock # We do not want dependencies on csh chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/misc/getopt/* rm -f fdisk/README.cfdisk %find_lang %{name} %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %post /sbin/install-info %{_infodir}/ipc.info* %{_infodir}/dir %postun if [ "$1" = 0 ]; then /sbin/install-info --del %{_infodir}/ipc.info* %{_infodir}/dir fi %files -f %{name}.lang %defattr(-,root,root) %doc */README.* /bin/arch /bin/dmesg /bin/kill %attr(755,root,root) /bin/login /bin/more %config %{_sysconfdir}/fdprm %config %{_sysconfdir}/pam.d/chfn %config %{_sysconfdir}/pam.d/chsh %config %{_sysconfdir}/pam.d/login /sbin/agetty /sbin/blockdev /sbin/pivot_root %ifnarch s390 s390x /sbin/clock %endif /sbin/ctrlaltdel /sbin/elvtune /sbin/fdisk /sbin/addpart /sbin/delpart /sbin/partx %ifarch %{ix86} alpha ia64 s390 s390x /sbin/fsck.minix /sbin/mkfs.minix /sbin/mkfs.bfs %{_mandir}/man8/fsck.minix.8* %{_mandir}/man8/mkfs.minix.8* %{_mandir}/man8/mkfs.bfs.8* /sbin/sfdisk %{_mandir}/man8/sfdisk.8* %doc fdisk/sfdisk.examples %endif %ifnarch s390 s390x /sbin/hwclock /usr/sbin/hwclock %endif /sbin/mkfs /sbin/mkswap #/sbin/mkfs.bfs /sbin/rescuept #/sbin/sln /sbin/nologin %{_mandir}/man8/nologin.8* # Begin kbdrate stuff %ifnarch s390 s390x /sbin/kbdrate /usr/bin/kbdrate %{_mandir}/man8/kbdrate.8* %{_sysconfdir}/pam.d/kbdrate %{_sysconfdir}/security/console.apps/kbdrate %endif %{_bindir}/cal %attr(4711,root,root) %{_bindir}/chfn %attr(4711,root,root) %{_bindir}/chsh %{_bindir}/col %{_bindir}/colcrt %{_bindir}/colrm %{_bindir}/column %ifarch %{ix86} alpha armv4l %{_bindir}/cytune %{_mandir}/man8/cytune.8* %endif %{_bindir}/ddate %{_bindir}/fdformat %{_bindir}/getopt %{_bindir}/hexdump %{_bindir}/ipcrm %{_bindir}/ipcs %{_bindir}/logger %{_bindir}/look %{_bindir}/mcookie %{_bindir}/mkcramfs %{_bindir}/namei %attr(4711,root,root) %{_bindir}/newgrp %{_bindir}/raw %{_bindir}/rename %{_bindir}/renice %{_bindir}/rev %{_bindir}/script %{_bindir}/setfdprm %{_bindir}/setsid %{_bindir}/setterm %ifarch sparc sparc64 sparcv9 %{_bindir}/sunhostid %endif #%{_bindir}/tsort %{_bindir}/ul %{_bindir}/whereis %attr(2755,root,tty) %{_bindir}/write %ifarch %{ix86} %{_sbindir}/rdev %{_sbindir}/ramsize %{_sbindir}/rootflags %{_sbindir}/vidmode %{_mandir}/man8/rdev.8* %{_mandir}/man8/ramsize.8* %{_mandir}/man8/rootflags.8* %{_mandir}/man8/vidmode.8* %endif %{_sbindir}/readprofile %ifnarch s390 %{_sbindir}/tunelp %endif %{_sbindir}/vipw %{_sbindir}/vigr %{_infodir}/ipc.info* %{_mandir}/man1/arch.1* %{_mandir}/man1/cal.1* %{_mandir}/man1/chfn.1* %{_mandir}/man1/chsh.1* %{_mandir}/man1/col.1* %{_mandir}/man1/colcrt.1* %{_mandir}/man1/colrm.1* %{_mandir}/man1/column.1* %{_mandir}/man1/ddate.1* %{_mandir}/man1/getopt.1* %{_mandir}/man1/hexdump.1* #%{_mandir}/man1/hostid.1* %{_mandir}/man1/kill.1* %{_mandir}/man1/logger.1* %{_mandir}/man1/login.1* %{_mandir}/man1/look.1* %{_mandir}/man1/mcookie.1* %{_mandir}/man1/more.1* %{_mandir}/man1/namei.1* %{_mandir}/man1/newgrp.1* %{_mandir}/man1/readprofile.1* %{_mandir}/man1/rename.1* %{_mandir}/man1/rev.1* %{_mandir}/man1/script.1* %{_mandir}/man1/setterm.1* #%{_mandir}/man1/tsort.1* %{_mandir}/man1/ul.1* %{_mandir}/man1/whereis.1* %{_mandir}/man1/write.1* %{_mandir}/man8/agetty.8* %{_mandir}/man8/blockdev.8* %{_mandir}/man8/ctrlaltdel.8* %{_mandir}/man8/dmesg.8* %{_mandir}/man8/elvtune.8* %{_mandir}/man8/fdformat.8* %{_mandir}/man8/fdisk.8* %ifnarch s390 s390x %{_mandir}/man8/hwclock.8* %endif %{_mandir}/man8/ipcrm.8* %{_mandir}/man8/ipcs.8* %{_mandir}/man8/mkfs.8* #%{_mandir}/man8/mkfs.bfs.8* %{_mandir}/man8/mkswap.8* %{_mandir}/man8/pivot_root.8* %{_mandir}/man8/raw.8* %{_mandir}/man8/rawdevices.8* %{_mandir}/man8/renice.8* %{_mandir}/man8/setfdprm.8* %{_mandir}/man8/setsid.8* # XXX this man page should be moved to glibc. %{_mandir}/man8/sln.8* %{_mandir}/man8/tunelp.8* %{_mandir}/man8/vigr.8* %{_mandir}/man8/vipw.8* %{_datadir}/misc/getopt %{_datadir}/misc/more.help %files -n mount %defattr(-,root,root) %attr(4755,root,root) /bin/mount %attr(4755,root,root) /bin/umount /sbin/swapon /sbin/swapoff %{_mandir}/man5/fstab.5* %{_mandir}/man5/nfs.5* %{_mandir}/man8/mount.8* %{_mandir}/man8/swapoff.8* %{_mandir}/man8/swapon.8* %{_mandir}/man8/umount.8* %files -n losetup %defattr(-,root,root) %{_mandir}/man8/losetup.8* /sbin/losetup %changelog * Sun Mar 31 2002 Elliot Lee 2.11n-11 - Apply patch115 from ejb@ql.org for bug #61868 * Wed Mar 27 2002 Elliot Lee 2.11n-10 - Finish fixing #60675 (ipcrm man page), updated the patch. - Fix #61203 (patch114 - dumboctal.patch). * Tue Mar 12 2002 Elliot Lee 2.11n-9 - Update ctty3 patch to ignore SIGHUP while dropping controlling terminal * Fri Mar 08 2002 Elliot Lee 2.11n-8 - Update ctty3 patch to drop controlling terminal before forking. * Fri Mar 08 2002 Elliot Lee 2.11n-7 Fix various bugs: - Add patch110 (skipraid) to properly skip devices that are part of a RAID array. - Add patch111 (mkfsman) to update the mkfs man page's "SEE ALSO" section. - remove README.cfdisk - Include partx - Fix 54741 and related bugs for good(hah!) with patch113 (ctty3) * Wed Mar 06 2002 Elliot Lee 2.11n-6 - Put kbdrate in, add usermode dep. * Tue Feb 26 2002 Elliot Lee 2.11n-5 - Fix #60363 (tweak raw.8 man page, make rawdevices.8 symlink). * Tue Jan 28 2002 Bill Nottingham 2.11n-4 - remove kbdrate (fixes kbd conflict) * Fri Dec 28 2001 Elliot Lee 2.11n-3 - Add util-linux-2.11n-ownerumount.patch (#56593) - Add patch102 (util-linux-2.11n-colrm.patch) to fix #51887 - Fix #53452 nits. - Fix #56953 (remove tunelp on s390) - Fix #56459, and in addition switch to using sed instead of perl. - Fix #58471 - Fix #57300 - Fix #37436 - Fix #32132 * Wed Dec 26 2001 Elliot Lee 2.11n-1 - Update to 2.11n - Merge mount/losetup back in. * Tue Dec 04 2001 Elliot Lee 2.11f-17 - Add patch38 (util-linux-2.11f-ctty2.patch) to ignore SIGINT/SIGTERM/SIGQUIT in the parent, so that ^\ won't break things. * Fri Nov 09 2001 Elliot Lee 2.11f-16 - Merge patches 36, 75, 76, and 77 into patch #37, to attempt resolve all the remaining issues with #54741. * Wed Oct 24 2001 Florian La Roche - add nologin man-page for s390/s390x * Wed Oct 24 2001 Bernhard Rosenkraenzer 2.11f-14 - Don't build kbdrate on s390/s390x - Don't make the pivot_root.8 man page executable(!) * Tue Oct 23 2001 Elliot Lee 2.11f-13 - Patch/idea #76 from HJL, fixes bug #54741 (race condition in login acquisition of controlling terminal). * Thu Oct 11 2001 Bill Nottingham - fix permissions problem with vipw & shadow files, again (doh!) * Tue Oct 09 2001 Erik Troan - added patch from Olaf Kirch to fix possible pwent structure overwriting * Fri Sep 28 2001 Elliot Lee 2.11f-10 - fdisk patch from arjan * Sun Aug 26 2001 Elliot Lee 2.11f-9 - Don't include cfdisk, since it appears to be an even bigger pile of junk than fdisk? :) * Wed Aug 1 2001 Tim Powers - don't require usermode * Mon Jul 30 2001 Elliot Lee 2.11f-7 - Incorporate kbdrate back in. * Mon Jul 30 2001 Bill Nottingham - revert the patch that calls setsid() in login that we had reverted locally but got integrated upstream (#46223) * Tue Jul 24 2001 Florian La Roche - correct s390x patch * Mon Jul 23 2001 Elliot Lee - Add my megapatch (various bugs) - Include pivot_root (#44828) * Thu Jul 12 2001 Bill Nottingham - make shadow files 0400, not 0600 * Wed Jul 11 2001 Bill Nottingham - fix permissions problem with vipw & shadow files * Mon Jun 18 2001 Florian La Roche - update to 2.11f, remove any merged patches - add s390x patches for somewhat larger swap * Thu Jun 14 2001 Erik Troan - added --verbose patch to mkcramfs; it's much quieter by default now * Tue May 22 2001 Erik Troan - removed warning about starting partitions on cylinder 0 -- swap version2 makes it unnecessary * Wed May 9 2001 Bernhard Rosenkraenzer 2.11b-2 - Fix up s390x support * Mon May 7 2001 Bernhard Rosenkraenzer 2.11b-1 - Fix up login for real (a console session should be the controlling tty) by reverting to 2.10s code (#36839, #36840, #39237) - Add man page for agetty (#39287) - 2.11b, while at it * Fri Apr 27 2001 Preston Brown 2.11a-4 - /sbin/nologin from OpenBSD added. * Fri Apr 20 2001 Bernhard Rosenkraenzer 2.11a-3 - Fix up login - exiting immediately even if the password is correct is not exactly a nice feature. - Make definite plans to kill people who update login without checking if the new version works ;) * Tue Apr 17 2001 Erik Troan - upgraded to 2.11a (kbdrate moved to kbd, among other things) - turned off ALLOW_VCS_USE - modified mkcramfs to not use a large number of file descriptors - include mkfs.bfs * Sun Apr 8 2001 Matt Wilson - changed Requires: kernel >= 2.2.12-7 to Conflicts: kernel < 2.2.12-7 (fixes a initscripts -> util-linux -> kernel -> initscripts prereq loop) * Tue Mar 20 2001 Matt Wilson - patched mkcramfs to use the PAGE_SIZE from asm/page.h instead of hard coding 4096 (fixes mkcramfs on alpha...) * Mon Mar 19 2001 Matt Wilson - added mkcramfs (from linux/scripts/mkcramfs) * Mon Feb 26 2001 Tim Powers - fixed bug #29131, where ipc.info didn't have an info dir entry, added the dir entry to ipc.texi (Patch58) * Fri Feb 23 2001 Preston Brown - use lang finder script - install info files * Thu Feb 08 2001 Erik Troan - reverted login patch; seems to cause problems - added agetty * Wed Feb 07 2001 Erik Troan - updated kill man page - added patch to fix vipw race - updated vipw to edit /etc/shadow and /etc/gshadow, if appropriate - added patch to disassociate login from tty, session, and pgrp * Tue Feb 06 2001 Erik Troan - fixed problem w/ empty extended partitions - added patch to fix the date in the more man page - set OPT to pass optimization flags to make rather then RPM_OPT_FLAG - fixed fdisk -l /Proc/partitions parsing - updated to 2.10s * Tue Jan 23 2001 Preston Brown - danish translations added * Mon Jan 15 2001 Nalin Dahyabhai - fix segfault in login in btmp patch (#24025) * Mon Dec 11 2000 Oliver Paukstadt - ported to s390 * Wed Nov 01 2000 Florian La Roche - update to 2.10p - update patch37 to newer fdisk version * Mon Oct 9 2000 Jeff Johnson - update to 2.10o - fdformat: fixed to work with kernel 2.4.0test6 (Marek Wojtowicz) - login: not installed suid - getopt: by default install aux files in /usr/share/misc - update to 2.10n: - added blockdev.8 - change to elvtune (andrea) - fixed overrun in agetty (vii@penguinpowered.com) - shutdown: prefer umounting by mount point (rgooch) - fdisk: added plan9 - fdisk: remove empty links in chain of extended partitions - hwclock: handle both /dev/rtc and /dev/efirtc (Bill Nottingham) - script: added -f (flush) option (Ivan Schreter) - script: added -q (quiet) option (Per Andreas Buer) - getopt: updated to version 1.1.0 (Frodo Looijaard) - Czech messages (Jiri Pavlovsky) - login.1 man page had not /var/spool/mail path (#16998). - sln.8 man page (but not executable) included (#10601). - teach fdisk 0xde(Dell), 0xee(EFI GPT), 0xef(EFI FAT) partitions (#17610). * Wed Aug 30 2000 Matt Wilson - rebuild to cope with glibc locale binary incompatibility, again * Mon Aug 14 2000 Jeff Johnson - setfdprm should open with O_WRONLY, not 3. * Fri Aug 11 2000 Jeff Johnson - fdformat should open with O_WRONLY, not 3. * Fri Jul 21 2000 Nalin Dahyabhai - make 'look' look in /usr/share/dict * Fri Jul 21 2000 Bill Nottingham - put /usr/local/sbin:/usr/local/bin in root's path * Wed Jul 19 2000 Jakub Jelinek - rebuild to cope with glibc locale binary incompatibility * Thu Jul 13 2000 Prospector - automatic rebuild * Mon Jul 10 2000 Bill Nottingham - enable hwclock to use /dev/efirtc on ia64 (gettext is fun. :( ) * Mon Jul 3 2000 Bill Nottingham - move cfdisk to /usr/sbin, it depends on /usr stuff - add rescuept * Fri Jun 23 2000 Bernhard Rosenkraenzer - point more at the correct path to vi (for "v"), Bug #10882 * Sun Jun 4 2000 Jeff Johnson - FHS packaging changes. * Thu Jun 1 2000 Nalin Dahyabhai - modify PAM setup to use system-auth * Mon May 1 2000 Bill Nottingham - eek, where did login go? (specfile tweaks) * Mon Apr 17 2000 Bernhard Rosenkraenzer - 2.10k - fix compilation with current glibc * Tue Mar 21 2000 Bernhard Rosenkraenzer - 2.10h * Tue Mar 7 2000 Jeff Johnson - rebuild for sparc baud rates > 38400. * Sat Mar 4 2000 Matt Wilson - use snprintf - not sprintf - when doing sprintf ("%s\n", _("Some string")) to avoid overflows and segfaults. * Mon Feb 21 2000 Jeff Johnson - raw control file was /dev/raw, now /dev/rawctl. - raw access files were /dev/raw*, now /dev/raw/raw*. * Thu Feb 17 2000 Erik Troan - -v argument to mkswap wasn't working * Thu Feb 10 2000 Jakub Jelinek - Recognize 0xfd on Sun disklabels as RAID * Tue Feb 8 2000 Bill Nottingham - more lives in /bin, and was linked against /usr/lib/libnurses. Bad. * Thu Feb 03 2000 Jakub Jelinek - update to 2.10f - fix issues in the new realpath code, avoid leaking memory * Tue Feb 01 2000 Cristian Gafton - rebuild to fix dependencies - add NFSv3 patches * Fri Jan 28 2000 Bill Nottingham - don't require csh * Mon Jan 24 2000 Nalin Dahyabhai - update to 2.10e - add rename * Thu Jan 20 2000 Jeff Johnson - strip newlines in logger input. * Mon Jan 10 2000 Jeff Johnson - rebuild with correct ncurses libs. * Tue Dec 7 1999 Matt Wilson - updated to util-linux 2.10c - deprecated IMAP login mail notification patch17 - deprecated raw patch22 - depricated readprofile patch24 * Tue Dec 7 1999 Bill Nottingham - add patch for readprofile * Thu Nov 18 1999 Michael K. Johnson - tunelp should come from util-linux * Tue Nov 9 1999 Jakub Jelinek - kbdrate cannot use /dev/port on sparc. * Wed Nov 3 1999 Jakub Jelinek - fix kbdrate on sparc. * Wed Oct 27 1999 Bill Nottingham - ship hwclock on alpha. * Tue Oct 5 1999 Bill Nottingham - don't ship symlinks to rdev if we don't ship rdev. * Tue Sep 07 1999 Cristian Gafton - add rawIO support from sct * Mon Aug 30 1999 Preston Brown - don't display "new mail" message when the only piece of mail is from IMAP * Fri Aug 27 1999 Michael K. Johnson - kbdrate is now a console program * Thu Aug 26 1999 Jeff Johnson - hostid is now in sh-utils. On sparc, install hostid as sunhostid (#4581). - update to 2.9w: - Updated mount.8 (Yann Droneaud) - Improved makefiles - Fixed flaw in fdisk * Tue Aug 10 1999 Jeff Johnson - tsort is now in textutils. * Wed Aug 4 1999 Bill Nottingham - turn off setuid bit on login. Again. :( * Tue Aug 3 1999 Peter Jones, - hostid script for sparc (#3803). * Tue Aug 03 1999 Christian 'Dr. Disk' Hechelmann - added locale message catalogs to %file - added patch for non-root build - vigr.8 and /usr/lib/getopt man-page was missing from file list - /etc/fdprm really is a config file * Fri Jul 23 1999 Jeff Johnson - update to 2.9v: - cfdisk no longer believes the kernel's HDGETGEO (and may be able to partition a 2 TB disk) * Fri Jul 16 1999 Jeff Johnson - update to 2.9u: - Czech more.help and messages (Jiøí Pavlovský) - Japanese messages (Daisuke Yamashita) - fdisk fix (Klaus G. Wagner) - mount fix (Hirokazu Takahashi) - agetty: enable hardware flow control (Thorsten Kranzkowski) - minor cfdisk improvements - fdisk no longer accepts a default device - Makefile fix * Tue Jul 6 1999 Jeff Johnson - update to 2.9t: - national language support for hwclock - Japanese messages (both by Daisuke Yamashita) - German messages and some misc i18n fixes (Elrond) - Czech messages (Jiøí Pavlovský) - wall fixed for /dev/pts/xx ttys - make last and wall use getutent() (Sascha Schumann) [Maybe this is bad: last reading all of wtmp may be too slow. Revert in case people complain.] - documented UUID= and LABEL= in fstab.5 - added some partition types - swapon: warn only if verbose * Fri Jun 25 1999 Jeff Johnson - update to 2.9s. * Sat May 29 1999 Jeff Johnson - fix mkswap sets incorrect bits on sparc64 (#3140). * Thu Apr 15 1999 Jeff Johnson - on sparc64 random ioctls on clock interface cause kernel messages. * Thu Apr 15 1999 Jeff Johnson - improved raid patch (H.J. Lu). * Wed Apr 14 1999 Michael K. Johnson - added patch for smartraid controllers * Sat Apr 10 1999 Cristian Gafton - fix logging problems caused by setproctitle and PAM interaction (#2045) * Wed Mar 31 1999 Jeff Johnson - include docs and examples for sfdisk (#1164) * Mon Mar 29 1999 Matt Wilson - rtc is not working properly on alpha, we can't use hwclock yet. * Fri Mar 26 1999 Cristian Gafton - add patch to make mkswap more 64 bit friendly... Patch from eranian@hpl.hp.com (ahem!) * Thu Mar 25 1999 Jeff Johnson - include sfdisk (#1164) - fix write (#1784) - use positive logic in spec file (%ifarch rather than %ifnarch). - (re)-use 1st matching utmp slot if search by mypid not found. - update to 2.9o - lastb wants bad logins in wtmp clone /var/run/btmp (#884) * Thu Mar 25 1999 Jakub Jelinek - if hwclock is to be compiled on sparc, it must actually work. Also, it should obsolete clock, otherwise it clashes. - limit the swap size in mkswap for 2.2.1+ kernels by the actual maximum size kernel can handle. - fix kbdrate on sparc, patch by J. S. Connell * Wed Mar 24 1999 Matt Wilson - added pam_console back into pam.d/login * Tue Mar 23 1999 Matt Wilson - updated to 2.9i - added hwclock for sparcs and alpha * Mon Mar 22 1999 Erik Troan - added vigr to file list * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 12) * Thu Mar 18 1999 Cristian Gafton - remove most of the ifnarch arm stuff * Mon Mar 15 1999 Michael Johnson - added pam_console.so to /etc/pam.d/login * Thu Feb 4 1999 Michael K. Johnson - .perms patch to login to make it retain root in parent process for pam_close_session to work correctly * Tue Jan 12 1999 Jeff Johnson - strip fdisk in buildroot correctly (#718) * Mon Jan 11 1999 Cristian Gafton - have fdisk compiled on sparc and arm * Mon Jan 11 1999 Erik Troan - added beos partition type to fdisk * Wed Dec 30 1998 Cristian Gafton - incorporate fdisk on all arches * Sat Dec 5 1998 Jeff Johnson - restore PAM functionality at end of login (Bug #201) * Thu Dec 03 1998 Cristian Gafton - patch top build on the arm without PAM and related utilities, for now. - build hwclock only on intel * Wed Nov 18 1998 Cristian Gafton - upgraded to version 2.9 * Thu Oct 29 1998 Bill Nottingham - build for Raw Hide (slang-1.2.2) - patch kbdrate wackiness so it builds with egcs * Tue Oct 13 1998 Erik Troan - patched more to use termcap * Mon Oct 12 1998 Erik Troan - added warning about alpha/bsd label starting cylinder * Mon Sep 21 1998 Erik Troan - use sigsetjmp/siglongjmp in more rather then sig'less versions * Fri Sep 11 1998 Jeff Johnson - explicit attrs for setuid/setgid programs * Thu Aug 27 1998 Cristian Gafton - sln is now included in glibc * Sun Aug 23 1998 Jeff Johnson - add cbm1581 floppy definitions (problem #787) * Mon Jun 29 1998 Jeff Johnson - remove /etc/nologin at end of shutdown/halt. * Fri Jun 19 1998 Jeff Johnson - add mount/losetup. * Thu Jun 18 1998 Jeff Johnson - update to 2.8 with 2.8b clean up. hostid now defunct? * Mon Jun 01 1998 David S. Miller - "more" now works properly on sparc * Sat May 02 1998 Jeff Johnson - Fix "fdisk -l" fault on mounted cdrom. (prob #513) * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Sat Apr 11 1998 Cristian Gafton - manhattan rebuild * Mon Dec 29 1997 Erik Troan - more didn't suspend properly on glibc - use proper tc*() calls rather then ioctl's * Sun Dec 21 1997 Cristian Gafton - fixed a security problem in chfn and chsh accepting too long gecos fields * Fri Dec 19 1997 Mike Wangsmo - removed "." from default path * Tue Dec 02 1997 Cristian Gafton - added (again) the vipw patch * Wed Oct 22 1997 Michael Fulbright - minor cleanups for glibc 2.1 * Fri Oct 17 1997 Michael Fulbright - added vfat32 filesystem type to list recognized by fdisk * Fri Oct 10 1997 Erik Troan - don't build clock on the alpha - don't install chkdupexe * Thu Oct 02 1997 Michael K. Johnson - Update to new pam standard. - BuildRoot. * Thu Sep 25 1997 Cristian Gafton - added rootok and setproctitle patches - updated pam config files for chfn and chsh * Tue Sep 02 1997 Erik Troan - 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 - update to util-linux 2.7, fixed login problems * Wed Jun 25 1997 Erik Troan - 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 - LOG_AUTH --> LOG_AUTHPRIV in login and shutdown * Mon Mar 03 1997 Michael K. Johnson - Moved to new pam and from pam.conf to pam.d * Tue Feb 25 1997 Michael K. Johnson - 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.