diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 79 | ||||
-rw-r--r-- | debian/conffiles | 1 | ||||
-rw-r--r-- | debian/control | 18 | ||||
-rw-r--r-- | debian/copyright | 29 | ||||
-rw-r--r-- | debian/postinst | 9 | ||||
-rw-r--r-- | debian/preinst | 15 | ||||
-rwxr-xr-x | debian/rules | 100 | ||||
-rw-r--r-- | debian/site.exp | 2 |
8 files changed, 253 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0fba9c9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,79 @@ +dejagnu (1.3-10) frozen unstable; urgency=low + + * add example to /usr/doc (fixes bug #28491) + * changed permissions on runtest.exp so that it is not executable + * upgrade Standards-Version to 2.5.0.0 + + -- Kevin Dalley <kevind@rahul.net> Sat, 5 Dec 1998 04:37:07 -0800 + +dejagnu (1.3-9) unstable; urgency=low + + * install postinst, etc, which creates correct permissions on files + (fixes Bug #25044). + * corrected FSF address in copyright. + + -- Kevin Dalley <kevind@rahul.net> Sun, 9 Aug 1998 18:08:06 -0700 + +dejagnu (1.3-8) unstable; urgency=low + + * corrected copyright (fixes bug #14864) + * changed maintainer email address + + -- Kevin Dalley <kevind@rahul.net> Tue, 23 Dec 1997 22:47:14 -0800 + +dejagnu (1.3-7) unstable; urgency=low + + * changed dependency back from expect5.24 to expect, now that expect is + provided by various expect packages. + + -- Kevin Dalley <kevin@aimnet.com> Tue, 30 Sep 1997 23:04:21 -0700 + +dejagnu (1.3-6) unstable; urgency=low + + * changed dependency to expect5.24 + + -- Kevin Dalley <kevin@aimnet.com> Sat, 20 Sep 1997 10:29:28 -0700 + +dejagnu (1.3-5) unstable; urgency=low + + * changed debian/control to satisfy standards and fix bug #3566, + summary incorrect + * moved files debian.* to debian/* + * converted to Standards-Version: 2.1.1.0 + + -- Kevin Dalley <kevin@aimnet.com> Sat, 12 Oct 1996 02:05:21 -0700 + + + + +Sun Jun 2 18:06:24 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)> + + * debian.control, debian.rules: upgraded to Debian release 4 + changed most instances of dejagnu to $(package) use debian.rules + package value to build control value of Package + +Fri May 24 01:57:31 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)> + + * debian.postrm: change to -e + + + * debian.conffiles, debian.postinst, debian.rules, debian.preinst, + debian.prerm: moved conffile from /var/lib/dejagnu to /etc/dejagnu + + +Thu May 23 00:52:57 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)> + + * debian.rules: changed architecture to all and updated to debian + revision 2 + + * debian.control: changed architecture to all + +Sun May 19 14:02:47 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)> + + * debian.README, debian.conffiles, debian.control, + debian.postinst, debian.postrm, debian.rules, debian.site.exp, + debian.ChangeLog added + +Local variables: +mode: debian-changelog +End: diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 0000000..fb269a1 --- /dev/null +++ b/debian/conffiles @@ -0,0 +1 @@ +/etc/dejagnu/site.exp diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a6fdf2f --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: dejagnu +Section: devel +Priority: optional +Maintainer: Kevin Dalley <kevind@rahul.net> +Standards-Version: 2.5.0.0 +Package: dejagnu-1.4 +Architecture: all +Depends: expect, dpkg (>=1.2.1) +Description: framework for running test suites on software tools. + DejaGnu is a framework for testing other programs. Its purpose is to + provide a single front end for all tests. + . + DejaGnu provides a layer of abstraction which allows you to write + tests that are portable to any host or target where a program must + be tested. All tests have the same output format. + . + DejaGnu is written in `expect', which in turn uses "Tcl"--Tool + command language. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..40e8a61 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +This is the Debian GNU/Linux prepackaged version of GNU DejaGnu. + +This package was put together by Kevin Dalley <kevind@rahul.net>, +from sources obtained from: + prep.ai.mit.edu:/pub/gnu/dejagnu-1.3.tar.gz + +Changes: + * added Debian GNU/Linux package maintenance system files + * skip compilation of tcl and expect + +GNU dejagnu are Copyright (C) 92, 93, 94, 95, 1996 Free Software +Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/doc/copyright/GPL'. diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..e8644d7 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,9 @@ +#! /bin/sh + +set -i + +install-info --quiet --section "Development" "Development" \ + /usr/info/dejagnu.info.gz + +echo "Edit the master configuration file, /etc/dejagnu/site.exp," +echo "if needed" diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..dd7af9a --- /dev/null +++ b/debian/preinst @@ -0,0 +1,15 @@ +#!/bin/sh -e +# +# Debian package preinst + +case "$1" in + install|upgrade) + # need to move configuration file to proper directory + if [ -f /var/lib/dejagnu/site.exp ]; then + if [ ! -d /etc/dejagnu ]; then + install -d -g root -m 755 -o root /etc/dejagnu + fi + mv -f /var/lib/dejagnu/site.exp /etc/dejagnu + fi + ;; +esac diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d123159 --- /dev/null +++ b/debian/rules @@ -0,0 +1,100 @@ +#! /usr/bin/make -f +# +# Copyright 1994,1995 by Ian Jackson. +# I hereby give you perpetual unlimited permission to copy, +# modify and relicense this file, provided that you do not remove +# my name from the file itself. (I assert my moral right of +# paternity under the Copyright, Designs and Patents Act 1988.) +# This file may have to be extensively modified +# Copyright 1996 by Kevin Dalley. + +# To make the binary distribution package, the ``Debianized'' source package +# and the context diff to the original package, type `./debian.rules dist'. +# Make sure that `debian.rules' is executable before the final distribution +# is made. +# +# Invoke each target with `./debian.rules <target>'. All targets should be +# invoked with the package root as the current directory. +# +# The `binary' target must be run as root, as it needs to install files with +# specific ownerships. + +# The name of the package (for example, `emacs'). +package = dejagnu + +CC = gcc +CFLAGS = -O2 -Wall # sane warning options vary between programs +LDFLAGS = # none + + +build: + $(checkdir) + ./configure --prefix=/usr + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + libexecdir=/usr/lib/locate localstatedir=/var/lib/locate all + $(MAKE) info + touch build + +clean: + $(checkdir) + -rm -f build + -$(MAKE) -i distclean + -rm -rf *~ debian/tmp debian/*~ debian/files* + rm -f config.cache doc/config.log testsuite/config.log \ + testsuite/.tmp testsuite/dbg.log testsuite/runtest.log \ + testsuite/runtest.sum testsuite/setval.tmp \ + testsuite/testrun.log testsuite/testrun.sum \ + example/testrun.sum + +binary-indep: checkroot build + $(checkdir) + -rm -rf debian/tmp + install -d debian/tmp debian/tmp/DEBIAN + install -d debian/tmp/usr/doc/$(package) + install -d -g root -m 755 -o root debian/tmp/etc/$(package) + install debian/{postinst,postrm,preinst,prerm} debian/tmp/DEBIAN/. + cd $(package); $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" \ + LDFLAGS="$(LDFLAGS)" \ + prefix=`pwd`/../debian/tmp/usr install + chmod 0644 debian/tmp/usr/lib/dejagnu/runtest.exp + cd $(package); $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" \ + LDFLAGS="$(LDFLAGS)" \ + prefix=`pwd`/../debian/tmp/usr install-info + gzip -9v debian/tmp/usr/info/* + gzip -9v debian/tmp/usr/man/man1/* + install -m 0644 debian/copyright debian/tmp/usr/doc/$(package) + install -m 0644 debian/changelog debian/tmp/usr/doc/$(package)/changelog.Debian + gzip -9v debian/tmp/usr/doc/$(package)/changelog.Debian + install -m 0644 ChangeLog debian/tmp/usr/doc/$(package) + gzip -9v debian/tmp/usr/doc/$(package)/ChangeLog + ln -s ChangeLog.gz debian/tmp/usr/doc/$(package)/changelog.gz + install -g root -m 644 -o root debian/site.exp \ + debian/tmp/etc/$(package)/site.exp + cd debian/tmp/usr/lib/$(package); ln -fs /etc/$(package)/site.exp . + install -d debian/tmp/usr/doc/$(package)/examples + -cd example; $(MAKE) -i distclean + (cd example; tar cf - . ) | \ + (cd debian/tmp/usr/doc/$(package)/examples; tar xf -) + install install.sh debian/tmp/usr/doc/$(package)/examples + dpkg-gencontrol +# chown -R root.root debian/tmp +# chmod -R g-ws debian/tmp + dpkg --build debian/tmp .. + +binary-arch: + +define checkdir + test -f runtest.exp -a -f debian/rules +endef +# Below here is fairly generic really + +binary: binary-indep binary-arch + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot diff --git a/debian/site.exp b/debian/site.exp new file mode 100644 index 0000000..9454a7f --- /dev/null +++ b/debian/site.exp @@ -0,0 +1,2 @@ +# The master configuration file should be here +# There is currently not a meaningful default configuration file |