Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  4 Jun 2008 13:11:27 +0900 (JST)
From:      Tomoyuki Sakurai <cherry@trombik.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pauls@utdallas.edu
Subject:   ports/124257: [PATCH] security/sguil-server: ${PREFIX}/lib/sguil-server has wrong perm, owner and group
Message-ID:  <20080604041127.EC3C1175C3C@spica.trombik.org>
Resent-Message-ID: <200806040420.m544K5VX047397@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124257
>Category:       ports
>Synopsis:       [PATCH] security/sguil-server: ${PREFIX}/lib/sguil-server has wrong perm, owner and group
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 04 04:20:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tomoyuki Sakurai
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD spica.trombik.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 11 18:07:51 JST 2008
>Description:
pkg-install messed up perm and owner/group of
${PREFIX}/lib/sguil-server.  "install -o sguild -g sguild -m 0750" is
not something you expect in lib directory.

Port maintainer (pauls@utdallas.edu) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- sguil-server-0.7.0_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/sguil-server/Makefile /usr/home/cherry/svk/ports/security/sguil-server/Makefile
--- /usr/ports/security/sguil-server/Makefile	2008-06-01 20:48:57.000000000 +0900
+++ /usr/home/cherry/svk/ports/security/sguil-server/Makefile	2008-06-04 12:58:21.000000000 +0900
@@ -7,7 +7,7 @@
 
 PORTNAME=	sguil-server
 PORTVERSION=	0.7.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	sguil
diff -ruN --exclude=CVS /usr/ports/security/sguil-server/files/pkg-install.in /usr/home/cherry/svk/ports/security/sguil-server/files/pkg-install.in
--- /usr/ports/security/sguil-server/files/pkg-install.in	2008-06-01 20:48:57.000000000 +0900
+++ /usr/home/cherry/svk/ports/security/sguil-server/files/pkg-install.in	2008-06-04 12:55:47.000000000 +0900
@@ -77,7 +77,7 @@
 			pw usershow ${sguil_user}
 		fi
 	fi
-	for dir in %%PREFIX%%/lib/%%SGUILDIR%% /var/run/%%SGUILDIR%% ; do
+	for dir in /var/run/%%SGUILDIR%% ; do
 	if [ ! -d ${dir} ]; then
 		echo "Creating ${dir} ...."
 		install -d -o ${sguil_user} -g ${sguil_group} \
--- sguil-server-0.7.0_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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