Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 14:08:12 +0100 (CET)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186531: misc net/mpd5 fixes
Message-ID:  <201402071308.s17D8CBd073820@olgeni.olgeni>
Resent-Message-ID: <201402071320.s17DK4Pr035174@freefall.freebsd.org>

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

>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@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:



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