summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
AgeCommit message (Collapse)Author
2020-09-16add autoconf test and fallback code for systems without gperfrofl0r
2020-09-15use poll() where availablerofl0r
2020-09-06configure.ac: fail if version script returns empty stringrofl0r
2020-09-06configure.ac: check for all "desired" CFLAGS at oncerofl0r
in case they're all accepted, which would be the case with any halfways recent GCC, we save a lot of time over testing each flag sequentially.
2020-09-06configure.ac: remove unused checks for malloc/reallocrofl0r
2020-09-06configure.ac: remove check for strdup()rofl0r
it was being used unconditionally anyway.
2020-09-06transparent: remove usage of inet_ntoa(), make IPv6 readyrofl0r
inet_ntoa() uses a static buffer and is therefore not threadsafe. additionally it has been deprecated by POSIX. by using inet_ntop() instead the code has been made ipv6 aware. note that this codepath was only entered in the unlikely event that no hosts header was being passed to the proxy, i.e. pre-HTTP/1.1.
2020-08-19generate manpages with pod2man instead of a2x/asciidoc(tor)rofl0r
it turned out that the upstream section in tinyproxy.conf.5 wasn't rendered properly, because in asciidoc items following a list item are always explicitly appended to the last list item. after several hours of finding a workaround, it was decided to change the manpage generator to pod2man instead. as pod2man ships together with any perl base install, it should be available on almost every UNIX system, unlike asciidoc which requires installation of a huge set of dependencies (more than 1.3 GB on Ubuntu 16.04), and the replacement asciidoctor requires a ruby installation plus a "gem" (which is by far better than asciidoc, but still more effort than using the already available pod2man). tinyproxy's hard requirement of a2x (asciidoctor) for building from source caused rivers of tears (and dozens of support emails/issues) in the past, but finally we get rid of it. a tool such as a2x with its XML based bloat- technology isn't really suited to go along with a supposedly lightweight C program. if it ever turns out that even pod2man is too heavy a dependency, we could still write our own replacement in less than 50 lines of awk, as the pod syntax is very low level and easy to parse.
2020-08-12add configure option to disable manpage generationrofl0r
using --disable-manpage-support it's finally possibly to disable the formerly obligatory use of a2x to generate the manpage documentation. this is the final solution to the decade old problem that users need to install the enormous asciidoc package to compile TINYproxy from source, or otherwise get a build error, even though the vast majority is only interested in the program itself. solution was inspired by PR #179. closes #179 closes #111 note that since 1.10.0 release the generated release tarball includes the generated manpages too; in which case neither the use of a2x nor --disable-manpage-support is required.
2020-08-11configure.ac: remove obsolete check for xsltprocrofl0r
xsltproc was once[1] used to generate AUTHORS from xml input, but fortunately this is no longer the case. [1]: in a time when everybody thought XML would be a Good Idea (TM)
2020-08-11configure.ac: fix typo checking for asciidoctor in releaserofl0r
2020-08-11add support for asciidoctor to generate manpagesrofl0r
asciidoctor is a modern replacement for asciidoc and much more lightweight, issuing "apt-get install asciidoc" on ubuntu 16.04 results in an attempt to install more than 1.3 GB of dependencies.
2018-09-05build: Remove now unused TINYPROXY_UNSTABLE variable from configureMichael Adam
Signed-off-by: Michael Adam <obnox@samba.org>
2018-09-05build: add new version mechanism based on VERSION file and a version.sh scriptMichael Adam
If this is a git checkout, and git is available, then git describe is used. Otherwise, the new checked in VERSION file is taken for the version. This mechanism uses a version.sh script inspired by http://git.musl-libc.org/cgit/musl/tree/tools/version.sh Signed-off-by: Michael Adam <obnox@samba.org>
2018-09-01Release 1.10.0Michael Adam
Signed-off-by: Michael Adam <obnox@samba.org>
2018-09-01configure: remove unused variablesMichael Adam
Signed-off-by: Michael Adam <obnox@samba.org>
2018-02-27enable transparent proxy by defaultrofl0r
by having all features turned on by default, the binary is only slightly bigger, but users of binary distros get the whole package and don't need to compile tinyproxy by hand if they need a feature that wasn't compiled in. it also prevents the confusion from getting syntax errors when a config file using those features is parsed. another advantage is that by enabling them these features may actually get some more testing.
2018-02-25configure.ac: remove -pedanticrofl0r
2018-02-06activate reverse proxy support by defaultrofl0r
closes #17
2017-11-29configure.ac: remove -Wc++-compatrofl0r
2017-03-29Merge pull request #66 from rofl0r/configure_trimMichael Adam
Configure trim
2017-01-04Merge pull request #59 from gmp216/pullMichael Adam
Fix OS X build
2017-01-04configure.ac: add conditional for -z,defsGreg
2017-01-04Added conditional for xmllint by testing "a2x" without the -L flag.Greg
2016-12-21configure: remove checks for standard typesrofl0r
2016-12-21configure: remove checks for standard POSIX funcsrofl0r
addresses #65
2016-12-21configure: do not check for standard POSIX headersrofl0r
addresses #65
2016-12-21configure: do not check for standard C headersrofl0r
addresses #65
2016-12-20ship manpages as part of the dist tarballrofl0r
`make dist` now creates the manpages and puts them into the tarball, so the user does not need to have `a2x` installed to build them. closes #2
2016-09-11build: remove foreign from AM_INIT_AUTOMAKE - generate INSTALL againMichael Adam
Closes #21 Signed-off-by: Michael Adam <obnox@samba.org>
2016-01-19configure.ac: remove check for broken regex which breaks crosscompilationJohn Spencer
in the unlikely case that the user's C library has broken regex support, she should probably update to a bugfree version. in its full consequence, checking if individual functions works basically require to test every single function in use, which is nonsensical. since this check required to compile and run a code sample on the host, it cannot be checked in cross-compile scenarios and as it defaulted to yes (broken), causes build failure in any such scenario. closes #1 Signed-off-by: John Spencer <maillist-tinyproxy@barfooze.de> Reviewed-by: Michael Adam <obnox@samba.org>
2016-01-03update URLrofl0r
2014-12-13BB#110 secure the hashmaps by adding a seedMichael Adam
Based on a patch provided by gpernot@praksys.org on bugzilla. Signed-off-by: Michael Adam <obnox@samba.org>
2013-11-16build: check for memmoveMichael Adam
Signed-off-by: Michael Adam <obnox@samba.org>
2013-11-01[BB#115] Drop supplementary groupsGaudenz Steinlin
Supplementary groups are inherited from the calling process. Drop all supplementary groups if the "Group" configuration directive is set to change to a different user. Otherwise the process may have more rights than expected. Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-09[BB#112] build: fix build with autoconf >= 2.69Michael Adam
Use AC_CONFIG_HEADERS instead of obsolete AM_CONFIG_HEADER. Signed-off-by: Michael Adam <obnox@samba.org>
2012-01-23build: Prepend to LDFLAGS instead of replacing its contentsMukund Sivaraman
2011-09-11Make .xz compressed dist targets tooMukund Sivaraman
2011-02-28Update URLs of TinyproxyMukund Sivaraman
2010-03-28Just fix the support URLsMukund Sivaraman
2010-03-28Revert "Update Tinyproxy website URLs"Mukund Sivaraman
This reverts commit b108162dfb408b4818a6ea8b2a148ddaf1506bbe.
2010-03-27Update Tinyproxy website URLsMukund Sivaraman
2010-01-25Remove obsolete ChangeLog fileMukund Sivaraman
2010-01-25Don't check for overlength stringsMukund Sivaraman
2010-01-18Update the AUTHORS fileMukund Sivaraman
This uses an XML based system now to store author names. We also keep a pre-generated AUTHORS file checked in.
2010-01-17Bump master version to 1.9.0Mukund Sivaraman
2010-01-17Bump version to 1.8.0Mukund Sivaraman
2010-01-16Bump version number in override tooMukund Sivaraman
2010-01-16Fix case of Bugzilla product nameMukund Sivaraman
2010-01-11Make bzip2 compressed dist tarballsMukund Sivaraman
We publish bzip2 compressed tarballs starting with the 1.8.x releases.