Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37785899
en ru br
ALT Linux repos
S:1.4.0-alt4
5.0: 1.3.4-alt2
4.1: 1.3.4-alt1
4.0: 1.3.4-alt1
3.0: 1.2.1-alt1
+backports:1.3.2-alt0.M30.1

Group :: System/Servers
RPM: pptpd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pptpd
Version: 1.2.1
Release: alt1
Summary: A PPTP server daemon
Summary(ru_RU.KOI8-R): Сервер сетевых соединений PPTP
License: GPL
Group: System/Servers
Url: http://www.poptop.org/

Source: http://citkit.dl.sourceforge.net/sourceforge/poptop/%name-%version.tar.gz
Source1: pptpd.init
Source2: pptpd.sysconfig
Patch1: pptpd-1.2.1-alt-makefile.patch
Patch2: pptpd-1.1.4-b2-asp-alt-alternate-pppd.patch
Patch3: poptop-1.1.4-alt-maxconn.patch

Requires: ppp

BuildPreReq: rpm-build >= 4.0.4-alt10, autoconf_2.5, automake_1.9
BuildRequires: libwrap-devel

#%def_with libwrap


%description
PPTPd, Point-to-Point Tunnelling Protocol Daemon, offers out connections
to PPTP clients to become virtual members of the IP pool owned by the PPTP
server.  In effect, these clients become virtual members of the local
subnet, regardless of what their real IP address is.  A tunnel is built
between the PPTP server and client, and packets from the subnet are
wrapped and passed between server and client similar to other C/S
protocols.

%description -l ru_RU.KOI8-R
PPTPd, Point-to-Point Tunnelling Protocol Daemon, позволяет клиентским
PPTP-соедининениям получать адреса из IP-пула, управляемого сервером PPTP.
В результате эти клиенты могут стать виртуальными членами локальной подсети
независимо от их настоящего IP-адреса. Для этого формируется туннель между
клиентом и сервером, по которому транспортируются пакеты между локальной
подсетью и клиентом.

%prep
%setup -q
%patch1 -p1
#%patch2 -p1
%patch3 -p1

find -type d -name CVS -print0 |
xargs -r0 rm -rf --

%build
%set_autoconf_version 2.5
%set_automake_version 1.9
#%configure %{subst_with libwrap}
%configure --with-libwrap --with-bcrelay
%make_build

%install
%makeinstall

%__install -pD -m644 samples/%name.conf %buildroot%_sysconfdir/%name.conf
%__install -pD -m644 samples/options.%name %buildroot%_sysconfdir/ppp/options.%name
%__install -pD -m755 %SOURCE1 %buildroot%_initdir/%name
%__install -pD -m600 %SOURCE2 %buildroot%_sysconfdir/sysconfig/%name

%post
%post_service %name

%preun
%preun_service %name

%files
%config %_initdir/%name
%config(noreplace) %_sysconfdir/sysconfig/%name
%config(noreplace) %_sysconfdir/%name.conf
%config(noreplace) %_sysconfdir/ppp/options.%name
%_sbindir/*
%_mandir/man?/*
%_libdir/%name/*
%doc AUTHORS NEWS README* TODO samples tools ChangeLog*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin