--- aolserver4-nsldap-0.8.orig/Makefile +++ aolserver4-nsldap-0.8/Makefile @@ -13,7 +13,7 @@ # directory, you can tell make where to find aolserver. # #NSHOME = /home/user/cvs/aolserver -NSHOME = ../aolserver +NSHOME = /usr/share/aolserver4 # # Module name @@ -41,5 +41,5 @@ CFLAGS = -I/usr/local/include -DUSE_TCL8X -include $(NSHOME)/include/Makefile.module +include $(NSHOME)/Makefile.module --- aolserver4-nsldap-0.8.orig/nsldap.c +++ aolserver4-nsldap-0.8/nsldap.c @@ -38,6 +38,7 @@ #include #include +#define LDAP_DEPRECATED 1 #include #define CONFIG_USER "user" /* LDAP default bind DN */ --- aolserver4-nsldap-0.8.orig/debian/control +++ aolserver4-nsldap-0.8/debian/control @@ -0,0 +1,14 @@ +Source: aolserver4-nsldap +Section: net +Priority: optional +Maintainer: Riccardo Setti +Uploaders: Francesco Paolo Lovergine +Build-Depends: debhelper (>= 5.0.0), aolserver4-dev (>=4.5.0), libldap2-dev +Standards-Version: 3.7.2 + +Package: aolserver4-nsldap +Architecture: any +Depends: ${shlibs:Depends}, aolserver4 (>=4.5.0) +Description: AOLServer 4 module for LDAP + This module provides support to write LDAP client in AOLServer4 + web server. --- aolserver4-nsldap-0.8.orig/debian/changelog +++ aolserver4-nsldap-0.8/debian/changelog @@ -0,0 +1,22 @@ +aolserver4-nsldap (0.8-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Define LDAP_DEPRECATED to continue use of deprecated LDAP functions. + Closes: #463359 + + -- dann frazier Mon, 10 Mar 2008 09:31:19 -0600 + +aolserver4-nsldap (0.8-2) unstable; urgency=low + + * Updated for aolserver 4.5 + * Policy bumped to 3.7.2 + * Debhelper compatibility moved to 5 + + -- Francesco Paolo Lovergine Sun, 22 Apr 2007 11:21:54 +0200 + +aolserver4-nsldap (0.8-1) unstable; urgency=low + + * Initial Release. + + -- Francesco Paolo Lovergine Wed, 9 Jun 2004 23:24:06 +0200 + --- aolserver4-nsldap-0.8.orig/debian/compat +++ aolserver4-nsldap-0.8/debian/compat @@ -0,0 +1 @@ +5 --- aolserver4-nsldap-0.8.orig/debian/copyright +++ aolserver4-nsldap-0.8/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Riccardo Setti on +Sat, 5 Jun 2004 15:34:55 +0200. + +It was downloaded from http://sourceforge.net/project/showfiles.php?group_id=3152 + +Upstream Author: Oscar Bonilla + +Copyright: + +This module is released under the GNU +Public License (GPL). +In debian system you can find a copy of the GPL +in /usr/share/common-licenses/GPL . --- aolserver4-nsldap-0.8.orig/debian/docs +++ aolserver4-nsldap-0.8/debian/docs @@ -0,0 +1 @@ +README --- aolserver4-nsldap-0.8.orig/debian/README.Debian +++ aolserver4-nsldap-0.8/debian/README.Debian @@ -0,0 +1,6 @@ +aolserver4-nsldap for Debian +---------------------------- + +Please read README file for a complete help. + + -- Riccardo Setti , Sat, 5 Jun 2004 15:34:55 +0200 --- aolserver4-nsldap-0.8.orig/debian/dirs +++ aolserver4-nsldap-0.8/debian/dirs @@ -0,0 +1 @@ +usr/lib/aolserver4/bin --- aolserver4-nsldap-0.8.orig/debian/rules +++ aolserver4-nsldap-0.8/debian/rules @@ -0,0 +1,98 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/aolserver4-nsldap.sgml > aolserver4-nsldap.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/aolserver4-nsldap. + cp *.so $(CURDIR)/debian/aolserver4-nsldap/usr/lib/aolserver4/bin/ + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure