From nobody@FreeBSD.org  Sun Apr 13 15:10:32 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 8D549106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Apr 2008 15:10:32 +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 799BF8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Apr 2008 15:10:32 +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 m3DFASst091772
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Apr 2008 15:10:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m3DFASUu091771;
	Sun, 13 Apr 2008 15:10:28 GMT
	(envelope-from nobody)
Message-Id: <200804131510.m3DFASUu091771@www.freebsd.org>
Date: Sun, 13 Apr 2008 15:10:28 GMT
From: Dominic Fandrey <kamikaze@bsdforen.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [new port] sysutils/automounter
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         122726
>Category:       ports
>Synopsis:       [new port] sysutils/automounter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 13 15:20:01 UTC 2008
>Closed-Date:    Mon May 12 23:21:34 UTC 2008
>Last-Modified:  Mon May 12 23:21:34 UTC 2008
>Originator:     Dominic Fandrey
>Release:        RELENG_7
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Apr 11 18:39:17 CEST 2008     root@mobileKamikaze.norad:/usr/obj/HP6510b/amd64/usr/src/sys/HP6510b  amd64
>Description:
A new port with a script that dynamically configures amd.
>How-To-Repeat:

>Fix:
diff -Pur ports/sysutils/automounter.orig/Makefile ports/sysutils/automounter/Makefile
--- ports/sysutils/automounter.orig/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ ports/sysutils/automounter/Makefile	2008-04-13 15:49:57.000000000 +0200
@@ -0,0 +1,34 @@
+# New ports collection makefile for:	automounter
+# Date created:		26 March 2008
+# Whom:			Dominic Fandrey <kamikaze@bsdforen.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	automounter
+PORTVERSION=	1.2
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	bsdadminscripts
+
+MAINTAINER=	kamikaze@bsdforen.de
+COMMENT=	Provides scripts to dynamically configure amd
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+NO_BUILD=	yes
+MANCOMPRESSED=	no
+
+.if defined(NOPORTDOCS)
+NOPORTDOCS=	-nodoc
+.else
+MAN5=		automounter.conf.5
+MAN8=		automounter.8
+.endif
+
+PLIST=	${WRKDIR}/plist
+
+do-install:
+		@cd ${WRKSRC}; ./list.sh -nodoc > ${PLIST}
+		@cd ${WRKSRC}; ./install.sh -prefix=${PREFIX} ${NOPORTDOCS}
+
+.include <bsd.port.mk>
diff -Pur ports/sysutils/automounter.orig/distinfo ports/sysutils/automounter/distinfo
--- ports/sysutils/automounter.orig/distinfo	1970-01-01 01:00:00.000000000 +0100
+++ ports/sysutils/automounter/distinfo	2008-04-13 15:50:01.000000000 +0200
@@ -0,0 +1,3 @@
+MD5 (automounter-1.2.tar.gz) = c56604b8226a33c1368cd00efc1ee8ae
+SHA256 (automounter-1.2.tar.gz) = 67fb59ab3445ad303ee2e3a24dc21b986656a23a6b5a271e64fb48babbaf256e
+SIZE (automounter-1.2.tar.gz) = 12389
diff -Pur ports/sysutils/automounter.orig/pkg-descr ports/sysutils/automounter/pkg-descr
--- ports/sysutils/automounter.orig/pkg-descr	1970-01-01 01:00:00.000000000 +0100
+++ ports/sysutils/automounter/pkg-descr	2008-04-13 15:52:38.000000000 +0200
@@ -0,0 +1,11 @@
+A script to dynamically configure amd and populate /media with appropriate
+links, when USB mass storage devices appear. It relies on geom labels, hence
+it only works for properly labeled devices.
+
+It also allows to automatically attach geli encrypted devices and images with
+keys polled from file systems it makes mountable.
+
+WWW: http://sourceforge.net/projects/bsdadminscripts/
+
+- Kamikaze
+kamikaze@bsdforen.de

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Apr 18 04:41:27 UTC 2008 
State-Changed-Why:  
Next time please submit as a shell-archive. 

The port doesn't create a proper PLIST, please use static PLIST_FILES. 


Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 18 04:41:27 UTC 2008 
Responsible-Changed-Why:  
I'll track it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122726 
Responsible-Changed-From-To: freebsd-ports-bugs->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 18 05:21:25 UTC 2008 
Responsible-Changed-Why:  
I'll track it. 

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

