- Install configuration files under the examples hierarchy. - Use CONF_FILES_PERMS to put the configuration files in place. - Use SUPPORT_FILES_PERMS to put the empty log file in place. - Use RCD_SCRIPTS to handle the rc.d script. While here, add ICBD_OWNER to BUILD_DEFS and use ROOT_USER and ROOT_GROUP where appropiate. As a result, bump PKGREVISION to 1.
19 lines
689 B
Text
19 lines
689 B
Text
$NetBSD: patch-aa,v 1.2 2003/07/29 16:25:56 jmmv Exp $
|
|
|
|
--- config.h.orig Tue Oct 30 20:37:28 2001
|
|
+++ config.h
|
|
@@ -5,10 +5,10 @@
|
|
|
|
/* File definitions */
|
|
|
|
-#define USERDB "/usr/local/etc/icbd/userdb.db"
|
|
-#define ICBDMOTD "/usr/local/etc/icbd/motd"
|
|
-#define ICBDHELP "/usr/local/etc/icbd/icbd_help"
|
|
-#define ACCESS_FILE "/usr/local/etc/icbd/icbd.deny"
|
|
+#define USERDB PKG_SYSCONFDIR "/userdb.db"
|
|
+#define ICBDMOTD PKG_SYSCONFDIR "/motd"
|
|
+#define ICBDHELP PKG_SYSCONFDIR "/icbd_help"
|
|
+#define ACCESS_FILE PKG_SYSCONFDIR "/icbd.deny"
|
|
#define ICBDLOG "/var/log/icbd.log"
|
|
#define PID_FILE "/var/run/icbd.pid"
|
|
#define INIT_BRICKS 5 /* initial number of bricks to be thrown */
|