Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2006 13:55:53 +0200 (CEST)
From:      Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96135: net/gatekeeper: mark partially BROKEN on sparc64
Message-ID:  <200604211155.k3LBtrKq001883@hades.admin.frm2>
Resent-Message-ID: <200604211200.k3LC0QPl053866@freefall.freebsd.org>

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

>Number:         96135
>Category:       ports
>Synopsis:       net/gatekeeper: mark partially BROKEN on sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 21 12:00:26 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:
	Due to a missing symbol in the default thread library on sparc64 in
	OSVERSION <= 700003, the build ends with an linker error.
	- mark it as BROKEN for this particular case

	- fix a spelling bug in pkg-install
	- add an entry to stop the daemon when uninstalling and the rcNG script
	  is installed without .sh extension
	  * I would really like to see ports/93373 in the tree to get a general
	    solution for this.

	Reported by:		Kris (pointyhat)
	Discussed on:		freebsd-threads@, freebsd-sparc64@
	Review and test on:	RELENG_6_1 i386, amd64, sparc64
				CURRENT i386, amd64
>How-To-Repeat:
	
>Fix:

	- apply the patch

--- net_gatekeeper.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/gatekeeper/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	26 Mar 2006 15:35:20 -0000	1.42
+++ Makefile	21 Apr 2006 11:21:18 -0000
@@ -8,7 +8,7 @@
 PORTNAME=	gatekeeper
 #PORTVERSION=	2.2.3
 DISTVERSION=	2.2.3-2
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR= openh323gk
@@ -42,6 +42,8 @@
 
 .if ${OSVERSION} < 500000
 BROKEN=		does not build
+.elif ${ARCH} == sparc64 && ${OSVERSION} <= 700003
+BROKEN= does not link due to missing symbol in default thread library
 .endif
 
 .if defined(WITH_FDSET)
Index: pkg-install
===================================================================
RCS file: /home/ncvs/ports/net/gatekeeper/pkg-install,v
retrieving revision 1.2
diff -u -r1.2 pkg-install
--- pkg-install	26 Mar 2006 15:35:20 -0000	1.2
+++ pkg-install	21 Apr 2006 11:21:18 -0000
@@ -76,7 +76,7 @@
 	echo "       More example configurations can be found in"
 	echo "       ${PKG_PREFIX}/share/examples/openh323/gatekeeper."
 	echo ""
-	echo "     o Documantation can be found in"
+	echo "     o Documentation can be found in"
 	echo "       ${PKG_PREFIX}/share/doc/openh323/gatekeeper."
 	echo ""
 	echo "     o A log directory has been created in ${gnugk_logdir}."
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/gatekeeper/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	26 Mar 2006 15:35:20 -0000	1.5
+++ pkg-plist	21 Apr 2006 11:21:18 -0000
@@ -1,4 +1,5 @@
 @unexec %D/etc/rc.d/gnugk.sh forcestop 2>/dev/null || true
+@unexec %D/etc/rc.d/gnugk forcestop 2>/dev/null || true
 bin/addpasswd
 bin/gnugk
 etc/gnugk.ini.default
--- net_gatekeeper.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?200604211155.k3LBtrKq001883>