libradius is a simple and easy-to use client library for RADIUS.
This commit is contained in:
parent
5b8d1ba7b0
commit
c01e955813
5 changed files with 64 additions and 0 deletions
3
net/libradius/DESCR
Normal file
3
net/libradius/DESCR
Normal file
|
@ -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.
|
13
net/libradius/Makefile
Normal file
13
net/libradius/Makefile
Normal file
|
@ -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"
|
4
net/libradius/PLIST
Normal file
4
net/libradius/PLIST
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/libradius.a
|
||||
include/radlib.h
|
||||
man/man3/libradius.3
|
||||
man/man5/radius.conf.5
|
5
net/libradius/distinfo
Normal file
5
net/libradius/distinfo
Normal file
|
@ -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
|
39
net/libradius/patches/patch-aa
Normal file
39
net/libradius/patches/patch-aa
Normal file
|
@ -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
|
Loading…
Reference in a new issue