Date: Fri, 7 Apr 2006 21:21:51 +0200 (CEST) From: Joerg Pulz <Joerg.Pulz@frm2.tum.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Maintainer <jacke@bofh.pl> Subject: ports/95488: net/callgen: repomove, update, unbreak, take maintainership Message-ID: <200604071921.k37JLpp5090017@hades.admin.frm2> Resent-Message-ID: <200604071930.k37JUILv098992@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95488 >Category: ports >Synopsis: net/callgen: repomove, update, unbreak, take maintainership >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 07 19:30:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Joerg Pulz >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: TU-Munich / ZWE FRM-II >Environment: System: FreeBSD hades.admin.frm2 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #11: Wed Feb 22 19:01:44 CET 2006 root@hades.admin.frm2:/usr/obj/usr/src/sys/HADES i386 >Description: - update net/callgen (should be repomoved to callgen323) to 2.0.0 CVS * 20060407 is actually the day i checked it out, and does not reflect the last commit date * use DISTVERSION instead of PORTVERSION * as this is an CVS snapshot, host it on our own FTP server * adopt to use the newer net/openh323 or net/opal (WITH_OPAL knob) * set PKGNAMESUFFIX to -openh323 or -opal to show which one is used * adopt ALL_TARGET, MAKE_ENV and MAKE_ARGS to match devel/pwlib, net/openh323 and net/opal * unbreak on FreeBSD >= 5.x it comiles and runs fine on my FreeBSD-6.1-PRERELEASE * modify do-install as the objects directory name changes dependent upon using net/openh323 or net/opal * take maintainership, as the current maintainer hasn't done anything after the initial port which dates back to Sat Feb 14 11:23:10 2004 UTC >How-To-Repeat: >Fix: - repomove net/callgen to net/callgen323 - apply the patch --- net_callgen323.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/callgen/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 5 Feb 2006 12:35:08 -0000 1.5 +++ Makefile 7 Apr 2006 18:57:09 -0000 @@ -4,38 +4,39 @@ # # $FreeBSD: ports/net/callgen/Makefile,v 1.5 2006/02/05 12:35:08 netchild Exp $ -PORTNAME= callgen -PORTVERSION= 1.2.6 -PORTREVISION= 1 +PORTNAME= callgen323 +DISTVERSION= 2.0.0.cvs.20060407 CATEGORIES= net -MASTER_SITES= http://www.openh323.org/bin/ -DISTNAME= callgen323_${PORTVERSION} +MASTER_SITES= ftp://ftp.frm2.tum.de/jpulz/FreeBSD/distfiles/ +PKGNAMESUFFIX?= -openh323 -MAINTAINER= jacke@bofh.pl +MAINTAINER= Joerg.Pulz@frm2.tum.de COMMENT= H.323 Call Generator -BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/openh323-112:configure - -NOCLEANDEPENDS= yes USE_GMAKE= yes -WRKSRC= ${WRKDIR}/callgen323 -MAKE_ENV= PWLIBDIR=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib152/work/pwlib \ - OPENH323DIR=${WRKDIRPREFIX}${.CURDIR}/../openh323-112/work/openh323 -THE_MACHTYPE= ${ARCH:S/i386/x86/} +ALL_TARGET= optshared +MAKE_ENV= PWLIBDIR=${LOCALBASE}/share/pwlib \ + OPENH323DIR=${LOCALBASE}/share/openh323 \ + OPALDIR=${LOCALBASE}/share/opal \ + SYSLIBDIR=${LOCALBASE}/lib +MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${ARCH:S/i386/x86/} \ + OSRELEASE=${OSVERSION} CPLUS=${CXX} PLIST_FILES= bin/callgen323 .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.if ${ARCH} == "amd64" -BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" +.ifndef (WITH_OPAL) +LIB_DEPENDS= h323_r.1:${PORTSDIR}/net/openh323 +OBJ_DIR= obj_r +.else +LIB_DEPENDS= opal_r.2:${PORTSDIR}/net/opal +PKGNAMESUFFIX= -opal +MAKE_ENV+= USE_OPAL=1 +OBJ_DIR= obj_opal_r .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/obj_${OPSYS}_${THE_MACHTYPE}_d/callgen323 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${OBJ_DIR}/callgen323 ${PREFIX}/bin .include <bsd.port.post.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net/callgen/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 1 Feb 2006 22:46:08 -0000 1.3 +++ distinfo 7 Apr 2006 18:57:09 -0000 @@ -1,3 +1,3 @@ -MD5 (callgen323_1.2.6.tar.gz) = 1428f738e3ad43e5c57aa99e132065dc -SHA256 (callgen323_1.2.6.tar.gz) = aefb35f13f9f4920c687f22e0b3bdcc8e9c1d21ddd7bdf9102f8d07a8c5d0581 -SIZE (callgen323_1.2.6.tar.gz) = 12846 +MD5 (callgen323-2.0.0.cvs.20060407.tar.gz) = 01c8cdc59b1537709375ad4b1c66b34e +SHA256 (callgen323-2.0.0.cvs.20060407.tar.gz) = b59cfa3456f55b135502f611c82eab6a2f8e4281b1fdc13e11cf0953d20e0065 +SIZE (callgen323-2.0.0.cvs.20060407.tar.gz) = 17433 --- net_callgen323.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?200604071921.k37JLpp5090017>