From 49a72e199b988e232184f13f89c76f9dcf0035e5 Mon Sep 17 00:00:00 2001 From: Gernot Tenchio Date: Mon, 22 Nov 2010 14:16:34 +0100 Subject: [PATCH] pam_radius: Added pam_radius 1.3.17 - A Pluggable Authentication Module for RADIUS authentication and accounting --- network/pam_radius/pam_radius-make.patch | 28 +++++++++++++++++++ network/pam_radius/pam_radius.desc | 34 ++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 network/pam_radius/pam_radius-make.patch create mode 100644 network/pam_radius/pam_radius.desc diff --git a/network/pam_radius/pam_radius-make.patch b/network/pam_radius/pam_radius-make.patch new file mode 100644 index 000000000..60f5e02fa --- /dev/null +++ b/network/pam_radius/pam_radius-make.patch @@ -0,0 +1,28 @@ +diff -up pam_radius-1.3.17/Makefile.make pam_radius-1.3.17/Makefile +--- pam_radius-1.3.17/Makefile.make 2010-11-22 14:03:13.702695066 +0100 ++++ pam_radius-1.3.17/Makefile 2010-11-22 14:06:33.958697253 +0100 +@@ -47,6 +47,7 @@ pam_radius_auth.o: pam_radius_auth.c pam + # Build the shared library. + # + # The -Bshareable flag *should* work on *most* operating systems. ++# ld -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so + # + # On Solaris, you might try using '-G', instead. + # +@@ -55,7 +56,7 @@ pam_radius_auth.o: pam_radius_auth.c pam + # gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so + # + pam_radius_auth.so: pam_radius_auth.o md5.o +- ld -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so ++ gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so + + ###################################################################### + # +@@ -72,3 +73,7 @@ dist: + # + clean: + @rm -f *~ *.so *.o ++ ++install: ++ install -d ${DESTDIR}/lib/security ++ install -m 0755 pam_radius_auth.so ${DESTDIR}/lib/security diff --git a/network/pam_radius/pam_radius.desc b/network/pam_radius/pam_radius.desc new file mode 100644 index 000000000..072a278e1 --- /dev/null +++ b/network/pam_radius/pam_radius.desc @@ -0,0 +1,34 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../pam_radius/pam_radius.desc +[COPY] Copyright (C) 2010 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A Pluggable Authentication Module for RADIUS authentication and accounting + +[T] This is the PAM to RADIUS authentication module. It allows any +[T] PAM-capable machine to become a RADIUS client for authentication and +[T] accounting requests. You will need a RADIUS server to perform the +[T] actual authentication. + +[U] http://freeradius.org/pam_radius_auth/ + +[A] Alan DeKok +[M] The OpenSDE Community + +[C] extra/server extra/base + +[L] GPL +[S] Stable +[V] 1.3.17 +[P] X -----5---9 800.000 + +[D] 1617283736 pam_radius-1.3.17.tar.gz ftp://ftp.freeradius.org/pub/radius/