ports/186531: misc net/mpd5 fixes

Jimmy Olgeni olgeni at FreeBSD.org
Fri Feb 7 13:20:05 UTC 2014


>Number:         186531
>Category:       ports
>Synopsis:       misc net/mpd5 fixes
>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:   Fri Feb 07 13:20:04 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD olgeni 9.2-STABLE FreeBSD 9.2-STABLE #0 r256529: Tue Oct 15 18:29:59 CEST 2013     root at olgeni:/usr/obj/usr/src/sys/KERNEL  amd64
>Description:

A couple of fixes:

- Use PLIST_DIRSTRY to avoid warnings when deinstalling.

- Set PROVIDE to mpd5 in startup script (it currently confuses
  bsdadminscripts' commands)

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
--- Makefile	(revision 343206)
+++ Makefile	(working copy)
@@ -2,6 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mpd
+PORTREVISION=	1
 DISTVERSION=	5.7
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
@@ -39,7 +40,7 @@
 DOCSDIR=	${PREFIX}/share/doc/mpd5
 PORTDOCS=	${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README	\
 		mpd_toc.html
-PLIST_DIRS=	etc/mpd5
+PLIST_DIRSTRY=	etc/mpd5
 PLIST_FILES=	${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
 
 .include <bsd.port.mk>
Index: files/mpd5.in
===================================================================
--- files/mpd5.in	(revision 343206)
+++ files/mpd5.in	(working copy)
@@ -2,7 +2,7 @@
 
 # $FreeBSD$
 #
-# PROVIDE: mpd
+# PROVIDE: mpd5
 # REQUIRE: SERVERS
 # BEFORE: DAEMON
 # KEYWORD: shutdown
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list