From 3b293048f492d164af0a0ba81c1ea0c8541359cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20H=C3=B6xter?= Date: Wed, 8 Jul 2020 16:36:42 +0200 Subject: [PATCH] beautify package meta information generated by fpm (#218) Current Debian and RPM meta information are very generic, e.g. $ apt-cache show cloudflared Package: cloudflared Version: 2020.7.0 License: unknown Vendor: @k8s-managed-krwtk.teamcity-agents.svc.cluster.local Architecture: amd64 Maintainer: <@k8s-managed-krwtk.teamcity-agents.svc.cluster.local> Installed-Size: 42883 Section: default Priority: extra Homepage: http://example.com/no-uri-given Description: no description given --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 7fd9c8ef..6141e32d 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,11 @@ define build_package cp cloudflared $(PACKAGE_DIR)/cloudflared cat cloudflared_man_template | sed -e 's/\$${VERSION}/$(VERSION)/; s/\$${DATE}/$(DATE)/' > $(PACKAGE_DIR)/cloudflared.1 fakeroot fpm -C $(PACKAGE_DIR) -s dir -t $(1) --$(1)-compression bzip2 \ + --description 'Cloudflare Argo tunnel daemon' \ + --vendor 'Cloudflare' \ + --license 'Cloudflare Service Agreement' \ + --url 'https://github.com/cloudflare/cloudflared' \ + -m 'Cloudflare ' \ -a $(TARGET_ARCH) -v $(VERSION) -n cloudflared --after-install postinst.sh --after-remove postrm.sh \ cloudflared=$(INSTALL_BINDIR) cloudflared.1=$(MAN_DIR) endef