diff options
Diffstat (limited to 'sysutils/rsyslog3')
-rw-r--r-- | sysutils/rsyslog3/Makefile | 48 | ||||
-rw-r--r-- | sysutils/rsyslog3/bsd.rsyslog.mk | 38 | ||||
-rw-r--r-- | sysutils/rsyslog3/distinfo | 2 | ||||
-rw-r--r-- | sysutils/rsyslog3/files/extra-patch-tools__omusrmsg.c | 105 | ||||
-rw-r--r-- | sysutils/rsyslog3/files/pkg-message.in | 13 | ||||
-rw-r--r-- | sysutils/rsyslog3/files/rsyslogd.in | 77 | ||||
-rw-r--r-- | sysutils/rsyslog3/pkg-descr | 14 | ||||
-rw-r--r-- | sysutils/rsyslog3/pkg-plist | 126 |
8 files changed, 0 insertions, 423 deletions
diff --git a/sysutils/rsyslog3/Makefile b/sysutils/rsyslog3/Makefile deleted file mode 100644 index 08f18886b0dc..000000000000 --- a/sysutils/rsyslog3/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# New ports collection makefile for: rsyslog3 -# Date created: 9 July 2007 -# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= rsyslog - -COMMENT= Enhanced syslog daemon - -LIB_DEPENDS= gnutls.47:${PORTSDIR}/security/gnutls \ - gcrypt.18:${PORTSDIR}/security/libgcrypt - -USE_RC_SUBR= ${PORTNAME}d -SUB_FILES= pkg-message -MAN8= rsyslogd.8 -MAN5= rsyslog.conf.5 - - -CONFIGURE_ARGS+=--enable-klog --disable-static --enable-mail \ - --enable-imfile --enable-imtemplate --enable-gnutls -.ifdef WITH_DEBUG -CONFIGURE_ARGS+=--enable-rtinst --enable-debug -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\ - ${WRKSRC}/tools/syslogd.c - @${GREP} -rl '/etc/rsyslog.conf' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e\ - 's|/etc/rsyslog.conf|${PREFIX}/etc/rsyslog.conf|' - @${FIND} ${WRKSRC} -name '*.bak' -delete - -post-install: -.ifndef NOPORTDOCS - @${INSTALL} -d ${DOCSDIR}/ - @${INSTALL_DATA} ${WRKSRC}/doc/*html ${DOCSDIR}/ -.endif - @${CAT} ${PKGMESSAGE} - -.include "${.CURDIR}/bsd.rsyslog.mk" - -.include <bsd.port.pre.mk> -.if ${OSVERSION} >= 900007 -EXTRA_PATCHES= ${FILESDIR}/extra-patch-tools__omusrmsg.c -.endif -.include <bsd.port.post.mk> diff --git a/sysutils/rsyslog3/bsd.rsyslog.mk b/sysutils/rsyslog3/bsd.rsyslog.mk deleted file mode 100644 index dd7878350bd3..000000000000 --- a/sysutils/rsyslog3/bsd.rsyslog.mk +++ /dev/null @@ -1,38 +0,0 @@ -PORTNAME?= rsyslog -PORTVERSION?= 3.22.3 -PORTREVISION?= 1 -CATEGORIES?= sysutils -MASTER_SITES?= http://www.rsyslog.com/files/download/rsyslog/ -MAINTAINER?= pgollucci@FreeBSD.org - -CONFLICTS= rsyslog-[!3].[0-9]* -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -GNU_CONFIGURE= yes -USE_GNOME+= pkgconfig - -.ifdef MNAME -PKGNAMESUFFIX?= -${MNAME} -LATEST_LINK= rsyslog3${PKGNAMESUFFIX} -CONFIGURE_ARGS+= --enable-${MNAME:S|gssapi|gssapi-krb5|} \ - --disable-rsyslogd --disable-klog -RUN_DEPENDS= rsyslog>=${PORTVERSION}:${PORTSDIR}/sysutils/rsyslog3 -PLIST_FILES= ${MTYPES:S|^|lib/rsyslog/|:S|$|${MNAME}.so|} -PLIST= "" -DESCR?= ${.CURDIR}/../rsyslog3/pkg-descr -DISTINFO_FILE?= ${.CURDIR}/../rsyslog3/distinfo - -DEPRECATED= unsupported upstream -EXPIRATION_DATE= 2011-07-25 - -do-install: - @${INSTALL} -d ${PREFIX}/lib/rsyslog/ -.for _T in ${MTYPES} - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/${_T}${MNAME}/.libs/${_T}${MNAME}.so \ - ${PREFIX}/lib/rsyslog/ -.endfor - @${ECHO_CMD} '@unexec rmdir %D/lib/rsyslog 2>/dev/null || true' >> ${TMPPLIST} -.else -LATEST_LINK= rsyslog3 -.endif diff --git a/sysutils/rsyslog3/distinfo b/sysutils/rsyslog3/distinfo deleted file mode 100644 index 3dc89a11198c..000000000000 --- a/sysutils/rsyslog3/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (rsyslog-3.22.3.tar.gz) = d234c607ec8a93c579c1ebb5af26cc26d4616362547eaac98529574a84b23f5e -SIZE (rsyslog-3.22.3.tar.gz) = 1315930 diff --git a/sysutils/rsyslog3/files/extra-patch-tools__omusrmsg.c b/sysutils/rsyslog3/files/extra-patch-tools__omusrmsg.c deleted file mode 100644 index 22235efe9b8c..000000000000 --- a/sysutils/rsyslog3/files/extra-patch-tools__omusrmsg.c +++ /dev/null @@ -1,105 +0,0 @@ ---- ./tools/omusrmsg.c.orig 2010-10-05 02:35:15.216392638 +0000 -+++ ./tools/omusrmsg.c 2010-10-05 02:38:59.119754578 +0000 -@@ -50,7 +50,7 @@ - #include <assert.h> - #include <signal.h> - #include <sys/param.h> --#include <utmp.h> -+#include <utmpx.h> - #include <unistd.h> - #include <sys/uio.h> - #include <sys/stat.h> -@@ -117,41 +117,6 @@ - ENDdbgPrintInstInfo - - --/** -- * BSD setutent/getutent() replacement routines -- * The following routines emulate setutent() and getutent() under -- * BSD because they are not available there. We only emulate what we actually -- * need! rgerhards 2005-03-18 -- */ --#ifdef OS_BSD --static FILE *BSD_uf = NULL; --void setutent(void) --{ -- assert(BSD_uf == NULL); -- if ((BSD_uf = fopen(_PATH_UTMP, "r")) == NULL) { -- errmsg.LogError(NO_ERRCODE, "%s", _PATH_UTMP); -- return; -- } --} -- --struct utmp* getutent(void) --{ -- static struct utmp st_utmp; -- -- if(fread((char *)&st_utmp, sizeof(st_utmp), 1, BSD_uf) != 1) -- return NULL; -- -- return(&st_utmp); --} -- --void endutent(void) --{ -- fclose(BSD_uf); -- BSD_uf = NULL; --} --#endif /* #ifdef OS_BSD */ -- -- - /* WALLMSG -- Write a message to the world at large - * - * Write the specified message to either the entire -@@ -173,27 +138,25 @@ - int errnoSave; - int ttyf; - int wrRet; -- struct utmp ut; -- struct utmp *uptr; -+ struct utmpx ut; -+ struct utmpx *uptr; - struct stat statb; - DEFiRet; - - assert(pMsg != NULL); - - /* open the user login file */ -- setutent(); -+ setutxent(); - - /* scan the user login file */ -- while((uptr = getutent())) { -+ while((uptr = getutxent())) { - memcpy(&ut, uptr, sizeof(ut)); - /* is this slot used? */ -- if(ut.ut_name[0] == '\0') -+ if(ut.ut_user[0] == '\0') - continue; --#ifndef OS_BSD - if(ut.ut_type != USER_PROCESS) - continue; --#endif -- if(!(strncmp (ut.ut_name,"LOGIN", 6))) /* paranoia */ -+ if(!(strncmp (ut.ut_user,"LOGIN", 6))) /* paranoia */ - continue; - - /* should we send the message to this user? */ -@@ -203,7 +166,7 @@ - i = MAXUNAMES; - break; - } -- if(strncmp(pData->uname[i], ut.ut_name, UNAMESZ) == 0) -+ if(strncmp(pData->uname[i], ut.ut_user, UNAMESZ) == 0) - break; - } - if(i == MAXUNAMES) /* user not found? */ -@@ -239,7 +202,7 @@ - } - - /* close the user login file */ -- endutent(); -+ endutxent(); - RETiRet; - } - diff --git a/sysutils/rsyslog3/files/pkg-message.in b/sysutils/rsyslog3/files/pkg-message.in deleted file mode 100644 index e67f1b87ed51..000000000000 --- a/sysutils/rsyslog3/files/pkg-message.in +++ /dev/null @@ -1,13 +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" -=================================================================== diff --git a/sysutils/rsyslog3/files/rsyslogd.in b/sysutils/rsyslog3/files/rsyslogd.in deleted file mode 100644 index 6eb1c6d374c2..000000000000 --- a/sysutils/rsyslog3/files/rsyslogd.in +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: rsyslogd -# REQUIRE: mountcritremote cleanvar newsyslog ldconfig -# BEFORE: SERVERS - -. /etc/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"} -pidfile="${rsyslogd_pidfile}" -command_args="-i ${pidfile} -f ${rsyslogd_config}" -required_files="${rsyslogd_config}" -start_precmd="rsyslogd_precmd" -extra_commands="reload" - -sockfile="/var/run/rsyslogd.sockets" -evalargs="rc_flags=\"\`set_socketlist\` \$rc_flags\"" -altlog_proglist="named" - -rsyslogd_precmd() -{ - 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 c57efb65676c..000000000000 --- a/sysutils/rsyslog3/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -Rsyslog is an enhanced multi-threaded syslogd supporting, among -others, syslog/tcp, permitted sender lists, filtering on any message -part, and fine grain output format control. 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. - -The following features are supported through modules: logging to -MySQL, PostgreSQL, any libdbi-supported backend; SNMP trap sender, GSS -API, RELP. - -Tracking v3-stable - -WWW: http://www.rsyslog.com/ diff --git a/sysutils/rsyslog3/pkg-plist b/sysutils/rsyslog3/pkg-plist deleted file mode 100644 index 5716b9c02ac4..000000000000 --- a/sysutils/rsyslog3/pkg-plist +++ /dev/null @@ -1,126 +0,0 @@ -lib/rsyslog/imfile.la -lib/rsyslog/imfile.so -lib/rsyslog/imklog.la -lib/rsyslog/imklog.so -lib/rsyslog/immark.la -lib/rsyslog/immark.so -lib/rsyslog/imtcp.la -lib/rsyslog/imtcp.so -lib/rsyslog/imtemplate.la -lib/rsyslog/imtemplate.so -lib/rsyslog/imudp.la -lib/rsyslog/imudp.so -lib/rsyslog/imuxsock.la -lib/rsyslog/imuxsock.so -lib/rsyslog/lmnet.la -lib/rsyslog/lmnet.so -lib/rsyslog/lmnetstrms.la -lib/rsyslog/lmnetstrms.so -lib/rsyslog/lmnsd_gtls.la -lib/rsyslog/lmnsd_gtls.so -lib/rsyslog/lmnsd_ptcp.la -lib/rsyslog/lmnsd_ptcp.so -lib/rsyslog/lmregexp.la -lib/rsyslog/lmregexp.so -lib/rsyslog/lmtcpclt.la -lib/rsyslog/lmtcpclt.so -lib/rsyslog/lmtcpsrv.la -lib/rsyslog/lmtcpsrv.so -lib/rsyslog/ommail.la -lib/rsyslog/ommail.so -lib/rsyslog/omtesting.la -lib/rsyslog/omtesting.so -sbin/rsyslogd -%%PORTDOCS%%%%DOCSDIR%%/bugs.html -%%PORTDOCS%%%%DOCSDIR%%/build_from_repo.html -%%PORTDOCS%%%%DOCSDIR%%/contributors.html -%%PORTDOCS%%%%DOCSDIR%%/debug.html -%%PORTDOCS%%%%DOCSDIR%%/dev_queue.html -%%PORTDOCS%%%%DOCSDIR%%/expression.html -%%PORTDOCS%%%%DOCSDIR%%/features.html -%%PORTDOCS%%%%DOCSDIR%%/generic_design.html -%%PORTDOCS%%%%DOCSDIR%%/gssapi.html -%%PORTDOCS%%%%DOCSDIR%%/history.html -%%PORTDOCS%%%%DOCSDIR%%/how2help.html -%%PORTDOCS%%%%DOCSDIR%%/im3195.html -%%PORTDOCS%%%%DOCSDIR%%/imfile.html -%%PORTDOCS%%%%DOCSDIR%%/imgssapi.html -%%PORTDOCS%%%%DOCSDIR%%/imklog.html -%%PORTDOCS%%%%DOCSDIR%%/imrelp.html -%%PORTDOCS%%%%DOCSDIR%%/imtcp.html -%%PORTDOCS%%%%DOCSDIR%%/imuxsock.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/install.html -%%PORTDOCS%%%%DOCSDIR%%/ipv6.html -%%PORTDOCS%%%%DOCSDIR%%/licensing.html -%%PORTDOCS%%%%DOCSDIR%%/log_rotation_fix_size.html -%%PORTDOCS%%%%DOCSDIR%%/man_rsyslogd.html -%%PORTDOCS%%%%DOCSDIR%%/manual.html -%%PORTDOCS%%%%DOCSDIR%%/modules.html -%%PORTDOCS%%%%DOCSDIR%%/netstream.html -%%PORTDOCS%%%%DOCSDIR%%/ns_gtls.html -%%PORTDOCS%%%%DOCSDIR%%/ns_ptcp.html -%%PORTDOCS%%%%DOCSDIR%%/omlibdbi.html -%%PORTDOCS%%%%DOCSDIR%%/ommail.html -%%PORTDOCS%%%%DOCSDIR%%/ommysql.html -%%PORTDOCS%%%%DOCSDIR%%/omrelp.html -%%PORTDOCS%%%%DOCSDIR%%/omsnmp.html -%%PORTDOCS%%%%DOCSDIR%%/property_replacer.html -%%PORTDOCS%%%%DOCSDIR%%/queues.html -%%PORTDOCS%%%%DOCSDIR%%/rainerscript.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_actionexeconlywhenpreviousissuspended.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_gssforwardservicename.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_gsslistenservicename.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_gssmode.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_includeconfig.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_mainmsgqueuesize.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_markmessageperiod.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%%/rscript_abnf.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_high_database_rate.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_mysql.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_ng_comparison.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_packages.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_php_syslog_ng.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_recording_pri.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_reliable_forwarding.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_secure_tls.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_stunnel.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_tls.html -%%PORTDOCS%%%%DOCSDIR%%/syslog_parsing.html -%%PORTDOCS%%%%DOCSDIR%%/syslog_protocol.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_ca.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_client.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_errmsgs.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_machine.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_scenario.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_server.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_summary.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_udp_relay.html -%%PORTDOCS%%%%DOCSDIR%%/troubleshoot.html -%%PORTDOCS%%%%DOCSDIR%%/v3compatibility.html -%%PORTDOCS%%%%DOCSDIR%%/version_naming.html -@dirrmtry lib/rsyslog -%%PORTDOCS%%@dirrm %%DOCSDIR%% |