Date: Thu, 15 Sep 2005 14:19:35 +0400 From: Andrej Zverev <az@inec.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/86151: [update] sysutils/msyslog to 1.08g Message-ID: <E1EFqq7-0006b1-GN@az.inec.ru> Resent-Message-ID: <200509151020.j8FAKDQH087781@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86151 >Category: ports >Synopsis: [update] sysutils/msyslog to 1.08g >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Sep 15 10:20:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrej Zverev >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386 >Description: 1. Update to new version 2. Make Makefile look more easy, i hope. 3. Now port use rcNG subr 4. And OPTIONS it have to :) 5. Take maintainership Removed files: files/msyslog.sh.sample files/patch-im_tcp.c files/patch-im_udp.c files/patch-im_unix.c files/patch-ip_misc.c files/patch-md5.h files/patch-sha1.h files/patch-rmd160.h files/patch-src-config.h.in Added files: files/patch-src-Makefile.in files/patch-src-modules-Makefile.in files/msyslogd.sh.in >How-To-Repeat: >Fix: --- msyslog.diff begins here --- diff -Nru msyslog.orig/Makefile msyslog/Makefile --- msyslog.orig/Makefile Thu Sep 15 11:19:37 2005 +++ msyslog/Makefile Thu Sep 15 14:11:05 2005 @@ -6,83 +6,61 @@ # PORTNAME= msyslog -PORTVERSION= 1.08f -PORTREVISION= 3 +PORTVERSION= 1.08g CATEGORIES= sysutils -MASTER_SITES= http://www1.corest.com/download/msyslog/ \ - ftp://ftp.nuug.no/pub/anders/distfiles/ -DISTNAME= ${PORTNAME}-v${PORTVERSION} -EXTRACT_SUFX= .tgz +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://www1.corest.com/download/msyslog/ +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-v${PORTVERSION}-src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= az@inec.ru COMMENT= Flexible and easy to integrate syslog daemon -.if defined(WITH_MYSQL) -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -.endif -.if defined(WITH_PGSQL) -USE_PGSQL= yes -.endif +OPTIONS= MYSQL "With MySQL Support" off \ + PSSQL "With Postfres Support" off \ + +WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} GNU_CONFIGURE= yes -USE_REINPLACE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_GMAKE= yes -USE_PERL5_BUILD= yes -.if !defined(WITH_MYSQL) -CONFIGURE_ARGS+= --without-mysql -.endif -.if !defined(WITH_PGSQL) -CONFIGURE_ARGS+= --without-pgsql -.endif -.if defined(WITH_DAEMON_NAME) -CONFIGURE_ARGS+= --with-daemon-name=${WITH_DAEMON_NAME} -.endif +USE_REINPLACE= yes +USE_RC_SUBR= msyslogd.sh +PKGMESSAGE= ${WRKDIR}/pkg-message +INSTALLS_SHLIB= yes +MANCOMPRESSED= yes + +.include <bsd.port.pre.mk> -MAN5= syslog.conf.5 -MAN8= im_bsd.8 im_tcp.8 im_udp.8 im_unix.8 om_classic.8 om_tcp.8 om_peo.8 \ - om_regex.8 peochk.8 syslogd.8 om_udp.8 im_file.8 .if defined(WITH_MYSQL) +USE_MYSQL= yes MAN8+= om_mysql.8 +.else +CONFIGURE_ARGS+= --without-mysql .endif -.if defined(WITH_PGSQL) + +.if defined(WITH_PSSQL) +USE_PGSQL= yes MAN8+= om_pgsql.8 +.else +CONFIGURE_ARGS+= --without-pgsql .endif -MANCOMPRESSED= yes -INSTALLS_SHLIB= yes -LDCONFIG_DIRS= %%PREFIX%%/lib/alat - -DOCS= AUTHORS COPYING src/TODO README NEWS doc/HOW_TO_WRITE_A_MODULE \ - doc/HOW-TO-UPGRADE -FIXPREFIX= README src/man/om_peo.8 src/man/syslog.conf.5 \ - src/man/syslogd.8 src/TODO src/syslogd.h - -WRKSRC= ${WRKDIR}/${DISTNAME} - -pre-patch: -.for f in ${FIXPREFIX} - ${REINPLACE_CMD} -e "s|/etc/syslog.conf|${PREFIX}/etc/syslog.conf|g" \ - ${WRKSRC}/${f} -.endfor post-patch: -.for f in README src/syslogd.c src/man/im_file.8 src/man/im_streams.8 \ - src/man/im_unix.8 src/man/syslogd.8 src/modules/im_streams.c src/modules/im_unix.c - ${REINPLACE_CMD} -e "s|/dev/log|/var/run/log|" ${WRKSRC}/${f} -.endfor + @${FIND} ${WRKSRC}/src/modules -name "*.c" | \ + ${XARGS} ${REINPLACE_CMD} -e "s|typedef int socklen_t;||g" + @${FIND} ${WRKSRC}/src/peo -name "*.h" | \ + ${XARGS} ${REINPLACE_CMD} -e 's|"typedefs.h"|<sys/types.h>|g' + @${FIND} ${WRKSRC}/src/ -name "*.*" | \ + ${XARGS} ${REINPLACE_CMD} -e 's|/dev/log|/var/run/log|g' \ + -e "s|/etc/syslog.conf|${PREFIX}/etc/syslog.conf|g" + @${FIND} ${WRKSRC}/src/ -name "*.bak" -delete post-install: - ${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/examples/msyslog - ${INSTALL_DATA} ${WRKSRC}/src/examples/* \ - ${PREFIX}/share/examples/msyslog -.if !defined(NOPORTDOCS) - ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif - @if [ ! -f ${PREFIX}/etc/rc.d/msyslog.sh.sample ]; then \ - ${ECHO} "Installing ${PREFIX}/etc/rc.d/msyslog.sh.sample startup file."; \ - ${INSTALL_SCRIPT} ${FILESDIR}/msyslog.sh.sample ${PREFIX}/etc/rc.d/msyslog.sh.sample; \ - fi + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/src/examples/* ${EXAMPLESDIR} + @${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ + > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -Nru msyslog.orig/distinfo msyslog/distinfo --- msyslog.orig/distinfo Wed Mar 31 07:11:26 2004 +++ msyslog/distinfo Wed Sep 14 13:00:02 2005 @@ -1,2 +1,2 @@ -MD5 (msyslog-v1.08f.tgz) = 03ac1f3e3f8d1d4dce2fe523061d1e94 -SIZE (msyslog-v1.08f.tgz) = 137417 +MD5 (msyslog-v1.08g-src.tar.gz) = c82b43b2dafe83c62445eb6c4d039fc7 +SIZE (msyslog-v1.08g-src.tar.gz) = 131782 diff -Nru msyslog.orig/files/msyslog.sh.sample msyslog/files/msyslog.sh.sample --- msyslog.orig/files/msyslog.sh.sample Sun May 20 06:54:49 2001 +++ msyslog/files/msyslog.sh.sample Thu Jan 1 03:00:00 1970 @@ -1,20 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - [ -x ${PREFIX}/sbin/syslogd ] && ${PREFIX}/sbin/syslogd && echo -n ' msyslog' - ;; -stop) - killall syslogd && echo -n ' msyslog' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff -Nru msyslog.orig/files/msyslogd.sh.in msyslog/files/msyslogd.sh.in --- msyslog.orig/files/msyslogd.sh.in Thu Jan 1 03:00:00 1970 +++ msyslog/files/msyslogd.sh.in Thu Sep 15 14:08:30 2005 @@ -0,0 +1,47 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: syslogd +# REQUIRE: mountcritremote cleanvar +# BEFORE: SERVERS +# +# Add the following lines to /etc/rc.conf to enable msyslogd: +# +#msyslogd_enable="YES" +# + +. %%RC_SUBR%% + +name=msyslogd +rcvar=`set_rcvar` + +command=%%PREFIX%%/sbin/syslogd +pidfile=/var/run/syslog.pid +required_files=%%PREFIX%%/etc/syslogd.conf + +start_precmd=start_precmd +stop_postcmd=stop_postcmd + +extra_commands="reload" + +start_precmd() +{ + case $syslogd_enable in + [Yy][Ee][Ss]|1) + warn "syslogd_enable should be set to NO" + ;; + esac +} + +stop_postcmd() +{ + rm -f $pidfile +} + +# read settings, set default values +load_rc_config $name +: ${msyslogd_enable="NO"} + +run_rc_command "$1" diff -Nru msyslog.orig/files/patch-configure msyslog/files/patch-configure --- msyslog.orig/files/patch-configure Sat Jan 4 22:34:05 2003 +++ msyslog/files/patch-configure Wed Sep 14 16:39:09 2005 @@ -1,5 +1,5 @@ ---- configure.orig Sat Jan 4 15:45:31 2003 -+++ configure Sat Jan 4 15:51:07 2003 +--- configure.orig Fri Apr 11 23:07:44 2003 ++++ configure Wed Sep 14 16:39:00 2005 @@ -2941,7 +2941,7 @@ echo "$as_me:2941: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 @@ -21,6 +21,15 @@ cat >>confdefs.h <<EOF #define MLIBNAME_STR "$MLIBNAME" EOF +@@ -3587,7 +3587,7 @@ + prefix=$ac_default_prefix + fi + cat >>confdefs.h <<EOF +-#define INSTALL_LIBDIR "$prefix/lib/alat" ++#define INSTALL_LIBDIR "$prefix/lib" + EOF + + echo "$as_me:3593: checking wheter optreset is needed" >&5 @@ -3644,14 +3644,6 @@ #define PID_DIR "$dir" EOF diff -Nru msyslog.orig/files/patch-im_tcp.c msyslog/files/patch-im_tcp.c --- msyslog.orig/files/patch-im_tcp.c Sat Jan 4 22:34:05 2003 +++ msyslog/files/patch-im_tcp.c Thu Jan 1 03:00:00 1970 @@ -1,22 +0,0 @@ ---- src/modules/im_tcp.c.orig Sat Jan 4 15:42:05 2003 -+++ src/modules/im_tcp.c Sat Jan 4 15:42:41 2003 -@@ -61,6 +61,7 @@ - #include <sys/types.h> - #include <sys/socket.h> - #include <sys/uio.h> -+#include <sys/param.h> - #include <ctype.h> - #include <stdlib.h> - #include <unistd.h> -@@ -72,11 +73,6 @@ - - #include "../modules.h" - #include "../syslogd.h" -- --/* recvfrom() and others like socklen_t, Irix doesn't provide it */ --#ifndef HAVE_SOCKLEN_T -- typedef int socklen_t; --#endif - - struct tcp_conn { - struct tcp_conn *next; diff -Nru msyslog.orig/files/patch-im_udp.c msyslog/files/patch-im_udp.c --- msyslog.orig/files/patch-im_udp.c Sat Mar 23 21:28:13 2002 +++ msyslog/files/patch-im_udp.c Thu Jan 1 03:00:00 1970 @@ -1,14 +0,0 @@ ---- src/modules/im_udp.c.orig Sat Mar 23 18:14:04 2002 -+++ src/modules/im_udp.c Sat Mar 23 18:14:24 2002 -@@ -58,11 +58,6 @@ - #include "../modules.h" - #include "../syslogd.h" - --/* recvfrom() and others like socklen_t, Irix doesn't provide it */ --#ifndef HAVE_SOCKLEN_T -- typedef int socklen_t; --#endif -- - struct im_udp_ctx { - int flags; - }; diff -Nru msyslog.orig/files/patch-im_unix.c msyslog/files/patch-im_unix.c --- msyslog.orig/files/patch-im_unix.c Sun May 20 06:54:49 2001 +++ msyslog/files/patch-im_unix.c Thu Jan 1 03:00:00 1970 @@ -1,14 +0,0 @@ ---- src/modules/im_unix.c.orig Thu Apr 26 00:43:50 2001 -+++ src/modules/im_unix.c Sun May 13 23:44:55 2001 -@@ -58,11 +58,6 @@ - #include "../modules.h" - #include "../syslogd.h" - --/* recvfrom() and others like socklen_t, Irix doesn't provide it */ --#ifndef HAVE_SOCKLEN_T -- typedef int socklen_t; --#endif -- - #define DEFAULT_LOGGER "/dev/log" - - /* diff -Nru msyslog.orig/files/patch-ip_misc.c msyslog/files/patch-ip_misc.c --- msyslog.orig/files/patch-ip_misc.c Sun May 20 06:54:49 2001 +++ msyslog/files/patch-ip_misc.c Thu Jan 1 03:00:00 1970 @@ -1,15 +0,0 @@ ---- src/modules/ip_misc.c.orig Thu Apr 26 19:09:26 2001 -+++ src/modules/ip_misc.c Sun May 13 16:30:57 2001 -@@ -62,12 +62,6 @@ - #include "../modules.h" - #include "../syslogd.h" - --/* recvfrom() and others like socklen_t, Irix doesn't provide it */ --#ifndef HAVE_SOCKLEN_T -- typedef int socklen_t; --#endif -- -- - #define TCP_KEEPALIVE 30 /* seconds to probe TCP connection */ - #define MSYSLOG_MAX_TCP_CLIENTS 100 - #define LISTENQ 35 diff -Nru msyslog.orig/files/patch-md5.h msyslog/files/patch-md5.h --- msyslog.orig/files/patch-md5.h Sun May 20 06:54:49 2001 +++ msyslog/files/patch-md5.h Thu Jan 1 03:00:00 1970 @@ -1,11 +0,0 @@ ---- src/peo/md5.h.orig Tue Dec 5 00:17:51 2000 -+++ src/peo/md5.h Sun May 13 00:38:59 2001 -@@ -27,7 +27,7 @@ - #ifndef _MD5_H_ - #define _MD5_H_ - --#include "typedefs.h" -+#include <sys/types.h> - - /* MD5 context. */ - typedef struct MD5Context { diff -Nru msyslog.orig/files/patch-rmd160.h msyslog/files/patch-rmd160.h --- msyslog.orig/files/patch-rmd160.h Sun May 20 06:54:49 2001 +++ msyslog/files/patch-rmd160.h Thu Jan 1 03:00:00 1970 @@ -1,11 +0,0 @@ ---- src/peo/rmd160.h.orig Sun May 13 00:40:04 2001 -+++ src/peo/rmd160.h Sun May 13 00:40:23 2001 -@@ -20,7 +20,7 @@ - #ifndef _RMD160_H /* make sure this file is read only once */ - #define _RMD160_H - --#include "typedefs.h" -+#include <sys/types.h> - - /********************************************************************/ - diff -Nru msyslog.orig/files/patch-sha1.h msyslog/files/patch-sha1.h --- msyslog.orig/files/patch-sha1.h Sun May 20 06:54:49 2001 +++ msyslog/files/patch-sha1.h Thu Jan 1 03:00:00 1970 @@ -1,11 +0,0 @@ ---- src/peo/sha1.h.orig Sun May 13 00:40:12 2001 -+++ src/peo/sha1.h Sun May 13 00:40:37 2001 -@@ -9,7 +9,7 @@ - #ifndef _SHA1_H - #define _SHA1_H - --#include "typedefs.h" -+#include <sys/types.h> - - typedef struct { - u_int32_t state[5]; diff -Nru msyslog.orig/files/patch-src-Makefile.in msyslog/files/patch-src-Makefile.in --- msyslog.orig/files/patch-src-Makefile.in Thu Jan 1 03:00:00 1970 +++ msyslog/files/patch-src-Makefile.in Thu Sep 15 11:01:37 2005 @@ -0,0 +1,12 @@ +--- src/Makefile.in.orig Fri Apr 11 20:36:26 2003 ++++ src/Makefile.in Thu Sep 15 11:01:15 2005 +@@ -74,9 +74,3 @@ + $(INSTALL) -s $(PROG) $(INSTALL_DIR)/ ; + + install: install-prog +- @echo -e \ +- " **********************************************************\n"\ +- "** A new syslog daemon was installed !! **\n"\ +- "** Please read the INSTALL and README files **\n"\ +- "** to get your syslog configuration ready **\n"\ +- "**********************************************************\n" diff -Nru msyslog.orig/files/patch-src-config.h.in msyslog/files/patch-src-config.h.in --- msyslog.orig/files/patch-src-config.h.in Sat Jan 4 22:34:05 2003 +++ msyslog/files/patch-src-config.h.in Thu Jan 1 03:00:00 1970 @@ -1,154 +0,0 @@ ---- src/config.h.in.orig Sat Jan 4 20:23:08 2003 -+++ src/config.h.in Sat Jan 4 20:22:53 2003 -@@ -0,0 +1,151 @@ -+/* config.h.in. Generated automatically from configure.in by autoheader. */ -+ -+/* Define to empty if the keyword does not work. */ -+#undef const -+ -+/* Define if you don't have vprintf but do have _doprnt. */ -+#undef HAVE_DOPRNT -+ -+/* Define if you have the vprintf function. */ -+#undef HAVE_VPRINTF -+ -+/* Define to `long' if <sys/types.h> doesn't define. */ -+#undef off_t -+ -+/* Define as the return type of signal handlers (int or void). */ -+#undef RETSIGTYPE -+ -+/* Define to `unsigned' if <sys/types.h> doesn't define. */ -+#undef size_t -+ -+/* Define if you have the ANSI C header files. */ -+#undef STDC_HEADERS -+ -+/* Define if you can safely include both <sys/time.h> and <time.h>. */ -+#undef TIME_WITH_SYS_TIME -+ -+/* Define if your <sys/time.h> declares struct tm. */ -+#undef TM_IN_SYS_TIME -+ -+/* Define if you have the gethostname function. */ -+#undef HAVE_GETHOSTNAME -+ -+/* Define if you have the regcomp function. */ -+#undef HAVE_REGCOMP -+ -+/* Define if you have the select function. */ -+#undef HAVE_POLL -+ -+/* Define if you have the select function. */ -+#undef HAVE_SELECT -+ -+/* Define if you have the socket function. */ -+#undef HAVE_SOCKET -+ -+/* Define if you have the strdup function. */ -+#undef HAVE_STRDUP -+ -+/* Define if you have the strerror function. */ -+#undef HAVE_STRERROR -+ -+/* Define if you have the strstr function. */ -+#undef HAVE_STRSTR -+ -+/* Define if you have the strtoul function. */ -+#undef HAVE_STRTOUL -+ -+/* Define if you have the <dirent.h> header file. */ -+#undef HAVE_DIRENT_H -+ -+/* Define if you have the <fcntl.h> header file. */ -+#undef HAVE_FCNTL_H -+ -+/* Define if you have the <limits.h> header file. */ -+#undef HAVE_LIMITS_H -+ -+/* Define if you have the <ndir.h> header file. */ -+#undef HAVE_NDIR_H -+ -+/* Define if you have the <paths.h> header file. */ -+#undef HAVE_PATHS_H -+ -+/* Define if you have the <strings.h> header file. */ -+#undef HAVE_STRINGS_H -+ -+/* Define if you have the <sys/dir.h> header file. */ -+#undef HAVE_SYS_DIR_H -+ -+/* Define if you have the <sys/ioctl.h> header file. */ -+#undef HAVE_SYS_IOCTL_H -+ -+/* Define if you have the <sys/ndir.h> header file. */ -+#undef HAVE_SYS_NDIR_H -+ -+/* Define if you have the <sys/time.h> header file. */ -+#undef HAVE_SYS_TIME_H -+ -+/* Define if you have the <syslog.h> header file. */ -+#undef HAVE_SYSLOG_H -+ -+/* Define if you have the <unistd.h> header file. */ -+#undef HAVE_UNISTD_H -+ -+#undef HAVE_SYSCTL_H -+#undef HAVE_ERR_H -+ -+#undef MSYSLOG_VERSION_STR -+#undef MLIBNAME_STR -+#undef INSTALL_LIBDIR -+#undef PID_DIR -+#undef PID_FILE -+ -+#undef HAVE_OPTRESET -+ -+#undef DLOPEN_FLAGS -+#undef SYMBOL_PREFIX -+ -+#undef HAVE_SRANDOM -+#undef HAVE_MD5 -+#undef HAVE_SHA1 -+#undef HAVE_RMD160 -+ -+#undef HAVE_SOCKLEN_T -+#undef HAVE_UINT32_T -+#undef HAVE_UINT64_T -+#undef HAVE_U_INT32_T -+#undef HAVE___UINT32_T -+#undef HAVE_U_INT64_T -+#undef HAVE___UINT64_T -+ -+#undef HAVE_CODE -+ -+#undef MLIBNAME -+ -+#undef HAVE_SYS_WAIT_H -+ -+#undef HAVE_GETADDRINFO -+ -+#undef HAVE_INET_NTOP -+ -+#undef HAVE_STREAMS_IMODULE -+#undef HAVE_LINUX_IMODULE -+#undef HAVE_BSD_IMODULE -+#undef HAVE_UNIX_IMODULE -+ -+#undef HAVE_SOCKADDR_SA_LEN -+ -+#undef _USE_IRS -+#undef SIGALTSTACK_WITH_STACK_T -+#undef HAVE_SYS_CONTEXT_H -+ -+#undef NEEDS_DLOPEN_NULL -+ -+#undef _SGIAPI -+#undef INET6 -+ -+#undef WORDS_BIGENDIAN -+ -+#undef _GNU_SOURCE -+ -+/* for Solaris */ -+#undef _REENTRANT diff -Nru msyslog.orig/files/patch-src-modules-Makefile.in msyslog/files/patch-src-modules-Makefile.in --- msyslog.orig/files/patch-src-modules-Makefile.in Thu Jan 1 03:00:00 1970 +++ msyslog/files/patch-src-modules-Makefile.in Wed Sep 14 16:44:43 2005 @@ -0,0 +1,11 @@ +--- src/modules/Makefile.in.orig Fri Apr 11 20:36:36 2003 ++++ src/modules/Makefile.in Wed Sep 14 16:44:15 2005 +@@ -35,7 +35,7 @@ + CPPFLAGS= -I.. @CPPFLAGS@ + + INSTALL= @INSTALL@ +-INSTALL_LIBDIR= @prefix@/lib/alat ++INSTALL_LIBDIR= @prefix@/lib + + MLIBNAME= @MLIBNAME@ + MSRCS= @MSRCS@ diff -Nru msyslog.orig/pkg-descr msyslog/pkg-descr --- msyslog.orig/pkg-descr Sat Jan 4 22:34:05 2003 +++ msyslog/pkg-descr Wed Sep 14 19:43:10 2005 @@ -6,6 +6,6 @@ MySQL and PostgreSQL database, respectively) and om_regex (a module that allows output redirection using regular expressions). -WWW: http://www.corest.com/products/corewisdom/CW01.php +WWW: http://oss.coresecurity.com/projects/msyslog.html - Anders Nordby <anders@fix.no> diff -Nru msyslog.orig/pkg-message msyslog/pkg-message --- msyslog.orig/pkg-message Wed Aug 29 10:37:43 2001 +++ msyslog/pkg-message Thu Sep 15 11:26:29 2005 @@ -1,14 +1,17 @@ ================================================================================ To replace FreeBSD's standard syslogd with msyslog, do this: -a) create a configuration in ${PREFIX}/etc/syslog.conf. - See ${PREFIX}/share/examples/msyslog for examples. +1) Create a configuration in %%PREFIX%%/etc/syslog.conf. + See %%PREFIX%%/share/examples/msyslog for examples. -b) Set up a startup script in ${PREFIX}/etc/rc.d. - For your convinience, a msyslog.sh.sample has been provided. +2) Set up a startup script in %%PREFIX%%/etc/rc.d. + For your convinience, a msyslog.sh has been provided. + put this in /etc/rc.conf + + msyslogd_enable="YES" -c) Stop the standard FreeBSD syslogd from starting automatically by putting this - in the end of /etc/rc.conf: +3) Stop the standard FreeBSD syslogd from starting automatically by putting this + in the end of /etc/rc.conf: -syslogd_enable="NO" + syslogd_enable="NO" ================================================================================ diff -Nru msyslog.orig/pkg-plist msyslog/pkg-plist --- msyslog.orig/pkg-plist Sun Mar 24 20:56:19 2002 +++ msyslog/pkg-plist Thu Sep 15 09:41:42 2005 @@ -1,21 +1,24 @@ -etc/rc.d/msyslog.sh.sample -lib/alat/libmsyslog.so.1 sbin/peochk sbin/syslogd -share/examples/msyslog/im_mymodule.c -share/examples/msyslog/om_mymodule.c -share/examples/msyslog/syslog.conf.classic -share/examples/msyslog/syslog.conf.mysql -share/examples/msyslog/syslog.conf.peo -share/examples/msyslog/syslog.conf.pgsql -share/examples/msyslog/syslog.conf.regex -@dirrm share/examples/msyslog -%%PORTDOCS%%share/doc/msyslog/AUTHORS -%%PORTDOCS%%share/doc/msyslog/COPYING -%%PORTDOCS%%share/doc/msyslog/HOW-TO-UPGRADE -%%PORTDOCS%%share/doc/msyslog/HOW_TO_WRITE_A_MODULE -%%PORTDOCS%%share/doc/msyslog/NEWS -%%PORTDOCS%%share/doc/msyslog/README -%%PORTDOCS%%share/doc/msyslog/TODO -%%PORTDOCS%%@dirrm share/doc/msyslog -@unexec rmdir %D/lib/alat 2>/dev/null || true +lib/libmsyslog.so.1 +man/man5/syslog.conf.5.gz +man/man8/im_bsd.8.gz +man/man8/im_file.8.gz +man/man8/im_tcp.8.gz +man/man8/im_udp.8.gz +man/man8/im_unix.8.gz +man/man8/om_classic.8.gz +man/man8/om_peo.8.gz +man/man8/om_regex.8.gz +man/man8/om_tcp.8.gz +man/man8/om_udp.8.gz +man/man8/peochk.8.gz +man/man8/syslogd.8.gz +%%EXAMPLESDIR%%/im_mymodule.c +%%EXAMPLESDIR%%/om_mymodule.c +%%EXAMPLESDIR%%/syslog.conf.classic +%%EXAMPLESDIR%%/syslog.conf.mysql +%%EXAMPLESDIR%%/syslog.conf.peo +%%EXAMPLESDIR%%/syslog.conf.pgsql +%%EXAMPLESDIR%%/syslog.conf.regex +@dirrm %%EXAMPLESDIR%% --- msyslog.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EFqq7-0006b1-GN>