diff options
author | pav <pav@FreeBSD.org> | 2007-03-23 00:30:16 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-03-23 00:30:16 +0800 |
commit | 4950e0f651cb79703f6fbbcfbbbfbfa830c30942 (patch) | |
tree | 80c28c367489740f31ddf48a095459520b6beb30 /sysutils/syslog-ng3/files | |
parent | 0a9ab7efc27d1e938375c0db18cd506432024ad6 (diff) | |
download | freebsd-ports-gnome-4950e0f651cb79703f6fbbcfbbbfbfa830c30942.tar.gz freebsd-ports-gnome-4950e0f651cb79703f6fbbcfbbbfbfa830c30942.tar.zst freebsd-ports-gnome-4950e0f651cb79703f6fbbcfbbbfbfa830c30942.zip |
- Update to 2.0.2
PR: ports/110396
Submitted by: Ivan Lago <ivan.lago@ifom-ieo-campus.it> (maintainer)
- Fix rc script: require ldconfig
PR: ports/110647
Submitted by: Marcus Reid <marcus@blazingdot.com>
- Modernize pkg-message handling
Diffstat (limited to 'sysutils/syslog-ng3/files')
-rw-r--r-- | sysutils/syslog-ng3/files/patch-configure | 32 | ||||
-rw-r--r-- | sysutils/syslog-ng3/files/pkg-message.in | 25 | ||||
-rw-r--r-- | sysutils/syslog-ng3/files/syslog-ng.sh.in | 4 |
3 files changed, 27 insertions, 34 deletions
diff --git a/sysutils/syslog-ng3/files/patch-configure b/sysutils/syslog-ng3/files/patch-configure deleted file mode 100644 index 20143c0f60e7..000000000000 --- a/sysutils/syslog-ng3/files/patch-configure +++ /dev/null @@ -1,32 +0,0 @@ ---- configure.orig Sat Oct 28 17:40:18 2006 -+++ configure Thu Nov 16 10:45:49 2006 -@@ -341,7 +341,7 @@ - sbindir='${exec_prefix}/sbin' - libexecdir='${exec_prefix}/libexec' - datadir='${prefix}/share' --sysconfdir='${prefix}/etc' -+sysconfdir='${prefix}/etc/syslog-ng' - sharedstatedir='${prefix}/com' - localstatedir='${prefix}/var' - libdir='${exec_prefix}/lib' -@@ -3426,7 +3426,7 @@ - echo $ECHO_N "checking how to enable static linking for certain libraries... $ECHO_C" >&6 - ldversion=`ld -V 2>&1 | head -1` - ostype=`uname -s` --if echo $ldversion | egrep "GNU|Solaris" > /dev/null; then -+if echo $ldversion | egrep "Solaris" > /dev/null; then - LD_START_STATIC="-Wl,-Bstatic" - LD_END_STATIC="-Wl,-Bdynamic" - echo "$as_me:$LINENO: result: GNU or Solaris" >&5 -@@ -3441,6 +3441,11 @@ - LD_END_STATIC="-Wl,-bdynamic" - echo "$as_me:$LINENO: result: AIX" >&5 - echo "${ECHO_T}AIX" >&6 -+elif test "$ostype" = "FreeBSD"; then -+ LD_START_STATIC="" -+ LD_END_STATIC="" -+ echo "$as_me:$LINENO: result: FreeBSD" >&5 -+echo "${ECHO_T}FreeBSD" >&6 - else - LD_START_STATIC="" - LD_END_STATIC="" diff --git a/sysutils/syslog-ng3/files/pkg-message.in b/sysutils/syslog-ng3/files/pkg-message.in new file mode 100644 index 000000000000..10ee06b2da0a --- /dev/null +++ b/sysutils/syslog-ng3/files/pkg-message.in @@ -0,0 +1,25 @@ + +syslog-ng is now installed! To replace FreeBSD's standard syslogd +(/usr/sbin/syslogd), complete these steps: + +1. Create a configuration file named %%PREFIX%%/etc/syslog-ng/syslog-ng.conf + (a sample named syslog-ng.conf.sample has been included) + +2. Configure syslog-ng to start automatically by adding the following + to /etc/rc.conf: + + syslog_ng_enable="YES" + +3. Prevent the standard FreeBSD syslogd from starting automatically by + adding a line to the end of your /etc/rc.conf file that reads: + + syslogd_enable="NO" + +4. Shut down the standard FreeBSD syslogd: + + kill `cat /var/run/syslog.pid` + +5. Start syslog-ng: + + %%PREFIX%%/etc/rc.d/syslog-ng%%RC_SUBR_SUFFIX%% start + diff --git a/sysutils/syslog-ng3/files/syslog-ng.sh.in b/sysutils/syslog-ng3/files/syslog-ng.sh.in index a6bedfbbfda3..157ea30bde81 100644 --- a/sysutils/syslog-ng3/files/syslog-ng.sh.in +++ b/sysutils/syslog-ng3/files/syslog-ng.sh.in @@ -1,10 +1,10 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/syslog-ng3/files/Attic/syslog-ng.sh.in,v 1.2 2007-03-19 06:28:09 rafan Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/syslog-ng3/files/Attic/syslog-ng.sh.in,v 1.3 2007-03-22 16:30:16 pav Exp $ # # PROVIDE: syslogd -# REQUIRE: mountcritremote cleanvar +# REQUIRE: mountcritremote cleanvar ldconfig # BEFORE: SERVERS # |