Bug 102641 - lookupd_ldap not compiling on FreeBSD 6.1
Summary: lookupd_ldap not compiling on FreeBSD 6.1
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: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 13:30 UTC by FRLinux
Modified: 2006-10-08 19:40 UTC (History)
0 users

See Also:


Attachments
lookupd_ldap.patch (1.71 KB, patch)
2006-10-07 18:35 UTC, Stefan Walter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description FRLinux 2006-08-29 13:30:25 UTC
When compiling lookupd_ldap, it fails to compile with the following : 

nuada# make
===>  WARNING: Vulnerability database out of date, checking anyway
===>  Extracting for lookupd_ldap-0.1.a
=> MD5 Checksum OK for lookupd_ldap-0.1.a.tar.gz.
=> SHA256 Checksum OK for lookupd_ldap-0.1.a.tar.gz.
===>  Patching for lookupd_ldap-0.1.a
===>   lookupd_ldap-0.1.a depends on file: /usr/local/sbin/lookupd - found
===>   lookupd_ldap-0.1.a depends on shared library: ldap-2.3.2 - found
===>  Configuring for lookupd_ldap-0.1.a
===>  Building for lookupd_ldap-0.1.a
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOMAN is deprecated in favor of NO_MAN
Warning: Object directory not changed from original /usr/ports/sysutils/lookupd_ldap/work/lookupd_ldap-0.1.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe   -pthread -I/usr/local/include/lookupd -I/usr/local/include -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c bsdnss.c -o bsdnss.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe   -pthread -I/usr/local/include/lookupd -I/usr/local/include -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c ldap-grp.c -o ldap-grp.So
ldap-grp.c: In function `_nss_ldap_parse_gr':
ldap-grp.c:124: warning: implicit declaration of function `ldap_get_values'
ldap-grp.c:124: warning: assignment makes pointer from integer without a cast
ldap-grp.c:128: warning: implicit declaration of function `ldap_count_values'
ldap-grp.c:132: warning: implicit declaration of function `ldap_value_free'
*** Error code 1

Stop in /usr/ports/sysutils/lookupd_ldap/work/lookupd_ldap-0.1.a.
*** Error code 1

Stop in /usr/ports/sysutils/lookupd_ldap.

We are using openldap 2.3.x (24 right now) and we need this port for samba3 Windows Authentication.

How-To-Repeat: Update to latest ports, just type : make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-29 13:32:42 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Stefan Walter freebsd_committer freebsd_triage 2006-10-07 18:04:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Take.
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2006-10-07 18:35:50 UTC
Hi,

here's a patch that fixes the port (at least temporarily, regarding the
deprecated LDAP functions). The changes are as follows:

- Unbreak by defining LDAP_DEPRECATED for compilation.
- Respect PREFIX/LOCALBASE.
- s/INSTALLS_SHLIB/USE_LDCONFIG/.
- Move pkg-plist entries to PLIST_FILES.

If there aren't any objections, I'll commit it before the ports freeze
(which starts on Tuesday).

Regards,
Stefan
Comment 4 dfilter service freebsd_committer freebsd_triage 2006-10-08 19:36:18 UTC
stefan      2006-10-08 18:36:10 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/lookupd_ldap Makefile 
  Added files:
    sysutils/lookupd_ldap/files patch-Makefile 
  Removed files:
    sysutils/lookupd_ldap pkg-plist 
  Log:
  - Unbreak by defining LDAP_DEPRECATED for compilation.
  - Respect PREFIX/LOCALBASE.
  - s/INSTALLS_SHLIB/USE_LDCONFIG/.
  - Move pkg-plist entries to PLIST_FILES.
  
  PR:             102641
  Submitted by:   FRLinux <frlinux@gmail.com>
  Patch by:       stefan
  Approved by:    maintainer timeout (>5 weeks)
  
  Revision  Changes    Path
  1.4       +4 -5      ports/sysutils/lookupd_ldap/Makefile
  1.1       +14 -0     ports/sysutils/lookupd_ldap/files/patch-Makefile (new)
  1.2       +0 -2      ports/sysutils/lookupd_ldap/pkg-plist (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Stefan Walter freebsd_committer freebsd_triage 2006-10-08 19:36:56 UTC
State Changed
From-To: feedback->closed

Patch committed.