Change default config file path to ${PREFIX}/etc/xinetd.conf
This commit is contained in:
parent
a39bd0953e
commit
e75fed0461
3 changed files with 18 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2004/07/10 17:27:05 poppnk Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2004/07/10 17:47:51 poppnk Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xinetd-2.3.13
|
||||
|
@ -17,6 +17,7 @@ USE_GNU_TOOLS+= make
|
|||
ALL_TARGET= build
|
||||
|
||||
RCD_SCRIPTS= xinetd
|
||||
CPPFLAGS+= -DDEFAULT_CONFIG_FILE=\\\"\"${PREFIX}/etc/xinetd.conf\\\"\"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xinetd/
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2004/07/10 16:11:39 poppnk Exp $
|
||||
$NetBSD: distinfo,v 1.2 2004/07/10 17:47:52 poppnk Exp $
|
||||
|
||||
SHA1 (xinetd-2.3.13.tar.gz) = fef268d88e0fa2e02e709cf491d752a2b17c30aa
|
||||
Size (xinetd-2.3.13.tar.gz) = 297548 bytes
|
||||
SHA1 (patch-aa) = 2ec37ff600be9b2726a52122a604007fd3b612c0
|
||||
|
|
14
xinetd/patches/patch-aa
Normal file
14
xinetd/patches/patch-aa
Normal file
|
@ -0,0 +1,14 @@
|
|||
$NetBSD: patch-aa,v 1.1 2004/07/10 17:47:52 poppnk Exp $
|
||||
--- xinetd/xconfig.h.orig 2004-07-10 18:31:48.000000000 +0000
|
||||
+++ xinetd/xconfig.h 2004-07-10 18:32:21.000000000 +0000
|
||||
@@ -28,8 +28,9 @@
|
||||
#include "customconf.h"
|
||||
#endif
|
||||
|
||||
-
|
||||
+#ifndef DEFAULT_CONFIG_FILE
|
||||
#define DEFAULT_CONFIG_FILE "/etc/xinetd.conf"
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* This is the facility used by xinetd to log syslog messages
|
Loading…
Reference in a new issue