2007-01-16 00:33:21 +01:00
|
|
|
#
|
2013-04-15 14:22:25 +02:00
|
|
|
# spec file for package pptp
|
2007-01-16 00:33:21 +01:00
|
|
|
#
|
2022-02-04 07:45:08 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-16 00:33:21 +01:00
|
|
|
#
|
2009-06-18 17:34:32 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
- Update to versioin 1.10.0
* remove inststr in favour of prctrl PR_SET_NAME,
* vector tests; include in make, fix code rot, fix return status,
* pqueue; include missing sys/types.h,
* pptpsetup; prevent world-readable peers file, use
three-argument append, allow password trailing spaces, split
prints to chap-secrets, allow passwords with quotes, use
absolute path to pptp
* remove uid from ip route get output; iproute2-4.10 and later
may emit uid, (bsc#1131960).
OBS-URL: https://build.opensuse.org/package/show/network/pptp?expand=0&rev=11
2019-12-04 18:25:50 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:33:21 +01:00
|
|
|
#
|
|
|
|
|
2008-07-08 23:56:48 +02:00
|
|
|
|
2007-01-16 00:33:21 +01:00
|
|
|
Name: pptp
|
- Update to versioin 1.10.0
* remove inststr in favour of prctrl PR_SET_NAME,
* vector tests; include in make, fix code rot, fix return status,
* pqueue; include missing sys/types.h,
* pptpsetup; prevent world-readable peers file, use
three-argument append, allow password trailing spaces, split
prints to chap-secrets, allow passwords with quotes, use
absolute path to pptp
* remove uid from ip route get output; iproute2-4.10 and later
may emit uid, (bsc#1131960).
OBS-URL: https://build.opensuse.org/package/show/network/pptp?expand=0&rev=11
2019-12-04 18:25:50 +01:00
|
|
|
Version: 1.10.0
|
2013-04-15 14:22:25 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Point-to-Point Tunneling Protocol (PPTP) Client
|
- Update to versioin 1.10.0
* remove inststr in favour of prctrl PR_SET_NAME,
* vector tests; include in make, fix code rot, fix return status,
* pqueue; include missing sys/types.h,
* pptpsetup; prevent world-readable peers file, use
three-argument append, allow password trailing spaces, split
prints to chap-secrets, allow passwords with quotes, use
absolute path to pptp
* remove uid from ip route get output; iproute2-4.10 and later
may emit uid, (bsc#1131960).
OBS-URL: https://build.opensuse.org/package/show/network/pptp?expand=0&rev=11
2019-12-04 18:25:50 +01:00
|
|
|
License: GPL-2.0-or-later
|
2013-04-15 14:22:25 +02:00
|
|
|
Group: Productivity/Networking/Security
|
- Update to versioin 1.10.0
* remove inststr in favour of prctrl PR_SET_NAME,
* vector tests; include in make, fix code rot, fix return status,
* pqueue; include missing sys/types.h,
* pptpsetup; prevent world-readable peers file, use
three-argument append, allow password trailing spaces, split
prints to chap-secrets, allow passwords with quotes, use
absolute path to pptp
* remove uid from ip route get output; iproute2-4.10 and later
may emit uid, (bsc#1131960).
OBS-URL: https://build.opensuse.org/package/show/network/pptp?expand=0&rev=11
2019-12-04 18:25:50 +01:00
|
|
|
URL: http://pptpclient.sourceforge.net/
|
2013-04-15 14:22:25 +02:00
|
|
|
Source: http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-%{version}/%{name}-%{version}.tar.gz
|
2007-01-16 00:33:21 +01:00
|
|
|
Source2: options.pptp
|
|
|
|
Source3: pptp_fe.pl
|
|
|
|
Source4: xpptp_fe.pl
|
|
|
|
Patch1: pptp-makefile.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
A client for the proprietary Microsoft Point-to-Point Tunneling
|
|
|
|
Protocol, PPTP. It allows connections to a PPTP based VPN as used by
|
|
|
|
employers and some cable and ADSL service providers. It requires MPPE
|
|
|
|
support in the kernel. Use the ppp-mppe package.
|
|
|
|
|
|
|
|
%prep
|
2013-04-15 14:22:25 +02:00
|
|
|
%setup -q
|
2007-01-16 00:33:21 +01:00
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
2013-04-15 14:22:25 +02:00
|
|
|
make CFLAGS="%{optflags}"
|
2007-01-16 00:33:21 +01:00
|
|
|
|
|
|
|
%install
|
2013-04-15 14:22:25 +02:00
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ppp
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/pptp.d
|
|
|
|
|
|
|
|
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/ppp
|
|
|
|
|
2007-01-16 00:33:21 +01:00
|
|
|
find Documentation -name CVS | xargs rm -rf
|
|
|
|
find Reference -name CVS | xargs rm -rf
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
- Update to versioin 1.10.0
* remove inststr in favour of prctrl PR_SET_NAME,
* vector tests; include in make, fix code rot, fix return status,
* pqueue; include missing sys/types.h,
* pptpsetup; prevent world-readable peers file, use
three-argument append, allow password trailing spaces, split
prints to chap-secrets, allow passwords with quotes, use
absolute path to pptp
* remove uid from ip route get output; iproute2-4.10 and later
may emit uid, (bsc#1131960).
OBS-URL: https://build.opensuse.org/package/show/network/pptp?expand=0&rev=11
2019-12-04 18:25:50 +01:00
|
|
|
%doc AUTHORS NEWS README TODO USING Documentation
|
|
|
|
%license COPYING
|
2013-04-15 14:22:25 +02:00
|
|
|
%attr(0755,root,root) %{_sbindir}/pptp
|
|
|
|
%attr(0755,root,root) %{_sbindir}/pptpsetup
|
2007-01-16 00:33:21 +01:00
|
|
|
%attr(0444,root,root) %{_mandir}/man8/pptp.8.gz
|
2008-07-08 23:56:48 +02:00
|
|
|
%attr(0444,root,root) %{_mandir}/man8/pptpsetup.8.gz
|
2017-06-13 22:07:40 +02:00
|
|
|
%attr(750, root, root) %dir %{_sysconfdir}/ppp
|
2013-04-15 14:22:25 +02:00
|
|
|
%config %attr(0600,root,root) %{_sysconfdir}/ppp/options.pptp
|
|
|
|
%attr(0755,root,root) %{_sysconfdir}/pptp.d
|
2007-01-16 00:33:21 +01:00
|
|
|
|
2008-07-08 23:56:48 +02:00
|
|
|
%changelog
|