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.3.4
Release: alt2
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>
#http://heanet.dl.sourceforge.net/sourceforge/poptop/%name-%version.tar.gz
Source0: %name-%version.tar
Source1: pptpd.init
Source2: pptpd.sysconfig
Patch0: %name-%version-%release.patch
Requires: ppp
#BuildPreReq: rpm-build >= 4.0.4-alt10, autoconf_2.5, automake_1.9
BuildRequires: libwrap-devel ppp-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
%patch0 -p1
%build
#%%set_autoconf_version 2.5
#%%set_automake_version 1.9
#%%configure %{subst_with libwrap}
# dirty hack for fix wtmp work on x86_64
sed -i -e "s,/usr/lib/pptpd/pptpd-logwtmp.so,%_libdir/pptpd/pptpd-logwtmp.so,g" pptpctrl.c
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
%doc AUTHORS NEWS README* TODO samples tools ChangeLog* html
%changelog
…
Full changelog you can see here
Version: 1.3.4
Release: alt2
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>
#http://heanet.dl.sourceforge.net/sourceforge/poptop/%name-%version.tar.gz
Source0: %name-%version.tar
Source1: pptpd.init
Source2: pptpd.sysconfig
Patch0: %name-%version-%release.patch
Requires: ppp
#BuildPreReq: rpm-build >= 4.0.4-alt10, autoconf_2.5, automake_1.9
BuildRequires: libwrap-devel ppp-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
%patch0 -p1
%build
#%%set_autoconf_version 2.5
#%%set_automake_version 1.9
#%%configure %{subst_with libwrap}
# dirty hack for fix wtmp work on x86_64
sed -i -e "s,/usr/lib/pptpd/pptpd-logwtmp.so,%_libdir/pptpd/pptpd-logwtmp.so,g" pptpctrl.c
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
%doc AUTHORS NEWS README* TODO samples tools ChangeLog* html
%changelog
…
Full changelog you can see here