source: projects/specs/branches/6/p/pptp/pptp-vl.spec @ 521

Revision 521, 4.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        Point-to-Point Tunneling Protocol (PPTP) Client
2Summary(ja):    Point-to-Point トンネリングプロトコル(PPTP)クライアント
3
4Name:           pptp
5Version:        1.7.2
6Release:        1%{?_dist_release}
7Group:          Applications/Internet
8License:        GPLv2+
9URL:            http://pptpclient.sourceforge.net/
10Source0:        http://downloads.sf.net/pptpclient/pptp-%{version}.tar.gz
11Patch0:         pptp-1.7.2-compat.patch
12Patch1:         pptp-1.7.2-ip-path.patch
13Patch2:         pptp-1.7.2-pptpsetup.patch
14Patch3:         pptp-1.7.2-makedeps.patch
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16Requires:       ppp
17
18%description
19Client for the proprietary Microsoft Point-to-Point Tunneling
20Protocol, PPTP. Allows connection to a PPTP based VPN as used
21by employers and some cable and ADSL service providers.
22
23%prep
24%setup -q
25
26# Remove reference to stropts.h, not shipped in F9 onwards (applied upstream)
27%patch0 -p0 -b .compat
28
29# Make location of "ip" binary build-time configurable (applied upstream)
30%patch1 -p0 -b .ip-path
31
32# Retain permissions on /etc/ppp/chap-secrets (#492090, applied upstream)
33%patch2 -p0 -b .bz492090
34
35# Fix Makefile dependencies to support parallel make (applied upstream)
36%patch3 -p0 -b .makedeps
37
38%{__perl} -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile
39
40%build
41%{__make} %{?_smp_mflags} CFLAGS="-Wall %{optflags}" IP=/sbin/ip
42
43%install
44%{__rm} -rf %{buildroot}
45%{__make} DESTDIR=%{buildroot} install
46%{__install} -d -m 750 %{buildroot}%{_localstatedir}/run/pptp
47
48%clean
49%{__rm} -rf %{buildroot}
50
51%files
52%defattr(-,root,root,-)
53%doc AUTHORS COPYING DEVELOPERS NEWS README TODO USING
54%doc ChangeLog Documentation/DESIGN.PPTP PROTOCOL-SECURITY
55%{_sbindir}/pptp
56%{_sbindir}/pptpsetup
57%{_mandir}/man8/pptp.8*
58%{_mandir}/man8/pptpsetup.8*
59%dir %attr(750,root,root) %{_localstatedir}/run/pptp/
60# /etc/ppp is hardcoded instead of using %{_sysconfdir}/ppp because the
61# Fedora ppp package hardcodes the directory name
62%config(noreplace) /etc/ppp/options.pptp
63
64%changelog
65* Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp>  1.7.2-1
66- initial build for Vine Linux
67
68* Wed Mar 25 2009 Paul Howarth <paul@city-fan.org> 1.7.2-5
69- Retain permissions on /etc/ppp/chap-secrets when using pptpsetup (#492090)
70- Use upstream versions of patches
71- Re-enable parallel build; Makefile dependencies now fixed
72- Use perl rather than sed to edit Makefile, for spec compatibility with
73  ancient distro releases
74
75* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-4
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
77
78* Mon May 19 2008 Paul Howarth <paul@city-fan.org> 1.7.2-3
79- Add dependency on /sbin/ip
80- Disable parallel make - object files are missing dependency on config.h
81
82* Mon May 19 2008 Paul Howarth <paul@city-fan.org> 1.7.2-2
83- Use /sbin/ip, not /bin/ip for routing
84
85* Wed May 14 2008 Paul Howarth <paul@city-fan.org> 1.7.2-1
86- Update to 1.7.2
87- New script and manpage: pptpsetup
88- Add patch to remove reference to stropts.h, not shipped in F9 onwards
89
90* Wed Feb 13 2008 Paul Howarth <paul@city-fan.org> 1.7.1-4
91- Rebuild with gcc 4.3.0 for Fedora 9
92
93* Fri Aug 24 2007 Paul Howarth <paul@city-fan.org> 1.7.1-3
94- Change download URL from df.sf.net to downloads.sf.net
95- Expand tabs in spec
96- Clarify license as GPL version 2 or later
97
98* Wed Aug 30 2006 Paul Howarth <paul@city-fan.org> 1.7.1-2
99- FE6 mass rebuild
100
101* Mon Feb 13 2006 Paul Howarth <paul@city-fan.org> 1.7.1-1
102- new upstream version 1.7.1 (fixes #166394)
103- include new document PROTOCOL-SECURITY
104- cosmetic change: replace variables with macros
105
106* Wed Aug 10 2005 Paul Howarth <paul@city-fan.org> 1.7.0-2
107- own directory %%{_localstatedir}/run/pptp
108
109* Thu Jul 28 2005 Paul Howarth <paul@city-fan.org> 1.7.0-1
110- new upstream version 1.7.0
111- remove patch, included upstream
112- edit Makefile to prevent attempted chown in %%install
113- remove redundant %%attr tag in %%files
114- honour $RPM_OPT_FLAGS
115- ensure directories have correct permissions
116
117* Fri May 27 2005 Paul Howarth <paul@city-fan.org> 1.6.0-5
118- bump and rebuild
119
120* Tue May 17 2005 Paul Howarth <paul@city-fan.org> 1.6.0-4
121- rebuild with dist tags
122
123* Tue May 10 2005 Paul Howarth <paul@city-fan.org> 1.6.0-3
124- fix URL for SOURCE0 not to point to a specific sf.net mirror
125
126* Tue May 10 2005 Paul Howarth <paul@city-fan.org> 1.6.0-2
127- Weed out documentation useful only to developers
128- Add dist tag
129- Use full URL for SOURCE0
130- Fix permissions on %%{_sbindir}/pptp
131
132* Fri May  6 2005 Paul Howarth <paul@city-fan.org> 1.6.0-1
133- First build for Fedora Extras, based on upstream spec file
Note: See TracBrowser for help on using the repository browser.