Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwonarm.git;a=commitdiff;h=73a6aa4b261c4ef54d1233719122bb813435adda

commit 73a6aa4b261c4ef54d1233719122bb813435adda
Author: Elentir <elen...@frugalware.org>
Date:   Tue Mar 8 00:10:22 2011 +0000

pacman-tools-1.2.6-3-arm

* patch repoman to handle different 'uname -m' results
* occuring with different arm platforms

diff --git a/source/devel/pacman-tools/FrugalBuild 
b/source/devel/pacman-tools/FrugalBuild
index 7aa1628..acde7f9 100644
--- a/source/devel/pacman-tools/FrugalBuild
+++ b/source/devel/pacman-tools/FrugalBuild
@@ -6,7 +6,7 @@ USE_DEVEL=${USE_DEVEL:-"n"}
pkgname=pacman-tools
pkgver=1.2.6
Fuse $USE_DEVEL && pkgver=1.1.7.13.g544f9ab
-pkgrel=2
+pkgrel=3
pkgdesc="Tools for developers for managing packages"
url="http://ftp.frugalware.org/pub/other/pacman-tools";
depends=('bash' 'perl>=5.10.0-8' 'pacman-g2>=3.7.0-4' 'wget>=1.11.4-2'
@@ -17,8 +17,9 @@ archs=('i686' 'x86_64' 'ppc' 'arm')
backup=(etc/repoman.conf etc/syncpkg{cd/c,d/d,d/ctl}config.py)
up2date="Flasttar $url"
if ! Fuse $USE_DEVEL; then
-       source=($url/$pkgname-$pkgver.tar.gz)
-       signatures=(${source[0]}.asc)
+       source=($url/$pkgname-$pkgver.tar.gz \
+               pacman-tools-arm-arch.patch)
+       signatures=(${source[0]}.asc "")
else
_F_scm_type="git"
_F_scm_url="git://git.frugalware.org/pub/other/pacman-tools/pacman-tools"
diff --git a/source/devel/pacman-tools/pacman-tools-arm-arch.patch 
b/source/devel/pacman-tools/pacman-tools-arm-arch.patch
new file mode 100644
index 0000000..29d12e2
--- /dev/null
+++ b/source/devel/pacman-tools/pacman-tools-arm-arch.patch
@@ -0,0 +1,27 @@
+diff -Naur pacman-tools-1.2.6/repoman pacman-tools-1.2.6new/repoman
+--- pacman-tools-1.2.6/repoman 2011-02-27 10:28:26.000000000 +0100
++++ pacman-tools-1.2.6new/repoman      2011-03-07 23:09:03.065152768 +0100
+@@ -380,7 +380,7 @@
+                       ## using 127.0.0.1 .. scp -S really sucks and I get a 
lot problems
+                       ## with rsync -e with all this tunneling =)
+                       ## the other solution may be to force host when tunnel 
is used to be user@127.0.0.1
+-                      ## since -p <port> user@local gives out user@genesis ..
++                      ## since -p <port> user@local gives out user@genesis ..
+                       msg "Uploading file: $src (to $tmp) over local tunnel."
+                         $repoman_scp $src 127.0.0.1:$tmp
+                 else
+@@ -936,7 +936,13 @@
+
+ # Initializing variables.
+ version='0.3.1'
+-[ -z "$arch" ] && arch=`uname -m`
++if [ -z "$arch" ]; then
++      if [[ "`uname -m`" == arm* ]]; then
++              arch="arm"
++      else
++              arch="`uname -m`"
++    fi
++fi
+ mktemp_local="mktemp -p $HOME"
+ sudo_env="sudo -E"
+ unset LANG LC_ALL
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to