Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 06:10:07 -0800 (PST)
From:      dirk.meyer@dinoex.sub.org (Dirk Meyer)
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/34713: Non-maintainer update to net/radiusd-cistron port
Message-ID:  <200202221410.g1MEA7Y91892@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/34713; it has been noted by GNATS.

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit@FreeBSD.org, juha.ylitalo@iki.fi
Cc:  
Subject: Re: ports/34713: Non-maintainer update to net/radiusd-cistron
	port
Date: Fri, 22 Feb 2002 15:02:46 +0100

 Please modify your patches ....
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
 
 1)
 I think it in not commit ready,
 the old "radiusd-cistron/files/patch-ac"
 is better then "patch-conf.h"
 
 2)
 Consider to use:
 MAKE_ENV+=	RADIUS_DIR="${RADIUS_DIR}"
 
 3)
 Your modifications as patch:
 
 removed files:
 	radiusd-cistron/files/patch-aa
 	radiusd-cistron/files/patch-ab
 	radiusd-cistron/files/patch-af
 
 diff radiusd-cistron/Makefile radiusd-cistron/Makefile
 --- radiusd-cistron/Makefile	Tue Jan 29 20:39:28 2002
 +++ radiusd-cistron/Makefile	Fri Feb 22 13:22:07 2002
 @@ -6,33 +6,40 @@
  #
  
  PORTNAME=	radiusd-cistron
 -PORTVERSION=	1.6.4
 +PORTVERSION=	1.6.6
  CATEGORIES=	net
  MASTER_SITES=	ftp://ftp.cistron.nl/pub/people/miquels/radius/ \
  		ftp://ftp.freeradius.org/pub/radius/
  
 -FORBIDDEN=	"Remotely exploitable buffer overflow"
 -
  MAINTAINER=	john@nlc.net.au
  
 +# FORBIDDEN=	"Remotely exploitable buffer overflow"
 +
  MAKEFILE=	Makefile.BSD
 +RADIUS_DIR=	${PREFIX}/etc/raddb
  
  MAN1=		radlast.1 radtest.1 raduse.1 radwho.1 radzap.1
  MAN5=		clients.5rad naslist.5rad
  MAN8=		radiusd.8 radwatch.8
  
  do-build:
 -	cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE}
 +	cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} RADIUS_DIR=${RADIUS_DIR}
  
  do-install:
 -	cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} install
 +	cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} RADIUS_DIR=${RADIUS_DIR} install
 +	${CP} ${RADIUS_DIR}/clients    ${RADIUS_DIR}/clients.sample
 +	${CP} ${RADIUS_DIR}/hints      ${RADIUS_DIR}/hints.sample
 +	${CP} ${RADIUS_DIR}/huntgroups ${RADIUS_DIR}/huntgroups.sample
 +	${CP} ${RADIUS_DIR}/naslist    ${RADIUS_DIR}/naslist.sample
 +	${CP} ${RADIUS_DIR}/naspasswd  ${RADIUS_DIR}/naspasswd.sample
 +	${CP} ${RADIUS_DIR}/realms     ${RADIUS_DIR}/realms.sample
 +	${CP} ${RADIUS_DIR}/users      ${RADIUS_DIR}/users.sample
  	@${MKDIR} -m 700 /var/log/radacct
  .if !defined(NOPORTDOCS)
  	@${MKDIR} ${PREFIX}/share/doc/radiusd-cistron
 -	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.Cistron ${PREFIX}/share/doc/radiusd-cistron
 -	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.Livingston ${PREFIX}/share/doc/radiusd-cistron
 +	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/radiusd-cistron
  	${INSTALL_DATA} ${WRKSRC}/doc/ChangeLog ${PREFIX}/share/doc/radiusd-cistron
 -	${INSTALL_DATA} ${WRKSRC}/doc/INSTALL.OLD ${PREFIX}/share/doc/radiusd-cistron
 +	${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/radiusd-cistron
  	${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/radiusd-cistron
  	${INSTALL_DATA} ${WRKSRC}/doc/README.Y2K ${PREFIX}/share/doc/radiusd-cistron
  	${INSTALL_DATA} ${WRKSRC}/doc/README.cisco ${PREFIX}/share/doc/radiusd-cistron
 diff radiusd-cistron/distinfo radiusd-cistron/distinfo
 --- radiusd-cistron/distinfo	Thu Jan 11 08:59:54 2001
 +++ radiusd-cistron/distinfo	Fri Feb 22 13:22:07 2002
 @@ -1 +1 @@
 -MD5 (radiusd-cistron-1.6.4.tar.gz) = a76babebdd64bc289d5d814dbc2f2c10
 +MD5 (radiusd-cistron-1.6.6.tar.gz) = 16084870890fd2ec577dbe183b51a379
 diff radiusd-cistron/files/patch-ac radiusd-cistron/files/patch-ac
 --- radiusd-cistron/files/patch-ac	Thu May  4 01:04:48 2000
 +++ radiusd-cistron/files/patch-ac	Fri Feb 22 13:22:07 2002
 @@ -1,10 +1,11 @@
 ---- src/conf.h.orig	Thu Mar 30 10:24:59 2000
 -+++ src/conf.h	Wed May  3 18:37:57 2000
 -@@ -1,6 +1,6 @@
 - /* Default Database File Names */
 +--- src/conf.h	2002/02/07 19:39:25	1.1
 ++++ src/conf.h	2002/02/07 19:39:50
 +@@ -6,7 +6,7 @@
 +  */
   
 + /* Default Database File Names */
  -#define RADIUS_DIR		"/etc/raddb"
 -+#define RADIUS_DIR		PREFIX "/etc/raddb"
 ++#define RADIUS_DIR		"/usr/local/etc/raddb"
   #define RADLOG_DIR		"/var/log"
   
   #ifdef aix
 diff radiusd-cistron/pkg-plist radiusd-cistron/pkg-plist
 --- radiusd-cistron/pkg-plist	Thu May  4 01:04:49 2000
 +++ radiusd-cistron/pkg-plist	Fri Feb 22 13:22:07 2002
 @@ -5,7 +5,7 @@
  bin/radzap
  sbin/checkrad
  sbin/radiusd
 -sbin/radwatch
 +sbin/radrelay
  etc/raddb/clients.sample
  etc/raddb/dictionary
  etc/raddb/dictionary.ascend
 @@ -22,10 +22,9 @@
  etc/raddb/naspasswd.sample
  etc/raddb/realms.sample
  etc/raddb/users.sample
 -share/doc/radiusd-cistron/COPYRIGHT.Cistron
 -share/doc/radiusd-cistron/COPYRIGHT.Livingston
 +share/doc/radiusd-cistron/COPYRIGHT
  share/doc/radiusd-cistron/ChangeLog
 -share/doc/radiusd-cistron/INSTALL.OLD
 +share/doc/radiusd-cistron/INSTALL
  share/doc/radiusd-cistron/README
  share/doc/radiusd-cistron/README.Y2K
  share/doc/radiusd-cistron/README.cisco

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202221410.g1MEA7Y91892>