From 8bd0f3921f42ba40413bf82da9bf0bee457a2a9b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 16 Apr 2007 21:51:18 -0400 Subject: Forward port 3.0.2 branch fixes Fix #6905- makepkg dependency checking error Fix #6915- add SUU mirror to mirrorlist.in Signed-off-by: Dan McGee --- etc/pacman.d/mirrorlist.in | 1 + scripts/makepkg.in | 3 +-- src/pacman/deptest.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/pacman.d/mirrorlist.in b/etc/pacman.d/mirrorlist.in index c5c9aee4..f1c53a8e 100644 --- a/etc/pacman.d/mirrorlist.in +++ b/etc/pacman.d/mirrorlist.in @@ -5,6 +5,7 @@ # United States Server = ftp://ftp.archlinux.org/@@REPO@@/os/@CARCH@ Server = ftp://ftp.nethat.com/pub/linux/archlinux/@@REPO@@/os/@CARCH@ +Server = ftp://locke.suu.edu/linux/dist/archlinux/@@REPO@@/os/@CARCH@ Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/@@REPO@@/os/@CARCH@ Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/@@REPO@@/os/@CARCH@ Server = http://mirrors.easynews.com/linux/archlinux/@@REPO@@/os/@CARCH@ diff --git a/scripts/makepkg.in b/scripts/makepkg.in index ba62a2db..7bfdf000 100755 --- a/scripts/makepkg.in +++ b/scripts/makepkg.in @@ -228,8 +228,7 @@ checkdeps() { pmout=$(pacman $PACMAN_OPTS -T $*) ret=$? if [ $ret -eq 1 ]; then #unresolved deps - #strip out the pacman prefix from "requires: xyz" - echo $pmout | sed 's|requires:||g' + echo "$pmout" elif [ $ret -ne 0 ]; then error "$(eval_gettext "pacman returned a fatal error (\$ret): \$pmout")" exit 1 diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c index dc968f25..1ae7ceb5 100644 --- a/src/pacman/deptest.c +++ b/src/pacman/deptest.c @@ -81,7 +81,7 @@ int pacman_deptest(alpm_list_t *targets) } if(!found) { - MSG(NL, _("requires: %s"), saved_target); + MSG(NL, "%s", saved_target); retval = 1; } free(saved_target); -- cgit v1.2.3-70-g09d2