aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2017-02-06 10:48:09 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2017-02-06 10:48:09 +0000
commit806c177d3cec751df42d194831814cc6edc67ab9 (patch)
tree9f294f504e5c73c9847bac51e40c5341f53fb2e5 /sysutils/bsdstats
parente98d0bca0b83ac487e370be8d3e3db2de32440b1 (diff)
downloadports-806c177d3cec751df42d194831814cc6edc67ab9.tar.gz
ports-806c177d3cec751df42d194831814cc6edc67ab9.zip
Notes
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r--sysutils/bsdstats/Makefile1
-rw-r--r--sysutils/bsdstats/files/300.statistics.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index 71b53c0e0583..23bb6a774ce6 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -3,6 +3,7 @@
PORTNAME= bsdstats
PORTVERSION= 6.0
+PORTREVISION= 1
CATEGORIES= sysutils
DISTFILES=
diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in
index 8dd3115f2178..9b867b9c0677 100644
--- a/sysutils/bsdstats/files/300.statistics.in
+++ b/sysutils/bsdstats/files/300.statistics.in
@@ -159,7 +159,7 @@ do_http_request() {
if [ -n "${http_header_proxy_auth}" ]; then txt="${txt}${CR}${NL}Proxy-Authorization: ${http_header_proxy_auth}"; fi
txt="${txt}${CR}${NL}User-Agent: bsdstats-${CURR_VERSION}"
txt="${txt}${CR}${NL}Connection: close"
- if [ -n "${content_type}" ]; then txt="${txt}${NL}Content-Type: ${content_type}"; fi
+ if [ -n "${content_type}" ]; then txt="${txt}${CR}${NL}Content-Type: ${content_type}"; fi
if [ -n "${body}" ]; then txt="${txt}${CR}${NL}Content-Length: ${#body}"; fi
txt="${txt}${CR}${NL}${CR}${NL}${body}"