aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bsdstats
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2017-02-06 18:48:09 +0800
committercpm <cpm@FreeBSD.org>2017-02-06 18:48:09 +0800
commit866798c783d65186674cae53d4c8b952de683742 (patch)
tree9f294f504e5c73c9847bac51e40c5341f53fb2e5 /sysutils/bsdstats
parentd6654234bb9c20e903f1a2f5ce84fedd8b19830d (diff)
downloadfreebsd-ports-gnome-866798c783d65186674cae53d4c8b952de683742.tar.gz
freebsd-ports-gnome-866798c783d65186674cae53d4c8b952de683742.tar.zst
freebsd-ports-gnome-866798c783d65186674cae53d4c8b952de683742.zip
- Add missing ${CR} variable in 300.statistics.in
- Bump PORTREVISION PR: 216808 Submitted by: Marc Fournier <yscrappy@gmail.com> Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
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}"