Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 10:48:09 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433482 - in head/sysutils/bsdstats: . files
Message-ID:  <201702061048.v16Am9VN014228@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Mon Feb  6 10:48:09 2017
New Revision: 433482
URL: https://svnweb.freebsd.org/changeset/ports/433482

Log:
  - 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)

Modified:
  head/sysutils/bsdstats/Makefile
  head/sysutils/bsdstats/files/300.statistics.in

Modified: head/sysutils/bsdstats/Makefile
==============================================================================
--- head/sysutils/bsdstats/Makefile	Mon Feb  6 10:20:07 2017	(r433481)
+++ head/sysutils/bsdstats/Makefile	Mon Feb  6 10:48:09 2017	(r433482)
@@ -3,6 +3,7 @@
 
 PORTNAME=	bsdstats
 PORTVERSION=	6.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 DISTFILES=
 

Modified: head/sysutils/bsdstats/files/300.statistics.in
==============================================================================
--- head/sysutils/bsdstats/files/300.statistics.in	Mon Feb  6 10:20:07 2017	(r433481)
+++ head/sysutils/bsdstats/files/300.statistics.in	Mon Feb  6 10:48:09 2017	(r433482)
@@ -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}"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702061048.v16Am9VN014228>