diff options
author | dinoex <dinoex@FreeBSD.org> | 2005-01-15 18:03:24 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2005-01-15 18:03:24 +0800 |
commit | 0c9748a002ecde16551945f34a262a63f1ea99a7 (patch) | |
tree | a8a65dd81ff0e9a47cfa708c7f9e0ffc13d29391 /www/apache13-modssl | |
parent | ef0b0f2799e0c2ac66097423cc2fdeb5b9d9094d (diff) | |
download | freebsd-ports-gnome-0c9748a002ecde16551945f34a262a63f1ea99a7.tar.gz freebsd-ports-gnome-0c9748a002ecde16551945f34a262a63f1ea99a7.tar.zst freebsd-ports-gnome-0c9748a002ecde16551945f34a262a63f1ea99a7.zip |
- new option WITH_APACHE_LATESTLOG
that patches rotatelogs to always keep a hardlink to the latest log
file, but without the seconds-since-epoch integer. Just as a
convenience - when developing web apps, it makes it easier to just
check the log file.
Submitted by: Palle Girgensohn
Diffstat (limited to 'www/apache13-modssl')
-rw-r--r-- | www/apache13-modssl/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile index 7bd710c8f404..20681ab690cc 100644 --- a/www/apache13-modssl/Makefile +++ b/www/apache13-modssl/Makefile @@ -268,6 +268,10 @@ PLIST_FILES+= include/apache/sa_len.h \ include/apache/sockaddr_storage.h .endif +.if defined(WITH_APACHE_LATESTLOG) +EXTRA_PATCHES+= ${FILESDIR}/rotatelogs.c.patch +.endif + CONFIGURE_ENV= CFLAGS='${CFLAGS}' \ OPTIM='${OPTIM}' \ SSL_BASE='${OPENSSLBASE}' \ @@ -321,6 +325,7 @@ pre-fetch: @${ECHO_MSG} " This setting may produce broken code and thus" @${ECHO_MSG} " is not recommended for production servers." @${ECHO_MSG} " [default is no]" + @${ECHO_MSG} " WITH_APACHE_LATESTLOG=yes keep a hardlink on the lastest log." @${ECHO_MSG} "" @${ECHO_MSG} " WITH_APACHE_IPV6=yes IPv6 support." @${ECHO_MSG} " This setting turns IPv6 support on." |