Author: hibou
Date: Wed Jun 18 06:49:11 2008
New Revision: 669169
URL: http://svn.apache.org/viewvc?rev=669169&view=rev
Log:
Add usefull script to sign and verify the signatures of the artifacts
Added:
ant/ivy/ivyde/trunk/signArtifacts.sh (with props)
ant/ivy/ivyde/trunk/verifyArtifacts.sh (with props)
Added: ant/ivy/ivyde/trunk/signArtifacts.sh
URL:
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/signArtifacts.sh?rev=669169&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/signArtifacts.sh (added)
+++ ant/ivy/ivyde/trunk/signArtifacts.sh Wed Jun 18 06:49:11 2008
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+read -s -p "Key passphrase: " passphrase
+
+for i in dist/updatesite/features/org.apache.ivy*.jar; do gpg --passphrase
"$passphrase" --output $i.asc --detach-sig --armor $i; done
+for i in dist/updatesite/plugins/org.apache.ivy*.jar; do gpg --passphrase
"$passphrase" --output $i.asc --detach-sig --armor $i; done
+for i in dist/updatesite/plugins/org.apache.ivy*.jar.pack.gz; do gpg
--passphrase "$passphrase" --output $i.asc --detach-sig --armor $i; done
+for i in dist/apache-ivyde-sources-*.zip; do gpg --passphrase "$passphrase"
--output $i.asc --detach-sig --armor $i; done
+for i in dist/org.apache.ivyde.feature-*.zip; do gpg --passphrase
"$passphrase" --output $i.asc --detach-sig --armor $i; done
+
Propchange: ant/ivy/ivyde/trunk/signArtifacts.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/signArtifacts.sh
------------------------------------------------------------------------------
svn:executable = *
Propchange: ant/ivy/ivyde/trunk/signArtifacts.sh
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/ivy/ivyde/trunk/signArtifacts.sh
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: ant/ivy/ivyde/trunk/verifyArtifacts.sh
URL:
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/verifyArtifacts.sh?rev=669169&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/verifyArtifacts.sh (added)
+++ ant/ivy/ivyde/trunk/verifyArtifacts.sh Wed Jun 18 06:49:11 2008
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+for i in dist/updatesite/features/org.apache.ivy*.jar; do gpg --verify $i.asc;
done
+for i in dist/updatesite/plugins/org.apache.ivy*.jar; do gpg --verify $i.asc;
done
+for i in dist/updatesite/plugins/org.apache.ivy*.jar.pack.gz; do gpg --verify
$i.asc; done
+for i in dist/apache-ivyde-sources-*.zip; do gpg --verify $i.asc; done
+for i in dist/org.apache.ivyde.feature-*.zip; do gpg --verify $i.asc; done
+
Propchange: ant/ivy/ivyde/trunk/verifyArtifacts.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/verifyArtifacts.sh
------------------------------------------------------------------------------
svn:executable = *
Propchange: ant/ivy/ivyde/trunk/verifyArtifacts.sh
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/ivy/ivyde/trunk/verifyArtifacts.sh
------------------------------------------------------------------------------
svn:mime-type = text/plain