From: Dominic Fandrey <kamikaze@bsdforen.de>
To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de, edwin@FreeBSD.org
Cc:  
Subject: Re: ports/122726: [new port] sysutils/automounter
Date: Fri, 18 Apr 2008 22:43:23 +0200

 The same thing as a shar archive with a static plist.
 
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	ports/sysutils/automounter
 #	ports/sysutils/automounter/Makefile
 #	ports/sysutils/automounter/distinfo
 #	ports/sysutils/automounter/pkg-descr
 #	ports/sysutils/automounter/pkg-plist
 #
 echo c - ports/sysutils/automounter
 mkdir -p ports/sysutils/automounter > /dev/null 2>&1
 echo x - ports/sysutils/automounter/Makefile
 sed 's/^X//' >ports/sysutils/automounter/Makefile << 
 'END-of-ports/sysutils/automounter/Makefile'
 X# New ports collection makefile for:	automounter
 X# Date created:		26 March 2008
 X# Whom:			Dominic Fandrey <kamikaze@bsdforen.de>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	automounter
 XPORTVERSION=	1.3
 XCATEGORIES=	sysutils
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	bsdadminscripts
 X
 XMAINTAINER=	kamikaze@bsdforen.de
 XCOMMENT=	Provides scripts to dynamically configure amd
 X
 XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 XNO_BUILD=	yes
 XMANCOMPRESSED=	no
 X
 X.if defined(NOPORTDOCS)
 XNOPORTDOCS=	-nodoc
 X.else
 XMAN5=		automounter.conf.5
 XMAN8=		automounter.8
 X.endif
 X
 Xplist: patch
 X		@cd ${WRKSRC}; ./list.sh -nodoc > ${PLIST}
 X
 Xdo-install:
 X		@cd ${WRKSRC}; ./install.sh -prefix=${PREFIX} ${NOPORTDOCS}
 X
 X.include <bsd.port.mk>
 END-of-ports/sysutils/automounter/Makefile
 echo x - ports/sysutils/automounter/distinfo
 sed 's/^X//' >ports/sysutils/automounter/distinfo << 
 'END-of-ports/sysutils/automounter/distinfo'
 XMD5 (automounter-1.3.tar.gz) = 169619b12ba2de03f5da53c605336883
 XSHA256 (automounter-1.3.tar.gz) = 
 9dc094c65abef9bb25f52ec53332c8e6bd40dea1aa1b8fc64d1ed1b136406bdc
 XSIZE (automounter-1.3.tar.gz) = 13405
 END-of-ports/sysutils/automounter/distinfo
 echo x - ports/sysutils/automounter/pkg-descr
 sed 's/^X//' >ports/sysutils/automounter/pkg-descr << 
 'END-of-ports/sysutils/automounter/pkg-descr'
 XA script to dynamically configure amd and populate /media with appropriate
 Xlinks, when USB mass storage devices appear. It relies on geom labels, hence
 Xit only works for properly labeled devices.
 X
 XIt also allows to automatically attach geli encrypted devices and images with
 Xkeys polled from file systems it makes mountable.
 X
 XWWW: http://sourceforge.net/projects/bsdadminscripts/
 X
 X- Kamikaze
 Xkamikaze@bsdforen.de
 END-of-ports/sysutils/automounter/pkg-descr
 echo x - ports/sysutils/automounter/pkg-plist
 sed 's/^X//' >ports/sysutils/automounter/pkg-plist << 
 'END-of-ports/sysutils/automounter/pkg-plist'
 Xsbin/automounter
 Xetc/rc.d/automounter
 Xetc/automounter.conf.sample
 END-of-ports/sysutils/automounter/pkg-plist
 exit
 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Tue Apr 29 01:00:22 UTC 2008 
State-Changed-Why:  
Feedback received. 

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

