From nobody@FreeBSD.org  Wed Jul 16 21:42:05 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 190BC1065678
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jul 2008 21:42:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 065EC8FC22
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jul 2008 21:42:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6GLg4gJ035023
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jul 2008 21:42:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6GLg4v4035022;
	Wed, 16 Jul 2008 21:42:04 GMT
	(envelope-from nobody)
Message-Id: <200807162142.m6GLg4v4035022@www.freebsd.org>
Date: Wed, 16 Jul 2008 21:42:04 GMT
From: Andrew Stuart <andrew@tekrealm.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] security/secure_delete add conflicts for security/srm
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: vaida.bogdan@gmail.com

>Number:         125697
>Category:       ports
>Synopsis:       [patch] security/secure_delete add conflicts for security/srm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 16 21:50:01 UTC 2008
>Closed-Date:    Mon Sep 01 21:08:16 UTC 2008
>Last-Modified:  Mon Sep 01 21:08:16 UTC 2008
>Originator:     Andrew Stuart
>Release:        7.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD scrappy 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Tue Apr 29 12:02:54 PDT 2008 andrew@scrappy:/usr/obj/usr/src/sys/SCRAPPY i386
>Description:
Both security/secure_delete and security/srm install a srm binary, thus overwriting each other. 

I contacted the maintainer on June 16th, I was later told the maintainer was unable to test the patch (doesn't use FreeBSD on laptop anymore), and to submit it directly. 
>How-To-Repeat:
Install security/secure_delete, run srm notice output 
then install security/srm and run srm, notice difference in output
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-06-16 18:35:10.000000000 -0700
+++ Makefile	2008-06-16 18:35:30.000000000 -0700
@@ -13,6 +13,8 @@
 MAINTAINER=	vaida.bogdan@gmail.com
 COMMENT=	Secure data deletion toolkit
 
+CONFLICTS=	srm-1.*
+
 MANCOMPRESSED=	no
 MAN1=		srm.1 sfill.1 sswap.1 smem.1
 


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jul 16 21:50:13 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125697 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: vaida.bogdan@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/125697: [patch] security/secure_delete add conflicts for security/srm
Date: Wed, 16 Jul 2008 21:50:10 UT

 Maintainer of security/secure_delete,
 
 Please note that PR ports/125697 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/125697
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Mon Sep 1 15:09:39 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125697 
State-Changed-From-To: feedback->closed 
State-Changed-By: amdmi3 
State-Changed-When: Mon Sep 1 21:08:15 UTC 2008 
State-Changed-Why:  
Was committed by vs@ on 31-Jul-08. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125697 
>Unformatted:
