Commit graph

17 commits

Author SHA1 Message Date
snj
9063cf0e30 Convert to buildlink3. 2004-04-25 08:47:21 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
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.
2004-04-23 22:07:52 +00:00
snj
f376176b5f s/accouting/accounting/ 2004-02-21 07:31:05 +00:00
martti
4694497b69 radiusd-cistron (1.6.7) cistron; urgency=medium
* Fix checkrad.pl::cisco_snmp and usrhiper_snmp so that communities
    other than "public" can be used too.
  * Error out on superflous command line args (optind >= argc)
  * Encrypt CHAP-Password in radclient so that CHAP can be tested too
  * Add "wildcard" option to realms - if you set this option, you can
    match on the entire username using shell wildcards in the realms file.
  * If the nastype in /etc/raddb/naslist is set to 'none' for a nas,
    logins on that nas will have no simultaneous use restrictions imposed
    and those logins will not count towards the total amount of logins.
  * Removed 'raduse' and manpage.
  * Can disable radutmp with "-u none" (likewise radwtmp with "-W none",
    though we already had "-w" for that).
  * Call checkrad with an extra argument, the framed IP address.
  * Fix bug where $INCLUDEing a file without any records would
    cause the rest of the original file to be ignored
  * Support for 64-bit wide integers (integer8 type). If compiled with
    gcc, users file can contain both hex and decimal 64-bit values,
    and 64-bit values are printed in decimal. With other compilers
    (no "long long" support) only hex 64-bit values are supported.
  * Change "_" to "-" in dictionary.redback and change the 64 bits
    values to integer8.
  * Moved the dictionary files to /usr/local/share/radius. Now
    only /etc/raddb/dictionary remains that $INCLUDES all the others.
    For new installs only; existing installations won't be changed
  * Make integer in the format string of sprintf(buf, "%03d:%.20s", ..) in
    make_wtmp() unsigned (%u), otherwise the sprintf could in some cases
    (negative NAS-Port, very long NAS-name) overrun the buffer by one
    byte, overwriting the least significant byte of the return address
    on the stack with a \0. Not sure if this is exploitable or not,
    but it could be a security problem.
  * Make sure ut.login (struct radutmp member) is treated everywhere
    as a NON-zero terminated string.
  * Make sure unsigned integers are used in all places using lvalues
    (32 bits radius values), especially nas_port.
  * radrelay: update id of packet when retransmitting.
  * Print an error and free the request struct if we receive an unknown
    packet type.
  * rad_check_multi: if username/NAS/port match, don't count as dup.
2003-12-16 19:19:41 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
4a5fce631c Convert to use bsd.pkg.install.mk:
- Honour PKG_SYSCONFDIR.
- Use OWN_DIRS_PERMS to handle the /var/log/radacct directory.
- Use RCD_SCRIPTS to install a NetBSD rc.d compatible script.
Bump PKGREVISION to 1.
2003-05-01 18:35:46 +00:00
jmmv
21067276e7 Avoid defining specific do-build and do-install targets. Use buildlink2. 2003-05-01 18:05:26 +00:00
darcy
492da34972 Now that Freeradius is in the tree this one has a conflict. 2003-02-27 20:36:28 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00
david
c20f8117c7 Update to 1.6.6 - vendor supplied fix for CERT announced radiusd issues. 2002-03-05 06:27:48 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
martti
fca574f0b0 * Renamed the startup script rc.d/radiusd.sh -> rc.d/radiusd
* Don't fail if ${PREFIX}/etc/raddb can't be removed (i.e. because users's
  locally modified configuration files are still there)
2002-02-04 13:01:33 +00:00
martti
d96758e2e7 Updated to 1.6.5.
* Bug fixes
* Clean up BSD password file support again
* Fixed bug in auth.c wrt decoding of short password attributes.
* Server now replies to Status-Server inquiries.
* Add "-v" switch to radzap (suggested by Dan Harkless).
* Add "-Z" switch to radiusd, prevents logging of passwords for -y
  (suggested by Dan Harkless).
* Change "duplicate detected" message to actually show _what_ authentication
  packet causes the duplicate
* Wrote manualpages for radlast,radzap, radwho, radclient, radtest,
  radwatch and raduse. Yes, documentation!
* Added -P pidfile option to radiusd and radrelay

See the doc/ChangeLog file for a comple list of changes!
2001-12-20 10:05:49 +00:00
agc
57aa4707d7 s/root/${ROOT_USER}/g, now that the definition appears in the
defs.${OPSYS}.mk files.
2001-12-05 15:00:44 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
martti
12a00a67c7 Added radiusd-cistron which was submitted in pkg/13274. 2001-10-11 09:57:20 +00:00