Subject: misc/dnetc other support
To: None <tech-pkg@netbsd.org>
From: OGATA <ogata@isp.qix.org>
List: tech-pkg
Date: 06/18/2002 07:21:25
Hi, dnetc fan :)
I try quick hack to misc/dnetc. Please test and comment :)
I tested and fine by NetBSD/sparc and NetBSD/mac68k :)
all dnetc binarys same files name.
% foreach i (/usr/pkgsrc/distfiles/dnetc-*)
? echo $i
? tar ztvfp $i
? end
/usr/pkgsrc/distfiles/dnetc-darwin-ppc.tar.gz
-rwxr-xr-x mfeiri/unknown 390136 Nov 5 08:28 2001 dnetc
-rwxrwxrwx mfeiri/unknown 310 Oct 30 03:24 2000 docs/readme.1st
-rwxrwxrwx mfeiri/unknown 3146 Oct 30 03:24 2000 docs/readme._ix
-rwxrwxrwx mfeiri/unknown 48063 Oct 6 07:52 2001 docs/CHANGES.txt
-rwxrwxrwx mfeiri/unknown 15374 Oct 30 03:24 2000 docs/dnetc.txt
-rw-r--r-- mfeiri/unknown 8281 Nov 5 08:28 2001 dnetc.1
/usr/pkgsrc/distfiles/dnetc-netbsd-68k.tar.gz
-rwxr-xr-x gebhart/wheel 450560 Nov 9 04:41 2001 dnetc
-rw-r--r-- gebhart/wheel 310 Jun 17 21:57 1999 docs/readme.1st
-rw-r--r-- gebhart/wheel 3146 Oct 12 03:44 1999 docs/readme._ix
-rw-r----- gebhart/wheel 48063 Oct 29 20:52 2001 docs/CHANGES.txt
-rw-r----- gebhart/wheel 15374 Apr 22 04:23 2000 docs/dnetc.txt
-rw-r--r-- gebhart/wheel 8275 Nov 9 04:41 2001 dnetc.1
/usr/pkgsrc/distfiles/dnetc-netbsd-alpha.tar.gz
-rwxr-x--- elric/chaos 601424 Nov 22 09:09 1999 dnetc
-rw-rw-rw- elric/chaos 310 Jun 19 05:04 1999 docs/readme.1st
-rw-rw-rw- elric/chaos 3146 Nov 22 08:31 1999 docs/readme._ix
-rw-r--r-- elric/chaos 30677 Nov 22 08:31 1999 docs/CHANGES.txt
-rw-rw-rw- elric/chaos 15378 Nov 22 08:31 1999 docs/dnetc.txt
-rw-r----- elric/chaos 6230 Nov 22 09:09 1999 dnetc.1
/usr/pkgsrc/distfiles/dnetc-netbsd-arm32.tar.gz
-rwxr-x--- elric/666 479232 Nov 22 09:39 1999 dnetc
-rw-rw-rw- elric/666 310 Jun 19 05:04 1999 docs/readme.1st
-rw-rw-rw- elric/666 3146 Nov 22 08:31 1999 docs/readme._ix
-rw-r--r-- elric/666 30677 Nov 22 08:31 1999 docs/CHANGES.txt
-rw-rw-rw- elric/666 15378 Nov 22 08:31 1999 docs/dnetc.txt
-rw-r----- elric/666 6230 Nov 22 09:39 1999 dnetc.1
/usr/pkgsrc/distfiles/dnetc-netbsd-i386-elf.tar.gz
-rwxr-xr-x veego/wheel 645080 May 30 21:04 2001 dnetc
-rw-r----- veego/wheel 310 May 1 20:12 2000 docs/readme.1st
-rw-r----- veego/wheel 3146 May 1 20:12 2000 docs/readme._ix
-rw-r----- veego/wheel 47429 May 30 15:05 2001 docs/CHANGES.txt
-rw-r----- veego/wheel 15374 Jun 12 15:44 2000 docs/dnetc.txt
-rw-r--r-- veego/wheel 8275 May 30 21:04 2001 dnetc.1
/usr/pkgsrc/distfiles/dnetc-netbsd-sparc-elf.tar.gz
-rwxr-xr-x gebhart/wheel 640936 Nov 9 10:17 2001 dnetc
-rw-r--r-- gebhart/wheel 310 Jun 17 21:57 1999 docs/readme.1st
-rw-r--r-- gebhart/wheel 3146 Oct 12 03:44 1999 docs/readme._ix
-rw-r----- gebhart/wheel 48063 Oct 29 20:52 2001 docs/CHANGES.txt
-rw-r----- gebhart/wheel 15374 Apr 22 04:23 2000 docs/dnetc.txt
-rw-r--r-- gebhart/wheel 8275 Nov 9 10:17 2001 dnetc.1
/usr/pkgsrc/distfiles/dnetc-solaris-sparc.tar.gz
-rwxr-xr-x thsv/cthusers 346784 May 24 17:04 2000 dnetc
-rw-r----- thsv/cthusers 310 Jun 17 21:57 1999 docs/readme.1st
-rw-r----- thsv/cthusers 3146 Oct 12 03:44 1999 docs/readme._ix
-rw-r----- thsv/cthusers 38650 May 10 20:37 2000 docs/CHANGES.txt
-rw-r----- thsv/cthusers 15374 Apr 25 19:31 2000 docs/dnetc.txt
-rw-r--r-- thsv/cthusers 6152 May 24 17:04 2000 dnetc.1
thanks
OGATA Hiroshi <ogata@isp.qix.org> BSD lover :)
Zoularis for Darwin/Mac OS X: http://www.netbsd.org/zoularis/#darwin
diff -u -r -N dnetc.org/Makefile dnetc/Makefile
--- dnetc.org/Makefile Sat Jun 15 17:10:58 2002
+++ dnetc/Makefile Tue Jun 18 07:15:55 2002
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= dnetc-netbsd-i386-elf
+#DISTNAME= dnetc-netbsd-i386-elf
PKGNAME= dnetc-2.8015.469
CATEGORIES= misc
MASTER_SITES= http://http.distributed.net/pub/dcti/current-client/
@@ -9,8 +9,19 @@
HOMEPAGE= http://www.distributed.net/
COMMENT= official distributed.net client
-ONLY_FOR_PLATFORM= NetBSD-*-i386
+#ONLY_FOR_PLATFORM= NetBSD-*-i386
+ONLY_FOR_PLATFORM= Darwin-*-powerpc NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-sparc SunOS-*-sparc
NO_BUILD= YES
+
+DISTNAME_Darwin_powerpc= dnetc-darwin-ppc
+DISTNAME_NetBSD_m68k= dnetc-netbsd-68k
+DISTNAME_NetBSD_alpha= dnetc-netbsd-alpha
+DISTNAME_NetBSD_arm32= dnetc-netbsd-arm32
+DISTNAME_NetBSD_i386= dnetc-netbsd-i386-elf
+DISTNAME_NetBSD_sparc= dnetc-netbsd-sparc-elf
+DISTNAME_SunOS_sparc= dnetc-solaris-sparc
+
+DISTNAME= ${DISTNAME_${OPSYS}_${MACHINE_ARCH}}
do-extract:
@${MKDIR} ${WRKSRC}
diff -u -r -N dnetc.org/distinfo dnetc/distinfo
--- dnetc.org/distinfo Sat Jun 15 17:10:58 2002
+++ dnetc/distinfo Tue Jun 18 05:49:37 2002
@@ -1,4 +1,16 @@
$NetBSD$
+SHA1 (dnetc-darwin-ppc.tar.gz) = 4af6fac50c0ca5256cf5f6622f9aba39348cfcfc
+Size (dnetc-darwin-ppc.tar.gz) = 193437 bytes
+SHA1 (dnetc-netbsd-68k.tar.gz) = 750c309191973da12352e459fe114ca6b5f01ddb
+Size (dnetc-netbsd-68k.tar.gz) = 254691 bytes
+SHA1 (dnetc-netbsd-alpha.tar.gz) = 80be2e403de62a8eb09127c79d2b199ebc80c348
+Size (dnetc-netbsd-alpha.tar.gz) = 284306 bytes
+SHA1 (dnetc-netbsd-arm32.tar.gz) = 7c03414ff51d73255aaa949f213a78b8dd6b3963
+Size (dnetc-netbsd-arm32.tar.gz) = 165891 bytes
SHA1 (dnetc-netbsd-i386-elf.tar.gz) = 643ef2a86391d14e252fa62d1e73bfafadcaf9f2
Size (dnetc-netbsd-i386-elf.tar.gz) = 318293 bytes
+SHA1 (dnetc-netbsd-sparc-elf.tar.gz) = 724e6bccffc10c89a44bc030353b5736b3bed34a
+Size (dnetc-netbsd-sparc-elf.tar.gz) = 317844 bytes
+SHA1 (dnetc-solaris-sparc.tar.gz) = 51dde14b43e74709d3de9e1c35aa299308db3967
+Size (dnetc-solaris-sparc.tar.gz) = 175663 bytes