debian/0000755000000000000000000000000012033324413007161 5ustar debian/changelog0000644000000000000000000001110712033324413011033 0ustar htp (1.16-4) unstable; urgency=low * QA upload (see O: bug #676574). * Set Maintainer to Debian QA Group. * Convert to 3.0 (quilt) source format, avoiding confusion between build-arch and build targets in debian/rules (closes: #666307). * 0003-Makefile-clean-target-fix.patch: Use rm -f to remove tests/fruits. * Add hardening flags, using dpkg-buildflags. -- Colin Watson Thu, 04 Oct 2012 16:19:38 +0100 htp (1.16-3) unstable; urgency=low * debian/control: + update Standards-Version: to 3.8.1 + Build-Depends on quilt, update debhelper version * debian/compat: bump to 7 * debian/copyright: convert to UTF-8 * debian/doc-base.htp: use Section: Web Development * debian/htp.manpages: install htp.1 manpage * debian/rules: port to dh7 and quilt * debian/patches: use patches instead of hardcoding changes in htp source: + 0001-Fix-install-path-to-usr-not-usr-local.patch + 0002-Remove-unused-printf-variants.patch + 0003-Makefile-clean-target-fix.patch * debian/watch: add version watch -- Diego Escalante Urrelo Wed, 22 Apr 2009 19:31:17 -0500 htp (1.16-2) unstable; urgency=low * Makefile.config: Hardcode /usr as the PREFIX, it was using /usr/local otherwise by unknown reasons. * src/snprintf.c: * src/snprintf.h: Remove the asnprintf and asprintf functions since they were keeping s390 from building and are actually not used, closes: #443616. -- Diego Escalante Urrelo Sun, 21 Oct 2007 21:59:40 -0500 htp (1.16-1) unstable; urgency=low * New upstream release. closes: #442431 * Make build system aware of nostrip and noopt options of DEB_BUILD_OPTIONS. * Fixed stripping. nostrip actually works now. closes: #437175 -- Diego Escalante Urrelo Thu, 20 Sep 2007 02:33:36 -0500 htp (1.15-3) unstable; urgency=low * Fixed clean process, modified tests/Makefile and src/Makefile. * Memory problems of s390 fixed (really) modifying src/streams.c, done by Bastian Blank, closes: #332322 -- Diego Escalante Urrelo Tue, 11 Oct 2005 16:54:15 -0500 htp (1.15-2) unstable; urgency=low * Fixed memory problems in s390 -- Diego Escalante Urrelo Fri, 30 Sep 2005 10:06:31 -0500 htp (1.15-1) unstable; urgency=low * New maintainer, closes: #280023 * New upstream release, closes: #236240, #193652 * Erased unnecesary htp.manpages and added dh_installman debian/htp.1 to debian/rules * Modified homepage/ref/Makefile to prevent *.htp files from being included into the package. * Added debian/htp.examples to install the tests/ and examples/ directories. * Added htp's url in the package description. * Removed README.Debian-sources * Changed the download url in debian/copyright. -- Diego Escalante Urrelo Mon, 12 Sep 2005 02:01:33 -0500 htp (1.13-2) unstable; urgency=low * QA Group upload orphaning this package -- Andrew Pollock Fri, 4 Mar 2005 10:19:50 +1100 htp (1.13-1) unstable; urgency=low * New upstream * New license, closes: #144984 * Fixed HTML documentation in dhelp, closes: #150767 -- Matthew Macleod Thu, 20 Jun 2002 20:58:53 +0100 htp (1.11-3) unstable; urgency=low * New maintainer, closes: #142251 * Added manpage * Fixed segfault when recieving unknown command-line options, closes: #125816 * Added pointer to manpage in -? output -- Matthew Macleod Fri, 14 Jun 2002 15:47:27 +0100 htp (1.11-2) unstable; urgency=low * Don't include example menu file -- Jonathon D Nelson Wed, 4 Apr 2001 23:21:08 -0500 htp (1.11-1) unstable; urgency=low * New upstream -- Jonathon D Nelson Tue, 3 Apr 2001 22:13:25 -0500 htp (1.10-3.1) unstable; urgency=low * -3 in the archive had no source upload, this should fix that. While we're at it, move the clean clause out of the makefile and into the rules file to keep the makefile pristine upstream source, closes: #48633 * fix /usr/doc -> /usr/share/doc issues * thanks to Matt Taggart who did the footwork for this NMU as part of bug-squash day -- Bdale Garbee Sat, 20 Nov 1999 23:11:03 -0700 htp (1.10-2) unstable; urgency=low * Hopefully fixed description in debian/control -- Jonathon D. Nelson Sun, 24 Jan 1999 10:03:58 -0600 htp (1.10-1) unstable; urgency=low * Initial Release. -- Jonathon D. Nelson Fri, 22 Jan 1999 03:20:40 -0600 Local variables: mode: debian-changelog End: debian/rules0000755000000000000000000000047212033324402010242 0ustar #!/usr/bin/make -f # vim: set noet: #export DH_VERBOSE=1 CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) %: dh $@ override_dh_auto_build: dh_auto_build -- CCOPT="-c $(CPPFLAGS) $(CFLAGS)" LOPT="$(LDFLAGS)" debian/watch0000644000000000000000000000005612033320705010213 0ustar version=3 http://sf.net/htp/htp-(.+)\.tar\.gz debian/compat0000644000000000000000000000000212033320705010357 0ustar 7 debian/source/0000755000000000000000000000000012033321664010466 5ustar debian/source/format0000644000000000000000000000001412033320760011670 0ustar 3.0 (quilt) debian/htp.10000644000000000000000000001020112033320705010030 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH HTP 1 "June 14, 2002" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME htp \- HTML preprocessor .SH SYNOPSIS .B htp [options] .br .B htp [options] @ .br .B htp [options] @ .SH DESCRIPTION This manual page documents briefly the .B htp command. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in HTML format; see /usr/share/doc/htp. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBhtp\fP is an HTML pre-processor. It is designed to be a flexible authoring tool that can easily be integrated into the design process. \fBhtp\fP works by processing special HTML files and producing as output regular HTML files ready to be served up. The original HTML files are "special" because they (possibly) contain certain markup tags only recognizable to \fBhtp\fP. .br To handle larger sets of files, \fBhtp\fP also accepts a response file, which lists input/output filename pairs and additional response files. For more information on response files, see the HTML documentation. .SH OPTIONS A summary of options is included below. For a complete description, see the HTML documentation. These options can be used on the command-line by preceding their name with a '-' or '/' character. .TP .B H, ? Shows basic usage information. .TP .B IMGXY Width & height will be added to all image tags. This is the default setting. .TP .B NOIMGXY Width & height will not be added to image tags (but not removed if already found). .TP .B QUIET Pre-processor only displays warnings and error messages. .TP .B VERBOSE Pre-processor displays all informational, warnings, and error messages. This is the default setting. .TP .B DEPEND Check target file's dependencies before processing. If the input file, or any of the file it may INCLUDE have changed, it will continue and build the output file. Otherwise, a simple informational message will be printed and no action will occur. This is the default setting. .TP .B NODEPEND Dependency checking will not occur during processing. .TP .B PRECIOUS Normally, if htp cannot finish processing a file, it will delete the incomplete output file to prevent using it accidentally. However, if this is not desirable, the PRECIOUS option will turn off this behavior. .TP .B CONDENSE All HTML will be condensed, which is merely stripping it of all linefeeds. HTML does not require any carriage returns or linefeeds, so the format of the output will not be changed. However, file sizes will be somewhat smaller, and should load a little faster, especially over a slow link. .TP .B NOCONDENSE This disables condensing the output. This is the default setting. .TP .B DELIM This can be set to either HTML, CURLY or SQUARE. Each setting determines how htp markups should be surrounded in the text. HTML indicates using arrow brackets ('<' and '>') just like standard HTML tags. CURLY means tags should be surrounded by curly braces ('{' and '}'). SQUARE uses square brackets ('[' and ']') to surround htp tags. Note that this only applies to the special htp tags and not to the standard HTML tags, including IMG (which htp can process.) The default setting is HTML. .SH SEE ALSO .TP .B /usr/share/doc/htp HTML Documentation .SH AUTHOR This manual page was written by Matthew MacLeod , for the Debian GNU/Linux system (but may be used by others). .br htp is copyright 1995-1996 Jim Nelson debian/control0000644000000000000000000000100212033324202010551 0ustar Source: htp Section: web Priority: optional Maintainer: Debian QA Group Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7.2.7) Standards-Version: 3.8.1 Package: htp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://htp.sourceforge.net Description: An HTML pre-processor htp is an HTML pre-processor. It is designed to be a flexible authoring tool that can easily be integrated into the HTML design process. . Documentation and examples are included. debian/patches/0000755000000000000000000000000012033322637010616 5ustar debian/patches/0003-Makefile-clean-target-fix.patch0000644000000000000000000000217112033322637017065 0ustar From 27f97d315ac7dde9ca261038a834ac4434006d6d Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Wed, 22 Apr 2009 17:07:09 -0500 Subject: [PATCH 3/3] Makefile clean: target fix --- homepage/ref/Makefile | 1 + src/Makefile | 1 + tests/Makefile | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/homepage/ref/Makefile b/homepage/ref/Makefile index a07a32c..21ad4ba 100644 --- a/homepage/ref/Makefile +++ b/homepage/ref/Makefile @@ -54,6 +54,7 @@ install-doc: run-htp-tut do-clean: rm -f *~ htp.rsp *.html rm -rf tut + rm -f ref.tmp do-rsync: run-htp-tut chmod a+r $(HTML) $(HTP_SRC) $(HTP_DEF) $(MISC) diff --git a/src/Makefile b/src/Makefile index fe79f5d..6f42ee3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -49,5 +49,6 @@ $(MAINEXE) : $(OBJ) do-clean: rm -f *~ $(MAINEXE) *.$(OBJEXT) + rm -f version.inc htp.o ver.o: version.inc diff --git a/tests/Makefile b/tests/Makefile index 5c604da..41399c1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -30,3 +30,4 @@ check: $(HTML) do-clean: rm -f *~ htp.rsp *.html + rm -f fruits -- 1.6.2.3 debian/patches/0002-Remove-unused-printf-variants.patch0000644000000000000000000000440212033320705020073 0ustar From aca4959fb281a824a99fc5e4a863bdb69c8a9640 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Wed, 22 Apr 2009 16:48:08 -0500 Subject: [PATCH 2/3] Remove unused *printf* variants This were causing the build to fail in some archs. --- src/snprintf.c | 42 +----------------------------------------- src/snprintf.h | 5 ----- 2 files changed, 1 insertions(+), 46 deletions(-) diff --git a/src/snprintf.c b/src/snprintf.c index 8788433..42b8efa 100644 --- a/src/snprintf.c +++ b/src/snprintf.c @@ -107,8 +107,6 @@ # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # undef HAVE_C99_VSNPRINTF -# undef HAVE_ASPRINTF -# undef HAVE_VASPRINTF # include #endif /* TEST_SNPRINTF */ @@ -220,7 +218,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args size_t currlen; va_list args; - VA_COPY(args, args_in); + *args = *args_in; state = DP_S_DEFAULT; currlen = flags = cflags = min = 0; @@ -847,44 +845,6 @@ int snprintf(char *str,size_t count,const char *fmt,...) #endif -#ifndef HAVE_VASPRINTF - int vasprintf(char **ptr, const char *format, va_list ap) -{ - int ret; - va_list ap2; - - VA_COPY(ap2, ap); - - ret = vsnprintf(NULL, 0, format, ap2); - if (ret <= 0) return ret; - - (*ptr) = (char *)malloc(ret+1); - if (!*ptr) return -1; - - VA_COPY(ap2, ap); - - ret = vsnprintf(*ptr, ret+1, format, ap2); - - return ret; -} -#endif - - -#ifndef HAVE_ASPRINTF - int asprintf(char **ptr, const char *format, ...) -{ - va_list ap; - int ret; - - *ptr = NULL; - va_start(ap, format); - ret = vasprintf(ptr, format, ap); - va_end(ap); - - return ret; -} -#endif - #ifdef TEST_SNPRINTF int sprintf(char *str,const char *fmt,...); diff --git a/src/snprintf.h b/src/snprintf.h index 70ec841..3ae9664 100644 --- a/src/snprintf.h +++ b/src/snprintf.h @@ -18,9 +18,4 @@ extern int portable_vsnprintf(char *str, size_t str_m, const char *fmt, va_list #define vsnprintf portable_vsnprintf #endif -extern int asprintf (char **ptr, const char *fmt, /*args*/ ...); -extern int vasprintf (char **ptr, const char *fmt, va_list ap); -extern int asnprintf (char **ptr, size_t str_m, const char *fmt, /*args*/ ...); -extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap); - #endif -- 1.6.2.3 debian/patches/series0000644000000000000000000000017712033320705012032 0ustar 0001-Fix-install-path-to-usr-not-usr-local.patch 0002-Remove-unused-printf-variants.patch 0003-Makefile-clean-target-fix.patch debian/patches/0001-Fix-install-path-to-usr-not-usr-local.patch0000644000000000000000000000117612033320705021264 0ustar From f30d1f17b5e65138d9455f1e6c9a4ad289e6d70f Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Wed, 22 Apr 2009 16:46:48 -0500 Subject: [PATCH 1/3] Fix install path to /usr, not /usr/local --- Makefile.config | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.config b/Makefile.config index dbe5b71..4edf395 100644 --- a/Makefile.config +++ b/Makefile.config @@ -19,7 +19,7 @@ OBJEXT = o EXEEXT = DESTDIR = -prefix = $(DESTDIR)/usr/local +prefix = $(DESTDIR)/usr/ bindir = $(prefix)/bin docdir = $(prefix)/share/doc pkgdocdir = $(prefix)/share/doc/htp -- 1.6.2.3 debian/doc-base.htp0000644000000000000000000000035512033320705011356 0ustar Document: htp Title: Debian htp Manual Author: Jim Nelson Abstract: This manual describes what htp is and how it can be used. Section: Web Development Format: HTML Index: /usr/share/doc/htp/index.html Files: /usr/share/doc/htp/*.html debian/htp.manpages0000644000000000000000000000001512033320705011465 0ustar debian/htp.1 debian/dirs0000644000000000000000000000010412033320705010040 0ustar usr/bin usr/share/doc/htp usr/share/doc-base/htp usr/share/man/man1 debian/htp.examples0000644000000000000000000000002212033320705011506 0ustar examples/* tests/ debian/copyright0000644000000000000000000000122212033320705011111 0ustar This package was debianized by Matthew Macleod on Thu, 20 Jun 2002 20:48:01 +0100 It was downloaded from http://unc.dl.sourceforge.net/sourceforge/htp/htp-1.15.tar.gz Upstream Authors: Jim Nelson (no longer at jnelson@crl.com) Jochen Hoenicke Michael Möller Upstream Maintainers as above. Copyright: Copyright 1995-1996 Jim Nelson Copyright 2000 Robert King. Copyright 2001-2002 Jochen Hoenicke, Michael Möller. This is software is released unter the Artistic License. See /usr/share/common-licenses/Artistic for details.