Update to 1.7.2

This commit is contained in:
Paul Howarth 2008-05-14 13:13:37 +00:00
parent 0d34e4b0ac
commit f2c5f88c06
4 changed files with 23 additions and 4 deletions

View File

@ -1 +1 @@
pptp-1.7.1.tar.gz
pptp-1.7.2.tar.gz

10
pptp-1.7.2-compat.patch Normal file
View File

@ -0,0 +1,10 @@
--- pptp-1.7.2/pptp_compat.c 2008-05-14 07:33:55.000000000 +0100
+++ pptp-1.7.2/pptp_compat.c 2008-05-14 12:34:46.000000000 +0100
@@ -7,7 +7,6 @@
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
-#include <stropts.h>
#include <stdlib.h>
#include <strings.h>
#include "pptp_compat.h"

View File

@ -1,11 +1,12 @@
Name: pptp
Version: 1.7.1
Release: 4%{?dist}
Version: 1.7.2
Release: 1%{?dist}
Summary: Point-to-Point Tunneling Protocol (PPTP) Client
Group: Applications/Internet
License: GPLv2+
URL: http://pptpclient.sourceforge.net/
Source0: http://downloads.sf.net/pptpclient/pptp-%{version}.tar.gz
Patch0: pptp-1.7.2-compat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ppp >= 2.4.2
@ -16,6 +17,7 @@ by employers and some cable and ADSL service providers.
%prep
%setup -q
%patch0 -p1 -b .compat
%{__sed} -i -e 's/install -o root -m 555 pptp/install -m 755 pptp/' Makefile
%build
@ -34,13 +36,20 @@ by employers and some cable and ADSL service providers.
%doc AUTHORS COPYING DEVELOPERS NEWS README TODO USING
%doc ChangeLog Documentation/DESIGN.PPTP PROTOCOL-SECURITY
%{_sbindir}/pptp
%{_sbindir}/pptpsetup
%{_mandir}/man8/pptp.8*
%{_mandir}/man8/pptpsetup.8*
%dir %attr(750,root,root) %{_localstatedir}/run/pptp/
# /etc/ppp is hardcoded instead of using %{_sysconfdir}/ppp because the
# Fedora ppp package hardcodes the directory name
%config(noreplace) /etc/ppp/options.pptp
%changelog
* Wed May 14 2008 Paul Howarth <paul@city-fan.org> 1.7.2-1
- Update to 1.7.2
- New script and manpage: pptpsetup
- Add patch to remove reference to stropts.h, not shipped in F9 onwards
* Wed Feb 13 2008 Paul Howarth <paul@city-fan.org> 1.7.1-4
- Rebuild with gcc 4.3.0 for Fedora 9

View File

@ -1 +1 @@
b47735ba5d6d37dfdbccb85afc044ede pptp-1.7.1.tar.gz
4c3d19286a37459a632c7128c92a9857 pptp-1.7.2.tar.gz