Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 381656d69c6fd2bdda7c6639970e853f > files > 4

pptp-linux-1.1.0-3mdk.src.rpm

Summary:	PPTP-linux VPN client 
Name:		pptp-linux
Version:	1.1.0
Release:	3mdk
License:	GPL
Group:		Networking/Other

Source:		http://telia.dl.sourceforge.net/sourceforge/pptpclient/pptp-linux-1.1.0.tar.bz2
Source1: 	pptp-command
Source2: 	options.pptp
Source3: 	pptp_fe.pl
Source4: 	xpptp_fe.pl

URL:		http://pptpclient.sourceforge.net/
Requires:	ppp
Buildroot:	%_tmppath/%name-%version-%release-root
Conflicts:	pptp-adsl-alcatel
Obsoletes:	pptp-client
Provides:	pptp-client

%description
PPTP-linux allows you to connect to a PPTP server from a Linux or other
Unix box (ports of pptp-linuxto other Unix variants should be trivial,
but have not yet been performed). See the IPfwd page
(http://www.pdos.lcs.mit.edu/~cananian/Projects/IPfwd) for information
on tunnelling PPTP through Linux firewalls.

%prep

%setup -q

%build
%make

%install
rm -fr %buildroot

install -m 755 -d $RPM_BUILD_ROOT%{_sbindir}
install -m 755 pptp $RPM_BUILD_ROOT%{_sbindir}
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}
install -m 755 -d $RPM_BUILD_ROOT/etc/ppp
install -m 755 -d $RPM_BUILD_ROOT/etc/pptp.d
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/ppp
install -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man8
install debian/pptp.8 $RPM_BUILD_ROOT%{_mandir}/man8/

%clean
rm -fr %buildroot

%post
if [ -d /etc/init.d ]; then
        RPM_INIT_DIR=/etc/init.d
elif [ -d /etc/rc.d/init.d ]; then
        RPM_INIT_DIR=/etc/rc.d/init.d
fi
ln -s /usr/sbin/pptp-command $RPM_INIT_DIR/pptp
if [ -x /sbin/chkconfig ]; then
        /sbin/chkconfig pptp reset
fi

%files
%defattr (-,root,root)
%doc AUTHORS COPYING INSTALL NEWS README TODO USING Documentation/
%{_sbindir}/*
%{_mandir}/man8/pptp.8.bz2
%config(noreplace) %attr(0600,root,root) /etc/ppp/options.pptp
%attr(0755,root,root) /etc/pptp.d

%changelog
* Fri Dec 27 2002 Stew Benedict <sbenedict@mandrakesoft.com> 1.1.0-3mdk
- rebuild for new glibc/rpm

* Thu Jun  6 2002 Stew Benedict <sbenedict@mandrkaesoft.com> 1.1.0-2mdk
- rpmlint fixes

* Mon Jun  3 2002 Stew Benedict <sbenedict@mandrakesoft.com> 1.1.0-1mdk
- new package name, new source maintainer, URL, etc. support for mppe

* Fri Mar 22 2002 David BAUDENS <baudens@mandrakesoft.com> 1.0.2-7mdk
- Clean after build

* Fri Jul 24 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.0.2-6mdk
- rebuild

* Fri Nov 17 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.0.2-5mdk
- build for gcc-2.96

* Tue Aug 29 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.0.2-4mdk
- BM

* Thu Mar 23 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.0.2-3mdk
- fix group
- clean spec

* Thu Jan 06 2000 Lenny Cartier <lenny@mandrakesoft.com>
- add conflicts tag
- fix buildroot

* Tue Oct 11 1999 Lenny Cartier <lenny@mandrakesoft.com>
- Specfile adaptations