Skip to content

Commit

Permalink
apt-cacher-ng 0.7.19
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#24151.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
asharpe authored and adamv committed Nov 10, 2013
1 parent fa308f9 commit 065645f
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions Formula/apt-cacher-ng.rb
Expand Up @@ -2,12 +2,18 @@

class AptCacherNg < Formula
homepage 'http://www.unix-ag.uni-kl.de/~bloch/acng/'
url 'http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_0.7.18.orig.tar.xz'
sha1 'cfac54eddad558819144dc90a54d00632eb6296a'
url 'http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_0.7.19.orig.tar.xz'
sha256 '73df667ad5a742f603df7a0d9c3bb9600b6d7b9bc448553fd73fa41aa5563b27'

depends_on 'xz' => :build
depends_on 'cmake' => :build
depends_on 'fuse4x' => :build
depends_on 'boost' => :build

def patches
# waiting on http://alioth.debian.org/tracker/index.php?func=detail&aid=314521&group_id=100566&atid=413111
DATA
end

def install
system 'make apt-cacher-ng'
Expand All @@ -22,6 +28,7 @@ def install

# create the cache directory
(var/'spool/apt-cacher-ng').mkpath
(var/'log').mkpath

sbin.install 'build/apt-cacher-ng'
man8.install 'doc/man/apt-cacher-ng.8'
Expand Down Expand Up @@ -53,4 +60,18 @@ def plist; <<-EOS.undent
</plist>
EOS
end

end

__END__
--- a/source/bgtask.cc.orig 2013-11-10 16:57:42.000000000 +1000
+++ b/source/bgtask.cc 2013-11-10 16:48:23.000000000 +1000
@@ -44,7 +44,7 @@
}

// the obligatory definition of static members :-(
-weak_ptr<tWuiBgTask::tProgressTracker> tWuiBgTask::g_pTracker;
+SMARTPTR_SPACE::weak_ptr<tWuiBgTask::tProgressTracker> tWuiBgTask::g_pTracker;

void _AddFooter(tSS &msg)
{

0 comments on commit 065645f

Please sign in to comment.