Re: [privoxy-commits] current/templates show-client-tags, NONE, 1.1

Lee <[email protected]> Sun, 27 Mar 2016 12:26:52 -0400
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <CAD8GWstiEy9Rr8_zwzvSgRODW5Ov8RVV-uZY_Rf7b53S3mGDNQ@mail.gmail.com>
My apologies for not keeping up - privoxy doesn't compile for me
unless I configure it with
   --enable-client-tags

With
  autoheader
  autoconf
  ./configure --enable-mingw32
I get

$ make
gcc -c -pipe -O2 -DWINVER=0x501   -mwindows -mno-cygwin -Wall -Ipcre
loadcfg.c -o loadcfg.o
gcc -c -pipe -O2 -DWINVER=0x501   -mwindows -mno-cygwin -Wall -Ipcre
loaders.c -o loaders.o
gcc -c -pipe -O2 -DWINVER=0x501   -mwindows -mno-cygwin -Wall -Ipcre
miscutil.c -o miscutil.o
gcc -c -pipe -O2 -DWINVER=0x501   -mwindows -mno-cygwin -Wall -Ipcre
parsers.c -o parsers.o
parsers.c: In function `get_content_length':
parsers.c:1815: warning: unsigned int format, different type arg (arg 3)
gcc -c -pipe -O2 -DWINVER=0x501   -mwindows -mno-cygwin -Wall -Ipcre
ssplit.c -o ssplit.o
gcc -c -pipe -O2 -DWINVER=0x501   -mwindows -mno-cygwin -Wall -Ipcre
urlmatch.c -o urlmatch.o
gcc -c -pipe -O2 -DWINVER=0x501   -mwindows -mno-cygwin -Wall -Ipcre
client-tags.c -o client-tags.o
client-tags.c: In function `get_tag_list_for_client':
client-tags.c:225: error: `client_tags_mutex' undeclared (first use in
this function)
client-tags.c:225: error: (Each undeclared identifier is reported only once
client-tags.c:225: error: for each function it appears in.)
client-tags.c: In function `enable_client_specific_tag':
client-tags.c:476: error: `client_tags_mutex' undeclared (first use in
this function)
client-tags.c:478: error: structure has no member named `client_tags'
client-tags.c: In function `disable_client_specific_tag':
client-tags.c:520: error: `client_tags_mutex' undeclared (first use in
this function)
client-tags.c:522: error: structure has no member named `client_tags'
make: *** [client-tags.o] Error 1


This works (with the usual warnings):
  autoheader
  autoconf
  ./configure --enable-mingw32  --enable-client-tags
  make

Lee



On 3/17/16, Fabian Keil <[email protected]> wrote:
> Update of /cvsroot/ijbswa/current/templates
> In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6400/templates
>
> Added Files:
> 	show-client-tags
> Log Message:
> Implement client-specific tags
>
> ... which allow Privoxy admins to pre-define tags that
> are set for all requests from clients that previously
> opted-in through the CGI interface.
>
> They are useful in multi-user setups where admins may
> want to allow users to disable certain actions and filters
> for themselves without affecting others.
>
> In single-user setups they are useful to allow more
> fine-grained toggling. For example to disable request
> blocking while still crunching cookies, or to disable
> experimental filters only.
>
> This is an experimental feature, to enable it configure
> with --enable-client-tags. The syntax and behaviour may
> change in future versions.
>
> Implements TODO list item #144 and #145.
> Funded by a donation from Robert Klemme.
>
  <.. snip ..>

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140