diff options
Diffstat (limited to 'japanese/canna-server/files')
-rw-r--r-- | japanese/canna-server/files/canna.sh.in | 44 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-ac | 12 |
2 files changed, 0 insertions, 56 deletions
diff --git a/japanese/canna-server/files/canna.sh.in b/japanese/canna-server/files/canna.sh.in deleted file mode 100644 index 6881832fb165..000000000000 --- a/japanese/canna-server/files/canna.sh.in +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: canna -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: FreeBSD shutdown - -# Define these canna_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/canna -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -canna_enable=${canna_enable:-"NO"} # Enable canna -#canna_program="@PREFIX@/sbin/cannaserver" # Location of canna -canna_flags=${canna_flags:-"-u bin"} # Flags to canna program -# Put the following into /etc/rc.conf if you want to use a TCP -# connection instead of a UNIX domain socket. -#canna_flags="-u bin -inet" - -. @RC_SUBR@ - -name="canna" -rcvar=`set_rcvar` -command="@PREFIX@/sbin/cannaserver" -start_precmd="canna_prestart" -stop_cmd="canna_stop" - -canna_prestart() { - @RM@ -f /tmp/.iroha_unix/IROHA - @TOUCH@ /var/log/CANNA0msgs - @CHOWN@ bin:bin /var/log/CANNA0msgs -} - -canna_stop() { - @PREFIX@/sbin/cannakill && echo "Stopping ${name}." -} - -load_rc_config $name -run_rc_command "$1" diff --git a/japanese/canna-server/files/patch-ac b/japanese/canna-server/files/patch-ac deleted file mode 100644 index a3bef982a0f9..000000000000 --- a/japanese/canna-server/files/patch-ac +++ /dev/null @@ -1,12 +0,0 @@ ---- Canna.conf.orig Fri Jan 2 21:26:27 2004 -+++ Canna.conf Thu Jan 22 18:42:43 2004 -@@ -109,7 +109,8 @@ - # define DefErrDir $(cannaPrefix)/log - # define DefLibCannaDir $(cannaExecPrefix)/lib - #else --# define DefCannaPrefix /usr/local/canna -+PREFIX?= /usr/local -+# define DefCannaPrefix $(PREFIX) - # ifdef ObsoleteInstallDir - # define DefErrDir /usr/spool/canna - # define DefLibCannaDir /usr/lib |