Up the release version to 2.40
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
diff --git a/Make.Rules b/Make.Rules
index 98fb9db..aa6c2c5 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -41,7 +41,7 @@
# 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 @@
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 @@
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 @@
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 @@
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