From 2c3d9ae3ec7fae7bd24e774d8784c488135b9fb0 Mon Sep 17 00:00:00 2001 From: alek Date: Sat, 27 May 2006 07:24:39 +0000 Subject: [PATCH] New ownership and file modes for configuration files to protect them as there are plain text passwords in those files. From Antoine Jacoutot ok Tim Kornau (maintainer) --- net/freeradius/Makefile | 3 ++- net/freeradius/pkg/PLIST | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile index 00bb7d4063a..238ac4a4dc1 100644 --- a/net/freeradius/Makefile +++ b/net/freeradius/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2006/04/16 14:37:08 sturm Exp $ +# $OpenBSD: Makefile,v 1.2 2006/05/27 07:24:39 alek Exp $ SHARED_ONLY= Yes @@ -10,6 +10,7 @@ COMMENT-ldap= "freeradius ldap rlm addon" V= 1.1.1 DISTNAME= freeradius-$V +PKGNAME= ${DISTNAME}p0 PKGNAME-iodbc= freeradius-iodbc-$V PKGNAME-mysql= freeradius-mysql-$V PKGNAME-pgsql= freeradius-pgsql-$V diff --git a/net/freeradius/pkg/PLIST b/net/freeradius/pkg/PLIST index c37070605fc..6bc9c5220f3 100644 --- a/net/freeradius/pkg/PLIST +++ b/net/freeradius/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2006/04/16 14:37:09 sturm Exp $ +@comment $OpenBSD: PLIST,v 1.2 2006/05/27 07:24:39 alek Exp $ @conflict radiusd-cistron-* @conflict radiusd-lucent-* @newgroup _freeradius:559 @@ -268,7 +268,11 @@ share/doc/freeradius/supervise-radiusd.txt share/doc/freeradius/tuning_guide share/doc/freeradius/variables.txt share/examples/freeradius/ +@group _freeradius +@mode 750 @sample ${SYSCONFDIR}/raddb/ +@group +@mode share/examples/freeradius/acct_users @sample ${SYSCONFDIR}/raddb/acct_users share/examples/freeradius/attrs