From chris@aims.com.au  Sat Jul 21 03:13:10 2001
Return-Path: <chris@aims.com.au>
Received: from postoffice.aims.com.au (advanc2.lnk.telstra.net [139.130.119.73])
	by hub.freebsd.org (Postfix) with ESMTP id 003E237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jul 2001 03:13:05 -0700 (PDT)
	(envelope-from chris@aims.com.au)
Received: from postoffice.aims.com.au (nts-ts1.aims.private [192.168.10.2])
	by postoffice.aims.com.au  with ESMTP id f6LAD4V49908
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jul 2001 20:13:04 +1000 (EST)
	(envelope-from chris@aims.com.au)
Received: from ntsts1 by aims.com.au
	with SMTP (MDaemon.v3.5.3.R)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jul 2001 20:12:06 +1000
Message-Id: <200107211007.f6LA7sv93556@dbserver1.aims.private>
Date: Sat, 21 Jul 2001 20:12:05 +1000
From: chris@aims.com.au
Reply-To: <chris@aims.com.au>
To: <FreeBSD-gnats-submit@freebsd.org>
Subject: [PATCH] net/radiusd-cistron: Add PAM support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         29120
>Category:       ports
>Synopsis:       [PATCH] net/radiusd-cistron: Add PAM support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 21 03:20:00 PDT 2001
>Closed-Date:    Fri Feb 1 01:31:03 PST 2002
>Last-Modified:  Sun Jul 07 02:04:17 PDT 2002
>Originator:     Chris Knight
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
AIMS Independent Computer Professionals
>Environment:
System: FreeBSD dbserver1.aims.private 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Tue Apr 24 16:52:12 EST 2001
root@dbserver1.aims.private:/usr/obj/usr/src/sys/DBSERVER i386


>Description:
	radiusd-cistron doesn't enable PAM by default, and I couldn't be
	bothered installing and configuring another RADIUS server to get to
	my LDAP database. I've found the following entries in /etc/pam.conf
	to work with security/pam_ldap:

radius	auth	required	/usr/local/lib/pam_ldap.so	try_first_pass
radius	account	required	/usr/local/lib/pam_ldap.so	try_first_pass

>How-To-Repeat:
	N/A

>Fix:

	Replace patch-aa with the following:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/net/radiusd-cistron/files/patch-aa
#
echo x - /usr/ports/net/radiusd-cistron/files/patch-aa
sed 's/^X//' >/usr/ports/net/radiusd-cistron/files/patch-aa << 'END-of-/usr/ports/net/radiusd-cistron/files/patch-aa'
X--- src/Makefile.BSD.orig	Sun Sep 19 08:10:41 1999
X+++ src/Makefile.BSD	Sat Jul 21 18:48:00 2001
X@@ -3,19 +3,19 @@
X #
X #
X
X-CC	= gcc
X-CFLAGS	= -Wall -g -DNOSHADOW
X-LDFLAGS	= # -s #tatic
X+#CC	= gcc
X+CFLAGS	+= -DNOSHADOW -DPREFIX=\"$(PREFIX)\"
X+LDFLAGS	= -s #tatic
X LIBS	=
X LCRYPT	= -lcrypt
X
X DBM     = -DNDBM
X DBMLIB  = #-ldb
X
X-#PAM	= -DPAM
X-#PAMLIB	= -lpam
X+PAM	= -DPAM
X+PAMLIB	= -lpam
X
X-BINDIR  = /usr/local/bin
X-SBINDIR = /usr/local/sbin
X+BINDIR  = $(PREFIX)/bin
X+SBINDIR = $(PREFIX)/sbin
X
X .include "Make.inc"
END-of-/usr/ports/net/radiusd-cistron/files/patch-aa
exit


>Release-Note:
>Audit-Trail:

From: "Chris Knight" <chris@aims.com.au>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: ports/29120: [PATCH] net/radiusd-cistron: Add PAM support
Date: Fri, 1 Feb 2002 18:33:21 +1100

 Please close this PR. The patch has been applied. Thanks.
 
 Regards,
 Chris Knight
 Systems Administrator
 AIMS Independent Computer Professionals
 Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
 Web: http://www.aims.com.au
 
 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Fri Feb 1 01:31:03 PST 2002 
State-Changed-Why:  
Patch is included, Author requested to close PR. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29120 
>Unformatted:
