Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1863694226fb19cb958741d4bbc1d235d9ca3586
commit 1863694226fb19cb958741d4bbc1d235d9ca3586 Author: James Buren <[email protected]> Date: Sat Feb 2 03:49:45 2013 -0600 pacman-g2-3.8.9-2-x86_64 * add a new Fuse case for building stable pacman * it includes the stable patch if it is set diff --git a/source/base/pacman-g2/FrugalBuild b/source/base/pacman-g2/FrugalBuild index f8a3c8e..d16e8f8 100644 --- a/source/base/pacman-g2/FrugalBuild +++ b/source/base/pacman-g2/FrugalBuild @@ -5,6 +5,7 @@ USE_DEBUG=${USE_DEBUG:-"n"} USE_DEVEL=${USE_DEVEL:-"n"} USE_MINIMAL=${USE_MINIMAL:-"n"} +USE_STABLE=${USE_STABLE:-"n"} pkgname=pacman-g2 pkgver=3.8.9 @@ -36,6 +37,10 @@ up2date="Flasttar $url/releases/" if ! Fuse $USE_DEVEL; then source=($url/releases/$pkgname-$pkgver.tar.gz 0001-Revert-libftp-set-SO_-TIMEO-on-sockets-to-avoid-bloc.patch 0001-makepkg.conf.in-march-is-x86-64-not-x86_64.patch) signatures=("$source.asc" '' '') + if Fuse $USE_STABLE; then + source=("${source[@]}" stable.patch) + signatures=("${signatures[@]}" '') + fi else _F_scm_type="git" _F_scm_url="git://git.frugalware.org/pub/other/pacman-g2/pacman-g2" diff --git a/source/base/pacman-g2/stable.patch b/source/base/pacman-g2/stable.patch new file mode 100644 index 0000000..7d6cc1d --- /dev/null +++ b/source/base/pacman-g2/stable.patch @@ -0,0 +1,16 @@ +diff -ur a/etc/pacman-g2.conf.in b/etc/pacman-g2.conf.in +--- a/etc/pacman-g2.conf.in 2012-06-14 09:31:03.000000000 -0500 ++++ b/etc/pacman-g2.conf.in 2013-02-01 16:09:26.957177982 -0600 +@@ -19,10 +19,10 @@ + # tree to avoid conflicts + + # -current +-Include = /etc/pacman-g2/repos/frugalware-current ++#Include = /etc/pacman-g2/repos/frugalware-current + + # -stable +-#Include = /etc/pacman-g2/repos/frugalware ++Include = /etc/pacman-g2/repos/frugalware + + # An example of a custom package repository. See the pacman-g2 manpage for + # tips on creating your own repositories. _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
