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 <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-08-06 17:17:48 +02:00 committed by Thomas Lamprecht
commit baa1f5fd4f
10 changed files with 101 additions and 0 deletions

31
Makefile Normal file
View File

@ -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

5
debian/changelog vendored Normal file
View File

@ -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 <support@proxmox.com> Thu, 6 Aug 2020 16:33:01 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
12

12
debian/control vendored Normal file
View File

@ -0,0 +1,12 @@
Source: proxmox-archive-keyring
Section: misc
Priority: optional
Build-Depends: debhelper (>=12~),
lintian,
Maintainer: Proxmox Support Team <support@proxmox.com>
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.

21
debian/copyright vendored Normal file
View File

@ -0,0 +1,21 @@
Copyright (C) 2020 Proxmox Server Solutions GmbH
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
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'.

1
debian/proxmox-archive-keyring.docs vendored Normal file
View File

@ -0,0 +1 @@
debian/SOURCE

View File

@ -0,0 +1,2 @@
debian/proxmox-release-stretch.gpg etc/apt/trusted.gpg.d/
debian/proxmox-release-buster.gpg etc/apt/trusted.gpg.d/

BIN
debian/proxmox-release-buster.gpg vendored Normal file

Binary file not shown.

BIN
debian/proxmox-release-stretch.gpg vendored Normal file

Binary file not shown.

28
debian/rules vendored Executable file
View File

@ -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: