Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 1999 09:15:37 +0100 (CET)
From:      saska@acc.umu.se
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15252: small fix to remove setuid proposal + master site addition
Message-ID:  <199912040815.JAA05181@fysgr387.sn.umu.se>

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

>Number:         15252
>Category:       ports
>Synopsis:       small fix to remove setuid proposal + master site addition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec  4 00:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Markus Holmberg saska@acc.umu.se
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
n/a
>Environment:

	n/a

>Description:

	In my original port submit I made the port display pkg/MESSAGE after
	install where the user was informed that he/she could install the port
	as setuid root to make things "easy". Considering the discussions
	of ports security lately and that this ports code is completely not
	audited, this should be removed.
	When the user runs the port and discovers normal user privileges
	are not sufficient for opening /dev/io, he/she has to decide for
	himself what the appropriate solution is (and take responsibility).

	This patch makes the ports install behave more appropriately.

	The patch also adds a new master site for better availablity.

>How-To-Repeat:

	n/a

>Fix:
	
	1. Please delete the file /ports/audio/mpmf20/pkg/MESSAGE from CVS.

	2. Apply the patch below.
	   (which is also available from
	             http://www.acc.umu.se/~saska/mpmf20.patch)


diff -ru mpmf20.orig/Makefile mpmf20/Makefile
--- mpmf20.orig/Makefile	Sat Dec  4 08:13:30 1999
+++ mpmf20/Makefile	Sat Dec  4 08:24:22 1999
@@ -9,7 +9,8 @@
 DISTNAME=	mpmf20
 PKGNAME=	mpmf20-1.01
 CATEGORIES=	audio
-MASTER_SITES=	http://www.world.co.uk/sba/
+MASTER_SITES=	http://www.world.co.uk/sba/ \
+		http://www.acc.umu.se/~saska/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
@@ -18,8 +19,5 @@
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/mpmf20 ${PREFIX}/bin
-
-post-install:
-	@${CAT} ${PKGDIR}/MESSAGE
 
 .include <bsd.port.mk>
Only in mpmf20.orig/pkg: MESSAGE


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


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?199912040815.JAA05181>