2007-01-16 00:35:24 +01:00
|
|
|
#
|
2008-07-09 00:37:09 +02:00
|
|
|
# spec file for package rp-pppoe (Version 3.10)
|
2007-01-16 00:35:24 +01:00
|
|
|
#
|
2009-06-09 17:48:47 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-16 00:35:24 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-09 17:48:47 +02:00
|
|
|
%if %{?rel:0}%{!?rel:1}
|
|
|
|
%define rel 1
|
|
|
|
%endif
|
2008-02-22 01:47:05 +01:00
|
|
|
|
2007-01-16 00:35:24 +01:00
|
|
|
Name: rp-pppoe
|
|
|
|
Summary: A PPP Over Ethernet Redirector for PPPD
|
2008-07-09 00:37:09 +02:00
|
|
|
Version: 3.10
|
2009-06-09 17:48:47 +02:00
|
|
|
Release: 27
|
2008-02-22 01:47:05 +01:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:35:24 +01:00
|
|
|
Group: Productivity/Networking/PPP
|
|
|
|
Source: http://www.roaringpenguin.com/pppoe/rp-pppoe-%{version}.tar.bz2
|
2008-02-22 01:47:05 +01:00
|
|
|
Url: http://www.roaringpenguin.com/pppoe
|
2009-06-09 17:48:47 +02:00
|
|
|
#Patch0: init-suse.diff
|
2007-01-16 00:35:24 +01:00
|
|
|
Patch1: docdir.diff
|
|
|
|
Patch2: nonrfc-modems.diff
|
|
|
|
Patch3: logger-path.diff
|
|
|
|
Patch5: release-buildsystem.diff
|
|
|
|
Patch6: resolve-conf.diff
|
|
|
|
Patch8: strip.diff
|
2009-06-09 17:48:47 +02:00
|
|
|
Patch10: %{name}-3.10-init.patch
|
|
|
|
Patch11: %{name}-3.10-config.patch
|
2007-01-16 00:35:24 +01:00
|
|
|
Requires: ppp >= 2.3.7
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: %insserv_prereq %fillup_prereq
|
2009-06-09 17:48:47 +02:00
|
|
|
BuildRequires: ppp
|
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
rp-pppoe is a user-space redirector which permits the use of PPPoE
|
|
|
|
(Point-to-Point Protocol Over Ethernet) with Linux. PPPoE is used by
|
|
|
|
many ADSL service providers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David F. Skoll <http://www.roaringpenguin.com>
|
|
|
|
|
|
|
|
%prep
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
%setup -q
|
2009-06-09 17:48:47 +02:00
|
|
|
#%patch0
|
2007-01-16 00:35:24 +01:00
|
|
|
%patch1
|
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
%patch5
|
|
|
|
%patch6
|
|
|
|
%patch8
|
2009-06-09 17:48:47 +02:00
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%build
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
cd src
|
|
|
|
CFLAGS=$RPM_OPT_FLAGS \
|
2008-02-22 01:47:05 +01:00
|
|
|
%configure
|
2009-06-09 17:48:47 +02:00
|
|
|
%{__make}
|
2007-01-16 00:35:24 +01:00
|
|
|
cd ../gui
|
2009-06-09 17:48:47 +02:00
|
|
|
%{__make}
|
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%install
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
cd src
|
2009-06-09 17:48:47 +02:00
|
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{__ln_s} -f ../../etc/init.d/pppoe $RPM_BUILD_ROOT%{_sbindir}/rcpppoe
|
2007-01-16 00:35:24 +01:00
|
|
|
cd ../gui
|
2009-06-09 17:48:47 +02:00
|
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{__install} -d $RPM_BUILD_ROOT%_defaultdocdir/rp-pppoe
|
|
|
|
%{__mv} $RPM_BUILD_ROOT/etc/ppp/plugins/README $RPM_BUILD_ROOT%_defaultdocdir/rp-pppoe/README.plugins
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT/etc/ppp/plugins
|
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%clean
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
2008-02-22 01:47:05 +01:00
|
|
|
%preun
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2008-02-22 01:47:05 +01:00
|
|
|
%stop_on_removal pppoe
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2008-02-22 01:47:05 +01:00
|
|
|
|
2007-01-16 00:35:24 +01:00
|
|
|
%post
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
%{fillup_and_insserv pppoe}
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
2008-02-22 01:47:05 +01:00
|
|
|
%postun
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2008-02-22 01:47:05 +01:00
|
|
|
%restart_on_update pppoe
|
2007-01-16 00:35:24 +01:00
|
|
|
%{insserv_cleanup}
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
|
|
|
%files
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_defaultdocdir/rp-pppoe
|
|
|
|
%doc %_defaultdocdir/rp-pppoe/*
|
|
|
|
%config(noreplace) /etc/ppp/pppoe.conf
|
|
|
|
%config(noreplace) /etc/ppp/pppoe-server-options
|
|
|
|
%config(noreplace) /etc/ppp/firewall-masq
|
|
|
|
%config(noreplace) /etc/ppp/firewall-standalone
|
2009-06-09 17:48:47 +02:00
|
|
|
%{_bindir}/tkpppoe
|
|
|
|
%{_sbindir}/pppoe
|
|
|
|
%{_sbindir}/pppoe-server
|
|
|
|
%{_sbindir}/pppoe-sniff
|
|
|
|
%{_sbindir}/pppoe-relay
|
|
|
|
%{_sbindir}/pppoe-connect
|
|
|
|
%{_sbindir}/pppoe-start
|
|
|
|
%{_sbindir}/pppoe-stop
|
|
|
|
%{_sbindir}/pppoe-setup
|
|
|
|
%{_sbindir}/pppoe-status
|
|
|
|
%attr (4750,root,dialout) %{_sbindir}/pppoe-wrapper
|
|
|
|
%{_sbindir}/rcpppoe
|
2007-01-16 00:35:24 +01:00
|
|
|
%{_mandir}/man5/pppoe.conf.5*
|
|
|
|
%{_mandir}/man8/pppoe.8*
|
|
|
|
%{_mandir}/man8/pppoe-server.8*
|
|
|
|
%{_mandir}/man8/pppoe-relay.8*
|
|
|
|
%{_mandir}/man8/pppoe-sniff.8*
|
|
|
|
%{_mandir}/man8/pppoe-connect.8*
|
|
|
|
%{_mandir}/man8/pppoe-start.8*
|
|
|
|
%{_mandir}/man8/pppoe-stop.8*
|
|
|
|
%{_mandir}/man8/pppoe-status.8*
|
|
|
|
%{_mandir}/man8/pppoe-setup.8*
|
|
|
|
/etc/init.d/pppoe
|
|
|
|
%dir /etc/ppp/rp-pppoe-gui
|
|
|
|
%{_mandir}/man1/tkpppoe.1*
|
|
|
|
%{_mandir}/man1/pppoe-wrapper.1*
|
|
|
|
%dir /usr/share/tkpppoe
|
|
|
|
/usr/share/tkpppoe/tkpppoe.html
|
|
|
|
/usr/share/tkpppoe/mainwin-busy.png
|
|
|
|
/usr/share/tkpppoe/mainwin-nonroot.png
|
|
|
|
/usr/share/tkpppoe/mainwin.png
|
|
|
|
/usr/share/tkpppoe/props-advanced.png
|
|
|
|
/usr/share/tkpppoe/props-basic.png
|
|
|
|
/usr/share/tkpppoe/props-nic.png
|
|
|
|
/usr/share/tkpppoe/props-options.png
|
|
|
|
/usr/share/tkpppoe/en.msg
|
|
|
|
/usr/share/tkpppoe/ja.msg
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2007-01-16 00:35:24 +01:00
|
|
|
|
2009-06-09 17:48:47 +02:00
|
|
|
#----------------------------------------------------------------------------------
|
2008-02-22 01:47:05 +01:00
|
|
|
%changelog
|
2009-06-09 17:48:47 +02:00
|
|
|
* Fri May 08 2009 chris@computersalat.de
|
|
|
|
- new patch for init script
|
|
|
|
o added reload
|
|
|
|
o rework of status
|
|
|
|
- added config patch
|
|
|
|
* Wed Apr 15 2009 chris@computersalat.de
|
|
|
|
- beautify spec
|
2008-07-09 00:37:09 +02:00
|
|
|
* Fri Jul 04 2008 hvogel@suse.de
|
|
|
|
- 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
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri Feb 22 2008 crrodriguez@suse.de
|
|
|
|
- add missing remote_fs dependency in the init script
|
|
|
|
- fix/add missing calls to restart_on_update and stop_on_removal macros
|
|
|
|
* Thu Jul 13 2006 mskibbe@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- 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.
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri May 26 2006 schwab@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Use RPM_OPT_FLAGS.
|
|
|
|
- Don't strip binaries.
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-22 01:47:05 +01:00
|
|
|
* Thu Nov 17 2005 arvin@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- updated to version 3.7
|
2008-02-22 01:47:05 +01:00
|
|
|
- pppoe-server prepends "nic-" to interface name if used with
|
2007-01-16 00:35:24 +01:00
|
|
|
kernel-mode plugin
|
2008-02-22 01:47:05 +01:00
|
|
|
- added -O option to pppoe-server that specify a different
|
2007-01-16 00:35:24 +01:00
|
|
|
default options file for pppd
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Sep 21 2005 arvin@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- updated to version 3.6:
|
2008-02-22 01:47:05 +01:00
|
|
|
- Changed the names of commands from adsl-* to pppoe-* to
|
2007-01-16 00:35:24 +01:00
|
|
|
more logically name the scripts (incompatibility)
|
2008-02-22 01:47:05 +01:00
|
|
|
- Changed sample firewall scripts to use iptables instead of
|
2007-01-16 00:35:24 +01:00
|
|
|
the old ipchains command
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Jan 19 2005 arvin@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- fixed build on s390 by compiling without -ansi
|
2008-02-22 01:47:05 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- build as user
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri Sep 05 2003 ro@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- fix typo in specfile
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri Sep 05 2003 kukuk@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Add %%attr to get filelist in sync with /etc/permissions*
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri Jun 13 2003 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Added %%dir to created directories
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri May 16 2003 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Fixed init script syntax (bug #26248)
|
|
|
|
- Fixed file list
|
2008-02-22 01:47:05 +01:00
|
|
|
* Mon Mar 10 2003 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- dont link /etc/resolv.conf, done by ip-up ( #15707)
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Oct 02 2002 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Don't check for release file
|
2008-02-22 01:47:05 +01:00
|
|
|
* Mon Sep 30 2002 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- fixed bug #20327: wrong path to logger in scripts
|
2008-02-22 01:47:05 +01:00
|
|
|
* Mon Aug 19 2002 kukuk@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- fixed compilation on UL
|
2008-02-22 01:47:05 +01:00
|
|
|
* Mon Aug 19 2002 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Fixed bug #17866: Added PreReq
|
2008-02-22 01:47:05 +01:00
|
|
|
* Sat Aug 10 2002 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Fix bug #17465: detect non-rfc modems
|
|
|
|
- Fix bug #17466: use netfilter instead of ipchains
|
2008-02-22 01:47:05 +01:00
|
|
|
* Mon Jul 29 2002 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- update to 3.5
|
2008-02-22 01:47:05 +01:00
|
|
|
* Mon Jan 14 2002 ro@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- removed START_ADSL
|
2008-02-22 01:47:05 +01:00
|
|
|
* Sat Oct 20 2001 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- 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.
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri Aug 03 2001 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Update to version 3.2
|
2008-02-22 01:47:05 +01:00
|
|
|
* Thu Jun 28 2001 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Fixed bug #8966
|
|
|
|
- bzipped sources
|
2008-02-22 01:47:05 +01:00
|
|
|
* Sat Apr 21 2001 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Fixed documentation path in GUI
|
|
|
|
- Added GUI documentation
|
2008-02-22 01:47:05 +01:00
|
|
|
* Thu Apr 05 2001 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Fixed init script (Use rc_status)
|
2008-02-22 01:47:05 +01:00
|
|
|
* Tue Apr 03 2001 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Update to version 3.0
|
2008-02-22 01:47:05 +01:00
|
|
|
* Thu Mar 01 2001 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Update to version 2.8
|
|
|
|
- Fixed headers
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri Dec 22 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Added obosletes and provides tags
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Dec 13 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Update to 2.5 (Fixes security problem)
|
2008-02-22 01:47:05 +01:00
|
|
|
* Sat Dec 09 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Update to 2.4
|
|
|
|
- Fix rcadsl link
|
|
|
|
- Changed name tp rp-pppoe
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Nov 29 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Use insserv
|
2008-02-22 01:47:05 +01:00
|
|
|
* Fri Sep 22 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Updated to 2.3
|
2008-02-22 01:47:05 +01:00
|
|
|
* Thu May 25 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Updated to 1.9
|
|
|
|
- Added init script
|
2008-02-22 01:47:05 +01:00
|
|
|
* Sun May 07 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Update to version 1.8
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Mar 29 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Update to version 1.7
|
|
|
|
- Fixed Group & Buildroot tag
|
2008-02-22 01:47:05 +01:00
|
|
|
* Wed Feb 23 2000 nashif@suse.de
|
2007-01-16 00:35:24 +01:00
|
|
|
- Initial Release (Version 1.3)
|