[pve-devel] [PATCH proxmox-archive-keyring] initial commit

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Aug 6 17:17:48 CEST 2020


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 at proxmox.com>
---
note: new repo ;)

 Makefile                               |  31 +++++++++++++++++++++++++
 debian/changelog                       |   5 ++++
 debian/compat                          |   1 +
 debian/control                         |  12 ++++++++++
 debian/copyright                       |  21 +++++++++++++++++
 debian/proxmox-archive-keyring.docs    |   1 +
 debian/proxmox-archive-keyring.install |   2 ++
 debian/proxmox-release-buster.gpg      | Bin 0 -> 1202 bytes
 debian/proxmox-release-stretch.gpg     | Bin 0 -> 1181 bytes
 debian/rules                           |  28 ++++++++++++++++++++++
 10 files changed, 101 insertions(+)
 create mode 100644 Makefile
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/proxmox-archive-keyring.docs
 create mode 100644 debian/proxmox-archive-keyring.install
 create mode 100644 debian/proxmox-release-buster.gpg
 create mode 100644 debian/proxmox-release-stretch.gpg
 create mode 100755 debian/rules

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 at 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 <support at proxmox.com>  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 <support at 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.
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 <support at 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'.
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 0000000000000000000000000000000000000000..efebf1c5fec7ca8522a06f4b42e04b554f9d079c
GIT binary patch
literal 1202
zcmV;j1Wo&y0u2OP@^=0K5CE#PtzH*^erG>N(h`YFy^<1#%GhkWYn&PUcK8mln{DvA
zemc%?diZ9uI~#s^Og=|@y0dU<@g_J1z<<BPtWn8{Vk105{#txcmE4*pM;qf9V3Yc*
zZ%taZ#B!tP>WT5%+|A0-$WtpSP*0|U7468wdnrRAr?$fatadM*LL*-^8Y}g|(v$@K
zn}DTGZy|Flj+qe5@|S9>_O^wba6F)0M`al>!N<}M_he(b3A_WfrFaqW{M=r3<DnG7
z$!S<smM7<oy*fF;`bo|38B#d2T?Rs#v%VL|pGlPkJ!SmbwROaV%v}zvhyo9w{cme7
zlJn(o25(`KHu9 at enk|gyR620<lT#@c=<G{0R%9X(pDZ7l56fy8DB}hWtpd#$BVE4(
zAa4f)^weWQ!`+Rqc)*iUvS#5G;0iw>e5ZL|^#uoGb!XNgi0bQmb9<^%{Us{<qppID
zbNEF{2Pg5h0s9>eoS`?!NTM3SG9+=aRv7Z!TNwTwQZ~~$?QA6XJYzQMsq3iOaXY+z
zg3X7Zt@>eXqP>{t%t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--git a/debian/proxmox-release-stretch.gpg b/debian/proxmox-release-stretch.gpg
new file mode 100644
index 0000000000000000000000000000000000000000..8488f4597a19764cefa9f505198cf9cade46a7a7
GIT binary patch
literal 1181
zcmV;O1Y-M{0u2OL!^(#N5CFlbWz^cmS$iU3j`tWHxifM%&-CJff<xw{qek*W{(V1=
zv40d4ASNKC%sJopeP~@u{?*(4$!Z}cv5EC-Th at e$U=}@<qH#ZAFG;GUyRzyXN{RGu
zotHNZQHsNwrA{;u<phl(p`leSywgRIawaH8Z6XZS%OOI4YGe5|!5L^yv at 1$>@AGol
zsH at ILM|Nb at iX<c`Xyf~lQ?|sGV$BqErX#q(Q+?x^PMITfDaA2r(YJZ~zDPlXkc)(i
zlF>iJR!?bucn(rCU?!EmI{EML$~s&c;(5!^@tb|ry{`aO#N9+z^lU6`^U=!f7Tc$!
zoJu!T$l!B7y`0~@JAD*={9he%hY3_<s<Go{0wQJ!NESbv9DiOlS*f9ts2UP30zS;C
zjyy^z>Mf^*m_n{^#=7AZ`V;vucOl(~YCCW7VZe`h<2?yaA!=_po7;jXswMD!B8Z8z
zv~|Y_Wr@@QYUi%aIdM4CyU;e1HqVb+HdJ^)i{)PH%+mr(Dvyg5H|>w4qss at 3b=}2B
zJVsD78XMLlq!+f)>p at F#6Hg?f4tz~`wNZO%${Xjm>06*^Ldp3*24+}O`)fDgL+eY0
zly<6cva%?+#m{)d>C-*cJO03{B;`!5Q)oB~kK)iFk$rTH+FUqC)t^o&dlK4i?MM<{
z1SU1+FvTC!pxXcu0RRECNl<cccx`WZAXaH|bai2DAVqF=X>xCFZDnqBAT=&{AW~&)
zWnpt=AWLO=AUtq#Z+LBQcr9{eY-M3{Wk7IpZ+LBQcrIgaZ9a(tKLis22mmPs0$0Pz
zhXNY|1ql+&0{{mL2?z%R0s#gU2m%QT3j`Jd0|5da0Rk6*0162Z4VoEH;_n6nIz$it
zD62qC$c7Ov6A}vxxO3<;ku+a|R)os7jNY at JZ0P1f6_|CzlY;Si>S;290<q46GJwnW
zehlVrSgKMO0?zzOykkkw?4<XV+xQQ90K@%HE63xZ7|>2em#|7NW2>mD{k4seJ&(fq
zKbBzToOheFC9lLCveIcBXbe2>4;<$fAUb)={>gB0=oB}<=IWOsdVX6XII*|BN~?M$
z<D9rb8RTF&=z23JmMO#sg*K`8WQklvrvlmcxTz|Suptj^GO47i%vGU1{rHkZNDvw%
z?a$ZKQYIqpHaQQbgGDsv2}b7F_W=F>WHpZ-)zgJP<2#`Onrs!pt^LXQD at AhXs*iy{
zGRVl$2mg#JlK<m3MRJ at n>I=JbN2)Q^@YYqmVS#jA2w}xrp0`|ERjkM#gJ6>YiM-?0
zaGVG(Nrs}d?IiohfiKng(O8Fh`a?mMW0(T at +itGYCodZ!=xW5$W~QiniSA{$&RDk0
zDO5xvT6p{&cgVhKc5_1n_QDP5TpK`u=3se|ZVQ8}8h6U(82z8})ztXRz)7WwAwxA2
z&KNr8DY^SB8XS6U+M3NBD;MArAN}nLN+un7G|s#2IFOq*#h4IJ1CUQG9M6?lxOwS=
v%Kl)1hf;D({;(*NGd#D)wu}8xdg|eIA%q2|pVoL}OgjDN+!-q6Et(MSB{?cK

literal 0
HcmV?d00001

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





More information about the pve-devel mailing list