View | Details | Raw Unified | Return to bug 155143
Collapse All | Expand All

(-)unreal/Makefile 2011-02-27 21:12:30.000000000 -0800 (-1 / +8 lines)
Lines 28-34 Link Here
28
HAS_CONFIGURE= yes
28
HAS_CONFIGURE= yes
29
USE_RC_SUBR=   unrealircd.sh
29
USE_RC_SUBR=   unrealircd.sh
30
SUB_LIST+=     RUNDIR=${RUNDIR}
30
USERS=          ircd
31
GROUPS=         ircd
32
33
SUB_LIST+=     RUNDIR=${RUNDIR} \
34
                USERS=${USERS} \
35
                GROUPS=${GROUPS}
31
CPPFLAGS+=     -I${LOCALBASE}/include
36
CPPFLAGS+=     -I${LOCALBASE}/include
32
LDFLAGS+=      -L${LOCALBASE}/lib
37
LDFLAGS+=      -L${LOCALBASE}/lib
Lines 115-120 Link Here
115
post-patch:
120
post-patch:
116
       @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
121
       @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
117
               -e "s,%%RUNDIR%%,${RUNDIR}," \
122
               -e "s,%%RUNDIR%%,${RUNDIR}," \
123
               -e "s,%%USERS%%,${USERS}," \
124
               -e "s,%%GROUPS%%,${GROUPS}," \
118
               -e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/include/config.h
125
               -e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/include/config.h
119
       @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
126
       @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
120
               -e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/doc/example.conf
127
               -e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/doc/example.conf
(-)unreal/files/patch-config.h 2011-02-28 08:51:21.000000000 -0800 (+12 lines)
Lines 27-29 Link Here
27
 /* CHROOTDIR
27
 /* CHROOTDIR
28
  *
28
  *
29
@@ -245,8 +245,8 @@
30
  * define IRC_USER to that user name.  This should only be defined if you
31
  * are running as root and even then perhaps not.
32
  */
33
-/* #define IRC_USER  "<user name>" */
34
-/* #define IRC_GROUP "<group name>" */
35
+#define IRC_USER  "%%USERS%%"
36
+#define IRC_GROUP "%%GROUPS%%"
37
38
39
 /* SHOW_INVISIBLE_LUSERS
40

Return to bug 155143