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

Revision 7739, 4.5 KB checked in by Takemikaduchi, 11 years ago (diff)

rebuild packages & security fix

Line 
1Summary:        Point-to-Point Tunneling Protocol (PPTP) Client
2Summary(ja):    Point-to-Point トンネリングプロトコル(PPTP)クライアント
3
4Name:           pptp
5Version:        1.7.2
6Release:        2%{?_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* Sun Jul 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.2-2
66- rebuild with current Vine6 environment
67
68* Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp>  1.7.2-1
69- initial build for Vine Linux
70
71* Wed Mar 25 2009 Paul Howarth <paul@city-fan.org> 1.7.2-5
72- Retain permissions on /etc/ppp/chap-secrets when using pptpsetup (#492090)
73- Use upstream versions of patches
74- Re-enable parallel build; Makefile dependencies now fixed
75- Use perl rather than sed to edit Makefile, for spec compatibility with
76  ancient distro releases
77
78* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-4
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
80
81* Mon May 19 2008 Paul Howarth <paul@city-fan.org> 1.7.2-3
82- Add dependency on /sbin/ip
83- Disable parallel make - object files are missing dependency on config.h
84
85* Mon May 19 2008 Paul Howarth <paul@city-fan.org> 1.7.2-2
86- Use /sbin/ip, not /bin/ip for routing
87
88* Wed May 14 2008 Paul Howarth <paul@city-fan.org> 1.7.2-1
89- Update to 1.7.2
90- New script and manpage: pptpsetup
91- Add patch to remove reference to stropts.h, not shipped in F9 onwards
92
93* Wed Feb 13 2008 Paul Howarth <paul@city-fan.org> 1.7.1-4
94- Rebuild with gcc 4.3.0 for Fedora 9
95
96* Fri Aug 24 2007 Paul Howarth <paul@city-fan.org> 1.7.1-3
97- Change download URL from df.sf.net to downloads.sf.net
98- Expand tabs in spec
99- Clarify license as GPL version 2 or later
100
101* Wed Aug 30 2006 Paul Howarth <paul@city-fan.org> 1.7.1-2
102- FE6 mass rebuild
103
104* Mon Feb 13 2006 Paul Howarth <paul@city-fan.org> 1.7.1-1
105- new upstream version 1.7.1 (fixes #166394)
106- include new document PROTOCOL-SECURITY
107- cosmetic change: replace variables with macros
108
109* Wed Aug 10 2005 Paul Howarth <paul@city-fan.org> 1.7.0-2
110- own directory %%{_localstatedir}/run/pptp
111
112* Thu Jul 28 2005 Paul Howarth <paul@city-fan.org> 1.7.0-1
113- new upstream version 1.7.0
114- remove patch, included upstream
115- edit Makefile to prevent attempted chown in %%install
116- remove redundant %%attr tag in %%files
117- honour $RPM_OPT_FLAGS
118- ensure directories have correct permissions
119
120* Fri May 27 2005 Paul Howarth <paul@city-fan.org> 1.6.0-5
121- bump and rebuild
122
123* Tue May 17 2005 Paul Howarth <paul@city-fan.org> 1.6.0-4
124- rebuild with dist tags
125
126* Tue May 10 2005 Paul Howarth <paul@city-fan.org> 1.6.0-3
127- fix URL for SOURCE0 not to point to a specific sf.net mirror
128
129* Tue May 10 2005 Paul Howarth <paul@city-fan.org> 1.6.0-2
130- Weed out documentation useful only to developers
131- Add dist tag
132- Use full URL for SOURCE0
133- Fix permissions on %%{_sbindir}/pptp
134
135* Fri May  6 2005 Paul Howarth <paul@city-fan.org> 1.6.0-1
136- First build for Fedora Extras, based on upstream spec file
Note: See TracBrowser for help on using the repository browser.