aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-06-01 23:41:03 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-06-01 23:41:03 +0000
commit2c7f7f25f1476495e77fbf4528199e794aaff614 (patch)
tree6edc41e9e626e22cbd5b6cd5217f0eaa331a8926 /main
parent2ba547e9ab67ad5ab07df1c33973abf013936ae9 (diff)
downloadaports-2c7f7f25f1476495e77fbf4528199e794aaff614.tar.bz2
aports-2c7f7f25f1476495e77fbf4528199e794aaff614.tar.xz
Removed patch files rolled into 2.3.
Diffstat (limited to 'main')
-rw-r--r--main/abuild/0001-Revert-abuild-minor-cleanup.patch31
-rw-r--r--main/abuild/0002-add-fetch-from-source-mirror.patch107
-rw-r--r--main/abuild/0003-add-color-control-command-line-option.patch50
3 files changed, 0 insertions, 188 deletions
diff --git a/main/abuild/0001-Revert-abuild-minor-cleanup.patch b/main/abuild/0001-Revert-abuild-minor-cleanup.patch
deleted file mode 100644
index 25569b5b6d..0000000000
--- a/main/abuild/0001-Revert-abuild-minor-cleanup.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 19b2598f8a52ba8af07eb4904788d0843130b094 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Tue, 27 Oct 2009 15:24:18 +0000
-Subject: [PATCH] Revert "abuild: minor cleanup"
-
-This commit seems to kill the entire repository
-
-This reverts commit 46aed95754ebeb17a3a367b3b41d0b6424fd18d9.
----
- buildrepo.in | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/buildrepo.in b/buildrepo.in
-index d719c34..c211789 100755
---- a/buildrepo.in
-+++ b/buildrepo.in
-@@ -22,9 +22,9 @@ usage() {
-
-
- listpackages() {
-+ cd "$aportsdir/$1"
- for i in */APKBUILD; do
-- cd "$aportsdir"/$1/${i%/*}
-- abuild listpkg
-+ APKBUILD=$i abuild listpkg
- done
- }
-
---
-1.6.5
-
diff --git a/main/abuild/0002-add-fetch-from-source-mirror.patch b/main/abuild/0002-add-fetch-from-source-mirror.patch
deleted file mode 100644
index 5cd9648526..0000000000
--- a/main/abuild/0002-add-fetch-from-source-mirror.patch
+++ /dev/null
@@ -1,107 +0,0 @@
-diff -rupN orig/abuild-2.1/abuild.in src/abuild-2.1/abuild.in
---- orig/abuild-2.1/abuild.in 2009-12-30 04:05:49.000000000 -0500
-+++ src/abuild-2.1/abuild.in 2010-04-29 09:21:43.000000000 -0400
-@@ -149,12 +149,11 @@ md5check() {
-
- uri_fetch() {
- local uri="$1"
-- local d="${s##*/}" # $(basename $s)
-+ local d="${uri##*/}" # $(basename $uri)
- local opts
- [ -n "$quiet" ] && opts="-q"
- [ -f "$SRCDEST/$d" ] && return 0
-
--
- # we need GNU wget for this
- case "$uri" in
- https://*) opts="--no-check-certificate";;
-@@ -178,12 +177,26 @@ is_remote() {
- return 1
- }
-
-+# try download from file from mirror first
-+uri_fetch_mirror() {
-+ local uri="$1"
-+ local d="${uri##*/}" # $(basename $uri)
-+ if [ -n "$DISTFILES_MIRROR" ]; then
-+ if [ -f "$DISTFILES_MIRROR"/$d ] ; then
-+ cp "$DISTFILES_MIRROR"/$d .
-+ else
-+ uri_fetch "$DISTFILES_MIRROR"/$d && return 0
-+ fi
-+ fi
-+ uri_fetch "$uri"
-+}
-+
- default_fetch() {
- local s
- mkdir -p "$srcdir"
- for s in $source; do
- if is_remote "$s"; then
-- uri_fetch "$s" || return 1
-+ uri_fetch_mirror "$s" || return 1
- ln -sf "$SRCDEST/${s##*/}" "$srcdir"/
- else
- ln -sf "$startdir/$s" "$srcdir/"
-@@ -308,6 +317,12 @@ build() {
- :
- }
-
-+# generate a simple tar.gz package of pkgdir
-+targz() {
-+ cd "$pkgdir" || return 1
-+ tar -czf "$PKGDEST"/$pkgname-$pkgver-r$pkgrel.tar.gz *
-+}
-+
- get_split_func() {
- # get the 'func' from "sub-pkg:func"
- local func=${1##*:}
-@@ -712,8 +727,8 @@ up2date() {
- depparse_aports() {
- # lets run this in a subshell since we source all APKBUILD here
- (
-- aportsdir=$(realpath ${APKBUILD%/APKBUILD}/../..)
-- for i in $aportsdir/*/*/APKBUILD; do
-+ aportsdir=$(realpath ${APKBUILD%/APKBUILD}/..)
-+ for i in $aportsdir/*/APKBUILD; do
- pkgname=
- subpackages=
- depends=
-@@ -811,7 +826,13 @@ builddeps() {
-
- uninstall_after=".makedepends-$pkgname $uninstall_after"
- if [ -n "$install_deps" ] && [ -z "$recursive" ]; then
-+ # make a --simluate run first to detect missing deps
-+ # apk-tools --virtual is no goot at reporting those.
-+ $SUDO apk add --repository "$apkcache" \
-+ --wait 30 \
-+ --simulate --quiet $deps || return 1
- $SUDO apk add --repository "$apkcache" \
-+ --wait 30 \
- --virtual .makedepends-$pkgname $deps \
- && return 0
- fi
-@@ -834,6 +855,7 @@ builddeps() {
- cd "$dir" && $0 -k -r apkcache || return 1
- done
- $SUDO apk add -u --repository "$apkcache" \
-+ --wait 30 \
- --virtual .makedepends-$pkgname $deps
- }
-
-@@ -945,12 +967,13 @@ post_add() {
- post_add $i || return 1
- fi
- done
-- $SUDO apk add -u "$pkgf" || die "Failed to install $1"
-+ $SUDO apk add --wait 30 -u "$pkgf" || die "Failed to install $1"
- }
-
- installdeps() {
- local deps i
-- sudo apk add --repository "$apkcache" --virtual .makedepends-$pkgname \
-+ sudo apk add --wait 30 --repository "$apkcache" \
-+ --virtual .makedepends-$pkgname \
- $makedepends
- }
-
diff --git a/main/abuild/0003-add-color-control-command-line-option.patch b/main/abuild/0003-add-color-control-command-line-option.patch
deleted file mode 100644
index 434f634b9d..0000000000
--- a/main/abuild/0003-add-color-control-command-line-option.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -rupN orig/abuild-2.1/abuild.in src/abuild-2.1/abuild.in
---- orig/abuild-2.1/abuild.in 2010-04-29 12:34:59.000000000 -0400
-+++ src/abuild-2.1/abuild.in 2010-04-29 12:35:56.000000000 -0400
-@@ -25,15 +25,27 @@ FAKEROOT=${FAKEROOT:-"fakeroot"}
- ABUILD_CONF=${ABUILD_CONF:-"$sysconfdir/abuild.conf"}
- [ -f "$ABUILD_CONF" ] && . "$ABUILD_CONF"
-
--
--#colors
--if [ -n "$USE_COLORS" ]; then
-+default_colors() {
- NORMAL="\033[1;0m"
- STRONG="\033[1;1m"
- RED="\033[1;31m"
- GREEN="\033[1;32m"
- YELLOW="\033[1;33m"
- BLUE="\033[1;34m"
-+}
-+
-+monochrome() {
-+ NORMAL=""
-+ STRONG=""
-+ RED=""
-+ GREEN=""
-+ YELLOW=""
-+ BLUE=""
-+}
-+
-+#colors
-+if [ -n "$USE_COLORS" ]; then
-+ default_colors
- fi
-
-
-@@ -1036,12 +1048,14 @@ unset force
- unset recursive
--while getopts "dfFhi:kinp:P:qrRs:u" opt; do
-+while getopts "cdfFhi:kimnp:P:qrRs:u" opt; do
- case $opt in
-+ 'c') default_colors;;
- 'd') nodeps=1;;
- 'f') force=1;;
- 'F') forceroot=1;;
- 'h') usage;;
- 'i') install_after="$install_after $OPTARG";;
- 'k') keep=1;;
-+ 'm') monochrome;;
- 'n') die "Use newapkbuild to create new aports";;
- 'p') PKGDEST=$OPTARG;;
- 'P') REPODEST=$OPTARG;;