- add two patches from squid-cache.org - synchronize as much as possible with www/squid - add SQUID_{U,G}ID and SQUID_LANGUAGE tunables - utilize OPTIONS, PLIST_FILES, PLIST_DIRS, and USE_SIZE - add a patch to make the LDAP helper at least compile - add NO_LATEST_LINK and mark the port DEPRECATED - bump PORTREVISION Fix: Here's the patch:
Ack: I did not notice that I had a copy of patch_auth_modules_LDAP_Makefile.in lying around in the main directory when I created the patch. Sorry!
Responsible Changed From-To: freebsd-ports-bugs->sergei Take.
It fails to compile for me: cc -O -pipe -march=pentium3 -c squid_ldap_auth.c squid_ldap_auth.c:50:18: lber.h: No such file or directory squid_ldap_auth.c:51:24: ldap_cdefs.h: No such file or directory squid_ldap_auth.c:52:18: ldap.h: No such file or directory squid_ldap_auth.c:60: error: `LDAP_SCOPE_SUBTREE' undeclared here (not in a function) squid_ldap_auth.c:63: error: `LDAP_DEREF_NEVER' undeclared here (not in a function) squid_ldap_auth.c:65: error: syntax error before '*' token squid_ldap_auth.c:86: error: syntax error before '*' token squid_ldap_auth.c: In function `squid_ldap_errno': squid_ldap_auth.c:88: error: `ld' undeclared (first use in this function) squid_ldap_auth.c:88: error: (Each undeclared identifier is reported only once squid_ldap_auth.c:88: error: for each function it appears in.) Could you please investigate? Sergei
State Changed From-To: open->feedback Awaiting response from the submitter.
* Sergei Kolobov (sergei@FreeBSD.org): > It fails to compile for me: > > cc -O -pipe -march=pentium3 -c squid_ldap_auth.c > squid_ldap_auth.c:50:18: lber.h: No such file or directory > squid_ldap_auth.c:51:24: ldap_cdefs.h: No such file or directory > squid_ldap_auth.c:52:18: ldap.h: No such file or directory > squid_ldap_auth.c:60: error: `LDAP_SCOPE_SUBTREE' undeclared here (not in a function) > squid_ldap_auth.c:63: error: `LDAP_DEREF_NEVER' undeclared here (not in a function) > squid_ldap_auth.c:65: error: syntax error before '*' token > squid_ldap_auth.c:86: error: syntax error before '*' token > squid_ldap_auth.c: In function `squid_ldap_errno': > squid_ldap_auth.c:88: error: `ld' undeclared (first use in this function) > squid_ldap_auth.c:88: error: (Each undeclared identifier is reported only once > squid_ldap_auth.c:88: error: for each function it appears in.) > > Could you please investigate? Hmm. Looks like you're missing files/patch-auth_modules_LDAP_Makefile.in. I attached it. (It's included in the PR (even twice accidentally, see my followup). For consistency, you might name it with "::" instead of "_" when adding it.) Best regards, -- Thomas-Martin Seck
* Thomas-Martin Seck (tmseck@netcologne.de): > Hmm. Looks like you're missing > files/patch-auth_modules_LDAP_Makefile.in. I attached it. > > (It's included in the PR (even twice accidentally, see my followup). For > consistency, you might name it with "::" instead of "_" when adding it.) I just checked: when you invoke patch from /usr/ports/www, the file is created first in this directory and the contents of the second file with the same name are then appended to this file. When you use patch -p1 in squid24, two files are created as intended. Bizarre. That'll teach me not to assume that patch is the reverse of diff...
State Changed From-To: feedback->closed Committed, thanks!