Blame SPECS/lockdev.spec

4f8e46
# Where lock files are stored
4f8e46
%global _lockdir /run/lock/lockdev
4f8e46
4f8e46
%global checkout 20111007git
4f8e46
%global co_date  2011-10-07
4f8e46
4f8e46
#http://lists.fedoraproject.org/pipermail/devel/2011-August/155358.html
4f8e46
%global _hardened_build 1
4f8e46
4f8e46
Summary: A library for locking devices
4f8e46
Name: lockdev
4f8e46
Version: 1.0.4
4f8e46
Release: 0.37.%{checkout}%{?dist}
4f8e46
License: LGPLv2
4f8e46
URL: https://alioth.debian.org/projects/lockdev/
4f8e46
4f8e46
# This is a nightly snapshot downloaded via
4f8e46
# https://alioth.debian.org/snapshots.php?group_id=100443
4f8e46
Source0: lockdev-%{version}.%{checkout}.tar.gz
4f8e46
4f8e46
Patch1: lockdev-euidaccess.patch
4f8e46
Patch2: 0001-major-and-minor-functions-moved-to-sysmacros.h.patch
4f8e46
4f8e46
Requires(pre): shadow-utils
4f8e46
Requires(post): glibc
4f8e46
Requires(postun): glibc
4f8e46
Requires: systemd
4f8e46
4f8e46
BuildRequires: autoconf
4f8e46
BuildRequires: automake
4f8e46
BuildRequires: libtool
4f8e46
BuildRequires: perl-interpreter
4f8e46
BuildRequires: perl(ExtUtils::MakeMaker)
4f8e46
BuildRequires: systemd
4f8e46
BuildRequires: make
4f8e46
4f8e46
%description
4f8e46
Lockdev provides a reliable way to put an exclusive lock to devices
4f8e46
using both FSSTND and SVr4 methods.
4f8e46
4f8e46
%package devel
4f8e46
Summary: The header files for the lockdev library
4f8e46
Requires: lockdev = %{version}-%{release}
4f8e46
4f8e46
%description devel
4f8e46
The lockdev library provides a reliable way to put an exclusive lock
4f8e46
on devices using both FSSTND and SVr4 methods. The lockdev-devel
4f8e46
package contains the development headers.
4f8e46
4f8e46
4f8e46
%prep
4f8e46
%setup -q -n lockdev-scm-%{co_date}
4f8e46
4f8e46
# Replace access() calls with euidaccess() (600636#c33)
4f8e46
%patch1 -p1 -b .access
4f8e46
%patch2 -p1
4f8e46
4f8e46
%build
4f8e46
# Generate version information from git release tag
4f8e46
./scripts/git-version > VERSION
4f8e46
4f8e46
# To satisfy automake
4f8e46
touch ChangeLog
4f8e46
4f8e46
# Bootstrap autotools
4f8e46
autoreconf --verbose --force --install
4f8e46
4f8e46
CFLAGS="%{optflags} -D_PATH_LOCK=\\\"%{_lockdir}\\\"" \
4f8e46
%configure --disable-static --enable-helper --disable-silent-rules
4f8e46
4f8e46
make %{?_smp_mflags}
4f8e46
4f8e46
%install
4f8e46
make install DESTDIR=%{buildroot}
4f8e46
4f8e46
rm -f %{buildroot}%{_libdir}/*.la
4f8e46
4f8e46
# %%ghosted, but needs to be in buildroot
4f8e46
# on reboot re-created by %%{_prefix}/lib/tmpfiles.d/legacy.conf
4f8e46
mkdir -p %{buildroot}%{_lockdir}
4f8e46
4f8e46
# install /usr/lib/tmpfiles.d/lockdev.conf (#1324184)
4f8e46
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
4f8e46
cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/lockdev.conf <
4f8e46
# See tmpfiles.d(5) for details
4f8e46
4f8e46
d %{_lockdir} 0775 root lock -
4f8e46
EOF
4f8e46
4f8e46
%pre
4f8e46
getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 || :
4f8e46
4f8e46
%post
4f8e46
if [ $1 -eq 1 ] ; then
4f8e46
# for the time until first reboot
4f8e46
%tmpfiles_create lockdev.conf
4f8e46
fi
4f8e46
4f8e46
%files
4f8e46
%{license} COPYING
4f8e46
%doc AUTHORS
4f8e46
%ghost %dir %attr(0775,root,lock) %{_lockdir}
4f8e46
%attr(2711,root,lock)  %{_sbindir}/lockdev
4f8e46
%{_tmpfilesdir}/lockdev.conf
4f8e46
%{_libdir}/*.so.*
4f8e46
%{_mandir}/man8/*
4f8e46
4f8e46
%files devel
4f8e46
%{_libdir}/*.so
4f8e46
%{_libdir}/pkgconfig/lockdev.pc
4f8e46
%{_mandir}/man3/*
4f8e46
%{_includedir}/*
4f8e46
4f8e46
%changelog
4f8e46
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.37.20111007git
4f8e46
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
4f8e46
  Related: rhbz#1991688
4f8e46
4f8e46
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.36.20111007git
4f8e46
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
4f8e46
4f8e46
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.35.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4f8e46
4f8e46
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.34.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4f8e46
4f8e46
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.33.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4f8e46
4f8e46
* Wed Oct 30 2019 Kalev Lember <klember@redhat.com> - 1.0.4-0.32.20111007git
4f8e46
- Fix the build with latest rpmbuild (#1736075)
4f8e46
4f8e46
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.31.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4f8e46
4f8e46
* Thu Mar 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-0.30.20111007git
4f8e46
- Remove obsolete scriptlets
4f8e46
4f8e46
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.29.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4f8e46
4f8e46
* Wed Jul 25 2018 Sebastian Kisela <skisela@redhat.com> - 1.0.4-0.28.
4f8e46
- Explicitly include <sys/sysmacros.h> due to glibc-headers changes.
4f8e46
Definition of major and minor macros is no longer transitively included
4f8e46
through <sys/types.h>, hence make it explicit.
4f8e46
Ref:
4f8e46
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD
4f8e46
4f8e46
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.27.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4f8e46
4f8e46
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.26.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4f8e46
4f8e46
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.25.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4f8e46
4f8e46
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.24.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4f8e46
4f8e46
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.23.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4f8e46
4f8e46
* Wed Apr 06 2016 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.22.20111007git
4f8e46
- /run/lock/lockdev no longer created by systemd (#1324184)
4f8e46
4f8e46
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.21.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4f8e46
4f8e46
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.20.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4f8e46
4f8e46
* Mon Nov 03 2014 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.19.20111007git
4f8e46
- change _lockdir from /var/lock/lockdev to /run/lock/lockdev
4f8e46
4f8e46
* Thu Sep 18 2014 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.18.20111007git
4f8e46
- better euidaccess.patch from Paolo Bonzini (#600636#c33)
4f8e46
4f8e46
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.17.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4f8e46
4f8e46
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.16.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4f8e46
4f8e46
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.0.4-0.15.20111007git
4f8e46
- BuildRequire systemd for %%tmpfiles_create.
4f8e46
4f8e46
* Thu Dec 05 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.14.20111007git
4f8e46
- Define _GNU_SOURCE in lockdev.c
4f8e46
4f8e46
* Thu Nov 28 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.13.20111007git
4f8e46
- revert previous change and use %%tmpfiles_create in %%post
4f8e46
4f8e46
* Wed Nov 27 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.12.20111007git
4f8e46
- do not %%ghost /var/lock/lockdev (https://fedorahosted.org/fesco/ticket/525)
4f8e46
4f8e46
* Mon Aug 26 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.11.20111007git
4f8e46
- Remove the %%post scriptlet completely (#983772)
4f8e46
4f8e46
* Mon Aug 26 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.10.20111007git
4f8e46
- Silence possible %%post scriptlet errors (#983772)
4f8e46
4f8e46
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.9.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4f8e46
4f8e46
* Fri Jul 12 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.8.20111007git
4f8e46
- %%{_lockdir} is %%ghost-ed (#983772)
4f8e46
4f8e46
* Mon Jun 03 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.7.20111007git
4f8e46
- Replace access() calls with euidaccess(), build with -D_GNU_SOURCE (600636#c9)
4f8e46
4f8e46
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.6.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4f8e46
4f8e46
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.5.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4f8e46
4f8e46
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.4.20111007git
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4f8e46
4f8e46
* Thu Oct 20 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.3.20111007git
4f8e46
- Define _hardened_build
4f8e46
4f8e46
* Wed Oct 19 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.2.20111007git
4f8e46
- Fixed URL
4f8e46
- Removed unused patches
4f8e46
4f8e46
* Fri Oct 07 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.1.20111007git
4f8e46
- pre 1.0.4 nightly snapshot
4f8e46
4f8e46
* Mon Apr 04 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-10
4f8e46
- Revert previous change (#681898)
4f8e46
- /etc/tmpfiles.d/lockdev.conf moved into systemd upstream (#692714)
4f8e46
4f8e46
* Thu Mar 03 2011 Jan Görig <jgorig@redhat.com> - 1.0.3-9
4f8e46
- Change /var/lock/lockdev permissions to 1777 (#681898)
4f8e46
4f8e46
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-8
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4f8e46
4f8e46
* Thu Nov 25 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-7
4f8e46
- Fixed some rpmlint warnings
4f8e46
4f8e46
* Thu Nov 25 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-6
4f8e46
- Added /etc/tmpfiles.d/lockdev.conf to enable lock directory on tmpfs (#656614)
4f8e46
- Don't ship static library at all
4f8e46
4f8e46
* Mon Apr 19 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-5
4f8e46
- Changed directory for lock files from /var/lock to /var/lock/lockdev (#581884)
4f8e46
4f8e46
* Thu Jan 21 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-4
4f8e46
- Created -static subpackage to ship static library separately
4f8e46
- Updated lockdev.8 manpage
4f8e46
4f8e46
* Thu Dec 10 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-3
4f8e46
- Correct rh.patch
4f8e46
4f8e46
* Thu Dec 10 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-2
4f8e46
- Correct rh.patch
4f8e46
4f8e46
* Mon Dec 07 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-1
4f8e46
- 1.0.3.  No longer need 1.0.0-signal, 1.0.1-subdir, 1.0.1-fcntl, 1.0.1-32bit patches.
4f8e46
- Renumbered patches and sources.
4f8e46
4f8e46
* Thu Dec 03 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-20
4f8e46
- Fixed pre section (http://fedoraproject.org/wiki/Packaging/UsersAndGroups)
4f8e46
- Added back Buildroot to silence rpmlint's false positive
4f8e46
4f8e46
* Tue Dec 01 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-19
4f8e46
- Added license text to package
4f8e46
4f8e46
* Fri Oct 02 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-18
4f8e46
- Fixed mixed-use-of-spaces-and-tabs
4f8e46
4f8e46
* Fri Oct 02 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-17
4f8e46
- Removed PreReq tag
4f8e46
4f8e46
* Fri Sep 25 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-16
4f8e46
- Manual page for /usr/sbin/lockdev
4f8e46
4f8e46
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-15
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4f8e46
4f8e46
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-14
4f8e46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4f8e46
4f8e46
* Mon Oct  6 2008 Karel Zak <kzak@redhat.com> - 1.0.1-13
4f8e46
- refresh patches (due --fuzz=0)
4f8e46
- fix compiler warnings
4f8e46
4f8e46
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.1-12.1
4f8e46
- Autorebuild for GCC 4.3
4f8e46
4f8e46
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.1-11.1
4f8e46
- correct license tag
4f8e46
- add BR: perl(ExtUtils::MakeMaker)
4f8e46
4f8e46
* Thu Apr 12 2007 Karel Zak <kzak@redhat.com> - 1.0.1-11
4f8e46
- fix rpmlint issues
4f8e46
- change lockdev permissions from 2755 to 2711
4f8e46
4f8e46
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> - 1.0.1-10
4f8e46
- rebuild
4f8e46
4f8e46
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-9.2.2
4f8e46
- rebuild
4f8e46
4f8e46
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-9.2.1
4f8e46
- bump again for double-long bug on ppc(64)
4f8e46
4f8e46
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-9.2
4f8e46
- rebuilt for new gcc4.1 snapshot and glibc changes
4f8e46
4f8e46
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4f8e46
- rebuilt
4f8e46
4f8e46
* Wed Sep 21 2005 Karel Zak <kzak@redhat.com> 1.0.1-9
4f8e46
- fix #165189 - The naming of the lock file by the lockdev command is abnormal.
4f8e46
4f8e46
* Thu Sep  1 2005 Karel Zak <kzak@redhat.com> 1.0.1-8
4f8e46
- fix #163276 - baudboy.h should include fcntl.h
4f8e46
4f8e46
* Sat Mar  5 2005 Karel Zak <kzak@redhat.com> 1.0.1-6
4f8e46
- rebuilt
4f8e46
4f8e46
* Wed Feb 23 2005 Karel Zak <kzak@redhat.com> 1.0.1-5
4f8e46
- lockdev errs on /dev/input/ttyACM0 (3-component pathname) (#126082, #98160, #74454)
4f8e46
4f8e46
* Fri Oct 22 2004 Adrian Havill <havill@redhat.com> 1.0.1-4
4f8e46
- don't unlock files if pid still exists (#128104)
4f8e46
4f8e46
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
4f8e46
- rebuilt
4f8e46
4f8e46
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
4f8e46
- rebuilt
4f8e46
4f8e46
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
4f8e46
- rebuilt
4f8e46
4f8e46
* Tue Sep  9 2003 Nalin Dahyabhai <nalin@redhat.com> 1.0.1-1.3
4f8e46
- rebuild
4f8e46
4f8e46
* Mon Sep  8 2003 Nalin Dahyabhai <nalin@redhat.com> 1.0.1-1.2
4f8e46
- rebuild
4f8e46
4f8e46
* Wed Aug 20 2003 Adrian Havill <havill@redhat.com> 1.0.1-1.1
4f8e46
- bump n-v-r for 3.0E
4f8e46
4f8e46
* Fri Aug 15 2003 Adrian Havill <havill@redhat.com> 1.0.1-1
4f8e46
- bumped version
4f8e46
- make the dev rewrite work with ttys in the /dev/input subdir, not just
4f8e46
  the base level dir (#98160)
4f8e46
4f8e46
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
4f8e46
- rebuilt
4f8e46
4f8e46
* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4f8e46
- add symlink to shared lib
4f8e46
4f8e46
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
4f8e46
- rebuilt
4f8e46
4f8e46
* Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com>
4f8e46
- don't segfault if device arg is missing.
4f8e46
4f8e46
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
4f8e46
- automated rebuild
4f8e46
4f8e46
* Wed Jun  5 2002 Jeff Johnson <jbj@redhat.com> 1.0.0-19
4f8e46
- fix: don't ignore signals, use default behavior instead (#63468).
4f8e46
4f8e46
* Thu May 23 2002 Tim Powers <timp@redhat.com>
4f8e46
- automated rebuild
4f8e46
4f8e46
* Mon Feb 25 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.0-16
4f8e46
- include liblockdev.so so that programs can link to a shared liblockdev
4f8e46
- fix shared library version numbers
4f8e46
4f8e46
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
4f8e46
- automated rebuild
4f8e46
4f8e46
* Thu Nov 29 2001 Trond Eivind Glomsrod <teg@redhat.com> 1.0.0-16
4f8e46
- Rebuilt
4f8e46
4f8e46
* Fri Oct 26 2001 Trond Eivind Glomsrod <teg@redhat.com> 1.0.0-15
4f8e46
- Add copyright/license info to baudboy.h (#54321)
4f8e46
4f8e46
* Tue Sep  4 2001 Jeff Johnson <jbj@redhat.com>
4f8e46
- swap egid and gid for lockdev's access(2) device check (#52029).
4f8e46
4f8e46
* Tue Aug 28 2001 Jeff Johnson <jbj@redhat.com>
4f8e46
- typo in include file (#52704).
4f8e46
- map specific errno's into status for return from helper.
4f8e46
4f8e46
* Tue Aug 14 2001 Jeff Johnson <jbj@redhat.com>
4f8e46
- set exit status correctly.
4f8e46
4f8e46
* Thu Aug  9 2001 Bill Nottingham <notting@redhat.com>
4f8e46
- check that we can open the device r/w before locking
4f8e46
- fix calling lockdev without any arguments
4f8e46
- fix waitpid() call in baudboy.h
4f8e46
- use umask(002), not umask(0)
4f8e46
4f8e46
* Wed Aug  8 2001 Bill Nottingham <notting@redhat.com>
4f8e46
- add lock group here, own /var/lock as well
4f8e46
4f8e46
* Sun Aug  5 2001 Jeff Johnson <jbj@redhat.com>
4f8e46
- include setgid helper binary and baudboy.h.
4f8e46
4f8e46
* Mon Jun 18 2001 Trond Eivind Glomsrod <teg@redhat.com>
4f8e46
- Make the -devel depend on the main package
4f8e46
4f8e46
* Sun Aug 06 2000 Trond Eivind Glomsrod <teg@redhat.com>
4f8e46
- rebuild
4f8e46
4f8e46
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
4f8e46
- automatic rebuild
4f8e46
4f8e46
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
4f8e46
- add %%defattr for -devel
4f8e46
4f8e46
* Sat Jun 10 2000 Trond Eivind Glomsrod <teg@redhat.com>
4f8e46
- use %%{_mandir}
4f8e46
4f8e46
* Thu May 04 2000 Trond Eivind Glomsrod <teg@redhat.com>
4f8e46
- first build