--- aolserver4-nssha1-0.1.orig/debian/control +++ aolserver4-nssha1-0.1/debian/control @@ -0,0 +1,14 @@ +Source: aolserver4-nssha1 +Section: httpd +Priority: optional +Maintainer: Francesco Paolo Lovergine +Build-Depends: debhelper (>= 7), aolserver4-dev (>= 4.5.1) +Standards-Version: 3.8.3 +Homepage: http://www.aolserver.com/ + +Package: aolserver4-nssha1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${aolserver:Depends} +Description: AOLserver4 module: performs SHA1 hashes Provides a Tcl + infrastructure for generating SHA1 hashes. This mini-library is based + on the NIST Secure Hash Algorithm implementation by Peter C. Gutmann --- aolserver4-nssha1-0.1.orig/debian/compat +++ aolserver4-nssha1-0.1/debian/compat @@ -0,0 +1 @@ +7 \ No newline at end of file --- aolserver4-nssha1-0.1.orig/debian/rules +++ aolserver4-nssha1-0.1/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# 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 + +MYPACKAGE = $(shell grep Package: debian/control|cut -d' ' -f2) + +VER=1.4 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) -f debian/Makefile.debian nssha1.so + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f debian/Makefile ] || $(MAKE) -f debian/Makefile.debian clean + + -[ -f nssha1.c.bak ] && mv nssha1.c.bak nssha1.c + + dh_clean + +install: build + dh_testdir + dh_testroot + #dh_clean -k -X.bak + dh_prep + dh_installdirs + +# Add here commands to install the package into debian/aolserver4-nssha1. + + mv nssha1.so $(CURDIR)/debian/aolserver4-nssha1/usr/lib/aolserver4/bin/. + mv libnssha1.so $(CURDIR)/debian/aolserver4-nssha1/usr/lib/aolserver4/lib/. + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + 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-nssha1-0.1.orig/debian/copyright +++ aolserver4-nssha1-0.1/debian/copyright @@ -0,0 +1,65 @@ +This package was debianized by David N. Welton on +Mon, 26 Jan 2003 09:50:23 +0100. + +It was downloaded from http://aolserver.sf.net + +Copyright: + +/* + * The contents of this file are subject to the AOLserver Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://aolserver.com/. + * + * Software distributed under the License is distributed on an "AS IS" + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See + * the License for the specific language governing rights and limitations + * under the License. + * + * The Original Code is AOLserver Code and related documentation + * distributed by AOL. + * + * The Initial Developer of the Original Code is America Online, + * Inc. Portions created by AOL are Copyright (C) 1999 America Online, + * Inc. All Rights Reserved. + * + * Alternatively, the contents of this file may be used under the terms + * of the GNU General Public License (the "GPL"), in which case the + * provisions of GPL are applicable instead of those above. If you wish + * to allow use of your version of this file only under the terms of the + * GPL and not to allow others to use your version of this file under the + * License, indicate your decision by deleting the provisions above and + * replace them with the notice and other provisions required by the GPL. + * If you do not delete the provisions above, a recipient may use your + * version of this file under either the License or the GPL. + */ + +( See /usr/share/common-licenses/GPL-2 for a copy of the GPL ) + +/* + * nssha1.c -- + * + * A simple AOLserver module to perform SHA1 hashes. The SHA1 routines + * are borrowed from libmd, which contains the following header: + * + * * sha.c - NIST Secure Hash Algorithm, FIPS PUB 180 and 180.1. + * * The algorithm is by spook(s) unknown at the U.S. National Security Agency. + * * + * * Written 2 September 1992, Peter C. Gutmann. + * * This implementation placed in the public domain. + * * + * * Modified 1 June 1993, Colin Plumb. + * * Modified for the new SHS based on Peter Gutmann's work, + * * 18 July 1994, Colin Plumb. + * * + * * Renamed to SHA and comments updated a bit 1 November 1995, Colin Plumb. + * * These modifications placed in the public domain. + * * + * * Comments to pgut1@cs.aukuni.ac.nz + * * + * * Hacked for use in libmd by Martin Hinner + * + * This Tcl library was hacked by Jon Salz . + * + */ + --- aolserver4-nssha1-0.1.orig/debian/Makefile.debian +++ aolserver4-nssha1-0.1/debian/Makefile.debian @@ -0,0 +1,62 @@ +# $Header: /cvsroot/aolserver/nscache/Makefile,v 1.1.1.1 2002/09/29 04:40:51 scottg Exp $ + +ifdef INST +NSHOME ?= $(INST) +else +NSHOME ?= ../aolserver +endif + +# Version number to use in release tags. +VER_ = $(subst .,_,$(VER)) + +# +# Module name +# +MOD = nssha1.so + +# +# Objects to build +# +OBJS = nssha1.o + +# +# Header files in THIS directory (included with your module) +# +HDRS = + +# +# Extra libraries required by your module (-L and -l go here) +# +MODLIBS = + +# +# Compiler flags required by your module (-I for external headers goes here) +# +CFLAGS = -DACS + + +include /usr/lib/aolserver4/Makefile.module + +.PHONY: test dist + +test: + cd test && $(INST)/bin/nsd -ft nsd.tcl + +release: + @if [ "$$VER" = "" ]; then echo 1>&2 "VER must be set to version number!"; exit 1; fi + cvs rtag -r stable release-$(VER_) nssha1 + +force-release: + @if [ "$$VER" = "" ]; then echo 1>&2 "VER must be set to version number!"; exit 1; fi + cvs rtag -F -r stable release-$(VER_) nssha1 + +dist: + @if [ "$$VER" = "" ]; then echo 1>&2 "VER must be set to version number!"; exit 1; fi + rm -rf work + mkdir work + cd work && cvs co -r release-$(VER_) nssha1 + perl -pi -e 's/\@VER\@/$(VER)/g' work/nssha1/nssha1.c + mv work/nssha1 work/nssha1-$(VER) + ( cd work && tar cvf - nssha1-$(VER) ) | gzip -9 > nssha1-$(VER).tar.gz + rm -rf work + --- aolserver4-nssha1-0.1.orig/debian/dirs +++ aolserver4-nssha1-0.1/debian/dirs @@ -0,0 +1,4 @@ +usr/lib/aolserver4 +usr/lib/aolserver4/bin +usr/lib/aolserver4/lib +usr/share/doc/aolserver4-nssha1 --- aolserver4-nssha1-0.1.orig/debian/README.Debian +++ aolserver4-nssha1-0.1/debian/README.Debian @@ -0,0 +1,16 @@ +nssha1 for AOLserver in Debian +------------------------------- + +In order to use this module you need to add a line to your nsd +configuration files (eg the default one is /etc/aolserver4/main.tcl). + +In the section which starts with 'ns_section "ns/server/${server}"', add: + + ns_param nssha1 nssha1.so + +After you have enabled the module, your Tcl scripts have access to the +ns_nssha1 command. + +David N. Welton + + --- aolserver4-nssha1-0.1.orig/debian/changelog +++ aolserver4-nssha1-0.1/debian/changelog @@ -0,0 +1,34 @@ +aolserver4-nssha1 (0.1-3build1) precise; urgency=low + + * No-change rebuild for aolserver4-core ABI transition. + + -- Ilya Barygin Sun, 13 Nov 2011 11:58:43 +0400 + +aolserver4-nssha1 (0.1-3) unstable; urgency=low + + * Fixed missing library installation. + (closes: #543286) + * Policy bumped to 3.8.3. + * Added Homepage field to debian/control. + + -- Francesco Paolo Lovergine Sun, 06 Sep 2009 10:51:55 +0200 + +aolserver4-nssha1 (0.1-2) unstable; urgency=low + + [ Stefan Sobernig ] + + * Basic upgrade of source package + * Checked lintian sanity (v2.2.12) + * Bumped policy to 3.8.2 + * Added substvars patch introduced with aolserver4 4.5.1-5 + * Fixed legacy issue: dh_clean, debhelper compat level etc. + * Setting source package to GPLv2 explicitly + + -- Francesco Paolo Lovergine Tue, 30 Jun 2009 02:46:03 +0200 + +aolserver4-nssha1 (0.1-1) unstable; urgency=low + + * Initial release + + -- Francesco Paolo Lovergine Mon, 10 May 2004 22:54:18 +0200 +