Your message dated Thu, 22 Dec 2016 06:03:50 +0000
with message-id <e1cjwtm-000hli...@fasolo.debian.org>
and subject line Bug#846576: fixed in influxdb 1.1.1+dfsg1-1
has caused the Debian Bug report #846576,
regarding influxdb: Please package upstream release 1.1.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
846576: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846576
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: influxdb
Source-Version: 1.1.0+dfsg1-0.1
Severity: wishlist
Tags: patch

Hi!

There's a new upstream release out. Here's a patch updating the
package to that. Also included a fix for the init script to actually
log stuff.

Thanks,
Guillem
--- a/debian/changelog	2016-10-25 19:19:04.000000000 +0200
+++ b/debian/changelog	2016-12-02 11:14:09.000000000 +0100
@@ -1,4 +1,13 @@
+influxdb (1.1.0+dfsg1-0.1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+  * Fix build to work on github.com/dgrijalva/jwt-go v2.
+  * Pass --no-close to start-stop-daemon --start to get actual logging.
+
+ -- Guillem Jover <gjo...@sipwise.com>  Fri, 02 Dec 2016 10:45:18 +0100
+
 influxdb (1.0.2+dfsg1-1) unstable; urgency=medium
+
   [ Alexandre Viau ]
   * Update default configuration file.
 
--- a/debian/influxdb.init	2016-10-25 19:19:04.000000000 +0200
+++ b/debian/influxdb.init	2016-12-02 10:47:20.000000000 +0100
@@ -94,7 +94,7 @@ case $1 in
         fi
 
         start-stop-daemon --start --quiet --oknodo --exec $daemon \
-          --chuid $GROUP:$USER --pidfile $pidfile --background \
+          --chuid $GROUP:$USER --pidfile $pidfile --background --no-close \
           -- -pidfile $pidfile -config $config $INFLUXD_OPTS \
           >>$STDOUT 2>>$STDERR
 
--- a/debian/patches/disable-reporting.patch	2016-10-25 19:19:04.000000000 +0200
+++ b/debian/patches/disable-reporting.patch	2016-12-02 10:50:24.000000000 +0100
@@ -13,7 +13,7 @@ Last-Update: 2015-08-11
 
 --- a/cmd/influxd/run/config.go
 +++ b/cmd/influxd/run/config.go
-@@ -56,7 +56,7 @@
+@@ -56,7 +56,7 @@ type Config struct {
  	ContinuousQuery continuous_querier.Config `toml:"continuous_queries"`
  
  	// Server reporting
@@ -24,7 +24,7 @@ Last-Update: 2015-08-11
  	BindAddress string `toml:"bind-address"`
 --- a/cmd/influxd/run/server.go
 +++ b/cmd/influxd/run/server.go
-@@ -78,7 +78,7 @@
+@@ -78,7 +78,7 @@ type Server struct {
  	Monitor *monitor.Monitor
  
  	// Server reporting and registration
@@ -33,7 +33,7 @@ Last-Update: 2015-08-11
  
  	// Profiling
  	CPUProfile string
-@@ -147,7 +147,7 @@
+@@ -147,7 +147,7 @@ func NewServer(c *Config, buildInfo *Bui
  
  		MetaClient: meta.NewClient(c.Meta),
  
@@ -42,7 +42,7 @@ Last-Update: 2015-08-11
  
  		httpAPIAddr: c.HTTPD.BindAddress,
  		httpUseTLS:  c.HTTPD.HTTPSEnabled,
-@@ -441,7 +441,7 @@
+@@ -434,7 +434,7 @@ func (s *Server) Open() error {
  	}
  
  	// Start the reporting service, if not disabled.
--- a/debian/patches/jwt-v2.patch	1970-01-01 01:00:00.000000000 +0100
+++ b/debian/patches/jwt-v2.patch	2016-12-02 11:33:33.226604712 +0100
@@ -0,0 +1,34 @@
+Description: Fix build with github.com/dgrijalva/jwt-go v2
+Author: Guillem Jover <gjo...@sipwise.com>
+Last-Update: 2016-12-02
+
+---
+ services/httpd/handler.go |   11 ++---------
+ 1 file changed, 2 insertions(+), 9 deletions(-)
+
+--- a/services/httpd/handler.go
++++ b/services/httpd/handler.go
+@@ -901,21 +901,14 @@ func authenticate(inner func(http.Respon
+ 					return
+ 				}
+ 
+-				claims, ok := token.Claims.(jwt.MapClaims)
+-				if !ok {
+-					h.httpError(w, "problem authenticating token", http.StatusInternalServerError)
+-					h.Logger.Print("Could not assert JWT token claims as jwt.MapClaims")
+-					return
+-				}
+-
+ 				// Make sure an expiration was set on the token.
+-				if exp, ok := claims["exp"].(float64); !ok || exp <= 0.0 {
++				if exp, ok := token.Claims["exp"].(float64); !ok || exp <= 0.0 {
+ 					h.httpError(w, "token expiration required", http.StatusUnauthorized)
+ 					return
+ 				}
+ 
+ 				// Get the username from the token.
+-				username, ok := claims["username"].(string)
++				username, ok := token.Claims["username"].(string)
+ 				if !ok {
+ 					h.httpError(w, "username in token must be a string", http.StatusUnauthorized)
+ 					return
--- a/debian/patches/series	2016-10-25 19:19:04.000000000 +0200
+++ b/debian/patches/series	2016-12-02 11:12:13.000000000 +0100
@@ -1 +1,2 @@
 disable-reporting.patch
+jwt-v2.patch

--- End Message ---
--- Begin Message ---
Source: influxdb
Source-Version: 1.1.1+dfsg1-1

We believe that the bug you reported is fixed in the latest version of
influxdb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 846...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Viau <av...@debian.org> (supplier of updated influxdb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 20 Dec 2016 21:25:35 -0500
Source: influxdb
Binary: golang-github-influxdb-influxdb-dev influxdb-dev influxdb 
influxdb-client
Architecture: source all amd64
Version: 1.1.1+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team 
<pkg-go-maintainers@lists.alioth.debian.org>
Changed-By: Alexandre Viau <av...@debian.org>
Description:
 golang-github-influxdb-influxdb-dev - Scalable datastore for metrics, events, 
and real-time analytics.
 influxdb   - Scalable datastore for metrics, events, and real-time analytics
 influxdb-client - command line interface for InfluxDB
 influxdb-dev - Transitional package for golang-github-influxdb-influxdb-dev
Closes: 846576
Changes:
 influxdb (1.1.1+dfsg1-1) unstable; urgency=medium
 .
   [ Alexandre Viau ]
   * Import Guillem's work.
   * Refresh jwt-v2.patch.
   * Update influxdb.conf.
   * Depend on newer golang-github-jwilder-encoding.
   * Adapt disable-reporting.patch.
   * Copy over iql files.
   * Fix tests in jwt-v2.patch.
 .
   [ Guillem Jover ]
   * New upstream release. (Closes: #846576)
   * Fix build to work on github.com/dgrijalva/jwt-go v2.
   * Pass --no-close to start-stop-daemon --start to get actual logging.
Checksums-Sha1:
 fd307cdf0e472eb194ffd8dbaf8a79aa32a2e89c 3329 influxdb_1.1.1+dfsg1-1.dsc
 64c75f55f1e87e2ecd6e081a780999a0963ac0fb 1324546 
influxdb_1.1.1+dfsg1.orig.tar.gz
 1fb2a05621c1c8538e5d81f32235e658772d96e6 121824 
influxdb_1.1.1+dfsg1-1.debian.tar.xz
 cf86f01af87488ead0d041f3b968a1a0fc5abcad 830986 
golang-github-influxdb-influxdb-dev_1.1.1+dfsg1-1_all.deb
 6f4620dcd3296f2db550ea593affeb99c7d66c7e 1191232 
influxdb-client_1.1.1+dfsg1-1_amd64.deb
 8b40b6e0dd0332ad5c8bc532b957cb3a1dc51541 50450 
influxdb-dev_1.1.1+dfsg1-1_all.deb
 f9a32d5eac41e684b1cbcba3a8f065e7e0be2401 9382 
influxdb_1.1.1+dfsg1-1_amd64.buildinfo
 b2ba2172f49d569d689b31b06d94278c278749a1 2850306 
influxdb_1.1.1+dfsg1-1_amd64.deb
Checksums-Sha256:
 ef9e095279c5acda02fbab1eb170f97365efe7cc2e773a826eb2cd5f83f8b2eb 3329 
influxdb_1.1.1+dfsg1-1.dsc
 a4aaef94acb4b86ae93d41121616654723321d23fe38c3dfce339b6c9f9b8b55 1324546 
influxdb_1.1.1+dfsg1.orig.tar.gz
 6991e0799b5d8569f536d962195820ab4fb4b93c53132ebb06ab8d0e00bdc97e 121824 
influxdb_1.1.1+dfsg1-1.debian.tar.xz
 acc20dfd13cfd62a37fc430984b2099831e6359a1152c657a958ec238c228333 830986 
golang-github-influxdb-influxdb-dev_1.1.1+dfsg1-1_all.deb
 12c1a14dabad22d43891c4b530a784ff08732bcc03e615ff6f85eb52fef28164 1191232 
influxdb-client_1.1.1+dfsg1-1_amd64.deb
 8ed0a45b14fc895a71c0050b414ef4137badf81fcb2883287c14a1d47dc9cd04 50450 
influxdb-dev_1.1.1+dfsg1-1_all.deb
 b2ce57cee0ee165ecf5b813681927000acf86bf010f1e09cb7effa87eeb45af0 9382 
influxdb_1.1.1+dfsg1-1_amd64.buildinfo
 7bcb110ec94259a184ef588e70f685ecf9a8da95e66ae291cbc062aadb9e230d 2850306 
influxdb_1.1.1+dfsg1-1_amd64.deb
Files:
 599d57d678151701ebae6e4cd1f1e017 3329 database extra influxdb_1.1.1+dfsg1-1.dsc
 66a9766d7113d412ee6852edc702ccf7 1324546 database extra 
influxdb_1.1.1+dfsg1.orig.tar.gz
 65fbbf159127ef3cb37db032c2566e8e 121824 database extra 
influxdb_1.1.1+dfsg1-1.debian.tar.xz
 067650f2b076081c2711518f0c480634 830986 database extra 
golang-github-influxdb-influxdb-dev_1.1.1+dfsg1-1_all.deb
 93724af2b1dd820fbaf148d7c9c88467 1191232 database extra 
influxdb-client_1.1.1+dfsg1-1_amd64.deb
 4e1923d00cc5cfc3aedde9d2a06bf638 50450 oldlibs extra 
influxdb-dev_1.1.1+dfsg1-1_all.deb
 cbdcedec94672eaaf40af2e1af53651d 9382 database extra 
influxdb_1.1.1+dfsg1-1_amd64.buildinfo
 e6adcfe50094b8cc4ca0b43b27a574dc 2850306 database extra 
influxdb_1.1.1+dfsg1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEB0B3ii38SjnAyLyMjysRPGU1xacFAlhbaCYRHGF2aWF1QGRl
Ymlhbi5vcmcACgkQjysRPGU1xadIEw/+JyPxXOA/Mdp0dSXfhR83FRuQi9F1yqUB
C+FA+kPUE6kqfssMHE1FwaTijjBZTYGgtwd0CzwdviO7A4qufu2OTIrUaz51IlGx
r5Kg/WhzXT/QGC6+aaKUAmx0lquIygl/pt+DeTApeHz7lo6IbQsgb3bGuhPv9Jrf
aUl3h7USczmU3GTu0dbChMJ5ekCmxPaqp640WoGF0OARn6Zlkt+BSqseTUpaJcaE
chkPrbqsyhD400oO2dg5xlyS2NbOzXl4ZWs4b6V2M5LMDtxlyxFWykr9ew9HAwaC
FxuBdBHo3ZGwefIZM7lwF0X+NGod8JSuW9/mGqv9DGZa180GAca6XrujFi22Ifkk
fBpnhtac1AXeJnKkFsE7PYA1s3uCRsdP1NIPwWesWz7wFNfK9dLzfKu5LlxqJlp1
Lvq4fT00ODNkrWJjCagk6RbzdSdtHqrYEIDbJV4rtUOJJ4TK7Eozo4LwGVWs7zKn
2GQgns6T0mWC70Gxm21x1JtLGOg/8UxZQoMHf4hF3sfpR0xbtJBAxbF2+N+11g/Z
2sPSJWU9ihwquTqlGRFLvYX3u8fFWwPxKh+G95hDWwjRBy4adGyrYeQ+IVbc9zlj
nSz6w740ca1JczsEZx/hJI3Ih4QWFp3sYHtol/PL/GE7Zi4r/ZVBHEkBK8N1JLOy
WMFotDRmqDw=
=Lslb
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to