1 |
# $Id: e-smith-pptpd.spec,v 1.1 2016/02/05 21:58:35 stephdl Exp $ |
# $Id: e-smith-pptpd.spec,v 1.3 2020/12/11 17:17:19 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - configure PPTP inbound VPN |
Summary: e-smith server and gateway - configure PPTP inbound VPN |
4 |
%define name e-smith-pptpd |
%define name e-smith-pptpd |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 3 |
%define release 1 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-pptpd-2.6.0-bz11112-bz11149-systemd-update.patch |
14 |
|
Patch1: e-smith-pptpd-2.6.0-bz11249.patch |
15 |
|
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
Requires: e-smith-base >= 4.13.16-27 |
Requires: e-smith-base >= 4.13.16-27 |
18 |
Requires: pptpd |
Requires: pptpd |
31 |
e-smith server and gateway - configure inbound PPTP VPN access |
e-smith server and gateway - configure inbound PPTP VPN access |
32 |
|
|
33 |
%changelog |
%changelog |
|
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
|
|
- fix [SME: ] |
|
|
|
|
34 |
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
35 |
- fix [SME: ] |
- create -update event [SME: 11149] |
36 |
|
- adapt to systemd [SME: 11112] |
37 |
|
- remove pptpd support [SME: 11249] |
38 |
|
|
39 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
40 |
- Initial release to sme10 |
- Initial release to sme10 |
620 |
|
|
621 |
%prep |
%prep |
622 |
%setup |
%setup |
623 |
|
%patch0 -p1 |
624 |
|
%patch1 -p1 |
625 |
|
rm -rf root/service root/var/service root/etc/rc.d |
626 |
%build |
%build |
627 |
perl createlinks |
perl createlinks |
628 |
|
|
631 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
632 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
633 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
--dir /var/service/pptpd 'attr(01755,root,root)' \ |
|
|
--file /var/service/pptpd/down 'attr(0644,root,root)' \ |
|
|
--file /var/service/pptpd/run 'attr(0755,root,root)' \ |
|
|
--dir /var/service/pptpd/log 'attr(0755,root,root)' \ |
|
|
--dir /var/service/pptpd/log/supervise 'attr(0700,root,root)' \ |
|
|
--dir /var/service/pptpd/supervise 'attr(0700,root,root)' \ |
|
634 |
--file /var/service/pptpd/log/run 'attr(0755,root,root)' \ |
--file /var/service/pptpd/log/run 'attr(0755,root,root)' \ |
635 |
--dir /var/log/pptpd 'attr(2750,smelog,smelog)' \ |
--dir /var/log/pptpd 'attr(2750,smelog,smelog)' \ |
636 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |