Commit graph

76 commits

Author SHA1 Message Date
adrianp
44b10d3969 - Portability fix, use @ROOT_USER@:@ROOT_GROUP@ as opposed to hardcoding
root:wheel in the startup script.
- Again thanks to kbrand (at) dplanet.ch for the suggestion.
2004-12-22 10:07:21 +00:00
adrianp
62774c15a6 - Fix freeradius not starting because of missing directory cleaned out at
reboot.
- Issue spotted and patch sent to me from kbrand (at) dplanet.ch, thanks.
- Bumped PKGREVISION
2004-12-21 22:16:01 +00:00
jlam
376a215d11 Move buildlink3.mk files ahead of make targets as per doc/Makefile-example. 2004-12-19 18:59:12 +00:00
adrianp
0aca062f3d - Fix pthread issues on 1.6.x
- Fix builds with LDAP support
- Bump PKGREVISION

Thanks to Dave.Tyson (at) liverpool.ac.uk for testing a lot of these patches
on the 1.6 branch.
2004-11-16 13:51:45 +00:00
adrianp
07d1b3baf8 - Fix incorrect ./configure syntax for non-threaded builds 2004-11-10 23:06:14 +00:00
adrianp
fce9c3890d - Update options.mk because of mySQL buildlink changes
- Add a fix for crashes when processing EAP-PEAP requests
  PR 28095 Konstantin.Kabassanov (at) lip6.fr
- Fix pthreads enabled builds on NetBSD systems < 2.0
- Replace patch-ai, patch-aj and patch-ak with SUBST_* (suggested by juan@)
2004-11-10 22:27:32 +00:00
xtraeme
c5b686aff3 Use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk,
so that we'd not force dependance on specific MySQL version, and instead pick
the currently installed mysql*-client (or install the default if there
is no mysql-client package installed yet)

this makes package buildable with arbitrary MySQL version, such as 3.23.x,
4.0.x or 4.1.x
2004-10-29 07:07:44 +00:00
tv
b1f31772d4 Update linkage to libltdl, now in its own package. 2004-10-15 12:03:52 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
adrianp
4b525e3944 - Bump package to 1.0.1nb1
- Move to options.mk framework to support SNMP, OpenLDAP, PostgreSQL and
  mySQL modules
- Add patches/patch-aj and patches/patch-ak for OpenLDAP and PostgreSQL builds
- Add extra PLIST's for OpenLDAP, PostgreSQL and mySQL modules
2004-10-02 12:06:03 +00:00
adrianp
c224bf5e8b - Update freeradius to 1.0.1
- Fix builds on 1.6 and 2.0_BETA
- ok'ed wiz@
- Addresses PR 26987 opened by Rui Paulo, thanks.
- Fix startup script using the wrong options

- Lots of changes including
	- Denial-of-Service Security Fix.
	- Make IPv6 support work better.
	- Many, many minor bug fixes and feature enhancements.
	- EAP-module feature improvements.
2004-09-23 19:51:21 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
xtraeme
4389eab9ae Assign maintainership to tech-pkg@, requested by David Ferlier
in private email.
2004-09-17 16:08:21 +00:00
jlam
f405734143 libtool uses $(CC) to link objects, not $(LD). 2004-08-27 07:29:24 +00:00
snj
4682a83b75 Convert to buildlink3. 2004-05-08 07:37:40 +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
david
eadb198575 Remove obsolete patches not needed for FreeRadius 0.9.3 2004-01-30 21:45:27 +00:00
david
dd97149097 Update FreeRadius to 0.9.3 2004-01-30 21:44:39 +00:00
grant
6eab5759a3 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:50:05 +00:00
cube
9af178b8dc Perform the pthread test the pkgsrc way: using info from
pthread.buildlink2.mk, and certainly not using output of 'uname'.
2003-11-03 10:09:50 +00:00
jmmv
6a4cd0d9be Convert to the bsd.pkg.install.mk framework:
- Install all configuration files under the examples directory.
- Copy configuration files to PKG_SYSCONFDIR using CONF_FILES.
- Honour PKG_SYSCONFDIR.
- Use OWN_DIRS to handle the /var/run/radiusd status directory.
- Use RCD_SCRIPTS to handle the rc.d script automatically.
As a result, bump PKGREVISION to 3.
2003-07-30 14:50:07 +00:00
jmmv
6b18f0ea5f Use multiple lines to set CONFIGURE_ARGS, as usual.
Fix indentation for USE_LIBTOOL line.
2003-07-30 12:08:47 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jmc
b390daac39 Remove the installation of libltdl and make this use the already installed one
that libtool-base puts down. Also, fix one place in the freeradius code
where a config.h should have been emitted but wasn't.

Also, for NetBSD < 1.6N disable threads as this requires threads and
the posix semaphore headers which pth/etc don't provide and didn't appear
until 1.6N
2003-03-12 05:56:49 +00:00
darcy
721e50af1b Replace some absolute paths (including one that was a typo anyway) with
variables.

Added CONLICTS line to show conflict with radius-cistern.  I will also add
a CONFLICTS line to radius-cistern although I will send a PR to have this
situation fixed so that both can coexist.
2003-02-27 11:30:00 +00:00
darcy
13387b636e Adding freeradius package. Thanks to David Ferlier <david@netbsd-fr.org>
for putting this package together.  Closes PR pkg/20013.

I had originally requested this package even though we already had the
Cistern RADIUS package because some terminal servers won't work with
one or the other of these packages.  This increases the number of terminal
servers that can work with NetBSD.

from the DESCR file:

  All code in this server was written from scratch.

  The server is mostly compatible with livingston radiusd-2.01
  (no menus or s/key support though) but with more feautures, such as:

    o Can limit max. number of simultaneous logins on a per-user basis!
    o Multiple DEFAULT entries, that can optionally fall-through.
    o In fact, every entry can fall-through
    o Deny/permit access based on huntgroup users dials into
    o Set certain parameters (such as static IP address) based on huntgroup
    o Extra "hints" file that can select SLIP/PPP/rlogin based on
      username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc).
    o Can execute an external program when user has authenticated (for example
      to run a sendmail queue).
    o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files
    o Can act as a proxy server, relaying requests to a remote server
    o Supports Vendor-Specific attributes
    o No good documentation at all, just like the original radiusd 1.16!

  Then of course for general RADIUS questions, especially if you are using
  Livingston  / Lucent RABU equipment, there is the portmaster-radius mailing
  list. Send mail to portmaster-radius-request@livingston.com to find
  out how to subscribe.
2003-02-27 08:51:00 +00:00