|
|
42a5c1a |
%global _hardened_build 1
|
|
|
59b9501 |
%define download_dir 3310
|
|
|
42a5c1a |
|
|
|
62814dc |
Name: pmount
|
|
|
59b9501 |
Version: 0.9.23
|
|
|
d88c9fa |
Release: 20%{?dist}
|
|
|
62814dc |
Summary: Enable normal user mount
|
|
|
62814dc |
|
|
|
0c4f67c |
# realpath.c is GPLv2+. Others are GPL+;
|
|
|
0c4f67c |
License: GPLv2+
|
|
|
0c4f67c |
URL: http://pmount.alioth.debian.org/
|
|
|
e71cc3c |
# BEWARE: The number in the url determines the content, ahs to be updated each time.
|
|
Jan Zeleny |
f98f708 |
Source0: http://alioth.debian.org/frs/download.php/%{download_dir}/%{name}-%{version}.tar.bz2
|
|
|
62814dc |
# don't set the setuid bits during make install
|
|
|
27e47d9 |
Patch0: pmount-0.9.17-nosetuid.patch
|
|
|
62814dc |
|
|
|
d88c9fa |
BuildRequires: make
|
|
|
bed6dfb |
BuildRequires: gcc
|
|
|
d88c9fa |
BuildRequires: intltool
|
|
|
d88c9fa |
BuildRequires: pkgconfig
|
|
Vojtech Vitek (V-Teq) |
f310c9a |
BuildRequires: e2fsprogs-devel
|
|
|
59b9501 |
BuildRequires: libblkid-devel
|
|
|
d88c9fa |
|
|
|
0c4f67c |
# ntfs-3g may be used too, it is considered optional, will be used if installed.
|
|
|
d88c9fa |
Requires: cryptsetup
|
|
|
d88c9fa |
Requires: /bin/mount
|
|
|
62814dc |
|
|
|
62814dc |
%description
|
|
|
62814dc |
pmount ("policy mount") is a wrapper around the standard mount program
|
|
|
62814dc |
which permits normal users to mount removable devices without a
|
|
|
62814dc |
matching /etc/fstab entry.
|
|
|
62814dc |
|
|
|
62814dc |
Be warned that pmount is installed setuid root.
|
|
|
62814dc |
|
|
|
62814dc |
%prep
|
|
|
d88c9fa |
%autosetup -p 1
|
|
|
59b9501 |
|
|
|
62814dc |
%build
|
|
|
0c4f67c |
# mount, umount, cryptsetup and ntfs-3g paths are right and don't use rpm
|
|
|
0c4f67c |
# macros, so the corresponding configure options are not used. /media/ is
|
|
|
0c4f67c |
# also rightly used.
|
|
|
62814dc |
%configure \
|
|
Vojtech Vitek (V-Teq) |
f310c9a |
--enable-hal=no \
|
|
|
62814dc |
--with-lock-dir=%{_localstatedir}/lock/pmount \
|
|
|
62814dc |
--with-whitelist=%{_sysconfdir}/pmount.allow
|
|
|
62814dc |
|
|
|
d88c9fa |
%make_build
|
|
|
62814dc |
|
|
|
62814dc |
%install
|
|
|
d88c9fa |
%make_install
|
|
|
62814dc |
%find_lang %{name}
|
|
|
62814dc |
|
|
|
62814dc |
%files -f %{name}.lang
|
|
Vojtech Vitek (V-Teq) |
f310c9a |
%doc AUTHORS README.devel COPYING ChangeLog
|
|
|
62814dc |
%config(noreplace) %{_sysconfdir}/pmount.allow
|
|
|
62814dc |
%attr(4755,root,root) %{_bindir}/pmount
|
|
|
62814dc |
%attr(4755,root,root) %{_bindir}/pumount
|
|
|
62814dc |
%{_mandir}/man1/p*mount*.1*
|
|
|
62814dc |
|
|
|
62814dc |
%changelog
|
|
|
d88c9fa |
* Mon Jul 05 2021 Andrew Bauer <zonexpertconsulting@outlook.com> - 0.9.23-20
|
|
|
d88c9fa |
- replace cryptsetup-liks runtime requirement with cryptsetup
|
|
|
d88c9fa |
- modernize specfile
|
|
|
d88c9fa |
|
|
|
df44dd3 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-19
|
|
|
df44dd3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
df44dd3 |
|
|
|
be49163 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-18
|
|
|
be49163 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
be49163 |
|
|
|
7cab3a1 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-17
|
|
|
7cab3a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7cab3a1 |
|
|
|
52f05fc |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-16
|
|
|
52f05fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
52f05fc |
|
|
|
da22f8c |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-15
|
|
|
da22f8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
da22f8c |
|
|
|
9f8cf82 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-14
|
|
|
9f8cf82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
9f8cf82 |
|
|
|
edf1d60 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-13
|
|
|
edf1d60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
edf1d60 |
|
|
|
6c6f780 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-12
|
|
|
6c6f780 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
6c6f780 |
|
|
|
cdeb66c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-11
|
|
|
cdeb66c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
cdeb66c |
|
|
|
61bb7a1 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-10
|
|
|
61bb7a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
61bb7a1 |
|
|
|
21181dc |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-9
|
|
|
21181dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
21181dc |
|
|
|
2af8e31 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.23-8
|
|
|
2af8e31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2af8e31 |
|
|
|
188db10 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.23-7
|
|
|
188db10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
188db10 |
|
|
|
1f186a5 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.23-6
|
|
|
1f186a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1f186a5 |
|
|
|
5034cee |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.23-5
|
|
|
5034cee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5034cee |
|
|
|
42a5c1a |
* Tue May 21 2013 Richard Shaw <hobbes1069@gmail.com> - 0.9.23-2
|
|
|
42a5c1a |
- Fix cflags to meet packaging guidelines for packages that contain suid
|
|
|
42a5c1a |
binaries. Fixes BZ# 965459.
|
|
|
42a5c1a |
|
|
|
fe49681 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.23-3
|
|
|
fe49681 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fe49681 |
|
|
|
6e9a15f |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.23-2
|
|
|
6e9a15f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6e9a15f |
|
|
|
59b9501 |
* Tue Jul 10 2012 Richard Shaw <hobbes1069@gmail.com> - 0.9.23-1
|
|
|
59b9501 |
- Update to latest upstream release.
|
|
|
59b9501 |
|
|
|
a633d09 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.22-4
|
|
|
a633d09 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a633d09 |
|
|
Vojtech Vitek (V-Teq) |
f310c9a |
* Thu Apr 21 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 0.9.22-3
|
|
Vojtech Vitek (V-Teq) |
f310c9a |
- Drop HAL support (Fedora 15 Features/HalRemoval)
|
|
Vojtech Vitek (V-Teq) |
f310c9a |
- Remove TODO with obsolete information in favor of README.devel
|
|
Vojtech Vitek (V-Teq) |
f310c9a |
|
|
|
4eb4819 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.22-2
|
|
|
4eb4819 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4eb4819 |
|
|
Jan Zeleny |
f98f708 |
* Fri May 28 2010 Jan Zeleny <jzeleny@redhat.com> - 0.9.22-1
|
|
Jan Zeleny |
f98f708 |
- rebased to 0.9.22 (fixed #577614, calling luksClose correctly)
|
|
Jan Zeleny |
f98f708 |
|
|
|
e71cc3c |
* Wed Sep 23 2009 Stepan Kasal <skasal@redhat.com> - 0.9.20-1
|
|
|
e71cc3c |
- new upstream version
|
|
|
e71cc3c |
- adjust BuildRequires
|
|
|
e71cc3c |
|
|
|
e1e2bc2 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-5
|
|
|
e1e2bc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e1e2bc2 |
|
|
|
c90ebeb |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-4
|
|
|
c90ebeb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c90ebeb |
|
|
|
27e47d9 |
* Thu Sep 25 2008 Patrice Dumas <pertusus@free.fr> 0.9.17-3
|
|
|
27e47d9 |
- rediff nosetuid patch
|
|
|
27e47d9 |
|
|
|
2162c9f |
* Sat Mar 1 2008 Patrice Dumas <pertusus@free.fr> 0.9.17-2
|
|
|
0c4f67c |
- update to 0.9.17
|
|
|
0c4f67c |
- remove pmount-0.9.13-keeppublic.patch now that dbus connection is private
|
|
|
0c4f67c |
|
|
|
ee377a6 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.13-2
|
|
|
ee377a6 |
- Autorebuild for GCC 4.3
|
|
|
ee377a6 |
|
|
|
62814dc |
* Sun Sep 24 2006 Patrice Dumas <pertusus@free.fr> 0.9.13-1
|
|
|
62814dc |
- initial packaging
|