summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Make.Rules10
-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, 11 insertions, 9 deletions
diff --git a/Make.Rules b/Make.Rules
index 8440e18..c62f541 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -1,3 +1,8 @@
+# Common version number defines for libcap
+LIBTITLE=libcap
+VERSION=2
+MINOR=43
+
#
## Optional prefixes:
#
@@ -38,11 +43,6 @@ LIBDIR=$(lib_prefix)/$(lib)
PKGCONFIGDIR=$(LIBDIR)/pkgconfig
GOPKGDIR=$(prefix)/share/gocode/src
-# Common version number defines for libcap
-LIBTITLE=libcap
-VERSION=2
-MINOR=42
-
# 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
# compatible, but I may have to up it if Go's syntax changes in a
diff --git a/Makefile b/Makefile
index c5ca17b..ab2ebab 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,9 @@ distclean: clean
@echo "CONFIRM Go package cap has right version dependency on cap/psx:"
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"
+ @echo "Now validate that everything is checked in to a clean tree.."
test -z "$$(git status -s)"
+ @echo "All good!"
release: distclean
cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar --exclude patches libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR)
diff --git a/cap/go.mod b/cap/go.mod
index da5b4e5..b94c348 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.42
+require kernel.org/pub/linux/libs/security/libcap/psx v0.2.43
diff --git a/goapps/setid/go.mod b/goapps/setid/go.mod
index 2573dec..39845d9 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.42
- kernel.org/pub/linux/libs/security/libcap/psx v0.2.42
+ kernel.org/pub/linux/libs/security/libcap/cap v0.2.43
+ kernel.org/pub/linux/libs/security/libcap/psx v0.2.43
)
diff --git a/goapps/web/go.mod b/goapps/web/go.mod
index 84c8074..43c7d21 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.42
+require kernel.org/pub/linux/libs/security/libcap/cap v0.2.43