* Sat Jul 25 2009 Karel Zak <kzak@redhat.com> 1.41.8-4
- disable libuuid and uuidd (replaced by util-linux-ng)
This commit is contained in:
parent
862108f052
commit
acc7e2660f
121
e2fsprogs.spec
121
e2fsprogs.spec
@ -4,19 +4,17 @@
|
|||||||
Summary: Utilities for managing ext2, ext3, and ext4 filesystems
|
Summary: Utilities for managing ext2, ext3, and ext4 filesystems
|
||||||
Name: e2fsprogs
|
Name: e2fsprogs
|
||||||
Version: 1.41.8
|
Version: 1.41.8
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
# License tags based on COPYING file distinctions for various components
|
# License tags based on COPYING file distinctions for various components
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source1: ext2_types-wrapper.h
|
Source1: ext2_types-wrapper.h
|
||||||
Source3: uuidd.init
|
|
||||||
Patch2: e2fsprogs-1.40.4-sb_feature_check_ignore.patch
|
Patch2: e2fsprogs-1.40.4-sb_feature_check_ignore.patch
|
||||||
|
|
||||||
Url: http://e2fsprogs.sourceforge.net/
|
Url: http://e2fsprogs.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: e2fsprogs-libs = %{version}-%{release}
|
Requires: e2fsprogs-libs = %{version}-%{release}
|
||||||
Requires: device-mapper
|
|
||||||
|
|
||||||
# e4fsprogs was a parallel ext4-capable package in RHEL5.x
|
# e4fsprogs was a parallel ext4-capable package in RHEL5.x
|
||||||
%if 0%{?rhel} > 0
|
%if 0%{?rhel} > 0
|
||||||
@ -27,6 +25,7 @@ Provides: e4fsprogs = %{version}-%{release}
|
|||||||
BuildRequires: pkgconfig, texinfo, libselinux-devel
|
BuildRequires: pkgconfig, texinfo, libselinux-devel
|
||||||
BuildRequires: libsepol-devel
|
BuildRequires: libsepol-devel
|
||||||
BuildRequires: libblkid-devel
|
BuildRequires: libblkid-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The e2fsprogs package contains a number of utilities for creating,
|
The e2fsprogs package contains a number of utilities for creating,
|
||||||
@ -61,7 +60,6 @@ Group: Development/Libraries
|
|||||||
License: GPLv2 and LGPLv2
|
License: GPLv2 and LGPLv2
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Requires: e2fsprogs-libs = %{version}-%{release}
|
Requires: e2fsprogs-libs = %{version}-%{release}
|
||||||
Requires: device-mapper-devel >= 1.02.02-3
|
|
||||||
Requires: gawk
|
Requires: gawk
|
||||||
Requires: libcom_err-devel
|
Requires: libcom_err-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
@ -77,18 +75,6 @@ You should install e2fsprogs-devel if you want to develop ext2/3/4
|
|||||||
filesystem-specific programs. If you install e2fsprogs-devel, you'll
|
filesystem-specific programs. If you install e2fsprogs-devel, you'll
|
||||||
also want to install e2fsprogs.
|
also want to install e2fsprogs.
|
||||||
|
|
||||||
%package -n uuidd
|
|
||||||
Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
|
|
||||||
Group: System Environment/Daemons
|
|
||||||
Requires: libuuid = %{version}-%{release}
|
|
||||||
License: GPLv2
|
|
||||||
Requires(pre): shadow-utils
|
|
||||||
|
|
||||||
%description -n uuidd
|
|
||||||
The uuidd package contains a userspace daemon (uuidd) which guarantees
|
|
||||||
uniqueness of time-based UUID generation even at very high rates on
|
|
||||||
SMP systems.
|
|
||||||
|
|
||||||
%package -n libcom_err
|
%package -n libcom_err
|
||||||
Summary: Common error description library
|
Summary: Common error description library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -144,44 +130,6 @@ parses a command table to generate a simple command-line interface parser.
|
|||||||
|
|
||||||
It was originally inspired by the Multics SubSystem library.
|
It was originally inspired by the Multics SubSystem library.
|
||||||
|
|
||||||
%package -n libuuid
|
|
||||||
Summary: Universally unique ID library
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: BSD
|
|
||||||
|
|
||||||
%description -n libuuid
|
|
||||||
This is the universally unique ID library, part of e2fsprogs.
|
|
||||||
|
|
||||||
The libuuid library generates and parses 128-bit universally unique
|
|
||||||
id's (UUID's). A UUID is an identifier that is unique across both
|
|
||||||
space and time, with respect to the space of all UUIDs. A UUID can
|
|
||||||
be used for multiple purposes, from tagging objects with an extremely
|
|
||||||
short lifetime, to reliably identifying very persistent objects
|
|
||||||
across a network.
|
|
||||||
|
|
||||||
See also the "uuid" package, which is a separate implementation.
|
|
||||||
|
|
||||||
%package -n libuuid-devel
|
|
||||||
Summary: Universally unique ID library
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: BSD
|
|
||||||
Provides: libuuid-static = %{version}-%{release}
|
|
||||||
Requires: libuuid = %{version}-%{release}
|
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description -n libuuid-devel
|
|
||||||
This is the universally unique ID development library and headers,
|
|
||||||
part of e2fsprogs.
|
|
||||||
|
|
||||||
The libuuid library generates and parses 128-bit universally unique
|
|
||||||
id's (UUID's). A UUID is an identifier that is unique across both
|
|
||||||
space and time, with respect to the space of all UUIDs. A UUID can
|
|
||||||
be used for multiple purposes, from tagging objects with an extremely
|
|
||||||
short lifetime, to reliably identifying very persistent objects
|
|
||||||
across a network.
|
|
||||||
|
|
||||||
See also the "uuid-devel" package, which is a separate implementation.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# ignore some flag differences on primary/backup sb feature checks
|
# ignore some flag differences on primary/backup sb feature checks
|
||||||
@ -190,8 +138,8 @@ See also the "uuid-devel" package, which is a separate implementation.
|
|||||||
%patch2 -p1 -b .featurecheck
|
%patch2 -p1 -b .featurecheck
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-elf-shlibs --enable-nls \
|
%configure --enable-elf-shlibs --enable-nls --disable-uuidd \
|
||||||
--disable-e2initrd-helper --disable-libblkid
|
--disable-e2initrd-helper --disable-libblkid --disable-libuuid
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -209,11 +157,6 @@ mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types.h \
|
|||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/ext2fs/ext2_types.h
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/ext2fs/ext2_types.h
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Our own initscript for uuidd
|
|
||||||
install -D -m 755 %{SOURCE3} %{buildroot}/%{_initrddir}/uuidd
|
|
||||||
# And a dir uuidd needs that the makefiles don't create
|
|
||||||
install -d %{buildroot}/var/lib/libuuid
|
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -240,26 +183,6 @@ exit 0
|
|||||||
%post -n libss -p /sbin/ldconfig
|
%post -n libss -p /sbin/ldconfig
|
||||||
%postun -n libss -p /sbin/ldconfig
|
%postun -n libss -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libuuid -p /sbin/ldconfig
|
|
||||||
%postun -n libuuid -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%pre -n uuidd
|
|
||||||
getent group uuidd >/dev/null || groupadd -r uuidd
|
|
||||||
getent passwd uuidd >/dev/null || \
|
|
||||||
useradd -r -g uuidd -d /var/lib/libuuid -s /sbin/nologin \
|
|
||||||
-c "UUID generator helper daemon" uuidd
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%post -n uuidd
|
|
||||||
/sbin/chkconfig --add uuidd
|
|
||||||
|
|
||||||
%preun -n uuidd
|
|
||||||
if [ "$1" = 0 ]
|
|
||||||
then
|
|
||||||
/sbin/service uuidd stop > /dev/null 2>&1 || :
|
|
||||||
/sbin/chkconfig --del uuidd
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING README RELEASE-NOTES
|
%doc COPYING README RELEASE-NOTES
|
||||||
@ -290,10 +213,8 @@ fi
|
|||||||
|
|
||||||
%{_bindir}/chattr
|
%{_bindir}/chattr
|
||||||
%{_bindir}/lsattr
|
%{_bindir}/lsattr
|
||||||
%{_bindir}/uuidgen
|
|
||||||
%{_mandir}/man1/chattr.1*
|
%{_mandir}/man1/chattr.1*
|
||||||
%{_mandir}/man1/lsattr.1*
|
%{_mandir}/man1/lsattr.1*
|
||||||
%{_mandir}/man1/uuidgen.1*
|
|
||||||
|
|
||||||
%{_mandir}/man5/e2fsck.conf.5*
|
%{_mandir}/man5/e2fsck.conf.5*
|
||||||
%{_mandir}/man5/mke2fs.conf.5*
|
%{_mandir}/man5/mke2fs.conf.5*
|
||||||
@ -340,14 +261,6 @@ fi
|
|||||||
%{_includedir}/e2p
|
%{_includedir}/e2p
|
||||||
%{_includedir}/ext2fs
|
%{_includedir}/ext2fs
|
||||||
|
|
||||||
%files -n uuidd
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
|
||||||
%{_initrddir}/uuidd
|
|
||||||
%{_mandir}/man8/uuidd.8*
|
|
||||||
%attr(-, uuidd, uuidd) %{_sbindir}/uuidd
|
|
||||||
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
|
|
||||||
|
|
||||||
%files -n libcom_err
|
%files -n libcom_err
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
@ -379,30 +292,10 @@ fi
|
|||||||
%{_mandir}/man1/mk_cmds.1*
|
%{_mandir}/man1/mk_cmds.1*
|
||||||
%{_libdir}/pkgconfig/ss.pc
|
%{_libdir}/pkgconfig/ss.pc
|
||||||
|
|
||||||
%files -n libuuid
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
|
||||||
%{_root_libdir}/libuuid.so.*
|
|
||||||
|
|
||||||
%files -n libuuid-devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libuuid.a
|
|
||||||
%{_libdir}/libuuid.so
|
|
||||||
%{_includedir}/uuid
|
|
||||||
%{_mandir}/man3/uuid.3*
|
|
||||||
%{_mandir}/man3/uuid_clear.3*
|
|
||||||
%{_mandir}/man3/uuid_compare.3*
|
|
||||||
%{_mandir}/man3/uuid_copy.3*
|
|
||||||
%{_mandir}/man3/uuid_generate.3*
|
|
||||||
%{_mandir}/man3/uuid_generate_random.3*
|
|
||||||
%{_mandir}/man3/uuid_generate_time.3*
|
|
||||||
%{_mandir}/man3/uuid_is_null.3*
|
|
||||||
%{_mandir}/man3/uuid_parse.3*
|
|
||||||
%{_mandir}/man3/uuid_time.3*
|
|
||||||
%{_mandir}/man3/uuid_unparse.3*
|
|
||||||
%{_libdir}/pkgconfig/uuid.pc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 25 2009 Karel Zak <kzak@redhat.com> 1.41.8-4
|
||||||
|
- disable libuuid and uuidd (replaced by util-linux-ng)
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41.8-3
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41.8-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
74
uuidd.init
74
uuidd.init
@ -1,74 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# uuidd uuidd daemon for unique time-based UUID generation
|
|
||||||
#
|
|
||||||
# Author: Eric Sandeen <sandeen@redhat.com>
|
|
||||||
#
|
|
||||||
# chkconfig: - 60 99
|
|
||||||
#
|
|
||||||
# description: uuidd is a helper daemon to guarantee uniqueness of \
|
|
||||||
# time-based UUIDs when using libuuid.
|
|
||||||
# processname: uuidd
|
|
||||||
# pidfile: /var/lib/libuuid/uuidd.pid
|
|
||||||
#
|
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: uuidd
|
|
||||||
# Required-Start: $time $local_fs
|
|
||||||
# Required-Stop: $time $local_fs
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: UUID daemon
|
|
||||||
# Description: Daemon which guarantees uniqueness of time-based UUIDS
|
|
||||||
# when using libuuid.
|
|
||||||
### END INIT INFO
|
|
||||||
|
|
||||||
|
|
||||||
# source function library
|
|
||||||
. /etc/rc.d/init.d/functions
|
|
||||||
|
|
||||||
RETVAL=0
|
|
||||||
DAEMON=uuidd
|
|
||||||
|
|
||||||
start() {
|
|
||||||
echo -n $"Starting uuidd: "
|
|
||||||
daemon --user uuidd --pidfile /var/lib/libuuid/uuidd.pid /usr/sbin/uuidd
|
|
||||||
RETVAL=$?
|
|
||||||
echo
|
|
||||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/uuidd
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
echo -n $"Stopping uuidd: "
|
|
||||||
killproc uuidd
|
|
||||||
echo
|
|
||||||
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/uuidd
|
|
||||||
}
|
|
||||||
|
|
||||||
restart() {
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
start
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
stop
|
|
||||||
;;
|
|
||||||
restart|force-reload|reload)
|
|
||||||
restart
|
|
||||||
;;
|
|
||||||
condrestart)
|
|
||||||
[ -f /var/lock/subsys/uuidd ] && restart
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
status -p /var/lib/libuuid/uuidd.pid uuidd uuidd
|
|
||||||
RETVAL=$?
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit $RETVAL
|
|
Loading…
Reference in New Issue
Block a user