diff options
author | cpm <cpm@FreeBSD.org> | 2017-02-06 18:48:09 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2017-02-06 18:48:09 +0800 |
commit | 866798c783d65186674cae53d4c8b952de683742 (patch) | |
tree | 9f294f504e5c73c9847bac51e40c5341f53fb2e5 /sysutils/bsdstats | |
parent | d6654234bb9c20e903f1a2f5ce84fedd8b19830d (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics.in | 2 |
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}" |