From 83e18db533bcb4e88bcf2ca9e8f13e1ea59f22a4 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 15 Feb 2013 15:57:16 -0500 Subject: [PATCH] Use our own git package and not the really old one from FreeBSD's ftp archive for 8.1 --- etc/phpshellsessions/gitsync | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/phpshellsessions/gitsync b/etc/phpshellsessions/gitsync index 97757c7830..af8c2e7535 100644 --- a/etc/phpshellsessions/gitsync +++ b/etc/phpshellsessions/gitsync @@ -13,7 +13,10 @@ require_once("pfsense-utils.inc"); conf_mount_rw(); -$GIT_PKG = "http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/`uname -m`/packages-8.1-release/All/git-1.7.1.1.tbz"; // Either "git" or the full package URL +$arch = php_uname("m"); +$arch = ($arch == "i386") ? "" : '/' . $arch; + +$GIT_PKG = "http://files.pfsense.org/packages{$arch}/8/All/git-1.8.1.3.tbz"; // Either "git" or the full package URL $GIT_REPO = "git://github.com/bsdperimeter/pfsense.git"; $DEFAULT_BRANCH = "RELENG_2_0"; $CODIR = "/root/pfsense/";