head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.48 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.46 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.44 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.42 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.40 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.38 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.36 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.34 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.32 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.30 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.28 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.26 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.24 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.22 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.20 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.18 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.16 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.14 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.12 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.10 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.8 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.12 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.10 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.8 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.4 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.6 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.2 pkgviews-base:1.2 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 netbsd-1-4-RELEASE:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2004.07.29.15.28.21; author xtraeme; state dead; branches; next 1.2; 1.2 date 2002.06.24.18.38.36; author kent; state Exp; branches; next 1.1; 1.1 date 99.01.08.14.15.57; author hwr; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.01.08.14.15.57; author hwr; state Exp; branches; next ; desc @@ 1.3 log @Remove www/web500gw, development was stopped some years ago (2001) and it required openldap1, which was really old and unmaintained. @ text @$NetBSD: patch-ab,v 1.2 2002/06/24 18:38:36 kent Exp $ --- web500gw.h.orig Wed Oct 28 21:27:47 1998 +++ web500gw.h @@@@ -22,6 +22,28 @@@@ #include "lber.h" #include "ldap.h" +#if defined(LDAP_VENDOR_VERSION) && (LDAP_VENDOR_VERSION >= 20000) +# ifdef LDAP_DEBUG +# undef LDAP_DEBUG +# endif +# define NULLTMPLITEM ((struct ldap_tmplitem *)0) +# define LD_MATCHED(R) "(No info)" +# define SET_SIZELIMIT(LD,V) do { \ + int value = V; \ + ldap_set_option(LD, LDAP_OPT_SIZELIMIT, &value); \ +} while (0) +# define SET_DEREF(LD,V) do { \ + int value = V; \ + ldap_set_option(LD, LDAP_OPT_DEREF, &value); \ +} while (0) +#else +# ifndef LDAP_VENDOR_VERSION +# define LDAP_VENDOR_VERSION 10000 +# endif +# define LD_MATCHED(R) (R)->r_ld->ld_matched +# define SET_SIZELIMIT(LD,V) (LD)->ld_sizelimit = V +# define SET_DEREF(LD,V) (LD)->ld_deref = V +#endif #include "disptmpl.h" #include #include @@@@ -69,9 +91,9 @@@@ #include #endif /* USE_SYSCONF */ -/* #if defined (__NetBSD__) +#if defined (__NetBSD__) #include -#endif */ +#endif #include "messages.h" extern char *msg[]; @@@@ -456,7 +478,11 @@@@ char *c_helpfile; /* name of helpfile */ char *c_attrfile; /* name of helpfile for attributes */ char *c_friendlyfile; /* name of friendlyfile */ +#if LDAP_VENDOR_VERSION < 20000 FriendlyMap *c_fm; +#else + LDAPFriendlyMap *c_fm; +#endif char *c_messagefile; /* name of messagefile */ char *c_msg[MSG_count + 1]; char **c_errmsg; @ 1.2 log @Fixed Y2K problem. The modification solves a part of pkg/11574. I gave up support of OpenLDAP v2.... @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD:$ d3 32 a34 3 --- web500gw.h.orig Wed Oct 28 13:27:47 1998 +++ web500gw.h Fri Jan 8 14:26:55 1999 @@@@ -69,9 +69,9 @@@@ d46 12 @ 1.1.1.1 log @A www to ldap gateway. @ text @@