Bug 62443 - [Maintainer update] www/squid24: sync with www/squid
Summary: [Maintainer update] www/squid24: sync with www/squid
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergei Kolobov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 17:40 UTC by Thomas-Martin Seck
Modified: 2004-02-18 12:25 UTC (History)
0 users

See Also:


Attachments
file.diff (24.84 KB, patch)
2004-02-06 17:40 UTC, Thomas-Martin Seck
no flags Details | Diff
patch-auth_modules_LDAP_Makefile.in (311 bytes, text/plain; charset=us-ascii)
2004-02-17 18:38 UTC, Thomas-Martin Seck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas-Martin Seck 2004-02-06 17:40:02 UTC
- 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:
Comment 1 Thomas-Martin Seck 2004-02-06 18:00:07 UTC
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!
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2004-02-16 22:32:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

Take.
Comment 3 Sergei Kolobov freebsd_committer freebsd_triage 2004-02-17 16:13:33 UTC
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
Comment 4 Sergei Kolobov freebsd_committer freebsd_triage 2004-02-17 16:14:08 UTC
State Changed
From-To: open->feedback

Awaiting response from the submitter.
Comment 5 Thomas-Martin Seck 2004-02-17 18:38:20 UTC
* 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
Comment 6 Thomas-Martin Seck 2004-02-17 19:04:20 UTC
* 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...
Comment 7 Sergei Kolobov freebsd_committer freebsd_triage 2004-02-18 12:25:29 UTC
State Changed
From-To: feedback->closed

Committed, thanks!