Opened 15 years ago
Closed 15 years ago
#22933 closed enhancement (fixed)
Squid: include ncsa_auth helper
Reported by: | corv89@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | squid |
Description (last modified by jmroot (Joshua Root))
Squid 2.7 authentication helper ncsa_auth fails to build in "helpers/basic_auth/NCSA/ncsa_auth"
###log###
make ncsa_auth cc ncsa_auth.c -o ncsa_auth ncsa_auth.c:20:20: error: config.h: No such file or directory ncsa_auth.c:44:18: error: hash.h: No such file or directory ncsa_auth.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ncsa_auth.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'my_free' ncsa_auth.c: In function 'read_passwd_file': ncsa_auth.c:74: error: 'hash' undeclared (first use in this function) ncsa_auth.c:74: error: (Each undeclared identifier is reported only once ncsa_auth.c:74: error: for each function it appears in.) ncsa_auth.c:79: error: 'HASHCMP' undeclared (first use in this function) ncsa_auth.c:79: error: expected expression before ')' token ncsa_auth.c:82: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:86: warning: format '%s' expects type 'char *', but argument 4 has type 'int' ncsa_auth.c:87: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:93: warning: assignment makes pointer from integer without a cast ncsa_auth.c:94: warning: assignment makes pointer from integer without a cast ncsa_auth.c:95: warning: incompatible implicit declaration of built-in function 'strlen' ncsa_auth.c:96: warning: assignment makes pointer from integer without a cast ncsa_auth.c:97: warning: assignment makes pointer from integer without a cast ncsa_auth.c:98: warning: assignment makes pointer from integer without a cast ncsa_auth.c:99: error: 'hash_link' undeclared (first use in this function) ncsa_auth.c:99: error: expected expression before ')' token ncsa_auth.c: In function 'main': ncsa_auth.c:108: error: storage size of 'sb' isn't known ncsa_auth.c:116: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:120: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:123: warning: incompatible implicit declaration of built-in function 'strchr' ncsa_auth.c:131: warning: assignment makes pointer from integer without a cast ncsa_auth.c:135: warning: assignment makes pointer from integer without a cast ncsa_auth.c:141: error: 'hash' undeclared (first use in this function) ncsa_auth.c:141: warning: cast to pointer from integer of different size ncsa_auth.c:160: warning: incompatible implicit declaration of built-in function 'exit' make: *** [ncsa_auth] Error 1
Change History (5)
comment:1 Changed 15 years ago by corv89@…
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | squid ncsa_auth removed |
Owner: | changed from macports-tickets@… to jmr@… |
Port: | @2.7.STABLE7_0 removed |
Status: | new → assigned |
You're building it manually? How is that an issue with MacPorts?
comment:3 Changed 15 years ago by corv89@…
I was assuming the port should build the helpers automagically, after all authentication is important. Since I couldn't find them anywhere I tried building them myself from the source. Could you include it in the build?
comment:4 Changed 15 years ago by jmroot (Joshua Root)
Summary: | Squid helper ncsa_auth fails to build → Squid: include ncsa_auth helper |
---|---|
Type: | defect → enhancement |
Version: | 1.8.1 |
comment:5 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Excuse the formatting above.
Second try: