--- delimmatch-1.02.orig/debian/README.debian +++ delimmatch-1.02/debian/README.debian @@ -0,0 +1,6 @@ +delimmatch for DEBIAN +---------------------- + +Comments regarding the Package + +Christian Leutloff , Thu, 6 Nov 1997 12:43:07 +0100 --- delimmatch-1.02.orig/debian/changelog +++ delimmatch-1.02/debian/changelog @@ -0,0 +1,10 @@ +delimmatch (1.02-1) unstable; urgency=low + + * Initial Release. + + -- Christian Leutloff Thu, 6 Nov 1997 12:43:07 +0100 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "leutloff@debian.org" +End: --- delimmatch-1.02.orig/debian/copyright +++ delimmatch-1.02/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Christian Leutloff leutloff@debian.org on +Thu, 6 Nov 1997 12:43:07 +0100. + +It was downloaded from +http://www.berkshire.net/~norm/perl/DelimMatch-1.02.tar.gz + +Copyright: + +Copyright (c) 1997 Norman Walsh. All rights reserved. This +program is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + --- delimmatch-1.02.orig/debian/crontab.ex +++ delimmatch-1.02/debian/crontab.ex @@ -0,0 +1 @@ +0 4 * * * root delimmatch_maintenance --- delimmatch-1.02.orig/debian/dirs +++ delimmatch-1.02/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- delimmatch-1.02.orig/debian/diversions.ex +++ delimmatch-1.02/debian/diversions.ex @@ -0,0 +1 @@ + --- delimmatch-1.02.orig/debian/inetd.conf.ex +++ delimmatch-1.02/debian/inetd.conf.ex @@ -0,0 +1,2 @@ +#:OTHER: +delimmatch stream tcp nowait root /usr/sbin/tcpd /usr/sbin/delimmatch --- delimmatch-1.02.orig/debian/info.ex +++ delimmatch-1.02/debian/info.ex @@ -0,0 +1,15 @@ +# This is a configuration files for installing a .info menu +# The Description to be placed into the directory +DESCR="Description" + +# The section this info file should be placed in (Regexp) followed by +# the new section name to be created if the Regexp does not match +# (Optional. If not given the .info will be appended to the directory) +#SECTION_MATCH="Regexp" +#SECTION_NAME="New Section Name" + +# The file referred to from the Info directory +FILE=delimmatch.info + +# Optional. The files to be copied to /usr/info +#FILES=*.info --- delimmatch-1.02.orig/debian/init.d.ex +++ delimmatch-1.02/debian/init.d.ex @@ -0,0 +1,31 @@ +#! /bin/sh +# +# This file was automatically customized by debmake on Thu, 6 Nov 1997 12:43:07 +0100 +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux by Ian Murdock . +# Modified for Debian by Christoph Lameter + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +DAEMON=/usr/sbin/delimmatch +# The following value is extracted by debstd to figure out how to generate +# the postinst script. Edit the field to change the way the script is +# registered through update-rc.d (see the manpage for update-rc.d!) +FLAGS="defaults 50" + +test -f $DAEMON || exit 0 + +case "$1" in + start) + start-stop-daemon --start --verbose --exec $DAEMON + ;; + stop) + start-stop-daemon --stop --verbose --exec $DAEMON + ;; + *) + echo "Usage: /etc/init.d/delimmatch {start|stop}" + exit 1 + ;; +esac + +exit 0 --- delimmatch-1.02.orig/debian/manpage.1.ex +++ delimmatch-1.02/debian/manpage.1.ex @@ -0,0 +1,42 @@ +.TH NAME SECTION +.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection +.\" other parms are allowed: see man(7), man(1) +.SH NAME +delimmatch \- programs to do something +.SH SYNOPSIS +.B delimmatch +.I "[options] files ..." +.br +.B bar +.I "[options] files ..." +.SH "DESCRIPTION" +This manual page documents briefly the +.BR delimmatch , +and +.B bar +commands. +This manual page was written for the Debian GNU/Linux distribution +(but may be used by others), because the original program does not +have a manual page. +Instead, it has documentation in the GNU Info format; see below. +.PP +.B delimmatch +is a program that... +.SH OPTIONS +The programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options are included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH "SEE ALSO" +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +This manual page was written by Christian Leutloff , +for the Debian GNU/Linux system. --- delimmatch-1.02.orig/debian/menu.ex +++ delimmatch-1.02/debian/menu.ex @@ -0,0 +1 @@ +text Apps/Misc delimmatch none "delimmatch Description" /usr/bin/delimmatch --- delimmatch-1.02.orig/debian/watch.ex +++ delimmatch-1.02/debian/watch.ex @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +sunsite.unc.edu /pub/Linux/Incomingu delimmatch-*.tar.gz debian uupdate --- delimmatch-1.02.orig/debian/control +++ delimmatch-1.02/debian/control @@ -0,0 +1,18 @@ +Source: delimmatch +Section: text +Priority: extra +Maintainer: Christian Leutloff +Standards-Version: 2.3.0.0 + +Package: delimmatch +Architecture: all +Depends: perl (>=5.000) +Description: Perl Module to match delimited substrings + DelimMatch allows you to match delimited substrings in a buffer. The + delimiters can be specified with any regular expression and the start + and end delimiters need not be the same. If the delimited text is + properly nested, entire nested groups are returned. + . + In addition, you may specify quoting and escaping characters that + contribute to the recognition of start and end delimiters. + --- delimmatch-1.02.orig/debian/rules +++ delimmatch-1.02/debian/rules @@ -0,0 +1,59 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + # Add here commands to compile the pacckage. +# perl Makefile.PL PREFIX=/ INSTALLSITELIB=debian/tmp/usr/lib/perl5 INSTALLPRIVLIB=debian/tmp/usr/lib/perl5 INSTALLARCHLIB=debian/tmp/usr/lib/perl5/i386-linux/5.004 INSTALLBIN=debian/tmp/usr/bin INSTALLSCRIPT=debian/tmp/usr/bin INSTALLMAN1DIR=debian/tmp/usr/man/man1 INSTALLMAN3DIR=debian/tmp/usr/man/man3 + perl Makefile.PL + $(MAKE) + $(MAKE) test + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + dh_clean + # Add here commands to clean up after the build process. + -$(MAKE) distclean + +# Build architecture-independent files here. +binary-indep: build + dh_testdir + dh_testroot + dh_clean + # Add here commands to install the files into debian/tmp + install -d `pwd`/debian/tmp/usr/lib/perl5/Text + install -d `pwd`/debian/tmp/usr/lib/perl5/auto/Text/DelimMatch + #$(MAKE) pure_install + install -m 444 blib/lib/Text/DelimMatch.pm `pwd`/debian/tmp/usr/lib/perl5/Text + install -m 444 blib/lib/auto/Text/DelimMatch/autosplit.ix `pwd`/debian/tmp/usr/lib/perl5/auto/Text/DelimMatch + dh_installdocs + dh_installexamples + dh_installmenu + dh_installcron + dh_installmanpages blib/man3 + dh_installchangelogs + gzip -9 debian/tmp/usr/doc/delimmatch/changelog.Debian + dh_strip + dh_compress + dh_installdebfiles + dh_fixperms + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build +# We have nothing to do by default. + + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary + + +# install -d debian/tmp +# cd debian/tmp && install -d `cat ../dirs`