Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2006 12:26:27 +0200 (CEST)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Gabor Kovesdan <gabor@FreeBSD.org>
Subject:   ports/102596: [patch] net-p2p/verlihub
Message-ID:  <20060828102627.7AE8D99C729@server.t-hosting.hu>
Resent-Message-ID: <200608281030.k7SAUPNM066864@freefall.freebsd.org>

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

>Number:         102596
>Category:       ports
>Synopsis:       [patch] net-p2p/verlihub
>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:   Mon Aug 28 10:30:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gabor Kovesdan
>Release:        FreeBSD 6.1-RELEASE-p3 amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.t-hosting.hu 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Aug 19 11:08:15 CEST 2006 root@server.t-hosting.hu:/usr/src/sys/amd64/compile/FREEBSD amd64

>Description:

- s/INSTALL_SHLIB/USE_LDCONFIG/
- Use SUB_FILES
- Make it depend on bash 3.x instead of 2.x

Besides, I see that the maintainer has not sent updates for this port a long ago.
On demand, I'd happy to maintain this port.

>How-To-Repeat:
>Fix:

--- net-p2p-verlihub.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/net-p2p/verlihub/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	14 Aug 2006 22:26:36 -0000	1.13
+++ Makefile	25 Aug 2006 17:38:51 -0000
@@ -19,7 +19,7 @@
 
 LIB_DEPENDS=	GeoIP.5:${PORTSDIR}/net/GeoIP \
 		pcre.0:${PORTSDIR}/devel/pcre
-RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
+RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
 WRKSRC=		${WRKDIR}/verlihub-0.9.8c
 
@@ -27,8 +27,9 @@
 USE_PERL5=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
+SUB_FILES+=	pkg-message
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 PORTDOCS=	configuring.txt help.sql using.txt features.html help.html params.php verlihub.html
@@ -39,9 +40,6 @@
 USE_GCC=	3.4+
 .endif
 
-post-patch:
-	@${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
-
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	29 Aug 2004 10:42:11 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
---------------------------------------------------------------------
-
-Documentation has been installed in %%PREFIX%%/share/doc
-
-Scripts and the executable have been installed in %%PREFIX%%/bin
-
-This port requires a working mysql server installation, either
-locally or remotely.
-
-Once you have a properly-running mysql server, please run the install
-script:
-
-%%PREFIX%%/bin/vh_install
-
-Follow the instructions given.
-
-Visit http://verlihub.sourceforge.net for the project's homepage
-or http://verlihub.no-ip.com for the project's forums. The verlihub
-manual is available online at http://www.danomac.org/verlihub
-
--------------------------------------------------------------------
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	29 Aug 2004 10:42:11 -0000
@@ -0,0 +1,21 @@
+--------------------------------------------------------------------
+
+Documentation has been installed in %%PREFIX%%/share/doc
+
+Scripts and the executable have been installed in %%PREFIX%%/bin
+
+This port requires a working mysql server installation, either
+locally or remotely.
+
+Once you have a properly-running mysql server, please run the install
+script:
+
+%%PREFIX%%/bin/vh_install
+
+Follow the instructions given.
+
+Visit http://verlihub.sourceforge.net for the project's homepage
+or http://verlihub.no-ip.com for the project's forums. The verlihub
+manual is available online at http://www.danomac.org/verlihub
+
+-------------------------------------------------------------------
--- net-p2p-verlihub.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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