2007-01-16 00:35:24 +01:00
|
|
|
#
|
2023-06-02 11:18:32 +02:00
|
|
|
# spec file
|
2007-01-16 00:35:24 +01:00
|
|
|
#
|
Accepting request 1087180 from home:fcrozat:branches:network
- Updated to 4.0:
* SPDX-License-Identifier: tags added to most source files
* rp-pppoe.so plugin: Modified to compile against both pppd >= 2.5.0 and
pppd < 2.5.0.
* pppoe-server: If -L or -R option is specified as 0.0.0.0, then IP allocation
is delegated to pppd.
* pppoe-server: New -g option specifies the path of the rp-pppoe.so plugin to
use with pppd in kernel-mode PPPoE.
* pppoe-server: New -U option specifies a UNIX-domain control socket. This
lets you send control commands to the server while it is running; see the
pppoe-server man page for details.
* All source code: Many cleanups and use of standard types like uint16_t rather
than ones we define.
* All source code: Support for OSes other than Linux has been dropped.
* Documentation: Updated from modern Linux systems.
* Cleanup: The following old and obsolete files have been removed:
- Old connection scripts scripts/pppoe-connect.in, scripts/pppoe-start.in,
scripts/pppoe-init-suse.in, scripts/pppoe-setup.in, scripts/pppoe-status,
scripts/pppoe-init.in, and scripts/pppoe-stop.in
* Obsolete firewall scripts configs/firewall-standalone and
configs/firewall-masq
- Obsolete configuration files configs/pppoe.conf and configs/pap-secrets
- The Tcl/Tk gui script gui/tkpppoe.in and supporting files
- The RPM spec file rp-pppoe.spec
- Drop rp-pppoe-3.14-nonrfc-modems.patch, rp-pppoe-3.14-resolve-conf.patch,
rp-pppoe-3.14-config.patch, rp-pppoe-3.14-init.patch,
patched scripts no longer exists.
- Drop rp-pppoe-3.14-release-buildsystem.patch, rp-pppoe-3.14-pie.patch
rp-pppoe-3.14-strip.patch, no longer needed.
OBS-URL: https://build.opensuse.org/request/show/1087180
OBS-URL: https://build.opensuse.org/package/show/network/rp-pppoe?expand=0&rev=38
2023-05-15 11:00:14 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-16 00:35:24 +01:00
|
|
|
#
|
2009-06-09 17:48:47 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-06-17 10:01:00 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-11-22 12:34:33 +01:00
|
|
|
#
|
|
|
|
|
2019-06-17 10:01:00 +02:00
|
|
|
|
2017-10-08 14:52:00 +02:00
|
|
|
%define _name pppoe
|
2017-11-23 15:10:00 +01:00
|
|
|
%define _group dialout
|
2017-10-08 14:52:00 +02:00
|
|
|
Name: rp-%{_name}
|
Accepting request 1087180 from home:fcrozat:branches:network
- Updated to 4.0:
* SPDX-License-Identifier: tags added to most source files
* rp-pppoe.so plugin: Modified to compile against both pppd >= 2.5.0 and
pppd < 2.5.0.
* pppoe-server: If -L or -R option is specified as 0.0.0.0, then IP allocation
is delegated to pppd.
* pppoe-server: New -g option specifies the path of the rp-pppoe.so plugin to
use with pppd in kernel-mode PPPoE.
* pppoe-server: New -U option specifies a UNIX-domain control socket. This
lets you send control commands to the server while it is running; see the
pppoe-server man page for details.
* All source code: Many cleanups and use of standard types like uint16_t rather
than ones we define.
* All source code: Support for OSes other than Linux has been dropped.
* Documentation: Updated from modern Linux systems.
* Cleanup: The following old and obsolete files have been removed:
- Old connection scripts scripts/pppoe-connect.in, scripts/pppoe-start.in,
scripts/pppoe-init-suse.in, scripts/pppoe-setup.in, scripts/pppoe-status,
scripts/pppoe-init.in, and scripts/pppoe-stop.in
* Obsolete firewall scripts configs/firewall-standalone and
configs/firewall-masq
- Obsolete configuration files configs/pppoe.conf and configs/pap-secrets
- The Tcl/Tk gui script gui/tkpppoe.in and supporting files
- The RPM spec file rp-pppoe.spec
- Drop rp-pppoe-3.14-nonrfc-modems.patch, rp-pppoe-3.14-resolve-conf.patch,
rp-pppoe-3.14-config.patch, rp-pppoe-3.14-init.patch,
patched scripts no longer exists.
- Drop rp-pppoe-3.14-release-buildsystem.patch, rp-pppoe-3.14-pie.patch
rp-pppoe-3.14-strip.patch, no longer needed.
OBS-URL: https://build.opensuse.org/request/show/1087180
OBS-URL: https://build.opensuse.org/package/show/network/rp-pppoe?expand=0&rev=38
2023-05-15 11:00:14 +02:00
|
|
|
Version: 4.0
|
2017-11-09 14:02:12 +01:00
|
|
|
Release: 0
|
2007-01-16 00:35:24 +01:00
|
|
|
Summary: A PPP Over Ethernet Redirector for PPPD
|
2018-03-10 02:51:24 +01:00
|
|
|
License: GPL-2.0-or-later
|
2019-06-17 10:01:00 +02:00
|
|
|
URL: https://dianne.skoll.ca/projects/%{name}
|
|
|
|
Source0: https://dianne.skoll.ca/projects/%{name}/download/%{name}-%{version}.tar.gz
|
2017-10-08 14:52:00 +02:00
|
|
|
Source1: %{_name}-connect
|
|
|
|
Source2: %{_name}-setup
|
|
|
|
Source3: %{_name}-start
|
|
|
|
Source4: %{_name}-status
|
|
|
|
Source5: %{_name}-stop
|
|
|
|
Source6: %{_name}.service
|
|
|
|
Source7: %{_name}-server.service
|
2020-05-28 03:34:41 +02:00
|
|
|
Patch0: %{name}-3.14-docdir.patch
|
2019-06-17 10:01:00 +02:00
|
|
|
BuildRequires: pkgconfig
|
2017-11-09 14:02:12 +01:00
|
|
|
BuildRequires: ppp
|
2019-06-12 20:49:10 +02:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2021-05-08 22:22:20 +02:00
|
|
|
Requires: iproute2
|
2017-11-09 14:02:12 +01:00
|
|
|
Requires: ppp
|
2023-06-02 11:18:32 +02:00
|
|
|
Requires: group(%{_group})
|
2017-11-23 15:10:00 +01:00
|
|
|
Requires(post): permissions
|
|
|
|
Requires(pre): group(%{_group})
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%description
|
2017-10-08 14:52:00 +02:00
|
|
|
%{name} is a user-space redirector which permits the use of PPPoE
|
2007-01-16 00:35:24 +01:00
|
|
|
(Point-to-Point Protocol Over Ethernet) with Linux. PPPoE is used by
|
|
|
|
many ADSL service providers.
|
|
|
|
|
|
|
|
%prep
|
2021-05-08 22:22:20 +02:00
|
|
|
%autosetup -p1
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd src
|
2008-02-22 01:47:05 +01:00
|
|
|
%configure
|
2020-05-28 03:34:41 +02:00
|
|
|
%make_build
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%install
|
2016-11-12 09:01:24 +01:00
|
|
|
%make_install -C src
|
2021-05-08 22:22:20 +02:00
|
|
|
mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_unitdir}
|
|
|
|
install -p %{SOURCE1} %{buildroot}%{_sbindir}
|
|
|
|
install -p %{SOURCE2} %{buildroot}%{_sbindir}
|
|
|
|
install -p %{SOURCE3} %{buildroot}%{_sbindir}
|
|
|
|
install -p %{SOURCE4} %{buildroot}%{_sbindir}
|
|
|
|
install -p %{SOURCE5} %{buildroot}%{_sbindir}
|
|
|
|
install -pm0644 %{SOURCE6} %{buildroot}%{_unitdir}/%{_name}.service
|
|
|
|
install -pm0644 %{SOURCE7} %{buildroot}%{_unitdir}/%{_name}-server.service
|
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{_name}
|
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{_name}-server
|
|
|
|
ln -s %{_name}-stop %{buildroot}%{_sbindir}/adsl-stop
|
|
|
|
ln -s %{_name}-start %{buildroot}%{_sbindir}/adsl-start
|
|
|
|
install -Dpm0644 %{buildroot}%{_sysconfdir}/ppp/plugins/README %{buildroot}%{_defaultdocdir}/%{name}/README.plugins
|
Accepting request 1087180 from home:fcrozat:branches:network
- Updated to 4.0:
* SPDX-License-Identifier: tags added to most source files
* rp-pppoe.so plugin: Modified to compile against both pppd >= 2.5.0 and
pppd < 2.5.0.
* pppoe-server: If -L or -R option is specified as 0.0.0.0, then IP allocation
is delegated to pppd.
* pppoe-server: New -g option specifies the path of the rp-pppoe.so plugin to
use with pppd in kernel-mode PPPoE.
* pppoe-server: New -U option specifies a UNIX-domain control socket. This
lets you send control commands to the server while it is running; see the
pppoe-server man page for details.
* All source code: Many cleanups and use of standard types like uint16_t rather
than ones we define.
* All source code: Support for OSes other than Linux has been dropped.
* Documentation: Updated from modern Linux systems.
* Cleanup: The following old and obsolete files have been removed:
- Old connection scripts scripts/pppoe-connect.in, scripts/pppoe-start.in,
scripts/pppoe-init-suse.in, scripts/pppoe-setup.in, scripts/pppoe-status,
scripts/pppoe-init.in, and scripts/pppoe-stop.in
* Obsolete firewall scripts configs/firewall-standalone and
configs/firewall-masq
- Obsolete configuration files configs/pppoe.conf and configs/pap-secrets
- The Tcl/Tk gui script gui/tkpppoe.in and supporting files
- The RPM spec file rp-pppoe.spec
- Drop rp-pppoe-3.14-nonrfc-modems.patch, rp-pppoe-3.14-resolve-conf.patch,
rp-pppoe-3.14-config.patch, rp-pppoe-3.14-init.patch,
patched scripts no longer exists.
- Drop rp-pppoe-3.14-release-buildsystem.patch, rp-pppoe-3.14-pie.patch
rp-pppoe-3.14-strip.patch, no longer needed.
OBS-URL: https://build.opensuse.org/request/show/1087180
OBS-URL: https://build.opensuse.org/package/show/network/rp-pppoe?expand=0&rev=38
2023-05-15 11:00:14 +02:00
|
|
|
rm -r %{buildroot}%{_sysconfdir}/ppp/plugins \
|
2021-05-08 22:22:20 +02:00
|
|
|
%{buildroot}%{_defaultdocdir}/%{name}/LICENSE
|
2007-01-16 00:35:24 +01:00
|
|
|
|
2014-10-26 13:07:03 +01:00
|
|
|
%pre
|
2017-10-08 14:52:00 +02:00
|
|
|
%service_add_pre %{_name}.service
|
|
|
|
%service_add_pre %{_name}-server.service
|
2007-01-16 00:35:24 +01:00
|
|
|
|
2008-02-22 01:47:05 +01:00
|
|
|
%preun
|
2017-10-08 14:52:00 +02:00
|
|
|
%service_del_preun %{_name}.service
|
|
|
|
%service_del_preun %{_name}-server.service
|
2008-02-22 01:47:05 +01:00
|
|
|
|
2007-01-16 00:35:24 +01:00
|
|
|
%post
|
2017-10-08 14:52:00 +02:00
|
|
|
%service_add_post %{_name}.service
|
|
|
|
%service_add_post %{_name}-server.service
|
2007-01-16 00:35:24 +01:00
|
|
|
|
2008-02-22 01:47:05 +01:00
|
|
|
%postun
|
2017-10-08 14:52:00 +02:00
|
|
|
%service_del_postun %{_name}.service
|
|
|
|
%service_del_postun %{_name}-server.service
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%files
|
2018-03-10 02:51:24 +01:00
|
|
|
%license doc/LICENSE
|
2017-11-09 14:02:12 +01:00
|
|
|
%dir %{_defaultdocdir}/%{name}
|
|
|
|
%doc %{_defaultdocdir}/%{name}/*
|
Accepting request 585201 from home:13ilya:branches:network
- Refresh spec-file via spec-cleaner and manual optimisations.
- Add %license macro.
- Add Requires/Requires(pre) group(dialout) (boo#1067511).
- Add %verify_permissions script for pppoe-wrapper.
- Refresh pppoe.spec via spec-cleaner.
- Add pppoe.service for run pppoe as client (boo#1060710).
- Refresh pppoe.spec.
- Drop SLE 11 support.
- Fix patches and script for version 3.12.
- dropped logger-path.diff
- Add net-tools support. net-tools-deprecated is no longer required.
- Update to version 3.12.
- Fix patch release-buildsystem.diff for 3.12 version.
- Add to Requires net-tools-deprecated package.
- Reordered patch positions.
- Formated all the variables in the spec-file to macro style.
- Use systemd instead of sysvinit; add pppoe-server.service
- Install fixed versions of rp-pppoe scripts for openSUSE > 11.4
most of fixes are about paths, because of /usr move
Added: pppoe-setup, ,pppoe-start, pppoe-connect, pppoe-status ,
pppoe-stop
- update to version 3.11
* Make the rp-pppoe.so plugin avoid calling exit() if
the "persist" pppd option was given.
* Get rid of hard-coded nobsdcomp, nodeflate, novj and novjccomp
options in pppoe-server.
* Handle UNIT=xxx directive in pppoe-connect.
* Add "-i" flag to pppoe-server to ignore PADIs if there are
no free sessions.
* Add "-X <pidfile>" option to pppoe-server.
* In plugin, don't set devnam if it's already set.
* Eliminate race condition in signal handling.
* pppoe-server: Add -q and -Q options to allow specification of
path to pppd and pppoe programs respectively.
* Add a few more sanity checks to pppoe-server packet handling.
- build pppoe-wrapper with PIE and full RELRO
- updated patches to apply with fuzz=0
- new patch for init script
o added reload
o rework of status
- added config patch
- beautify spec
- update to version 3.10
* some compilation fixes
* pppoe-server has new "-x" option to limit the number of sessions
per MAC address.
* Added proper timeout handling while waiting for PADO/PADS.
* Fix race condition with some access concentrators
- add missing remote_fs dependency in the init script
- fix/add missing calls to restart_on_update and stop_on_removal macros
- update to version 3.8 which
o Adjusted code and made it possible to disable debugging code
to shrink size of pppoe executable.
o Fixed bug in MD5 code that caused pppoe-server to segfault on
64-bit machines.
o Made various functions and variables static that didn't need
to be visible outside their source files.
- Use RPM_OPT_FLAGS.
- Don't strip binaries.
- converted neededforbuild to BuildRequires
- updated to version 3.7
- pppoe-server prepends "nic-" to interface name if used with
kernel-mode plugin
- added -O option to pppoe-server that specify a different
default options file for pppd
- updated to version 3.6:
- Changed the names of commands from adsl-* to pppoe-* to
more logically name the scripts (incompatibility)
- Changed sample firewall scripts to use iptables instead of
the old ipchains command
- fixed build on s390 by compiling without -ansi
- build as user
- fix typo in specfile
- Add %attr to get filelist in sync with /etc/permissions*
- Added %dir to created directories
- Fixed init script syntax (bug #26248)
- Fixed file list
- dont link /etc/resolv.conf, done by ip-up ( #15707)
- Don't check for release file
- fixed bug #20327: wrong path to logger in scripts
- fixed compilation on UL
- Fixed bug #17866: Added PreReq
- Fix bug #17465: detect non-rfc modems
- Fix bug #17466: use netfilter instead of ipchains
- update to 3.5
- removed START_ADSL
- Update to 3.3
* Client works on Solaris again. It was broken in 3.2.
* Added DEFAULTROUTE=yes|no option to configuration file.
* Server parses address pool file better.
* Server address pool allows ranges of addresses on a line: a.b.c.d-e
* Added "-d" (=debug) and "-P" (=check pool file syntax) options to
pppoe-server.
- Update to version 3.2
- Fixed bug #8966
- bzipped sources
- Fixed documentation path in GUI
- Added GUI documentation
- Fixed init script (Use rc_status)
- Update to version 3.0
- Update to version 2.8
- Fixed headers
- Added obosletes and provides tags
- Update to 2.5 (Fixes security problem)
- Update to 2.4
- Fix rcadsl link
- Changed name tp rp-pppoe
- Use insserv
- Updated to 2.3
- Updated to 1.9
- Added init script
- Update to version 1.8
- Update to version 1.7
- Fixed Group & Buildroot tag
- Initial Release (Version 1.3)
OBS-URL: https://build.opensuse.org/request/show/585201
OBS-URL: https://build.opensuse.org/package/show/network/rp-pppoe?expand=0&rev=23
2018-03-10 03:41:52 +01:00
|
|
|
%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/ppp/%{_name}-server-options
|
2021-05-08 22:22:20 +02:00
|
|
|
%{_sbindir}/%{_name}
|
|
|
|
%{_sbindir}/%{_name}-*
|
2018-03-10 02:51:24 +01:00
|
|
|
%{_mandir}/man?/*%{?ext_man}
|
|
|
|
%{_sbindir}/adsl-st*
|
2017-10-08 14:52:00 +02:00
|
|
|
%{_sbindir}/rc%{_name}
|
|
|
|
%{_sbindir}/rc%{_name}-server
|
|
|
|
%{_unitdir}/%{_name}.service
|
|
|
|
%{_unitdir}/%{_name}-server.service
|
2009-11-16 16:42:09 +01:00
|
|
|
|
2016-11-22 12:34:33 +01:00
|
|
|
%changelog
|