Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37481436
en ru br
Репозитории ALT
S:3.15-alt1
5.1: 3.10-alt1
4.1: 3.7-alt2
4.0: 3.7-alt2
3.0: 3.5-alt16
+updates:3.5-alt16.1
www.altlinux.org/Changes

Группа :: Сети/Прочее
Пакет: rp-pppoe

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

Name: rp-pppoe
Version: 3.15
Release: alt1

License: GPLv2+
Url: https://dianne.skoll.ca/projects/rp-pppoe/
Summary: PPP Over Ethernet (xDSL support)
Summary(ru_RU.UTF-8): PPP я┤п╣я─п╣п╥ Ethernet (п©п╬п╢п╢п╣я─п╤п╨п╟ xDSL)
Group: Networking/Other

Source: %name-%version.tar
Source1: alt-tkpppoe.desktop
Source2: tkpppoe.xpm
Source3: firewall-masq-iptables
Source4: firewall-standalone-iptables
Source6: pppoe-wrapper.control
Source7: %name-MINI-HOWTOs.tar

Patch0: %name-%version-%release.patch

BuildPreReq: ppp

# Automatically added by buildreq on Wed Oct 12 2005

BuildRequires: libpcap-devel

%define _unpackaged_files_terminate_build 1

%description
PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by
many ADSL Internet Service Providers.

%description -l ru_RU.UTF-8
PPPoE (Point-to-Point Protocol я┤п╣я─п╣п╥ Ethernet) я█я┌п╬ п©я─п╬я┌п╬п╨п╬п╩, п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧
п╪п╫п╬пЁп╦п╪п╦ п÷п╬я│я┌п╟п╡я┴п╦п╨п╟п╪п╦ пёя│п╩я┐пЁ п≤п╫я┌п╣я─п╫п╣я┌ п©п╬ ADSL.

%package base
Summary: PPP Over Ethernet (xDSL support)
Group: Networking/Remote access

%description base
PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by
many ADSL Internet Service Providers. Roaring Penguin has a free
client for Linux systems to connect to PPPoE service providers.

This package contains basic utilites.

%package client
BuildArch: noarch
Summary: PPP Over Ethernet (xDSL support)
Summary(ru_RU.UTF-8): PPP я┤п╣я─п╣п╥ Ethernet (п©п╬п╢п╢п╣я─п╤п╨п╟ xDSL)
Group: Networking/Other
Requires: ppp >= 2.3.7
Requires: openresolv
Requires: %name-base = %EVR
Provides: rp-pppoe = %EVR
Obsoletes: rp-pppoe < %EVR

%description client
PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by
many ADSL Internet Service Providers. Roaring Penguin has a free
client for Linux systems to connect to PPPoE service providers.

The client is a user-mode program and does not require any kernel
modifications. It is fully compliant with RFC 2516, the official PPPoE
specification.

%description client -l ru_RU.UTF-8
PPPoE (Point-to-Point Protocol я┤п╣я─п╣п╥ Ethernet) я█я┌п╬ п©я─п╬я┌п╬п╨п╬п╩, п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧
п╪п╫п╬пЁп╦п╪п╦ п÷п╬я│я┌п╟п╡я┴п╦п╨п╟п╪п╦ пёя│п╩я┐пЁ п≤п╫я┌п╣я─п╫п╣я┌ п©п╬ ADSL. Roaring Penguin
п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ я│п╡п╬п╠п╬п╢п╫п╬пЁп╬ п╨п╩п╦п╣п╫я┌п╟ п╢п╩я▐ Linux-я│п╦я│я┌п╣п╪ п╢п╩я▐ я┐я│я┌п╟п╫п╬п╡п╨п╦ я│п╬п╣п╢п╦п╫п╣п╫п╦я▐
я│ п©п╬я│я┌п╟п╡я┴п╦п╨п╟п╪п╦ я┐я│п╩я┐пЁ PPPoE.

%package server
Summary: PPP Over Ethernet (xDSL support)
Summary(ru_RU.UTF-8): PPP я┤п╣я─п╣п╥ Ethernet (п©п╬п╢п╢п╣я─п╤п╨п╟ xDSL)
Group: Networking/Other
Requires: ppp >= 2.3.7
Conflicts: %name-base < %EVR
Conflicts: %name-base > %EVR

%description server
pppoe-server is a user-space server for PPPoE (Point-to-Point Protocol over Ethernet)
for Linux and other UNIX systems.

%description server -l ru_RU.UTF-8
pppoe-server я█я┌п╬ PPPoE-я│п╣я─п╡п╣я─ (Point-to-Point Protocol over Ethernet) п╢п╩я▐ Linux п╦ п╢я─я┐пЁп╦я┘ UNIX-я│п╦я│я┌п╣п╪.

%package gui
Summary: Tk interface for PPP Over Ethernet Client (xDSL support)
Summary(ru_RU.UTF-8): Tk п╦п╫я┌п╣я─я└п╣п╧я│ п╨ п п╩п╦п╣п╫я┌я┐ PPP я┤п╣я─п╣п╥ Ethernet (п©п╬п╢п╢п╣я─п╤п╨п╟ xDSL)
Group: Networking/Other
Requires: %name-client = %version-%release tk

%description gui
This is a graphical wrapper around the rp-pppoe PPPoE client. PPPoE is
a protocol used by many DSL Internet Service Providers.

%description gui -l ru_RU.UTF-8
п⌠я─п╟я└п╦я┤п╣я│п╨п╟я▐ п╬п╠п╬п╩п╬я┤п╨п╟ п╢п╩я▐ п╨п╩п╦п╣п╫я┌п╟ PPPoE. PPPoE я█я┌п╬ п©я─п╬я┌п╬п╨п╬п╩, п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧ п╪п╫п╬пЁп╦п╪п╦
п÷п╬я│я┌п╟п╡я┴п╦п╨п╟п╪п╦ пёя│п╩я┐пЁ п≤п╫я┌п╣я─п╫п╣я┌ п©п╬ ADSL.

%prep
%setup -q -a7
%patch0 -p1

%build
pushd src
%autoreconf
%configure
popd
%make_build -C src
%make_build -C gui

%install
%makeinstall_std -C src
%makeinstall_std -C gui

install -p -m664 -D %SOURCE1 %buildroot%_desktopdir/%name-gui.desktop
install -p -m644 -D %SOURCE2 %buildroot%_niconsdir/tkpppoe.xpm
install -p -m644 %SOURCE3 %buildroot%_sysconfdir/ppp/
install -p -m644 %SOURCE4 %buildroot%_sysconfdir/ppp/
install -p -m755 -D %SOURCE6 %buildroot%_sysconfdir/control.d/facilities/pppoe-wrapper

cat > %buildroot%_sysconfdir/ppp/pppoe-lost << EOF
#!/bin/sh
echo -n \`date +"%%b %%d %%T"\`" " >> /var/log/ppp/pppoe-lost.log
echo "PPPoE session reconnect"  >> /var/log/ppp/pppoe-lost.log
EOF

%files base
%_sbindir/pppoe
%_sbindir/pppoe-sniff
%_sbindir/pppoe-relay
%_man8dir/pppoe.*
%_man8dir/pppoe-relay.*
%_man8dir/pppoe-sniff.*

%files client
%attr(750,root,root) %_sysconfdir/ppp/pppoe-lost
%config(noreplace) %_sysconfdir/ppp/pppoe.conf
%config(noreplace) %_sysconfdir/ppp/firewall*
%config(noreplace) %_initdir/pppoe
%_sbindir/pppoe-connect
%_sbindir/pppoe-start
%_sbindir/pppoe-stop
%_sbindir/pppoe-setup
%_sbindir/pppoe-status
%_man5dir/*
%_man8dir/pppoe-connect.*
%_man8dir/pppoe-setup.*
%_man8dir/pppoe-start.*
%_man8dir/pppoe-stop.*
%_man8dir/pppoe-status.*
%doc doc/CHANGES doc/HOW-TO-CONNECT README USB-ADSL-MINI-HOWTO.sgml

%preun client
/sbin/chkconfig --del pppoe

%files server
%config(noreplace) %_sysconfdir/ppp/pppoe-server-options
%_sbindir/pppoe-server
%_man8dir/pppoe-server.8*
%doc SERVPOET PPPoE-SERVER-MINI-HOWTO.sgml

%files gui
%config %_sysconfdir/control.d/facilities/pppoe-wrapper
%dir %_sysconfdir/ppp/rp-pppoe-gui
%dir %_datadir/tkpppoe
%_bindir/tkpppoe
%attr(4711,root,root) %_sbindir/pppoe-wrapper
%_desktopdir/%name-gui.desktop
%_niconsdir/tkpppoe.xpm
%_datadir/tkpppoe/*.msg
%dir %_docdir/tkpppoe
%_docdir/tkpppoe/*.png
%_docdir/tkpppoe/tkpppoe.html
%_man1dir/*

%exclude %_sysconfdir/ppp/plugins/README
%exclude %_defaultdocdir/rp-pppoe-%version/

%pre gui
%pre_control pppoe-wrapper

%post gui
%post_control pppoe-wrapper

%changelog

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

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