- Fix location of makeweb(1) in post-install message

- Rename IPREAL -> REAL_IP option while I'm here

PR:	218414
This commit is contained in:
Alexey Dokuchaev 2017-04-06 07:08:10 +00:00
parent ea898fa395
commit f49f75c82a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437856
2 changed files with 6 additions and 6 deletions

View File

@ -19,11 +19,11 @@ SUB_FILES= pkg-message thttpd.conf.sample
SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
CPE_VENDOR= acme
OPTIONS_DEFINE= SENDFILE IPREAL INDEXES HTACCESS STATS LOG_UNKNOWN FLUSH_LOG
OPTIONS_DEFAULT= SENDFILE IPREAL STATS FLUSH_LOG
OPTIONS_DEFINE= SENDFILE REAL_IP INDEXES HTACCESS STATS LOG_UNKNOWN FLUSH_LOG
OPTIONS_DEFAULT= SENDFILE REAL_IP STATS FLUSH_LOG
SENDFILE_DESC= Use sendfile(2) to serve files
IPREAL_DESC= Respect (pass on) "X-Forwarded-For" header
REAL_IP_DESC= Respect (pass on) "X-Forwarded-For" header
INDEXES_DESC= Generate index pages for directories
HTACCESS_DESC= IP-based authorization (.htaccess) support
STATS_DESC= Collect internal stats and print to system log
@ -31,7 +31,7 @@ LOG_UNKNOWN_DESC= Log unknown request headers
FLUSH_LOG_DESC= fflush() the log file after each request
SENDFILE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-config.h
IPREAL_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ip_real
REAL_IP_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ip_real
HTACCESS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-htaccess
LOG_UNKNOWN_EXTRA_PATCHES= ${FILESDIR}/extra-patch-log_unknown_headers

View File

@ -3,8 +3,8 @@ If you want users to be able to create their own web
subdirectories off of the main web directory, you need to:
1. Add a group for www admins (or use "%%WWWGRP%%")
2. chgrp thatgroup %%PREFIX%%/bin/makeweb %%WWWDIR%%
3. chmod g+sx %%PREFIX%%/bin/makeweb
2. chgrp thatgroup %%PREFIX%%/sbin/makeweb %%WWWDIR%%
3. chmod g+sx %%PREFIX%%/sbin/makeweb
4. Tell users about makeweb(1)
See http://www.acme.com/software/thttpd/notes.html for more