Discussion:
[privoxy-devel] [privoxy-commits] current/templates show-client-tags, NONE, 1.1
Lee
2016-03-27 16:26:52 UTC
Permalink
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
Update of /cvsroot/ijbswa/current/templates
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6400/templates
show-client-tags
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 ..>
Fabian Keil
2016-03-27 17:05:11 UTC
Permalink
Post by Lee
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
[...]
Post by Lee
client-tags.c:522: error: structure has no member named `client_tags'
make: *** [client-tags.o] Error 1
Thanks for the report.

I just committed a workaround and will look into why the
autoconf goo is not skipping the file in the next days.

I also unbroke the compilation of loadcfg.c w/o client tags
which I broke in 1.149, but it looks like you weren't using
that revision yet.

Fabian
Fabian Keil
2016-03-31 09:59:50 UTC
Permalink
Post by Fabian Keil
Post by Lee
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
[...]
Post by Lee
client-tags.c:522: error: structure has no member named `client_tags'
make: *** [client-tags.o] Error 1
Thanks for the report.
I just committed a workaround and will look into why the
autoconf goo is not skipping the file in the next days.
It should be properly fixed in configure.in,v 1.193.

Fabian
Lee
2016-04-01 15:35:48 UTC
Permalink
Post by Fabian Keil
Post by Fabian Keil
Post by Lee
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
[...]
Post by Lee
client-tags.c:522: error: structure has no member named `client_tags'
make: *** [client-tags.o] Error 1
Thanks for the report.
I just committed a workaround and will look into why the
autoconf goo is not skipping the file in the next days.
It should be properly fixed in configure.in,v 1.193.
Yes, it compiles with or without --enable-client-tags now.

Was SF being attacked again yesterday? Most everything there was
unreachable - including cvs :(

Thanks,
Lee
Fabian Keil
2016-04-02 10:38:51 UTC
Permalink
Post by Lee
Post by Fabian Keil
Post by Fabian Keil
Post by Lee
My apologies for not keeping up - privoxy doesn't compile for me
unless I configure it with
--enable-client-tags
[...]
Post by Lee
Post by Fabian Keil
Post by Fabian Keil
I just committed a workaround and will look into why the
autoconf goo is not skipping the file in the next days.
It should be properly fixed in configure.in,v 1.193.
Yes, it compiles with or without --enable-client-tags now.
Thanks for the confirmation.
Post by Lee
Was SF being attacked again yesterday? Most everything there was
unreachable - including cvs :(
I noticed that too, but don't know if an attack is to blame.

According to "SF.net Operations", SourceForge was "experiencing issues"
before it was "back to full capacity":
https://twitter.com/sfnet_ops/status/715638586696007680
https://twitter.com/sfnet_ops/status/715683865478574081

As far as I can tell, SF doesn't bother to document such
"minor" outages on their own status site:
https://sourceforge.net/blog/category/sitestatus/

Fabian

Continue reading on narkive:
Loading...