aboutsummaryrefslogtreecommitdiff
path: root/misc/dnetc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-06 13:01:40 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-06 13:01:40 +0000
commit3c2f43b35acfa745640f6c352f2bab3d40b78c8b (patch)
tree71ab7e5f3984a0c768a9fbafe51291e42fe8d6cf /misc/dnetc
parentcddf26527560540b0ca19be7eb643d97cd00d704 (diff)
downloadports-3c2f43b35acfa745640f6c352f2bab3d40b78c8b.tar.gz
ports-3c2f43b35acfa745640f6c352f2bab3d40b78c8b.zip
Notes
Diffstat (limited to 'misc/dnetc')
-rw-r--r--misc/dnetc/Makefile4
-rw-r--r--misc/dnetc/distinfo.amd644
-rw-r--r--misc/dnetc/distinfo.i3864
-rw-r--r--misc/dnetc/files/dnetc.sh21
4 files changed, 27 insertions, 6 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index 5bcbdf2f6ef8..c807e36b052f 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -47,9 +47,9 @@ MAN1= dnetc.1
.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
diff --git a/misc/dnetc/distinfo.amd64 b/misc/dnetc/distinfo.amd64
index 4047be7cf749..61451f3610b2 100644
--- a/misc/dnetc/distinfo.amd64
+++ b/misc/dnetc/distinfo.amd64
@@ -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
diff --git a/misc/dnetc/distinfo.i386 b/misc/dnetc/distinfo.i386
index eab0dbf1f0a6..558601b519fe 100644
--- a/misc/dnetc/distinfo.i386
+++ b/misc/dnetc/distinfo.i386
@@ -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
diff --git a/misc/dnetc/files/dnetc.sh b/misc/dnetc/files/dnetc.sh
index c7561b1d76c7..6410450af7f6 100644
--- a/misc/dnetc/files/dnetc.sh
+++ b/misc/dnetc/files/dnetc.sh
@@ -21,6 +21,12 @@ required_files=${dir}/${name}.ini
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 @@ dnetc_stop()
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"