ALT Linux repositórios
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 :: Sistema/Servidores
RPM: pptpd
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: pptpd
Version: 1.3.4
Release: alt1
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
…
Todas as alterações você pod ver aqui
Version: 1.3.4
Release: alt1
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
…
Todas as alterações você pod ver aqui