--- aolserver4-nsxml-1.5.orig/Makefile +++ aolserver4-nsxml-1.5/Makefile @@ -25,3 +25,7 @@ endif include $(NSHOME)/Makefile.module + +install: + mv *.so debian/nsxml/usr/lib/aolserver4/bin/ +.PHONY: install --- aolserver4-nsxml-1.5.orig/debian/dirs +++ aolserver4-nsxml-1.5/debian/dirs @@ -0,0 +1 @@ +usr/lib/aolserver4/bin --- aolserver4-nsxml-1.5.orig/debian/docs +++ aolserver4-nsxml-1.5/debian/docs @@ -0,0 +1 @@ +README --- aolserver4-nsxml-1.5.orig/debian/control +++ aolserver4-nsxml-1.5/debian/control @@ -0,0 +1,16 @@ +Source: aolserver4-nsxml +Section: httpd +Priority: optional +Maintainer: Riccardo Setti +Uploaders: Francesco Paolo Lovergine +Build-Depends: debhelper (>= 7), libxml2-dev, aolserver4-dev (>= 4.5.1) +Standards-Version: 3.8.2 + +Package: aolserver4-nsxml +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${aolserver:Depends} +Suggests: aolserver-doc (>= 4.0.1-1) +Description: Module for XML support in aolsever4 + This is an additional module for aolserver4 to support XML + documents. The module wraps around the libxml2 library, starting with + version 2.2.5. --- aolserver4-nsxml-1.5.orig/debian/Makefile +++ aolserver4-nsxml-1.5/debian/Makefile @@ -0,0 +1,31 @@ +# +# $Header: /cvsroot/aolserver/nsxml/Makefile,v 1.3 2002/06/01 17:30:24 scottg Exp $ +# +# nsxml -- +# +# Implements XML parser +# + +ifdef INST + NSHOME ?= $(INST) +else + NSHOME ?= /usr/lib/aolserver4 +endif + +MOD = nsxml.so +OBJS = nsxml.o +HDRS = + +ifdef LIBXSLT + MODLIBS = -L/usr/lib -L/usr/lib -lxml2 -lxslt + CFLAGS += -DDO_XSLT -I$(LIBXML2)/include/libxml2 -I$(LIBXSLT)/include +else + MODLIBS = -L/usr/lib -lxml2 + CFLAGS += -I/usr/include/libxml2 +endif + +include $(NSHOME)/Makefile.module + +install: + mv *.so debian/nsxml/usr/lib/aolserver4/bin/ +.PHONY: install --- aolserver4-nsxml-1.5.orig/debian/rules +++ aolserver4-nsxml-1.5/debian/rules @@ -0,0 +1,101 @@ +#!/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/nsxml.sgml > nsxml.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. + [ ! -f Makefile ] || $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + #dh_clean -k + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/nsxml. + + mv nsxml.so $(CURDIR)/debian/aolserver4-nsxml/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 + # inject AOLServer version and ABI changes through substvars + # fragment provided by aolserver4-dev + cat /usr/share/aolserver4/debian.substvars >> debian/$(MYPACKAGE).substvars + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- aolserver4-nsxml-1.5.orig/debian/changelog +++ aolserver4-nsxml-1.5/debian/changelog @@ -0,0 +1,19 @@ +aolserver4-nsxml (1.5-2) unstable; urgency=low + + [ Stefan Sobernig ] + * Checking lintian sanity (v2.2.13) + * Policy bumped to 3.8.2 + * Debhelper compat >= 7 + * Adding substvars injection for AOLServer ABI/API coupling + * Fixing copyright note + + -- Francesco Paolo Lovergine Thu, 23 Jul 2009 23:21:15 +0200 + +aolserver4-nsxml (1.5-1) unstable; urgency=low + + * Initial Release (giskard) + * Renamed to aolserver4-nsxml (frankie) + * More corrections to be compatible with other modules. + + -- Francesco Paolo Lovergine Sat, 5 Jun 2004 11:34:37 +0200 + --- aolserver4-nsxml-1.5.orig/debian/compat +++ aolserver4-nsxml-1.5/debian/compat @@ -0,0 +1 @@ +7 --- aolserver4-nsxml-1.5.orig/debian/README.Debian +++ aolserver4-nsxml-1.5/debian/README.Debian @@ -0,0 +1,17 @@ +nsxml for AOLserver 4 in Debian +------------------------------- + +In order to use this module you need to add a couple of lines to your nsd configuration files +(eg the default one is /etc/aolserver4/aolserver4.tcl). + +In the section which starts with 'ns_section "ns/server/${servername}/modules"', add: + + ns_param nsxml nsxml.so + +and restart AOLserver with /etc/init.d/aolserver4 restart. +After you have enabled the module, your Tcl scripts have access to the libxml2 library. +A brief tutorial in order to use this module is at + +http://www.fifthgate.org/articles/aolserver/xml/ns_xml_doc.html + +-- Francesco P. Lovergine --- aolserver4-nsxml-1.5.orig/debian/copyright +++ aolserver4-nsxml-1.5/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Riccardo Setti on +Tue, 25 May 2004 23:33:12 +0200. + +It was downloaded from http://sourceforge.net/project/showfiles.php?group_id=3152&package_id=41569 + +Upstream Authors: Curtis Galloway , Yon Derek, +Jeremy Collins + +Copyright: 2000 Curtis Galloway, 2001 Yon Derek + +This software is release under the GNU Public License Version 2. See +/usr/share/common-licenses/GPL-2 for a copy of the GPL.