Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 2004 12:00:06 +0100
From:      Tim Bishop <tim@bishnet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pav@FreeBSD.org
Subject:   ports/67520: [MAINTAINER] misc/dnetc: support alpha/sparc64 in one port
Message-ID:  <E1BVpx8-000IUw-6u@pendennis.ukc.ac.uk>
Resent-Message-ID: <200406031110.i53BAEVF079416@freefall.freebsd.org>

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

>Number:         67520
>Category:       ports
>Synopsis:       [MAINTAINER] misc/dnetc: support alpha/sparc64 in one port
>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:   Thu Jun 03 04:10:14 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tim Bishop
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Fri Apr 30 17:57:19 BST 2004
>Description:
- Support alpha/sparc64 in a single port, as requested by pav@ and kris@.

misc/dnetc-alpha and misc/dnetc-sparc64 can now be removed.

Added file(s):
- distinfo.alpha
- distinfo.i386
- distinfo.sparc64

Removed file(s):
- distinfo

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- dnetc-2.9007.489,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /u1/freebsd/cvs/ports/misc/dnetc/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	2 Jun 2004 16:47:02 -0000	1.42
+++ Makefile	3 Jun 2004 10:56:25 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	dnetc
-# Slave ports may try to override this
-PORTVERSION?=	2.9007.489
+PORTVERSION=	${VERSION}
 PORTEPOCH=	1
 CATEGORIES=	misc
 MASTER_SITES=	ftp://ftp.distributed.net/pub/dcti/%SUBDIR%/ \
@@ -19,11 +18,11 @@
 MAINTAINER=	tim@bishnet.net
 COMMENT=	Distributed.net distributed computing project client
 
-# This is architecture dependent
+# These are architecture dependent
 WRKSRC=		${WRKDIR}/dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/}-elf
+MD5_FILE=	${MASTERDIR}/distinfo.${ARCH}
 
-# Slave ports may have set this
-ONLY_FOR_ARCHS?=	i386
+ONLY_FOR_ARCHS=	i386 alpha sparc64
 
 NO_BUILD=	yes
 
@@ -42,6 +41,12 @@
 MAN1=		dnetc.1
 
 .include <bsd.port.pre.mk>
+
+.if ${ARCH} == sparc64 || ${ARCH} == alpha
+VERSION=	2.9003.481
+.else
+VERSION=	2.9007.489
+.endif
 
 .if ${OSVERSION} < 300000
 IGNORE=		"This port requires FreeBSD 3.X or greater."
Index: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- distinfo	20 May 2004 19:01:12 -0000	1.19
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-MD5 (dnetc489-freebsd-x86-elf.tar.gz) = 4a20c96c2fdcf894f7c6c9439cb78d8e
-SIZE (dnetc489-freebsd-x86-elf.tar.gz) = 314146
Index: distinfo.alpha
===================================================================
RCS file: distinfo.alpha
diff -N distinfo.alpha
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ distinfo.alpha	3 Jun 2004 10:53:28 -0000
@@ -0,0 +1,2 @@
+MD5 (dnetc481-freebsd-alpha-elf.tar.gz) = 707beb78af2064cc55ed46444719cd2f
+SIZE (dnetc481-freebsd-alpha-elf.tar.gz) = 374272
Index: distinfo.i386
===================================================================
RCS file: distinfo.i386
diff -N distinfo.i386
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ distinfo.i386	3 Jun 2004 10:51:58 -0000
@@ -0,0 +1,2 @@
+MD5 (dnetc489-freebsd-x86-elf.tar.gz) = 4a20c96c2fdcf894f7c6c9439cb78d8e
+SIZE (dnetc489-freebsd-x86-elf.tar.gz) = 314146
Index: distinfo.sparc64
===================================================================
RCS file: distinfo.sparc64
diff -N distinfo.sparc64
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ distinfo.sparc64	3 Jun 2004 10:52:51 -0000
@@ -0,0 +1,2 @@
+MD5 (dnetc481-freebsd-sparc64-elf.tar.gz) = af5d9f65679ff401e2d3337b87246e3b
+SIZE (dnetc481-freebsd-sparc64-elf.tar.gz) = 403488
--- dnetc-2.9007.489,1.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BVpx8-000IUw-6u>