aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rsyslog3
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rsyslog3')
-rw-r--r--sysutils/rsyslog3/Makefile55
-rw-r--r--sysutils/rsyslog3/distinfo3
-rw-r--r--sysutils/rsyslog3/files/patch-syslogd.c22
-rw-r--r--sysutils/rsyslog3/files/pkg-message.in16
-rw-r--r--sysutils/rsyslog3/files/rsyslogd.in92
-rw-r--r--sysutils/rsyslog3/pkg-descr9
-rw-r--r--sysutils/rsyslog3/pkg-plist50
7 files changed, 0 insertions, 247 deletions
diff --git a/sysutils/rsyslog3/Makefile b/sysutils/rsyslog3/Makefile
deleted file mode 100644
index 55bd3a1b961b..000000000000
--- a/sysutils/rsyslog3/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# New ports collection makefile for: rsyslog
-# Date created: 9 July 2007
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= rsyslog
-PORTVERSION= 1.19.10
-CATEGORIES= sysutils
-MASTER_SITES= http://download.rsyslog.com/rsyslog/ CENKES
-
-MAINTAINER= infofarmer@FreeBSD.org
-COMMENT= Enhanced syslog daemon
-
-LIB_DEPENDS= logging.0:${PORTSDIR}/devel/liblogging
-
-USE_RC_SUBR= ${PORTNAME}d
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS= -L${LOCALBASE}/lib
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-klogd --disable-static
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-SUB_FILES= pkg-message
-
-MAN8= rfc3195d.8 rklogd.8 rsyslogd.8
-MAN5= rsyslog.conf.5
-PORT_VERBS= rfc3195d rklogd ${PORTNAME}
-
-post-patch:
- @${REINPLACE_CMD} -e 's|<wait.h>|<sys/wait.h>|' ${WRKSRC}/srUtils.c
- @${REINPLACE_CMD} -e '/^rfc3195d_LDADD =/s|$$| -llogging|;s|-ldl||'\
- ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\
- ${WRKSRC}/Makefile.in ${WRKSRC}/syslogd.c
- @${REINPLACE_CMD} -e 's|TTY_NAME_MAX|9|' ${WRKSRC}/syslogd.c
- @${GREP} -rl '/etc/rsyslog.conf' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e\
- 's|/etc/rsyslog.conf|${PREFIX}/etc/rsyslog.conf|'
- @${ECHO_CMD} '#include <sys/socket.h>' >> ${WRKSRC}/net.h
- @${ECHO_CMD} '#include <paths.h>' >> ${WRKSRC}/omusrmsg.h
- @${FIND} ${WRKSRC} -name '*.bak' -delete
-
-post-configure:
- @${ECHO_CMD} '#define FEATURE_RFC3195 1' >> ${WRKSRC}/config.h
- @${ECHO_CMD} '#define PATCHLEVEL "0"' >> ${WRKSRC}/config.h
-
-post-install:
-.ifndef NOPORTDOCS
- @${INSTALL} -d ${DOCSDIR}/
- @${INSTALL_DATA} ${WRKSRC}/doc/*html ${DOCSDIR}/
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/sysutils/rsyslog3/distinfo b/sysutils/rsyslog3/distinfo
deleted file mode 100644
index 6ea9120cc0e6..000000000000
--- a/sysutils/rsyslog3/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (rsyslog-1.19.10.tar.gz) = 9aea93c0ad90db8ff5553d18b0ff75e7
-SHA256 (rsyslog-1.19.10.tar.gz) = 2b2845b47d72ca7f3bca561a59437e1a956b1fe2a93f50df0de55c5392eadeeb
-SIZE (rsyslog-1.19.10.tar.gz) = 664449
diff --git a/sysutils/rsyslog3/files/patch-syslogd.c b/sysutils/rsyslog3/files/patch-syslogd.c
deleted file mode 100644
index f646cc94c27d..000000000000
--- a/sysutils/rsyslog3/files/patch-syslogd.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- ./syslogd.c.orig 2007-08-25 20:07:21.000000000 +0400
-+++ ./syslogd.c 2007-08-25 20:08:39.000000000 +0400
-@@ -86,7 +86,6 @@
- #include "rsyslog.h"
-
- #ifdef __FreeBSD__
--#define BSD
- #endif
-
- /* change the following setting to e.g. 32768 if you would like to
-@@ -1877,6 +1876,11 @@
- return iRet;
- }
-
-+size_t strnlen (const char *string, size_t maxlen)
-+{
-+ const char *end = memchr (string, '\0', maxlen);
-+ return end ? (size_t) (end - string) : maxlen;
-+}
-
- /* rgerhards, 2005-10-24: crunch_list is called only during option processing. So
- * it is never called once rsyslogd is running (not even when HUPed). This code
diff --git a/sysutils/rsyslog3/files/pkg-message.in b/sysutils/rsyslog3/files/pkg-message.in
deleted file mode 100644
index a6d483ef34f4..000000000000
--- a/sysutils/rsyslog3/files/pkg-message.in
+++ /dev/null
@@ -1,16 +0,0 @@
-===================================================================
-To start using rsyslogd(8), stop syslogd(8) if it's running and
-add the following lines to rc.conf(5):
- syslogd_enable="NO"
- rsyslogd_enable="YES"
-It's recommended to copy syslog.conf(5) to
-%%PREFIX%%/etc/rsyslog.conf and edit it there. Otherwise add
-this:
- rsyslogd_config="/etc/syslog.conf"
-newsyslog(8) has the path of syslogd's pid file hardcoded. To
-make it work seamlessly with rsyslog, add this:
- rsyslogd_pidfile="/var/run/syslog.pid"
-rsyslogd(8) does not support logging /dev/klog. To enable a
-simple logger(1)-based workaround, add this:
- rsyslogd_klog_enable="YES"
-===================================================================
diff --git a/sysutils/rsyslog3/files/rsyslogd.in b/sysutils/rsyslog3/files/rsyslogd.in
deleted file mode 100644
index d33e18b281c4..000000000000
--- a/sysutils/rsyslog3/files/rsyslogd.in
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: rsyslogd
-# REQUIRE: mountcritremote cleanvar newsyslog ldconfig
-# BEFORE: SERVERS
-
-. %%RC_SUBR%%
-
-name=rsyslogd
-rcvar=`set_rcvar`
-command="%%PREFIX%%/sbin/${name}"
-load_rc_config $name
-: ${rsyslogd_enable:="NO"}
-: ${rsyslogd_pidfile:="/var/run/rsyslogd.pid"}
-: ${rsyslogd_config:="%%PREFIX%%/etc/rsyslog.conf"}
-: ${rsyslogd_klog_enable:="NO"}
-: ${rsyslogd_klog_pidfile:="/var/run/rsyslog-klog.pid"}
-pidfile="${rsyslogd_pidfile}"
-command_args="-i ${pidfile} -f ${rsyslogd_config}"
-required_files="${rsyslogd_config}"
-start_precmd="rsyslogd_precmd"
-stop_precmd="stop_precmd"
-extra_commands="reload"
-
-sockfile="/var/run/rsyslogd.sockets"
-evalargs="rc_flags=\"\`set_socketlist\` \$rc_flags\""
-altlog_proglist="named"
-
-stop_precmd()
-{
- if [ -r ${rsyslogd_klog_pidfile} ]&&[ -s ${rsyslogd_klog_pidfile} ]; then
- kill `cat ${rsyslogd_klog_pidfile}`
- fi
- rm -f ${rsyslogd_klog_pidfile}
-}
-
-rsyslogd_precmd()
-{
- if checkyesno rsyslogd_klog_enable; then
- daemon -cfp ${rsyslogd_klog_pidfile}\
- logger -t kernel -p kern.notice -f /dev/klog
- fi
- local _l _ldir
-
- # Transitional symlink for old binaries
- #
- if [ ! -L /dev/log ]; then
- ln -sf /var/run/log /dev/log
- fi
- rm -f /var/run/log
-
- # Create default list of syslog sockets to watch
- #
- ( umask 022 ; > $sockfile )
-
- # If running named(8) or ntpd(8) chrooted, added appropriate
- # syslog socket to list of sockets to watch.
- #
- for _l in $altlog_proglist; do
- eval _ldir=\$${_l}_chrootdir
- if checkyesno `set_rcvar $_l` && [ -n "$_ldir" ]; then
- echo "${_ldir}/var/run/log" >> $sockfile
- fi
- done
-
- # If other sockets have been provided, change run_rc_command()'s
- # internal copy of $rsyslogd_flags to force use of specific
- # rsyslogd sockets.
- #
- if [ -s $sockfile ]; then
- echo "/var/run/log" >> $sockfile
- eval $evalargs
- fi
-
- return 0
-}
-
-set_socketlist()
-{
- local _s _socketargs
-
- _socketargs=
- for _s in `cat $sockfile | tr '\n' ' '` ; do
- _socketargs="-a $_s $_socketargs"
- done
- echo $_socketargs
-}
-
-run_rc_command "$1"
diff --git a/sysutils/rsyslog3/pkg-descr b/sysutils/rsyslog3/pkg-descr
deleted file mode 100644
index f62509fcdabf..000000000000
--- a/sysutils/rsyslog3/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Rsyslog is an enhanced multi-threaded syslogd supporting, among others,
-MySQL, syslog/tcp, RFC 3195, permitted sender lists, filtering on any
-message part, and fine grain output format control. It is quite
-compatible to stock sysklogd and can be used as a drop-in replacement.
-Its advanced features make it suitable for enterprise-class, encryption
-protected syslog relay chains while at the same time being very easy to
-setup for the novice user.
-
-WWW: http://www.rsyslog.com/
diff --git a/sysutils/rsyslog3/pkg-plist b/sysutils/rsyslog3/pkg-plist
deleted file mode 100644
index 212728a46555..000000000000
--- a/sysutils/rsyslog3/pkg-plist
+++ /dev/null
@@ -1,50 +0,0 @@
-sbin/rfc3195d
-sbin/rklogd
-sbin/rsyslogd
-%%PORTDOCS%%%%DOCSDIR%%/bugs.html
-%%PORTDOCS%%%%DOCSDIR%%/contributors.html
-%%PORTDOCS%%%%DOCSDIR%%/features.html
-%%PORTDOCS%%%%DOCSDIR%%/generic_design.html
-%%PORTDOCS%%%%DOCSDIR%%/history.html
-%%PORTDOCS%%%%DOCSDIR%%/how2help.html
-%%PORTDOCS%%%%DOCSDIR%%/install.html
-%%PORTDOCS%%%%DOCSDIR%%/ipv6.html
-%%PORTDOCS%%%%DOCSDIR%%/man_rsyslogd.html
-%%PORTDOCS%%%%DOCSDIR%%/manual.html
-%%PORTDOCS%%%%DOCSDIR%%/modules.html
-%%PORTDOCS%%%%DOCSDIR%%/property_replacer.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_actionexeconlyifpreviousissuspended.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_actionresumeinterval.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_allowedsender.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_controlcharacterescapeprefix.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_debugprintcfsyslinehandlerlist.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_debugprintmodulelist.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_debugprinttemplatelist.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_dircreatemode.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_dirgroup.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_dirowner.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_dropmsgswithmaliciousdnsptrrecords.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_droptrailinglfonreception.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_dynafilecachesize.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_escapecontrolcharactersonreceive.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_failonchownfailure.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_filecreatemode.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_filegroup.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_fileowner.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_includeconfig.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_mainmsgqueuesize.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_moddir.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_modload.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_repeatedmsgreduction.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_resetconfigvariables.html
-%%PORTDOCS%%%%DOCSDIR%%/rsconf1_umask.html
-%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf.html
-%%PORTDOCS%%%%DOCSDIR%%/rsyslog_mysql.html
-%%PORTDOCS%%%%DOCSDIR%%/rsyslog_packages.html
-%%PORTDOCS%%%%DOCSDIR%%/rsyslog_php_syslog_ng.html
-%%PORTDOCS%%%%DOCSDIR%%/rsyslog_recording_pri.html
-%%PORTDOCS%%%%DOCSDIR%%/rsyslog_stunnel.html
-%%PORTDOCS%%%%DOCSDIR%%/status.html
-%%PORTDOCS%%%%DOCSDIR%%/syslog-protocol.html
-%%PORTDOCS%%%%DOCSDIR%%/version_naming.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%