certmanager updates

This commit is contained in:
Олег Бородин
2024-08-12 17:41:49 +02:00
parent 21d64fd482
commit 6a3290b9ac
19 changed files with 257 additions and 18 deletions

View File

@@ -101,7 +101,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES = internal/config/path.go \
initrc/certmanagerd.service
initrc/certmanagerd.service initrc/certmanagerd
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)"
PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
@@ -166,6 +166,7 @@ am__define_uniq_tagged_files = \
done | $(am__uniquify_input)`
AM_RECURSIVE_TARGETS = cscope
am__DIST_COMMON = $(srcdir)/Makefile.in \
$(top_srcdir)/initrc/certmanagerd.in \
$(top_srcdir)/initrc/certmanagerd.service.in \
$(top_srcdir)/internal/config/path.go.in README.md \
config.guess config.sub install-sh missing
@@ -304,8 +305,55 @@ certmanagerctl_SOURCES = cmd/certmanagerctl/main.go \
cmd/certmanagerctl/grant.go
EXTRA_certmanagerd_SOURCES = \
internal/config/config.go \
internal/database/account.go \
internal/database/database.go \
internal/database/grant.go \
internal/database/issuer.go \
internal/database/service.go \
internal/descriptor/descriptor.go \
internal/grpc/handler/account.go \
internal/grpc/handler/grant.go \
internal/grpc/handler/handler.go \
internal/grpc/handler/issuer.go \
internal/grpc/handler/service.go \
internal/grpc/handler/status.go \
internal/grpc/service/service.go \
internal/logic/account.go \
internal/logic/database.go \
internal/logic/grants.go \
internal/logic/issuer.go \
internal/logic/logic.go \
internal/logic/service.go \
internal/logic/status.go \
internal/server/server.go \
internal/test/database_test.go \
internal/wrpc/handler/handler.go \
internal/wrpc/handler/status.go \
internal/wrpc/service/service.go \
pkg/aux509/x509cert.go \
pkg/aux509/x509cert_test.go \
pkg/auxgin/corsmw.go \
pkg/auxgin/logmw.go \
pkg/auxgin/reqlog.go \
pkg/auxgin/reslog.go \
pkg/auxgrpc/error.go \
pkg/auxhttp/genres.go \
pkg/auxhttp/getbearer.go \
pkg/auxhttp/parseauth.go \
pkg/auxid/genid.go \
pkg/client/auth.go \
pkg/client/client.go \
pkg/client/control.go \
pkg/cm509/testchain_a00.crt \
pkg/cm509/testchain_a01.crt \
pkg/cm509/testchain_a02.crt \
pkg/cm509/testchain_a03.crt \
pkg/cm509/x509.go \
pkg/cmctl/cmctl_grpc.pb.go \
pkg/cmctl/cmctl.pb.go
pkg/cmctl/cmctl.pb.go \
pkg/common/common.go \
pkg/logger/logger.go
EXTRA_DIST = $(EXTRA_certmanagerd_SOURCES) \
internal/test/auxfunction_test.go \
@@ -327,13 +375,28 @@ EXTRA_DIST = $(EXTRA_certmanagerd_SOURCES) \
proto/cmctl.proto \
go.mod \
go.sum \
README.md
README.md \
internal/test/Makefile.in \
debian/changelog \
debian/compat \
debian/control \
debian/patches/series \
debian/postinst \
debian/postrm \
debian/preinst \
debian/prerm \
debian/README.Debian \
debian/rules \
debian/source/format \
debian/source/include-binaries \
debian/watch
GENDIR = pkg/cmctl
SYSTEMD_LIBDIR = /lib/systemd/system
FREEBSD_LOCALBASE = /usr/local
FREEBSD_RCDIR = $(FREEBSD_LOCALBASE)/etc/rc.d
LINUX_SYSTEMDDIR = /lib/systemd/system
BUILD_DIR = $(shell pwd)/tmp
all: all-am
.SUFFIXES:
@@ -375,6 +438,8 @@ internal/config/path.go: $(top_builddir)/config.status $(top_srcdir)/internal/co
cd $(top_builddir) && $(SHELL) ./config.status $@
initrc/certmanagerd.service: $(top_builddir)/config.status $(top_srcdir)/initrc/certmanagerd.service.in
cd $(top_builddir) && $(SHELL) ./config.status $@
initrc/certmanagerd: $(top_builddir)/config.status $(top_srcdir)/initrc/certmanagerd.in
cd $(top_builddir) && $(SHELL) ./config.status $@
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
@@ -859,7 +924,23 @@ run:
test -z $(DESTDIR)$(SRV_DATADIR) || $(MKDIR_P) $(DESTDIR)$(SRV_DATADIR)
env CGO_ENABLED=1 $(GO) run $(GOFLAGS) ./cmd/certmanagerd/... --daemon=false
distclean-local: clean
$(DIST_ARCHIVES): dist
package: $(DIST_ARCHIVES)
mkdir -p $(BUILD_DIR)
mv $(DIST_ARCHIVES) $(BUILD_DIR)
cd $(BUILD_DIR) && $(AMTAR) -xf $(DIST_ARCHIVES)
cd $(BUILD_DIR)/$(distdir) && \
./configure --enable-devel-mode
cd $(BUILD_DIR)/$(distdir) && \
$(MAKE) debian-package
debian-package:
$(DBUILDPACKAGE) -us -uc -ui -i -b
debian-package-clean:
$(DBUILDPACKAGE) --rules-target clean -us -uc -ui
distclean-local: clean
rm -rf autom4te.cache
clean-local:
@@ -867,6 +948,7 @@ clean-local:
rm -f cmd/certmanagerd/certmanagerd
rm -f cmd/certmanagerctl/certmanagerctl
rm -rf tmp/
rm -f $(DIST_ARCHIVES)
rm -rf autom4te.cache/
# Tell versions [3.59,3.63) of GNU make to not export all variables.