ports/189797: [maintainer-upgrade] [patch] net/ifdepd converted to staging
Alexander Hausner
alex at hugo.bmg.gv.at
Wed May 14 11:30:00 UTC 2014
>Number: 189797
>Category: ports
>Synopsis: [maintainer-upgrade] [patch] net/ifdepd converted to staging
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed May 14 11:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Alexander Hausner
>Release: FreeBSD 10.0-STABLE
>Organization:
BMG
>Environment:
FreeBSD fbsd-test 10.0-STABLE FreeBSD 10.0-STABLE #0 r264497: Tue Apr 15 18:03:42 CEST 2014 root at fbsd-test:/usr/obj/usr/src/sys/FBSDTEST amd64
>Description:
I have converted the port to staging.
>How-To-Repeat:
>Fix:
diff -uNr ifdepd.orig/Makefile ifdepd/Makefile
--- ifdepd.orig/Makefile 2014-01-22 18:00:46.000000000 +0100
+++ ifdepd/Makefile 2014-05-12 16:30:53.000000000 +0200
@@ -9,14 +9,10 @@
MAINTAINER= alex at hugo.bmg.gv.at
COMMENT= Interface Dependency daemon
-MAN8= ifdepd.8
-
-PLIST_FILES= bin/ifdepd
-
USE_RC_SUBR= ${PORTNAME}
-NO_STAGE= yes
-post-install:
- @${CAT} ${PKGMESSAGE}
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ifdepd ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ifdepd.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>
diff -uNr ifdepd.orig/files/patch-Makefile ifdepd/files/patch-Makefile
--- ifdepd.orig/files/patch-Makefile 2014-01-22 18:40:44.000000000 +0100
+++ ifdepd/files/patch-Makefile 2014-05-12 15:00:01.000000000 +0200
@@ -22,7 +22,7 @@
-.endif
- ${INSTALL} -o root -g wheel -m 644 ${MAN8} ${PREFIX}/man/man8
+ ${BSD_INSTALL_PROGRAM} ${PROG} ${PREFIX}/bin
-+ ${BSD_INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
++ ${BSD_INSTALL_MAN} ${MAN8} $${PREFIX}/man/man8
deinstall:
${RM} ${PREFIX}/bin/${PROG}
diff -uNr ifdepd.orig/pkg-plist ifdepd/pkg-plist
--- ifdepd.orig/pkg-plist 1970-01-01 01:00:00.000000000 +0100
+++ ifdepd/pkg-plist 2014-05-14 15:19:54.873934671 +0200
@@ -0,0 +1,2 @@
+bin/ifdepd
+man/man8/ifdepd.8.gz
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list