diff options
-rw-r--r-- | sysutils/Makefile | 9 | ||||
-rw-r--r-- | sysutils/rsyslog55-dbi/Makefile | 24 | ||||
-rw-r--r-- | sysutils/rsyslog55-gnutls/Makefile | 24 | ||||
-rw-r--r-- | sysutils/rsyslog55-gssapi/Makefile | 35 | ||||
-rw-r--r-- | sysutils/rsyslog55-mysql/Makefile | 26 | ||||
-rw-r--r-- | sysutils/rsyslog55-mysql/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/rsyslog55-pgsql/Makefile | 26 | ||||
-rw-r--r-- | sysutils/rsyslog55-pgsql/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/rsyslog55-relp/Makefile | 31 | ||||
-rw-r--r-- | sysutils/rsyslog55-rfc3195/Makefile | 25 | ||||
-rw-r--r-- | sysutils/rsyslog55-snmp/Makefile | 24 | ||||
-rw-r--r-- | sysutils/rsyslog55/Makefile | 97 | ||||
-rw-r--r-- | sysutils/rsyslog55/distinfo | 3 | ||||
-rw-r--r-- | sysutils/rsyslog55/files/extra-patch-mysql-microseconds | 56 | ||||
-rw-r--r-- | sysutils/rsyslog55/files/extra-patch-sane-hostname | 40 | ||||
-rw-r--r-- | sysutils/rsyslog55/files/pkg-message.in | 30 | ||||
-rw-r--r-- | sysutils/rsyslog55/files/rsyslogd.in | 25 | ||||
-rw-r--r-- | sysutils/rsyslog55/pkg-descr | 17 | ||||
-rw-r--r-- | sysutils/rsyslog55/pkg-plist | 159 |
19 files changed, 0 insertions, 659 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 5b593ca3e8cf..aeaaa6f7fb8b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -743,15 +743,6 @@ SUBDIR += rsyslog5-relp SUBDIR += rsyslog5-rfc3195 SUBDIR += rsyslog5-snmp - SUBDIR += rsyslog55 - SUBDIR += rsyslog55-dbi - SUBDIR += rsyslog55-gnutls - SUBDIR += rsyslog55-gssapi - SUBDIR += rsyslog55-mysql - SUBDIR += rsyslog55-pgsql - SUBDIR += rsyslog55-relp - SUBDIR += rsyslog55-rfc3195 - SUBDIR += rsyslog55-snmp SUBDIR += rtty SUBDIR += ruby-log4r SUBDIR += ruby-quota diff --git a/sysutils/rsyslog55-dbi/Makefile b/sysutils/rsyslog55-dbi/Makefile deleted file mode 100644 index b6793ea85025..000000000000 --- a/sysutils/rsyslog55-dbi/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: rsyslog4-dbi -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ - -COMMENT= LibDBI output module for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= libdbi -LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi - -CONFIGURE_ARGS+=--enable-libdbi - -PLIST_FILES+= lib/rsyslog/omlibdbi.la \ - lib/rsyslog/omlibdbi.so - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog - -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55-gnutls/Makefile b/sysutils/rsyslog55-gnutls/Makefile deleted file mode 100644 index 2147765a7f63..000000000000 --- a/sysutils/rsyslog55-gnutls/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -#New ports collection makefile for: rsyslog4-gnutls -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -COMMENT= GNUTLS module for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= gnutls -LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls - -CONFIGURE_ARGS+=--enable-gnutls - -PLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \ - lib/rsyslog/lmnsd_gtls.so - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55-gssapi/Makefile b/sysutils/rsyslog55-gssapi/Makefile deleted file mode 100644 index 99a5b391fb44..000000000000 --- a/sysutils/rsyslog55-gssapi/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# New ports collection makefile for: rsyslog4-gssapi -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -COMMENT= GSS API input/output module for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= gssapi - -CONFIGURE_ARGS+=--enable-gssapi-krb5 - -PLIST_FILES+= lib/rsyslog/imgssapi.la \ - lib/rsyslog/imgssapi.so \ - lib/rsyslog/lmgssutil.la \ - lib/rsyslog/lmgssutil.so \ - lib/rsyslog/omgssapi.la \ - lib/rsyslog/omgssapi.so - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/omgssapi/.libs/omgssapi.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/omgssapi/omgssapi.la ${PREFIX}/lib/rsyslog - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/imgssapi/.libs/imgssapi.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/imgssapi/imgssapi.la ${PREFIX}/lib/rsyslog - @${INSTALL_PROGRAM} \ - ${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55-mysql/Makefile b/sysutils/rsyslog55-mysql/Makefile deleted file mode 100644 index a9ef36d84619..000000000000 --- a/sysutils/rsyslog55-mysql/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# New ports collection makefile for: rsyslog4-mysql -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -COMMENT= MySQL output module for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= mysql -USE_MYSQL= yes - -CONFIGURE_ARGS+=--enable-mysql - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/ommysql/.libs/ommysql.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/ommysql/ommysql.la ${PREFIX}/lib/rsyslog -post-install: -.ifndef NOPORTEXAMPLES - @${INSTALL} -d ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql -.endif -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55-mysql/pkg-plist b/sysutils/rsyslog55-mysql/pkg-plist deleted file mode 100644 index 3321cd33fa3a..000000000000 --- a/sysutils/rsyslog55-mysql/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -lib/rsyslog/ommysql.la -lib/rsyslog/ommysql.so -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mysql_createDB.sql -%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% diff --git a/sysutils/rsyslog55-pgsql/Makefile b/sysutils/rsyslog55-pgsql/Makefile deleted file mode 100644 index afb21f5d586d..000000000000 --- a/sysutils/rsyslog55-pgsql/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# New ports collection makefile for: rsyslog4-pgsql -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -COMMENT= PostgreSQL output module for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= pgsql -USE_PGSQL= yes - -CONFIGURE_ARGS+=--enable-pgsql - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog -post-install: -.ifndef NOPORTEXAMPLES - @${INSTALL} -d ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql -.endif -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55-pgsql/pkg-plist b/sysutils/rsyslog55-pgsql/pkg-plist deleted file mode 100644 index c01f4b8042c0..000000000000 --- a/sysutils/rsyslog55-pgsql/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -lib/rsyslog/ompgsql.la -lib/rsyslog/ompgsql.so -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql -%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% diff --git a/sysutils/rsyslog55-relp/Makefile b/sysutils/rsyslog55-relp/Makefile deleted file mode 100644 index 7d4718ceb295..000000000000 --- a/sysutils/rsyslog55-relp/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# New ports collection makefile for: rsyslog4-relp -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -COMMENT= RELP input/output module for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= relp -BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config -LIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp - -CONFIGURE_ARGS+=--enable-relp - -PLIST_FILES+= lib/rsyslog/imrelp.la \ - lib/rsyslog/imrelp.so \ - lib/rsyslog/omrelp.la \ - lib/rsyslog/omrelp.so - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/omrelp/.libs/omrelp.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/omrelp/omrelp.la ${PREFIX}/lib/rsyslog - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55-rfc3195/Makefile b/sysutils/rsyslog55-rfc3195/Makefile deleted file mode 100644 index f1e63689915f..000000000000 --- a/sysutils/rsyslog55-rfc3195/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: rsyslog4-snmp -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -COMMENT= RFC3195 input support for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= rfc3195 -BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config -LIB_DEPENDS+= logging.0:${PORTSDIR}/devel/liblogging - -CONFIGURE_ARGS+=--enable-rfc3195 - -PLIST_FILES+= lib/rsyslog/im3195.la \ - lib/rsyslog/im3195.so - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/im3195/.libs/im3195.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/im3195/im3195.la ${PREFIX}/lib/rsyslog -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55-snmp/Makefile b/sysutils/rsyslog55-snmp/Makefile deleted file mode 100644 index de4a22571650..000000000000 --- a/sysutils/rsyslog55-snmp/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: rsyslog4-snmp -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -COMMENT= SNMP trap sender for rsyslog -MASTERDIR= ${.CURDIR}/../rsyslog55 - -MNAME= snmp -LIB_DEPENDS= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp - -CONFIGURE_ARGS+=--enable-snmp - -PLIST_FILES+= lib/rsyslog/omsnmp.la \ - lib/rsyslog/omsnmp.so - -do-install: - @${INSTALL_PROGRAM} \ - ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog - @${INSTALL_DATA} \ - ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/rsyslog55/Makefile b/sysutils/rsyslog55/Makefile deleted file mode 100644 index 93b60e978359..000000000000 --- a/sysutils/rsyslog55/Makefile +++ /dev/null @@ -1,97 +0,0 @@ -# New ports collection makefile for: rsyslog4 -# Date created: 29 December 2008 -# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> -# -# $FreeBSD$ -# - -PORTNAME= rsyslog -PORTVERSION= 5.5.5 -CATEGORIES= sysutils -MASTER_SITES= http://download.rsyslog.com/rsyslog/ -.ifdef MNAME -PKGNAMESUFFIX?= -${MNAME} -.endif - -MAINTAINER= pgollucci@FreeBSD.org -COMMENT?= Syslogd supporting SQL, TCP and TLS - -.ifdef MNAME -RUN_DEPENDS= rsyslog>=5.5.0:${PORTSDIR}/sysutils/rsyslog55 - -PLIST= ${.CURDIR}/pkg-plist -.endif - -NO_LATEST_LINK= yes - -.ifdef WITH_MYSQL_MICROSECONDS -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mysql-microseconds -.endif - -.ifdef WITH_SANE_HOSTNAME -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-sane-hostname -.endif - -CONFLICTS= rsyslog-[!5].[0-9]* rsyslog-5.4.* -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -GNU_CONFIGURE= yes - -.ifdef WITH_DEBUG -CONFIGURE_ARGS+=--enable-rtinst --enable-debug -.endif - -.include <bsd.port.pre.mk> -.if ${ARCH} == "i386" -CPPFLAGS+=-march=i686 -.endif -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" - -.ifndef MNAME -MAN8= rsyslogd.8 -MAN5= rsyslog.conf.5 - -USE_RC_SUBR= ${PORTNAME}d -SUB_FILES= pkg-message - -CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate --enable-testbench=no - -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|' - @${REINPLACE_CMD} -e 's,/lib/rsyslog,${PREFIX}/lib/rsyslog,' ${WRKSRC}/tools/syslogd.c - @${FIND} ${WRKSRC} -name '*.bak' -delete - -post-install: -.ifndef NOPORTDOCS - @${INSTALL} -d ${DOCSDIR}/ - @${INSTALL_DATA} ${WRKSRC}/doc/*html ${DOCSDIR}/ - @${INSTALL_DATA} ${WRKSRC}/doc/*jpg ${DOCSDIR}/ -.endif -.ifndef NOPORTEXAMPLES - @${INSTALL} -d ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR} -.endif - @${CAT} ${PKGMESSAGE} -.endif - -.ifdef MNAME - -.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000 -IGNORE= with gssapi module is only supported on FreeBSD 7.x or later -.endif - -CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog - -DESCR?= ${.CURDIR}/../rsyslog55/pkg-descr -MD5_FILE?= ${.CURDIR}/../rsyslog55/distinfo -.endif - -.if ${OSVERSION} < 700042 -USE_GCC= 4.2+ -.endif - -.include <bsd.port.post.mk> diff --git a/sysutils/rsyslog55/distinfo b/sysutils/rsyslog55/distinfo deleted file mode 100644 index bc30986fcd6e..000000000000 --- a/sysutils/rsyslog55/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rsyslog-5.5.5.tar.gz) = bd432dd7307312330962adaecc0d0e0a -SHA256 (rsyslog-5.5.5.tar.gz) = c434a7272b592fbd2f95bb604f08f9529a51ee8e1ff8dd34c4a693bcfad8f55c -SIZE (rsyslog-5.5.5.tar.gz) = 2200938 diff --git a/sysutils/rsyslog55/files/extra-patch-mysql-microseconds b/sysutils/rsyslog55/files/extra-patch-mysql-microseconds deleted file mode 100644 index ec248b064741..000000000000 --- a/sysutils/rsyslog55/files/extra-patch-mysql-microseconds +++ /dev/null @@ -1,56 +0,0 @@ ---- ./runtime/datetime.c.orig 2010-05-04 18:57:25.588028725 -0400 -+++ ./runtime/datetime.c 2010-05-04 18:59:12.390680038 -0400 -@@ -644,18 +644,30 @@ - pBuf[1] = (ts->year / 100) % 10 + '0'; - pBuf[2] = (ts->year / 10) % 10 + '0'; - pBuf[3] = ts->year % 10 + '0'; -- pBuf[4] = (ts->month / 10) % 10 + '0'; -- pBuf[5] = ts->month % 10 + '0'; -- pBuf[6] = (ts->day / 10) % 10 + '0'; -- pBuf[7] = ts->day % 10 + '0'; -- pBuf[8] = (ts->hour / 10) % 10 + '0'; -- pBuf[9] = ts->hour % 10 + '0'; -- pBuf[10] = (ts->minute / 10) % 10 + '0'; -- pBuf[11] = ts->minute % 10 + '0'; -- pBuf[12] = (ts->second / 10) % 10 + '0'; -- pBuf[13] = ts->second % 10 + '0'; -- pBuf[14] = '\0'; -- return 15; -+ pBuf[4] = '-'; -+ pBuf[5] = (ts->month / 10) % 10 + '0'; -+ pBuf[6] = ts->month % 10 + '0'; -+ pBuf[7] = '-'; -+ pBuf[8] = (ts->day / 10) % 10 + '0'; -+ pBuf[9] = ts->day % 10 + '0'; -+ pBuf[10] = ' '; -+ pBuf[11] = (ts->hour / 10) % 10 + '0'; -+ pBuf[12] = ts->hour % 10 + '0'; -+ pBuf[13] = ':'; -+ pBuf[14] = (ts->minute / 10) % 10 + '0'; -+ pBuf[15] = ts->minute % 10 + '0'; -+ pBuf[16] = ':'; -+ pBuf[17] = (ts->second / 10) % 10 + '0'; -+ pBuf[18] = ts->second % 10 + '0'; -+ pBuf[19] = '.'; -+ pBuf[20] = (ts->secfrac / 100000) % 10 + '0'; -+ pBuf[21] = (ts->secfrac / 10000) % 10 + '0'; -+ pBuf[22] = (ts->secfrac / 1000) % 10 + '0'; -+ pBuf[23] = (ts->secfrac / 100) % 10 + '0'; -+ pBuf[24] = (ts->secfrac / 10) % 10 + '0'; -+ pBuf[25] = ts->secfrac % 10 + '0'; -+ pBuf[26] = '\0'; -+ return 26; - - } - ---- ./runtime/msg.c.orig 2010-05-04 19:00:20.241528788 -0400 -+++ ./runtime/msg.c 2010-05-04 19:00:06.136349680 -0400 -@@ -1293,7 +1293,7 @@ - case tplFmtMySQLDate: - MsgLock(pM); - if(pM->pszTIMESTAMP_MySQL == NULL) { -- if((pM->pszTIMESTAMP_MySQL = MALLOC(15)) == NULL) { -+ if((pM->pszTIMESTAMP_MySQL = MALLOC(26)) == NULL) { - MsgUnlock(pM); - return ""; - } diff --git a/sysutils/rsyslog55/files/extra-patch-sane-hostname b/sysutils/rsyslog55/files/extra-patch-sane-hostname deleted file mode 100644 index bc7251475d81..000000000000 --- a/sysutils/rsyslog55/files/extra-patch-sane-hostname +++ /dev/null @@ -1,40 +0,0 @@ ---- ./tools/syslogd.c.orig 2010-05-04 19:02:05.548362478 -0400 -+++ ./tools/syslogd.c 2010-05-04 19:02:27.452450741 -0400 -@@ -2611,37 +2611,6 @@ - net.getLocalHostname(&LocalFQDNName); - CHKmalloc(LocalHostName = (uchar*) strdup((char*)LocalFQDNName)); - glbl.SetLocalFQDNName(LocalFQDNName); /* set the FQDN before we modify it */ -- if((p = (uchar*)strchr((char*)LocalHostName, '.'))) { -- *p++ = '\0'; -- LocalDomain = p; -- } else { -- LocalDomain = (uchar*)""; -- -- /* It's not clearly defined whether gethostname() -- * should return the simple hostname or the fqdn. A -- * good piece of software should be aware of both and -- * we want to distribute good software. Joey -- * -- * Good software also always checks its return values... -- * If syslogd starts up before DNS is up & /etc/hosts -- * doesn't have LocalHostName listed, gethostbyname will -- * return NULL. -- */ -- /* TODO: gethostbyname() is not thread-safe, but replacing it is -- * not urgent as we do not run on multiple threads here. rgerhards, 2007-09-25 -- */ -- hent = gethostbyname((char*)LocalHostName); -- if(hent) { -- free(LocalHostName); -- CHKmalloc(LocalHostName = (uchar*)strdup(hent->h_name)); -- -- if((p = (uchar*)strchr((char*)LocalHostName, '.'))) -- { -- *p++ = '\0'; -- LocalDomain = p; -- } -- } -- } - - /* Convert to lower case to recognize the correct domain laterly */ - for(p = LocalDomain ; *p ; p++) diff --git a/sysutils/rsyslog55/files/pkg-message.in b/sysutils/rsyslog55/files/pkg-message.in deleted file mode 100644 index 644cf3b61481..000000000000 --- a/sysutils/rsyslog55/files/pkg-message.in +++ /dev/null @@ -1,30 +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" - -To avoid warnings about rsyslogd running in compatibility mode, add -this: - - rsyslogd_flags="-c5" - -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" - -Add the following (3) lines to the beginning of the config file, for -basic functionality: - - $ModLoad immark.so # provides --MARK-- message capability - $ModLoad imuxsock.so # provides support for local system logging - $ModLoad imklog.so # kernel logging - -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/rsyslog55/files/rsyslogd.in b/sysutils/rsyslog55/files/rsyslogd.in deleted file mode 100644 index 89ae4d91ec7d..000000000000 --- a/sysutils/rsyslog55/files/rsyslogd.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/sysutils/rsyslog55/files/Attic/rsyslogd.in,v 1.4 2010-03-27 00:15:04 dougb Exp $ -# - - -# 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}" -extra_commands="reload" - -run_rc_command "$1" diff --git a/sysutils/rsyslog55/pkg-descr b/sysutils/rsyslog55/pkg-descr deleted file mode 100644 index 09451adb95fa..000000000000 --- a/sysutils/rsyslog55/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -Rsyslog is an enhanced multi-threaded syslogd with a focus on -security and reliability. - -Among others, it offers support for on-demand disk buffering, -reliable syslog over TCP, SSL, TLS and RELP, writing to databases -(MySQL, PostgreSQL, Oracle, and many more), email alerting, fully -configurable output formats (including high-precision timestamps), -the ability to filter on any part of the syslog message, on-the-wire -message compression, and the ability to convert text files to syslog. - -It is a drop-in replacement for stock syslogd and able to work with -the same configuration file syntax. 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/rsyslog55/pkg-plist b/sysutils/rsyslog55/pkg-plist deleted file mode 100644 index 3d534e897482..000000000000 --- a/sysutils/rsyslog55/pkg-plist +++ /dev/null @@ -1,159 +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_ptcp.la -lib/rsyslog/lmnsd_ptcp.so -lib/rsyslog/lmregexp.la -lib/rsyslog/lmregexp.so -lib/rsyslog/lmstrmsrv.la -lib/rsyslog/lmstrmsrv.so -lib/rsyslog/lmtcpclt.la -lib/rsyslog/lmtcpclt.so -lib/rsyslog/lmtcpsrv.la -lib/rsyslog/lmtcpsrv.so -lib/rsyslog/lmzlibw.la -lib/rsyslog/lmzlibw.so -lib/rsyslog/ommail.la -lib/rsyslog/ommail.so -lib/rsyslog/omruleset.la -lib/rsyslog/omruleset.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%%/droppriv.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%%/imsolaris.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%%/manual.html -%%PORTDOCS%%%%DOCSDIR%%/modules.html -%%PORTDOCS%%%%DOCSDIR%%/multi_ruleset.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%%/omoracle.html -%%PORTDOCS%%%%DOCSDIR%%/omrelp.html -%%PORTDOCS%%%%DOCSDIR%%/omsnmp.html -%%PORTDOCS%%%%DOCSDIR%%/omstdout.html -%%PORTDOCS%%%%DOCSDIR%%/omudpspoof.html -%%PORTDOCS%%%%DOCSDIR%%/professional_support.html -%%PORTDOCS%%%%DOCSDIR%%/property_replacer.html -%%PORTDOCS%%%%DOCSDIR%%/queueWorkerLogic.jpg -%%PORTDOCS%%%%DOCSDIR%%/queueWorkerLogic_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/queues.html -%%PORTDOCS%%%%DOCSDIR%%/queues_analogy.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_escape8bitcharsonreceive.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_generateconfiggraph.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_rulesetcreatemainqueue.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_rulesetparser.html -%%PORTDOCS%%%%DOCSDIR%%/rsconf1_umask.html -%%PORTDOCS%%%%DOCSDIR%%/rscript_abnf.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_actions.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_examples.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_filter.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_global.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_modules.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_nomatch.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_output.html -%%PORTDOCS%%%%DOCSDIR%%/rsyslog_conf_templates.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_pgsql.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.jpg -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_100.jpg -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_ca.html -%%PORTDOCS%%%%DOCSDIR%%/tls_cert_ca.jpg -%%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%%/v4compatibility.html -%%PORTDOCS%%%%DOCSDIR%%/v5compatibility.html -%%PORTDOCS%%%%DOCSDIR%%/version_naming.html -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsyslog-example.conf -%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry lib/rsyslog |