mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Update i386 to v2.9011.496
- Update amd64 to v2.9010.495 - Support flush, fetch and update commands in rc script PR: ports/83030 Submitted by: Tim Bishop <tim@bishnet.net> (maintainer)
This commit is contained in:
parent
cddf265275
commit
3c2f43b35a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138582
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user