diff options
author | manu <manu> | 2004-10-20 22:45:30 +0000 |
---|---|---|
committer | manu <manu> | 2004-10-20 22:45:30 +0000 |
commit | 1c063eb0d3777fed362b3ff4a2e03c318e5c1494 (patch) | |
tree | bd447abfe430c1277713adcf80e979b8073f779e /net | |
parent | 2bb9adefe204f47fc30413cb82c7bb88c6ba8a20 (diff) | |
download | pkgsrc-1c063eb0d3777fed362b3ff4a2e03c318e5c1494.tar.gz |
libradius is a simple and easy-to use client library for RADIUS.
Diffstat (limited to 'net')
-rw-r--r-- | net/libradius/DESCR | 3 | ||||
-rw-r--r-- | net/libradius/Makefile | 13 | ||||
-rw-r--r-- | net/libradius/PLIST | 4 | ||||
-rw-r--r-- | net/libradius/distinfo | 5 | ||||
-rw-r--r-- | net/libradius/patches/patch-aa | 39 |
5 files changed, 64 insertions, 0 deletions
diff --git a/net/libradius/DESCR b/net/libradius/DESCR new file mode 100644 index 00000000000..e124c65045f --- /dev/null +++ b/net/libradius/DESCR @@ -0,0 +1,3 @@ +libradius is a simple and easy-to use client library for RADIUS. It was +initially developped by Juniper for FreeBSD, then ported to Linux and here +it is. diff --git a/net/libradius/Makefile b/net/libradius/Makefile new file mode 100644 index 00000000000..e317dd2b347 --- /dev/null +++ b/net/libradius/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/10/20 22:45:30 manu Exp $ +# + +DISTNAME= libradius-linux-20040827 +CATEGORIES= net +MASTER_SITES= http://portal-to-web.de/tacacs/ + +MAINTAINER= manu@netbsd.org +COMMENT= RADIUS client library + +WRKSRC= ${WRKDIR}/libradius-linux + +.include "../../mk/bsd.pkg.mk" diff --git a/net/libradius/PLIST b/net/libradius/PLIST new file mode 100644 index 00000000000..7450f0e761c --- /dev/null +++ b/net/libradius/PLIST @@ -0,0 +1,4 @@ +lib/libradius.a +include/radlib.h +man/man3/libradius.3 +man/man5/radius.conf.5 diff --git a/net/libradius/distinfo b/net/libradius/distinfo new file mode 100644 index 00000000000..4fa7b30dacb --- /dev/null +++ b/net/libradius/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/10/20 22:45:30 manu Exp $ + +SHA1 (libradius-linux-20040827.tar.gz) = 27abd1390d16befe290ded70579bfdda8fabe68f +Size (libradius-linux-20040827.tar.gz) = 15791 bytes +SHA1 (patch-aa) = 307aaacef1c5aa8bc326607723dd22141bea3f85 diff --git a/net/libradius/patches/patch-aa b/net/libradius/patches/patch-aa new file mode 100644 index 00000000000..547bb342011 --- /dev/null +++ b/net/libradius/patches/patch-aa @@ -0,0 +1,39 @@ +--- Makefile.orig 2004-08-27 07:20:33.000000000 +0000 ++++ Makefile 2004-09-07 18:39:55.000000000 +0000 +@@ -23,20 +23,16 @@ + # SUCH DAMAGE. + # + # $FreeBSD: src/lib/libradius/Makefile,v 1.1.1.1 1998/11/13 00:53:01 jdp Exp $ + +-PREFIX= /usr/local +- +-RM= rm -f +-LN= ln +-CC= cc +-CFLAGS= -O2 ++RM= rm -f ++LN= ln + + # linux -L$(PREFIX)/lib -lmd +-LIBMD= -L$(PREFIX)/lib -lmd ++#LIBMD= -L$(PREFIX)/lib -lmd + + # netbsd - it's in libc +-#LIBMD= -L/usr/lib -lc ++LIBMD= -L/usr/lib -lc + + + LIB= radius + OBJS= radlib.o +@@ -61,9 +57,9 @@ + $(RM) lib$(LIB).a + + install: all + install -c -m 644 -o bin -g bin lib$(LIB).a $(PREFIX)/lib +- install -c -m 644 -o bin -g bin lib$(LIB).so.1.0 $(PREFIX)/lib +- $(LN) -sf $(PREFIX)/lib/lib$(LIB).so.1.0 $(PREFIX)/lib/lib$(LIB).so ++# install -c -m 644 -o bin -g bin lib$(LIB).so.1.0 $(PREFIX)/lib ++# $(LN) -sf $(PREFIX)/lib/lib$(LIB).so.1.0 $(PREFIX)/lib/lib$(LIB).so + install -c -m 444 -o bin -g bin radlib.h $(PREFIX)/include + install -c -m 444 -o bin -g bin libradius.3 $(PREFIX)/man/man3 + install -c -m 444 -o bin -g bin radius.conf.5 $(PREFIX)/man/man5 |