Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2006 21:14:37 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        glebius@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   rcNG-fy net/mpd4
Message-ID:  <20060923211437.6f685109.nork@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Sat__23_Sep_2006_21_14_37_+0900_Gj1yCRu.cPmYBzKg
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi glebius!

	I make a patch to rcNG-fy the net/mpd4.  Please review and commit
	or may I commit this OK?

	cvs add:
		files/mpd4.sh.in
	cvs remove:
		files/mpd4.sh
	cvs commit:
		Makefile
		pkg-plist
		ports/UPDATING

--Multipart=_Sat__23_Sep_2006_21_14_37_+0900_Gj1yCRu.cPmYBzKg
Content-Type: text/plain;
 name="mpd4.diff"
Content-Disposition: attachment;
 filename="mpd4.diff"
Content-Transfer-Encoding: 7bit

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/mpd4/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	19 Mar 2006 07:49:21 -0000	1.5
+++ Makefile	23 Sep 2006 11:54:23 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	mpd4
 PORTVERSION=	4.0b4
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	glebius
@@ -22,6 +23,7 @@
 MANCOMPRESSED=	maybe
 
 USE_OPENSSL=	yes
+USE_RC_SUBR=	mpd4.sh
 
 .include <bsd.port.pre.mk>
 
@@ -29,7 +31,4 @@
 IGNORE=		does not compile on FreeBSD 4.x; use net/mpd instead
 .endif
 
-post-install:
-	@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/mpd4.sh ${PREFIX}/etc/rc.d/mpd4.sh.sample
-
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/mpd4/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	24 Jan 2006 09:28:21 -0000	1.2
+++ pkg-plist	23 Sep 2006 12:02:17 -0000
@@ -2,7 +2,6 @@
 etc/mpd4/mpd.links.sample
 etc/mpd4/mpd.secret.sample
 etc/mpd4/mpd.script.sample
-etc/rc.d/mpd4.sh.sample
 sbin/mpd4
 share/doc/mpd4/README
 share/doc/mpd4/mpd.ps

--Multipart=_Sat__23_Sep_2006_21_14_37_+0900_Gj1yCRu.cPmYBzKg
Content-Type: text/plain;
 name="UPDATING.diff"
Content-Disposition: attachment;
 filename="UPDATING.diff"
Content-Transfer-Encoding: 7bit

Index: UPDATING
===================================================================
RCS file: /home/ncvs/ports/UPDATING,v
retrieving revision 1.397
diff -u -r1.397 UPDATING
--- UPDATING	22 Sep 2006 09:24:04 -0000	1.397
+++ UPDATING	23 Sep 2006 11:59:59 -0000
@@ -6,6 +6,13 @@
 time you update your ports collection, before attempting any port
 upgrades.
 
+20060923:
+  AFFECTS: users of net/mpd4
+  AUTHOR: nork@FreeBSD.org
+
+  The mpd4 port must now be enabled / disabled and configured in
+  rc.conf. See the rcNG script for details.
+
 20060922:
   AFFECTS: users of mail/tmda
   AUTHOR: sergei@FreeBSD.org

--Multipart=_Sat__23_Sep_2006_21_14_37_+0900_Gj1yCRu.cPmYBzKg
Content-Type: text/plain;
 name="mpd4.sh.in"
Content-Disposition: attachment;
 filename="mpd4.sh.in"
Content-Transfer-Encoding: base64

IyEvYmluL3NoDQojDQojICRGcmVlQlNEJA0KIw0KIyBQUk9WSURFOiBtcGQ0DQojIFJFUVVJUkU6
IG5ldGlmDQoNCm1wZDRfZW5hYmxlPSR7bXBkNF9lbmFibGUtIk5PIn0NCm1wZDRfZmxhZ3M9JHtt
cGQ0X2ZsYWdzLSItYiJ9DQptcGQ0X3BpZGZpbGU9JHttcGQ0X3BpZGZpbGUtIi92YXIvcnVuL21w
ZDQucGlkIn0NCg0KLiAlJVJDX1NVQlIlJQ0KDQpuYW1lPW1wZDQNCnJjdmFyPWBzZXRfcmN2YXJg
DQpjb21tYW5kPSUlUFJFRklYJSUvc2Jpbi9tcGQ0DQoNCmxvYWRfcmNfY29uZmlnICR7bmFtZX0N
Cg0KY2FzZSAiJHttcGQ0X2ZsYWdzfSIgaW4NCiotcFwgKikNCgllY2hvICJXYXJuaW5nOiBcJG1w
ZDRfZmxhZ3MgaW5jbHVkZXMgLXAgb3B0aW9uLiIgXA0KCQkiUGxlYXNlIHVzZSBcJG1wZDRfcGlk
ZmlsZSBpbnN0ZWFkLiINCiAgICAgICAgOzsNCiopDQoJbXBkNF9mbGFncz0iLXAgJHttcGQ0X3Bp
ZGZpbGV9ICR7bXBkNF9mbGFnc30iDQoJOzsNCmVzYWMNCg0KcGlkZmlsZT0ke21wZDRfcGlkZmls
ZX0NCg0KcnVuX3JjX2NvbW1hbmQgIiQxIg0K

--Multipart=_Sat__23_Sep_2006_21_14_37_+0900_Gj1yCRu.cPmYBzKg--



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