]>
Commit | Line | Data |
---|---|---|
7c7567da | 1 | Summary: Serves out PPTP connections |
2 | Name: pptpd | |
3664464c | 3 | Version: 1.1.1 |
7c7567da | 4 | Release: 1 |
7d9102d6 | 5 | License: GPL |
7c7567da | 6 | Group: Utilities/System |
7 | Vendor: Matthew Ramsay http://www.moretonbay.com/vpn/pptp.html | |
41a57f07 | 8 | Source: http://www.moretonbay.com/vpn/releases/%{name}-%{version}.tgz |
9 | URL: http://www.moretonbay.com/vpn/pptp.html | |
1ad104f4 | 10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7c7567da | 11 | |
41a57f07 | 12 | %define _sysconfdir /etc |
13 | ||
83f1a059 | 14 | %description |
7c7567da | 15 | PPTPd, Point-to-Point Tunnelling Protocol Daemon, offers out connections to |
16 | pptp clients to become virtual members of the IP pool owned by the pptp | |
17 | server. In effect, these clients become virtual members of the local | |
7d9102d6 | 18 | subnet, regardless of what their real IP address is. A tunnel is built |
7c7567da | 19 | between the pptp server and client, and packets from the subnet are wrapped |
20 | and passed between server and client similar to other C/S protocols. | |
83f1a059 | 21 | |
22 | %prep | |
7c7567da | 23 | %setup -q |
83f1a059 | 24 | |
25 | %build | |
41a57f07 | 26 | LDFLAGS="-s"; export LDFLAGS |
baadad91 | 27 | %configure |
7d9102d6 | 28 | make |
83f1a059 | 29 | |
30 | %install | |
7c7567da | 31 | rm -rf $RPM_BUILD_ROOT |
32 | ||
baadad91 | 33 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
34 | ||
35 | make install DESTDIR=$RPM_BUILD_ROOT | |
36 | ||
37 | install samples/pptpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/pptpd.conf | |
38 | ||
41a57f07 | 39 | gzip -9nf AUTHORS README TODO html/* samples/* \ |
baadad91 | 40 | $RPM_BUILD_ROOT%{_mandir}/*/* |
7c7567da | 41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
83f1a059 | 44 | |
45 | %files | |
baadad91 | 46 | %defattr(644,root,root,755) |
47 | %doc {AUTHORS,COPYING,INSTALL,README,TODO,html/*,samples/*}.gz | |
41a57f07 | 48 | %config(noreplace) %{_sysconfdir}/pptpd.conf |
baadad91 | 49 | %attr(755,root,root) %{_sbindir}/* |
41a57f07 | 50 | %{_mandir}/man?/* |