Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 11:22:32 GMT
From:      Alexander Hausner <alex@hugo.bmg.gv.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189797: [maintainer-upgrade] [patch] net/ifdepd converted to staging
Message-ID:  <201405141122.s4EBMW20067617@cgiserv.freebsd.org>
Resent-Message-ID: <201405141130.s4EBU0kM024663@freefall.freebsd.org>

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

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



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