aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2020-07-19 14:59:05 -0700
committerAndrew G. Morgan <morgan@kernel.org>2020-07-19 14:59:05 -0700
commit973c34a216faf8b7e39648685d4015b40c56e799 (patch)
tree7e84788652e7276e0aa4f0a8ca0065424423aa06
parent34e4e00b983a2c0fc5f13b403871a8fb5860bb89 (diff)
downloadlibcap-973c34a216faf8b7e39648685d4015b40c56e799.tar.gz
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--Make.Rules2
-rw-r--r--Makefile2
-rw-r--r--cap/go.mod2
-rw-r--r--goapps/setid/go.mod4
-rw-r--r--goapps/web/go.mod2
5 files changed, 6 insertions, 6 deletions
diff --git a/Make.Rules b/Make.Rules
index 98fb9db..aa6c2c5 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -41,7 +41,7 @@ GOPKGDIR=$(prefix)/share/gocode/src
# Common version number defines for libcap
LIBTITLE=libcap
VERSION=2
-MINOR=39
+MINOR=40
# Go modules have their own semantics. I plan to leave this value at 0
# and keep it there. The Go packages should always remain backwardly
diff --git a/Makefile b/Makefile
index 939b5a2..03d7748 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ clean-here:
distclean: clean
$(DISTCLEAN)
@echo "CONFIRM Go package cap has right version dependency on cap/psx:"
- for x in $$(find . -name go.mod); do grep -F "require kernel.org/pub/linux/libs/security/libcap" $$x || continue ; grep -F "v$(GOMAJOR).$(VERSION).$(MINOR)" $$x && continue ; echo "$$x is not updated to v$(GOMAJOR).$(VERSION).$(MINOR)" ; exit 1 ; done
+ for x in $$(find . -name go.mod); do grep -F -v "module" $$x | fgrep "kernel.org/pub/linux/libs/security/libcap" > /dev/null || continue ; grep -F "v$(GOMAJOR).$(VERSION).$(MINOR)" $$x > /dev/null && continue ; echo "$$x is not updated to v$(GOMAJOR).$(VERSION).$(MINOR)" ; exit 1 ; done
@echo "ALL go.mod files updated"
release: distclean
diff --git a/cap/go.mod b/cap/go.mod
index 6c0d56a..42e5859 100644
--- a/cap/go.mod
+++ b/cap/go.mod
@@ -2,4 +2,4 @@ module kernel.org/pub/linux/libs/security/libcap/cap
go 1.11
-require kernel.org/pub/linux/libs/security/libcap/psx v0.2.39
+require kernel.org/pub/linux/libs/security/libcap/psx v0.2.40
diff --git a/goapps/setid/go.mod b/goapps/setid/go.mod
index 879cfe4..c388152 100644
--- a/goapps/setid/go.mod
+++ b/goapps/setid/go.mod
@@ -3,6 +3,6 @@ module setid
go 1.11
require (
- kernel.org/pub/linux/libs/security/libcap/cap v0.2.39
- kernel.org/pub/linux/libs/security/libcap/psx v0.2.39
+ kernel.org/pub/linux/libs/security/libcap/cap v0.2.40
+ kernel.org/pub/linux/libs/security/libcap/psx v0.2.40
)
diff --git a/goapps/web/go.mod b/goapps/web/go.mod
index 1d89211..a0cddf2 100644
--- a/goapps/web/go.mod
+++ b/goapps/web/go.mod
@@ -2,4 +2,4 @@ module web
go 1.11
-require kernel.org/pub/linux/libs/security/libcap/cap v0.2.39 // indirect
+require kernel.org/pub/linux/libs/security/libcap/cap v0.2.40 // indirect