[snip]
>>
>>> config export now GPGKEY so other key can be use to sign package
>>>   useful for us, preparing the rpm for community and when we want to create 
>>> intermediate release (-dev)
>>> sign source config
>>
>> This part looks to be good, if you provide a patch with this 
>> modification, I would apply it.
> 
> Ok I will replay that.
> 
>>
>> Thanks,
>>
>> Bye

Please find the new patches which just use gpgkey var now in config and sign


-- 

Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch

openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot
From 52c135b367fe403329ff7e22647bd74012e86858 Mon Sep 17 00:00:00 2001
From: Bruno Friedmann <br...@ioda-net.ch>
Date: Mon, 10 Oct 2011 11:03:35 +0200
Subject: [PATCH] Add gpgkey variable in config to allow signing releases by
 other key than bacula Usefull for packaging intermediate
 releases (beta/rc or cumulative patched)

Signed-off-by: Bruno Friedmann <br...@ioda-net.ch>
---
 bacula/release/config |    4 +++-
 bacula/release/sign   |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bacula/release/config b/bacula/release/config
index acfebe7..ce4826f 100644
--- a/bacula/release/config
+++ b/bacula/release/config
@@ -9,9 +9,11 @@ branch=Branch-5.1
 # set reltype to release or beta -- for upload and setting DEVELOPER
 reltype=beta
 
-
 repo=$reltype
 
+# Allow other keys (usefull for intermediary releases)
+export gpgkey=${gpgkey:"bacula"}
+
 # Bacula git repos
 bacula=${bacula:-${HOME}/bee/bacula}
 docs=${docs:-${HOME}/bee/docs}
diff --git a/bacula/release/sign b/bacula/release/sign
index 964780d..e4f79e8 100755
--- a/bacula/release/sign
+++ b/bacula/release/sign
@@ -1,3 +1,3 @@
 #!/bin/sh
-gpg --detach-sign --armor --default-key bacula -o $1.sig $1
+gpg --detach-sign --armor --default-key ${gpgkey} -o $1.sig $1
 gpg --verify $1.sig
-- 
1.7.7

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to