commit baa1f5fd4fb4bc9cbf5cd7a9c13926a227f72e4e Author: Fabian Grünbichler Date: Thu Aug 6 17:17:48 2020 +0200 initial commit taking over from product-specific meta packages, which can now depend on proxmox-archive-keyring and drop their copies of the keys. Signed-off-by: Fabian Grünbichler diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ddb0ef4 --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +include /usr/share/dpkg/pkg-info.mk + +PACKAGE=proxmox-archive-keyring + +GITVERSION:=$(shell git rev-parse HEAD) + +DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb + +BUILD_DIR=build + +all: deb +deb: ${DEB} + +${DEB}: debian + rm -rf ${BUILD_DIR} + mkdir -p ${BUILD_DIR}/debian + cp -ar debian/* ${BUILD_DIR}/debian/ + echo "git clone git://git.proxmox.com/git/proxmox-archive-keyring.git\\ngit checkout ${GITVERSION}" > ${BUILD_DIR}/debian/SOURCE + cd ${BUILD_DIR}; dpkg-buildpackage -b -uc -us + lintian ${DEB} + +.PHONY: upload +upload: ${DEB} + tar cf - ${DEB}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist buster --arch ${ARCH} + +.PHONY: distclean +distclean: clean + +.PHONY: clean +clean: + rm -rf *~ ${BUILD_DIR} *.deb *.dsc *.changes *.buildinfo diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..42bc438 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +proxmox-archive-keyring (1.0) pbs pmg pve; urgency=medium + + * unify keyring handling for all products into single package + + -- Proxmox Support Team Thu, 6 Aug 2020 16:33:01 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..692bc23 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: proxmox-archive-keyring +Section: misc +Priority: optional +Build-Depends: debhelper (>=12~), + lintian, +Maintainer: Proxmox Support Team + +Package: proxmox-archive-keyring +Architecture: all +Description: Proxmox APT archive keyring + This package contains the release keyrings used to sign APT repositories for + various Proxmox products. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..891c52f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,21 @@ +Copyright (C) 2020 Proxmox Server Solutions GmbH + +This software is written by Proxmox Server Solutions GmbH + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA + +The complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/proxmox-archive-keyring.docs b/debian/proxmox-archive-keyring.docs new file mode 100644 index 0000000..8696672 --- /dev/null +++ b/debian/proxmox-archive-keyring.docs @@ -0,0 +1 @@ +debian/SOURCE diff --git a/debian/proxmox-archive-keyring.install b/debian/proxmox-archive-keyring.install new file mode 100644 index 0000000..e8c35af --- /dev/null +++ b/debian/proxmox-archive-keyring.install @@ -0,0 +1,2 @@ +debian/proxmox-release-stretch.gpg etc/apt/trusted.gpg.d/ +debian/proxmox-release-buster.gpg etc/apt/trusted.gpg.d/ diff --git a/debian/proxmox-release-buster.gpg b/debian/proxmox-release-buster.gpg new file mode 100644 index 0000000..efebf1c Binary files /dev/null and b/debian/proxmox-release-buster.gpg differ diff --git a/debian/proxmox-release-stretch.gpg b/debian/proxmox-release-stretch.gpg new file mode 100644 index 0000000..8488f45 Binary files /dev/null and b/debian/proxmox-release-stretch.gpg differ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c482a3c --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +install: + dh_install + dh_installdocs + dh_lintian + dh_installchangelogs + dh_installman + dh_strip_nondeterminism + dh_compress + dh_fixperms + +binary: install + dh_strip + dh_makeshlibs + dh_shlibdeps + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: build clean +build clean: