developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
And always is defined as share/examples/rc.d
which was the default before.
This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.
This was discussed on tech-pkg in late January and late April.
Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.
This is from ideas from Greg Woods and others.
Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
the RCD_SCRIPTS rc.d script(s) to the PLIST.
This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.
This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)
These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)
I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.
Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
hard-coded etc/rc.d. These need to be fixed.
- maybe remove from mk/${OPSYS}.pkg.dist mtree specifications too.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
- Fixes for compilation on Solaris.
- INCOMPATIBILITY WITH EARLIER VERSIONS:
Kernel-mode plugin now is built against latest CVS ppp source rather than
Michal Ostrowski's patched version. If you use kernel-mode PPPoE, you
MUST use the CVS version of the ppp source code with rp-pppoe 3.4.
- Print PPPoE session number when connection terminates. Thanks to
Alexander Dalloz for suggesting this.
- Fixed a bug in MSS clamping -- it now works with protocol-field compression.
Thanks to Gerd v. Egidy for the patch.
- Ignore SIGINT and SIGTERM so LCP termination packets make it out.
This update also contains a patch for PR pkg/18525 by Lex Wennmacher.
- 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.
- Client now ignores PADT's if they are from the wrong source MAC address
or to the wrong destination MAC address.
- Minor fixes to Makefile.in for Turbolinux.
- Improved KERNEL-MODE-PPPOE instructions
- Works with patched pppd 2.4.1
- Many improvements to server: Added "-u" and "-r" options; server can
now respond to request on multiple Ethernet interfaces.
- SECURITY BUG FIX: Server now ignores PADT's if they are from the wrong
source MAC address. You are STRONGLY RECOMMENDED to upgrade to 3.1
if you use pppoe-server in production.
- Many small improvements to server. Server now only makes one
discovery socket, systemwide, with addition of "-n" option to pppoe.
- Fixes for compilation problems on BSD, Solaris and some Linux platforms.
- Added "-p" option to pppoe-server to allow you to specify a pool of
IP addresses to assign to clients.
- Added GUI system (tkpppoe). This work was funded by Iospan
Wireless, Inc. The GUI includes a Set-UID wrapper (pppoe-wrapper)
which allows ordinary users to control a link (if so authorized.)
I believe the wrapper script is secure, but please audit the
source code (gui/wrapper.c) if you have any concerns.
- Changes to scripts and pppoe.conf. DNS setup is now dynamic (happens
each time adsl-connect runs.)
- Made relay.c check packet lengths rigorously; made it throw out Ethernet
frame padding on session packets as well as discovery packets.
- Added init scripts for TurboLinux, courtesy of Yasuhiro Sumi.
- Made relay.c check packet lengths rigorously; made it throw out Ethernet
frame padding on discovery packets.
- Completely restructured source file tree.
- Much internal restructuring to eliminate a bunch of global variables.
- adsl-connect now executes /etc/ppp/adsl-lost whenever connection is dropped
or cannot be established.
- Split pppoe.c into pppoe.c and discovery.c.
- Added relay agent (pppoe-relay). Development of the relay agent was
funded by IBM Corporation.
- Made adsl-connect script use the "-U" (host-unique) option to better support
multiple PPPoE links.
- Added support for kernel-mode PPPoE (EXPERIMENTAL, UNSUPPORTED!)
- Added "-o" option to PPPoE server; encoded server PID in pppoe-server
cookie.
Furthermore a startup script for NetBSD 1.5 and newer was added.
- Code should now compile cleanly on Caldera and Slackware Linux
- Fixed rp-pppoe.spec file to work on Mandrake and Red Hat.
- Deleted some obsolete files
- Fixed bug in Solaris/x86 port (thanks to Philippe Levan)
- Made shell scripts nicer under Solaris (again, Philippe Levan)
- Made adsl-status look under /var/run and /etc/ppp for PID files. Should
fix problems with NetBSD.
- Added PPPD_EXTRA to pppoe.conf; made the PID file depend on the config
file name. This makes it easier to run multiple PPPoE sessions.
- Tested for zero-length TCP option-length field, and for reverse-packing
of type/code bitfields. Thanks to Robert Schlabbach for pointing out
these problems.
- Set umask to 077 in adsl-setup.in to protect created files like
/etc/ppp/pap-secrets.
- Fixed spec file to automatically add .gz extension to man files as required
- Tightened firewall rules.
- Better check for /var/run in adsl-status; minor shell script fixes and
cleanups for NetBSD and Solaris.
- Added FAQ to HOW-TO-CONNECT regarding running a script each time a
connection is made.
- Fixed the init script to create/remove /var/lock/subsys/adsl (patch
courtesy of Charley Carter.)
- Added support (under Linux) for N_HDLC line discipline which should
greatly reduce CPU usage. My tests show it cuts CPU usage in half.
My 486 DX2/66 gets 800 kb/s at 22% CPU usage.
- adsl-connect uses "setsid" (if available) so that adsl-stop doesn't kill
its caller. There is (IMO) a bug in pppd which kills all processes in
its process group if the "pty" option is used. The setsid program gets
around this bug, on Linux at least.
- Port to Solaris, courtesy of David Holland.
- Renamed spec file from "spec" to "rp-pppoe.spec" and made some cleanups.
NOTE: Red Hat, in their infinite wisdom, decided to make the new RPM
compress man pages automatically. You may have problems building RPM's
from source unless you get the latest rpm package and make sure it
compresses man pages.
- Added "-f" option to pppoe to allow use of any Ethernet frame type
for PPPoE. USE WITH CAUTION -- this is a workaround for broken DSL
providers, not something you should monkey with freely!
- Added pppoe-sniff program to help expose non-standard PPPoE
implementations.
- Fixed minor bugs in bounds-checking
- Modified adsl-status to use output of "netstat -r -n" to determine
whether or not link is up. This should make it independent of locale,
I hope!
- Added "-k" and "-d" options to pppoe.
- Addition of pppoe-server
- Massive internal code restructuring
- Zealous bounds-checking everywhere.
- adsl-setup now quotes user name and password in /etc/ppp/pap-secrets.
- Ported to OpenBSD, FreeBSD and NetBSD, courtesy of Geoff Mottram
and Yannis Sismanis.
- Rearranged adsl-* shell scripts, courtesy of Heiko Schlittermann.
- Fixed bug in which Host-Uniq did not work if access concentrator sent
a cookie.
- Addition of SuSE-specific "init" script, courtesy of Gary Cameron.