Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d06f9b2c4 | ||
|
|
abfdb28705 | ||
|
|
a49ca582c8 |
2 changed files with 11 additions and 13 deletions
|
|
@ -1 +1 @@
|
|||
D /var/run/vpnc 0755 root root -
|
||||
D /run/vpnc 0755 root root -
|
||||
|
|
|
|||
22
vpnc.spec
22
vpnc.spec
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: vpnc
|
||||
Version: 0.5.3
|
||||
Release: 34%{snapshot}%{?dist}
|
||||
Release: 35%{snapshot}%{?dist}
|
||||
Summary: IPSec VPN client compatible with Cisco equipment
|
||||
License: GPLv2+
|
||||
URL: http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
||||
|
|
@ -24,6 +24,7 @@ BuildRequires: gcc
|
|||
BuildRequires: libgcrypt-devel > 1.1.90
|
||||
BuildRequires: gnutls-devel
|
||||
BuildRequires: perl(autodie)
|
||||
BuildRequires: systemd
|
||||
Requires: iproute vpnc-script
|
||||
|
||||
%description
|
||||
|
|
@ -42,12 +43,10 @@ Allows the console user to run the IPSec VPN client directly without
|
|||
switching to the root account.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .dpd
|
||||
%patch2 -p1 -b .autodie
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="$RPM_OPT_FLAGS -pie" make PREFIX=/usr
|
||||
CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="$RPM_OPT_FLAGS -pie" make PREFIX=/usr
|
||||
|
||||
%install
|
||||
make install DESTDIR="$RPM_BUILD_ROOT" PREFIX=/usr
|
||||
|
|
@ -73,24 +72,20 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/doc/vpnc/COPYING
|
|||
# vpnc-script is packaged in a separate package
|
||||
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/vpnc/vpnc-script
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
|
||||
install -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
|
||||
|
||||
mkdir -p %{buildroot}%{_localstatedir}/run/
|
||||
install -d -m 0755 %{buildroot}%{_localstatedir}/run/%{name}/
|
||||
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||
install -m 0644 %{SOURCE8} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README pcf2vpnc pcf2vpnc.1
|
||||
|
||||
%config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
|
||||
%{_tmpfilesdir}/%{name}.conf
|
||||
%config(noreplace) %{_sysconfdir}/vpnc/default.conf
|
||||
%{_sbindir}/vpnc
|
||||
%{_bindir}/cisco-decrypt
|
||||
%{_sbindir}/vpnc-disconnect
|
||||
%{_mandir}/man8/vpnc.*
|
||||
%{_mandir}/man1/cisco-decrypt.*
|
||||
%dir %{_localstatedir}/run/%{name}/
|
||||
|
||||
%files consoleuser
|
||||
%config(noreplace) %{_sysconfdir}/security/console.apps/vpnc*
|
||||
|
|
@ -100,6 +95,9 @@ install -d -m 0755 %{buildroot}%{_localstatedir}/run/%{name}/
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 23 2019 Felix Schwarz <fschwarz@fedoraproject.org> - 0.5.3-35.svn550
|
||||
- avoid legacy warning from systemd (rhbz 1691908)
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-34.svn550
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue