1 Summary: Serves out PPTP connections
6 Group: Utilities/System
7 Vendor: Matthew Ramsay http://www.moretonbay.com/vpn/pptp.html
8 Source: http://www.moretonbay.com/vpn/releases/%{name}-%{version}.tgz
9 URL: http://www.moretonbay.com/vpn/pptp.html
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 %define _sysconfdir /etc
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
18 subnet, regardless of what their real IP address is. A tunnel is built
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.
26 LDFLAGS="-s"; export LDFLAGS
31 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_sysconfdir}
35 make install DESTDIR=$RPM_BUILD_ROOT
37 install samples/pptpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/pptpd.conf
39 gzip -9nf AUTHORS README TODO html/* samples/* \
40 $RPM_BUILD_ROOT%{_mandir}/*/*
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc {AUTHORS,COPYING,INSTALL,README,TODO,html/*,samples/*}.gz
48 %config(noreplace) %{_sysconfdir}/pptpd.conf
49 %attr(755,root,root) %{_sbindir}/*