New Upstream Release - golang-gopkg-hlandau-svcutils.v1

Ready changes

Summary

Merged new upstream version: 1.0.11 (was: 1.0.10).

Diff

diff --git a/README.md b/.github/README.md
similarity index 84%
rename from README.md
rename to .github/README.md
index 58d17c9..f0604f6 100644
--- a/README.md
+++ b/.github/README.md
@@ -1,4 +1,6 @@
-# Utilities for writing services in Go [![GoDoc](https://godoc.org/gopkg.in/hlandau/svcutils.v1?status.svg)](https://godoc.org/gopkg.in/hlandau/svcutils.v1)
+# Utilities for writing services in Go
+
+[![godocs.io](https://godocs.io/gopkg.in/hlandau/svcutils.v1?status.svg)](https://godocs.io/gopkg.in/hlandau/svcutils.v1) [![No modules](https://www.devever.net/~hl/f/no-modules2.svg) 100% modules-free.](https://www.devever.net/~hl/gomod)
 
 The following packages are contained in this repository:
 
diff --git a/debian/changelog b/debian/changelog
index ed3f220..bca9290 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+golang-gopkg-hlandau-svcutils.v1 (1.0.11-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 10 Jun 2023 06:57:36 -0000
+
 golang-gopkg-hlandau-svcutils.v1 (1.0.10-7) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/debian/patches/license.patch b/debian/patches/license.patch
index 33d2db9..f5cb7c6 100644
--- a/debian/patches/license.patch
+++ b/debian/patches/license.patch
@@ -10,8 +10,10 @@ Origin: upstream, https://github.com/hlandau/rilts/blob/e4791634449efa0ae1a63046
 Last-Update: 2016-10-19
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: golang-gopkg-hlandau-svcutils.v1.git/LICENSE
+===================================================================
 --- /dev/null
-+++ b/LICENSE
++++ golang-gopkg-hlandau-svcutils.v1.git/LICENSE
 @@ -0,0 +1,5 @@
 +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 +
diff --git a/setuid/setuid-linuxc.go b/setuid/setuid-linuxc.go
index 87c9e0c..d531be9 100644
--- a/setuid/setuid-linuxc.go
+++ b/setuid/setuid-linuxc.go
@@ -1,4 +1,4 @@
-// +build cgo,linux
+// +build cgo,linux,!go1.16
 
 package setuid
 
diff --git a/setuid/setuid-linuxnc.go b/setuid/setuid-linuxnc.go
index cede228..7a5dbdd 100644
--- a/setuid/setuid-linuxnc.go
+++ b/setuid/setuid-linuxnc.go
@@ -1,10 +1,10 @@
-// +build linux,!cgo
+// +build linux,!cgo,!go1.16
 
 package setuid
 
 import "fmt"
 
-var errNoSetuid = fmt.Errorf("set*id calls are not supported on Linux when built with cgo disabled")
+var errNoSetuid = fmt.Errorf("set*id calls are not supported on Linux when built with cgo disabled unless using Go 1.16 or later")
 
 func setuid(uid int) error {
 	return errNoSetuid
diff --git a/setuid/setuid-unixs.go b/setuid/setuid-unixs.go
index c332aa5..2a01c47 100644
--- a/setuid/setuid-unixs.go
+++ b/setuid/setuid-unixs.go
@@ -1,4 +1,4 @@
-// +build !linux,!windows,!darwin,!freebsd,!openbsd,!netbsd,!solaris,!plan9,!dragonfly
+// +build !linux,!windows,!darwin,!freebsd,!openbsd,!netbsd,!solaris,!plan9,!dragonfly linux,go1.16
 
 package setuid
 

More details

Full run details

Historical runs