Date: Tue, 05 Jul 2005 21:12:05 +0100 From: Tim Bishop <tim@bishnet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tim@bishnet.net Subject: ports/83030: [MAINTAINER] misc/dnetc: Update on amd64/i386 Message-ID: <E1Dptm1-000IVD-NO@pendennis.ukc.ac.uk> Resent-Message-ID: <200507052020.j65KKUhC020664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83030 >Category: ports >Synopsis: [MAINTAINER] misc/dnetc: Update on amd64/i386 >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: Tue Jul 05 20:20:30 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD pendennis.ukc.ac.uk 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed May 11 11:41:59 BST 2005 >Description: Update to new versions: amd64 v2.9010.495 i386 v2.9011.496 Add support for other commands in dnetc.sh. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- dnetc-2.9011.496_1,1.patch begins here --- Index: Makefile =================================================================== RCS file: /u1/freebsd/cvs/ports/misc/dnetc/Makefile,v retrieving revision 1.47 diff -u -r1.47 Makefile --- Makefile 6 Dec 2004 20:19:17 -0000 1.47 +++ Makefile 5 Jul 2005 20:10:50 -0000 @@ -47,9 +47,9 @@ .if ${ARCH} == sparc64 || ${ARCH} == alpha VERSION= 2.9003.481 .elif ${ARCH} == amd64 -VERSION= 2.9009.494 +VERSION= 2.9010.495 .else -VERSION= 2.9008.491 +VERSION= 2.9011.496 .endif .if ${OSVERSION} < 300000 Index: distinfo.amd64 =================================================================== RCS file: /u1/freebsd/cvs/ports/misc/dnetc/distinfo.amd64,v retrieving revision 1.2 diff -u -r1.2 distinfo.amd64 --- distinfo.amd64 15 Nov 2004 21:54:23 -0000 1.2 +++ distinfo.amd64 5 Jul 2005 19:55:27 -0000 @@ -1,2 +1,2 @@ -MD5 (dnetc494-freebsd-amd64-elf.tar.gz) = 0679d91acfaed621539e5a0bfca2334a -SIZE (dnetc494-freebsd-amd64-elf.tar.gz) = 425552 +MD5 (dnetc495-freebsd-amd64-elf.tar.gz) = 0a194921db14872043fcc548d728aa80 +SIZE (dnetc495-freebsd-amd64-elf.tar.gz) = 452183 Index: distinfo.i386 =================================================================== RCS file: /u1/freebsd/cvs/ports/misc/dnetc/distinfo.i386,v retrieving revision 1.2 diff -u -r1.2 distinfo.i386 --- distinfo.i386 20 Jun 2004 15:53:51 -0000 1.2 +++ distinfo.i386 5 Jul 2005 19:53:39 -0000 @@ -1,2 +1,2 @@ -MD5 (dnetc491-freebsd-x86-elf.tar.gz) = 1bfe27c87640e08d5d582e23784d5ec5 -SIZE (dnetc491-freebsd-x86-elf.tar.gz) = 315703 +MD5 (dnetc496-freebsd-x86-elf.tar.gz) = 7e58f161ecb727014034529fce2a3b20 +SIZE (dnetc496-freebsd-x86-elf.tar.gz) = 327578 Index: files/dnetc.sh =================================================================== RCS file: /u1/freebsd/cvs/ports/misc/dnetc/files/dnetc.sh,v retrieving revision 1.8 diff -u -r1.8 dnetc.sh --- files/dnetc.sh 6 Dec 2004 20:19:19 -0000 1.8 +++ files/dnetc.sh 5 Jul 2005 20:03:51 -0000 @@ -21,6 +21,12 @@ start_cmd="${name}_start" stop_cmd="${name}_stop" +extra_commands="flush fetch update" + +flush_cmd="${name}_flush" +fetch_cmd="${name}_fetch" +update_cmd="${name}_update" + dnetc_start() { if ps -U${user} >/dev/null; then @@ -41,5 +47,20 @@ fi } +dnetc_flush() +{ + su -m ${user} -c "${dir}/${name} -flush" >/dev/null 2>&1 +} + +dnetc_fetch() +{ + su -m ${user} -c "${dir}/${name} -fetch" >/dev/null 2>&1 +} + +dnetc_update() +{ + su -m ${user} -c "${dir}/${name} -update" >/dev/null 2>&1 +} + load_rc_config $name run_rc_command "$1" --- dnetc-2.9011.496_1,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?E1Dptm1-000IVD-NO>