From 72eaff596b53c4e8f203fd108197bf5bebafa8f3 Mon Sep 17 00:00:00 2001 From: gfxmonk Date: Sun, 1 Aug 2010 00:10:57 +1000 Subject: [PATCH] Added scripts for the 0install feed, and updated the URL --- packager/0install/FE58602B58894ED2.gpg | 30 ++++++++++++++++++++++++++ packager/0install/check | 2 ++ packager/0install/parallel.xml | 7 +++--- packager/0install/update | 20 +++++++++++++++++ 4 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 packager/0install/FE58602B58894ED2.gpg create mode 100755 packager/0install/check create mode 100755 packager/0install/update diff --git a/packager/0install/FE58602B58894ED2.gpg b/packager/0install/FE58602B58894ED2.gpg new file mode 100644 index 00000000..3a38f359 --- /dev/null +++ b/packager/0install/FE58602B58894ED2.gpg @@ -0,0 +1,30 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.10 (GNU/Linux) + +mQGiBEuLgqURBADKihTxe3rR20ceSwEBAzDt/KWMiyHOK3dRerufDxUiBP5XVPUv +seyEP2acW4IOghN4QotwIlutvO4qCPJFvm3bB+gMIusLHVfgnFTfBsxWGigSbGjD +j3OFqelI38uALCqqaX+t7wqU2OUoVSvoPLIjcK5D/el3m8/b843foZNsxwCgx5lc +MNM/FMhjh4aOvn9UgDSjJDkD/iJLn3uHL/pe6r0tTZf4vm0q9Ut9tOvrjFCsyIjT +58DVXv6MTg/Fpgqd8YJGHIwHvnKC+hz/hE97w1+ajAwI2jae9vTe4vxPTH9ybeYV +5TSilh/RiJ3QBmhcvNHoIaqb0HcBbwLM9KNq96avG4qbGn7cX0tPff2ZrtOKGUix +teuZBACIdl71xHR8cnn5YVzfBO0MUNiwGhd5HNkfAMSjbbdeJ02eIczhXsCAaIkV +8+L9CJNe5kGMhQC19MpClKaXpiGNSj6SGzFf4YNJ0jsDrSKXa9DNhd5nExkqipRZ +1Qs3aGY4iatZZmjYFzyc6OdsZE3of42uGaCTOeDs2S48+Gwce7QhVGltIEN1dGhi +ZXJ0c29uIDx0aW1AZ2Z4bW9uay5uZXQ+iGAEExECACAFAkuLgqUCGwMGCwkIBwMC +BBUCCAMEFgIDAQIeAQIXgAAKCRD+WGArWIlO0stTAJ9uFf+HvheGYNN08LO4UKo2 +T/doeQCfSf7Z8WXPZbZexLverSQ5iz19qyi5Ag0ES4uCpRAIAIErigRxWKlZS2hx +ldO2hwwtrjoVBsog/JT9gt/vyclzIgkk187ozJuXkm8hyYnYboSr4+3nsUNDL0MD +BtyohMD9L9qve8/MBILDclWjtXAFxkxBLGjw6YrQazo/OS92NGDzHShsUPuEePKn +o02cs1UV68/FNWdsVTtmLPP/gYqbUKrbhKsnqhZbCyWkpXFiaCKscNizAMsF25pi +i37hMDp8B3/H0i1VI1zM/NBzEPvFfpHhtpjn8Amu0PChG96Lsxqf6DOujr5wqMDo +6pB2DkDY4uUdiEHnwYYgDyDHK10++ohtS8BwrNhyX0qdKiuLckhM+Umj0pR8hpPL +s9D8ksMAAwUH/133EFCMds6vqVZf0BsjSafkz1GnCkgdCbC92G550+TwdsBawT3K +GD9l/+Ye15/xITaC6cgyi2kj/7ja3IKhRAnSkZS7fFyHwUyEehu+5Ex8a/6bR3vL +PduZmcUP6x4DPsMJ94DXfFhmK4FD/OxXQieJPLlCSzAem+TNKz11e2Irb3cUhLk0 +qmwnKft2BhglkL3t6fVRsAAgDia9HWHLllpgXen7kjFjKJcdVTBIAUyLtLutLBYv +X9AR19A3p3R/Q8Q4Yd94RBu9278PYpyIdOD4PNZV1a/opjZJj7heQAGj0d1q/4tB +jgESYJO8bvhTE9ijxvzAmL/UQ/d7M6WI/aOISQQYEQIACQUCS4uCpQIbDAAKCRD+ +WGArWIlO0n5tAJwOBpFBWLNsWZhR79it3kaLm0YbTACgleNj3C4Pvlj5qSa8akSN +3VxEk1A= +=mW3Z +-----END PGP PUBLIC KEY BLOCK----- diff --git a/packager/0install/check b/packager/0install/check new file mode 100755 index 00000000..4ffc1bd8 --- /dev/null +++ b/packager/0install/check @@ -0,0 +1,2 @@ +#!/bin/sh +0launch http://0install.net/2007/interfaces/FeedLint.xml http://git.savannah.gnu.org/cgit/parallel.git/plain/packager/0install/parallel.xml diff --git a/packager/0install/parallel.xml b/packager/0install/parallel.xml index bf77d1c6..153efb37 100644 --- a/packager/0install/parallel.xml +++ b/packager/0install/parallel.xml @@ -1,6 +1,6 @@ - + GNU parallel a shell tool for executing jobs in parallel locally or using remote computers @@ -26,7 +26,6 @@ will be run in parallel. GNU parallel can often be used as a substitute for xargs or cat | sh. http://www.gnu.org/software/parallel/ Utility - @@ -36,7 +35,7 @@ xargs or cat | sh. diff --git a/packager/0install/update b/packager/0install/update new file mode 100755 index 00000000..e0b56811 --- /dev/null +++ b/packager/0install/update @@ -0,0 +1,20 @@ +#!/bin/bash + + +version=$1 +if [ -z "${version}" ]; then + echo "usage: update " + exit 1 +fi +set -ex +url="http://ftp.gnu.org/gnu/parallel/parallel-${version}.tar.bz2" +file="/tmp/parallel-${version}.tgz" +wget "$url" -O "${file}" +( cd "$(dirname "$0")" && \ + 0publish \ + --add-version ${version} \ + --archive-url="${url}" \ + --archive-file="${file}" \ + --archive-extract="parallel-${version}" \ + --set-released=today \ + --xmlsign parallel.xml )