From: Dominic Fandrey <kamikaze@bsdforen.de>
To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de
Cc:  
Subject: Re: ports/122726: [new port] sysutils/automounter
Date: Thu, 08 May 2008 17:42:42 +0200

 It appears thunderbird has inserted some newlines (even though not
 configured to). So here is the hopefully intact archive.
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	ports/sysutils/automounter
 #	ports/sysutils/automounter/Makefile
 #	ports/sysutils/automounter/distinfo
 #	ports/sysutils/automounter/pkg-descr
 #	ports/sysutils/automounter/pkg-plist
 #
 echo c - ports/sysutils/automounter
 mkdir -p ports/sysutils/automounter > /dev/null 2>&1
 echo x - ports/sysutils/automounter/Makefile
 sed 's/^X//' >ports/sysutils/automounter/Makefile << 'END-of-ports/sysutils/automounter/Makefile'
 X# New ports collection makefile for:	automounter
 X# Date created:		26 March 2008
 X# Whom:			Dominic Fandrey <kamikaze@bsdforen.de>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	automounter
 XPORTVERSION=	1.3
 XCATEGORIES=	sysutils
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	bsdadminscripts
 X
 XMAINTAINER=	kamikaze@bsdforen.de
 XCOMMENT=	Provides scripts to dynamically configure amd
 X
 XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 XNO_BUILD=	yes
 XMANCOMPRESSED=	no
 X
 X.if defined(NOPORTDOCS)
 XNOPORTDOCS=	-nodoc
 X.else
 XMAN5=		automounter.conf.5
 XMAN8=		automounter.8
 X.endif
 X
 Xplist: patch
 X		@cd ${WRKSRC}; ./list.sh -nodoc > ${PLIST}
 X
 Xdo-install:
 X		@cd ${WRKSRC}; ./install.sh -prefix=${PREFIX} ${NOPORTDOCS}
 X
 X.include <bsd.port.mk>
 END-of-ports/sysutils/automounter/Makefile
 echo x - ports/sysutils/automounter/distinfo
 sed 's/^X//' >ports/sysutils/automounter/distinfo << 'END-of-ports/sysutils/automounter/distinfo'
 XMD5 (automounter-1.3.tar.gz) = 169619b12ba2de03f5da53c605336883
 XSHA256 (automounter-1.3.tar.gz) = 9dc094c65abef9bb25f52ec53332c8e6bd40dea1aa1b8fc64d1ed1b136406bdc
 XSIZE (automounter-1.3.tar.gz) = 13405
 END-of-ports/sysutils/automounter/distinfo
 echo x - ports/sysutils/automounter/pkg-descr
 sed 's/^X//' >ports/sysutils/automounter/pkg-descr << 'END-of-ports/sysutils/automounter/pkg-descr'
 XA script to dynamically configure amd and populate /media with appropriate
 Xlinks, when USB mass storage devices appear. It relies on geom labels, hence
 Xit only works for properly labeled devices.
 X
 XIt also allows to automatically attach geli encrypted devices and images with
 Xkeys polled from file systems it makes mountable.
 X
 XWWW: http://sourceforge.net/projects/bsdadminscripts/
 X
 X- Kamikaze
 Xkamikaze@bsdforen.de
 END-of-ports/sysutils/automounter/pkg-descr
 echo x - ports/sysutils/automounter/pkg-plist
 sed 's/^X//' >ports/sysutils/automounter/pkg-plist << 'END-of-ports/sysutils/automounter/pkg-plist'
 Xsbin/automounter
 Xetc/rc.d/automounter
 Xetc/automounter.conf.sample
 END-of-ports/sysutils/automounter/pkg-plist
 exit
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/122726: commit references a PR
Date: Mon, 12 May 2008 23:14:25 +0000 (UTC)

 edwin       2008-05-12 23:14:21 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils             Makefile 
   Added files:
     sysutils/automounter Makefile distinfo pkg-descr pkg-plist 
   Log:
   [new port] sysutils/automounter
   
           A script to dynamically configure amd and populate /media
           with appropriate links, when USB mass storage devices appear.
           It relies on geom labels, hence it only works for properly
           labeled devices.
   
           It also allows to automatically attach geli encrypted devices
           and images with keys polled from file systems it makes
           mountable.
   
           WWW: http://sourceforge.net/projects/bsdadminscripts/
   
           - Kamikaze
           kamikaze@bsdforen.de
   
   PR:             ports/122726
   Submitted by:   Dominic Fandrey <kamikaze@bsdforen.de>
   
   Revision  Changes    Path
   1.1004    +1 -0      ports/sysutils/Makefile
   1.1       +34 -0     ports/sysutils/automounter/Makefile (new)
   1.1       +3 -0      ports/sysutils/automounter/distinfo (new)
   1.1       +11 -0     ports/sysutils/automounter/pkg-descr (new)
   1.1       +3 -0      ports/sysutils/automounter/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Mon May 12 23:21:32 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

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