certmanager updates
This commit is contained in:
92
Makefile.am
92
Makefile.am
@@ -26,9 +26,55 @@ certmanagerctl$(EXEEXT): $(certmanagerctl_SOURCES) $(EXTRA_certmanagerd_SOURCES)
|
||||
|
||||
|
||||
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 \
|
||||
@@ -50,8 +96,21 @@ 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
|
||||
grpc:
|
||||
@@ -95,13 +154,36 @@ 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
|
||||
|
||||
|
||||
BUILD_DIR = $(shell pwd)/tmp
|
||||
|
||||
$(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:
|
||||
rm -rf autom4te.cache
|
||||
rm -f cmd/certmanagerd/certmanagerd
|
||||
rm -f cmd/certmanagerctl/certmanagerctl
|
||||
rm -rf tmp/
|
||||
rm -f $(DIST_ARCHIVES)
|
||||
rm -rf autom4te.cache/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user