Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37843486
en ru br
Репозитории ALT
S:1.4.0-alt4
5.1: 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
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: pptpd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# This spec for backport to M30 is autogenerated. Do not edit it.
Name: pptpd
Version: 1.3.2
Release: alt0.M30.1

Summary: A PPTP server daemon
Summary(ru_RU.KOI8-R): Сервер сетевых соединений PPTP
License: GPL
Group: System/Servers

Url: http://www.poptop.org
Packager: Vladimir V Kamarzin <vvk at altlinux.ru>

Source0: http://heanet.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: pptpd-1.3.2-alt-maxconn.patch
Patch5: pptpd-1.3.0-alt-plugins_libdir.patch
Patch6: pptpd-1.3.0-alt-logwtmp_unresolved.patch

Requires: ppp

#BuildPreReq: rpm-build >= 4.0.4-alt10, autoconf_2.5, automake_1.9

BuildRequires: libwrap-devel

#%%def_with libwrap


BuildRequires: rpm-build-compat >= 0.4

%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
%patch5 -p1
%patch6 -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}
autoreconf -fisv
%configure \
--with-libwrap \
--enable-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
#%%_libdir/%name/*
%doc AUTHORS NEWS README* TODO samples tools ChangeLog* html

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin