summaryrefslogtreecommitdiff
path: root/japanese/dbskkd-cdb/files/patch-aa
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2004-10-30 14:36:48 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2004-10-30 14:36:48 +0000
commit7ea58dff91e2aed92b072427e540fd65cdeb8f54 (patch)
tree44792507054ec06219c5c10997053eab497bc545 /japanese/dbskkd-cdb/files/patch-aa
parentTake MAINTAINERship from ports@FreeBSD.org (again; I was the MAINTAINER (diff)
Update to 1.71.
As you know, version 1.71 (actually 1.71dev) is "development version." However, this version was already available in 20th century, and there are no "doesn't work" information. The author of dbskkd-cdb says it's ok to update this port to version 1.71dev, so here it is. With a help of ports/databases/cdb, the Makefile is simpler than previous. No features are changed, except dbskkd-cdb does chroot(2) in this version. Since chroot(2) requires superuser privilege, dbskkd-cdb should be started by root. For inetd user, please double-check your inetd.conf line from skkserv stream tcp nowait nobody ${PREFIX}/libexec/dbskkd-cdb dbskkd-cdb to skkserv stream tcp nowait root ${PREFIX}/libexec/dbskkd-cdb dbskkd-cdb" to kick by root. Daemontools users please consult the document. Thanks to: Kenji Rikitake (the dbskkd-cdb author)
Diffstat (limited to 'japanese/dbskkd-cdb/files/patch-aa')
-rw-r--r--japanese/dbskkd-cdb/files/patch-aa26
1 files changed, 13 insertions, 13 deletions
diff --git a/japanese/dbskkd-cdb/files/patch-aa b/japanese/dbskkd-cdb/files/patch-aa
index 83c46120e1cf..9b1808a294f8 100644
--- a/japanese/dbskkd-cdb/files/patch-aa
+++ b/japanese/dbskkd-cdb/files/patch-aa
@@ -1,21 +1,21 @@
---- Makefile.dist Wed Jun 16 15:26:04 1999
-+++ Makefile Fri Jun 18 14:17:15 1999
+--- Makefile.dist Sat Mar 25 23:31:29 2000
++++ Makefile Sat Oct 30 01:54:16 2004
@@ -2,7 +2,8 @@
- # $Id: Makefile,v 1.6 1998/12/12 11:24:36 kenji Exp $
+ # $Id: Makefile,v 3.2 2000/03/25 14:30:58 kenji Exp $
# please define SERVERDIR
--SERVERDIR = /usr/local/libexec
-+SERVERDIR = ${PREFIX}/libexec
-+JISHOFILE = ${PREFIX}/${SKKDIR}/${SKKJISYO}.cdb
- # for FreeBSD-2.x and BSD/OS (without shlib)
- CC = gcc -O -g
+-SERVERDIR = /service/dbskkd-cdb/root
++SERVERDIR = ${SERVER_DIR}
++JISHOFILE = ${SKKJISYOCDB}
+ #
+ CC = gcc -Wall -O2 -g
COMPAT =
-@@ -17,7 +18,7 @@
- $(CC) $(LDFLAGS) -o dbskkd-cdb dbskkd-cdb.o $(LDFLAGS)
+@@ -30,7 +31,7 @@
+ $(CC) $(COMPAT) $(PRIVATE) -o dbskkd-cdb $>
- dbskkd-cdb.o: dbskkd-cdb.c
+ dbskkd-cdb.o: dbskkd-cdb.c cdb.h uint32.h
- $(CC) $(COMPAT) $(PRIVATE) -DSERVER_DIR=\"$(SERVERDIR)\" -c dbskkd-cdb.c
+ $(CC) $(COMPAT) $(PRIVATE) -DJISHO_FILE=\"$(JISHOFILE)\" -DSERVER_DIR=\"$(SERVERDIR)\" -c dbskkd-cdb.c
- install: dbskkd-cdb
- cp dbskkd-cdb $(SERVERDIR); chmod 755 $(SERVERDIR)/dbskkd-cdb
+ error.o: error.c error.h
+