Commit 97b09887 authored by Natanael Copa's avatar Natanael Copa

main/abuild: upgrade to 2.0

parent 2f087835
From 64baa7c5052f1dbbd156932552d1166b5c1d40ae Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 14 Sep 2009 08:41:55 +0000
Subject: [PATCH] abuild-sign: set permissions on signed index to 644
mktemp set it to 600 so we need to manually set it to 644
---
abuild-sign.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/abuild-sign.in b/abuild-sign.in
index 2aa525e..86b3b15 100644
--- a/abuild-sign.in
+++ b/abuild-sign.in
@@ -80,6 +80,7 @@ for f in "$@"; do
cat "$tmptargz" "$i" > "$tmpsigned"
rm -f "$tmptargz"
mv "$tmpsigned" "$i"
+ chmod 644 "$i"
if [ -z "$quiet" ]; then
echo "Signed $i"
fi
--
1.6.4.2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgdesc="Script to build Alpine Packages" pkgdesc="Script to build Alpine Packages"
pkgname=abuild pkgname=abuild
pkgver=2.0_rc9 pkgver=2.0
pkgrel=1 pkgrel=0
url=http://git.alpinelinux.org/cgit/abuild/ url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2 source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
0001-abuild-sign-set-permissions-on-signed-index-to-644.patch
" "
depends="fakeroot file sudo pax-utils openssl apk-tools" depends="fakeroot file sudo pax-utils openssl apk-tools"
makedepends="openssl-dev pkgconfig" makedepends="openssl-dev pkgconfig"
...@@ -13,11 +12,9 @@ license=GPL-2 ...@@ -13,11 +12,9 @@ license=GPL-2
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../0001-abuild-sign-set-permissions-on-signed-index-to-644.patch || return 1
make install DESTDIR="$pkgdir" make install DESTDIR="$pkgdir"
install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
} }
md5sums="025f8dfa4114cf6432fdf52f14c2fc5c abuild-2.0_rc9.tar.bz2 md5sums="8c915c2d87e12731a8dbee8241653a32 abuild-2.0.tar.bz2"
512a6f10ffc7a986ea477dcf7ebd1d28 0001-abuild-sign-set-permissions-on-signed-index-to-644.patch"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment