Ticket #2553: 0001-Add-support-for-an-enable-tor2web-mode-DEB_BUILD_OPT.patch

File 0001-Add-support-for-an-enable-tor2web-mode-DEB_BUILD_OPT.patch, 1.3 KB (added by rransom, 7 years ago)

patch for the Debian package

  • debian/changelog

    From f3ebf3869c2df78d55e2c639c34ae23d7dfd3b72 Mon Sep 17 00:00:00 2001
    From: Robert Ransom <rransom.8774@gmail.com>
    Date: Fri, 25 Nov 2011 15:54:20 -0800
    Subject: [PATCH] Add support for an enable-tor2web-mode DEB_BUILD_OPTIONS
     flag
    
    ---
     debian/changelog |    1 +
     debian/rules     |    4 ++++
     2 files changed, 5 insertions(+), 0 deletions(-)
    
    diff --git a/debian/changelog b/debian/changelog
    index a15d388..855fe4c 100644
    a b tor (0.2.3.8-alpha-X) XXperimental; urgency=low 
    55    the only one in the tor package get rid of installing overrides for the
    66    tor package entirely - there's still one override in tor-geoipdb
    77    (closes Tor #4576).
     8  * Add support for an enable-tor2web-mode DEB_BUILD_OPTIONS flag.
    89
    910 -- Peter Palfrader <weasel@debian.org>  Fri, 25 Nov 2011 19:18:19 +0100
    1011
  • debian/rules

    diff --git a/debian/rules b/debian/rules
    index e9acb1e..cfa1af7 100755
    a b endif 
    6565ifneq (,$(findstring enable-openbsd-malloc,$(DEB_BUILD_OPTIONS)))
    6666        confflags += --enable-openbsd-malloc
    6767endif
     68# allow building with --enable-tor2web-mode
     69ifneq (,$(findstring enable-tor2web-mode,$(DEB_BUILD_OPTIONS)))
     70        confflags += --enable-tor2web-mode
     71endif
    6872
    6973export LDFLAGS
    7074export CFLAGS