--- opt-3.19.orig/debian/changelog
+++ opt-3.19/debian/changelog
@@ -0,0 +1,71 @@
+opt (3.19-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with GCC 4.3 (Closes: 3461685).
+
+ -- Luk Claes <luk@debian.org> Sun, 09 Mar 2008 17:39:29 +0000
+
+opt (3.19-1) unstable; urgency=low
+
+ * new upstream version
+ * updated to policy 3.6.1
+ * removed "shared" from short description
+ * cool with NMU updates (Closes #173912)
+ * removed dh_suidregister call
+ * moved removal of info docs from postrm to prerm
+ * updated debian/copyright file for http download and dual copyright
+ notice
+
+ -- Patrick Ouellette <pouelle@debian.org> Tue, 23 Dec 2003 13:41:48 -0500
+
+opt (3.9-1.1) unstable; urgency=low
+
+ * NMU.
+ * Add Build-Depends on debhelper. Closes: #173912.
+ * Remove /usr/doc symlink.
+ * Run dh_clean in clean target to get rid of debian/*.debhelper files.
+
+ -- Daniel Schepler <schepler@debian.org> Mon, 28 Jul 2003 16:02:02 -0700
+
+opt (3.9-1) unstable; urgency=low
+
+ * new upstream version
+ * updated policy to 3.1.1.1
+
+ -- Patrick Ouellette <pouelle@debian.org> Mon, 17 Apr 2000 17:24:34 +0200
+
+opt (3.7-4) unstable; urgency=low
+
+ * updated policy to 3.1.0.0
+ * moved documentation and examples to /usr/share/doc and /usr/share/info
+ * changed postinst to run install-info with --quiet
+ * changed postinst to create link for /usr/doc/opt
+ * added prerm to handle /usr/doc to /usr/share/doc move
+
+ -- Patrick Ouellette <pouelle@debian.org> Wed, 17 Nov 1999 22:13:01 +0100
+
+opt (3.7-3) unstable; urgency=low
+
+ * compiled for libc-2.1
+
+ -- Patrick Ouellette <pouelle@debian.org> Fri, 18 Jun 1999 22:38:33 +0200
+
+opt (3.7-2) unstable; urgency=low
+
+ * Fixes opt's info file install
+
+ -- Patrick Ouellette <pouelle@debian.org> Tue, 13 Apr 1999 15:53:59 -0400
+
+opt (3.7-1) unstable; urgency=low
+
+ *
+ * New upstream version
+
+ -- Patrick Ouellette <pouelle@debian.org> Tue, 13 Apr 1999 09:55:32 -0400
+
+opt (3.5-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Patrick Ouellette <pouelle@debian.org> Wed, 22 Jul 1998 08:59:47 -0400
+
--- opt-3.19.orig/debian/copyright
+++ opt-3.19/debian/copyright
@@ -0,0 +1,28 @@
+This package was originally debianized by
+Patrick Ouellette pouelle@debian.org on Wed, 22 Jul 1998 08:59:47 -0400.
+
+It was downloaded from http://nis-www.lanl.gov/~jt/Software/opt/
+
+Copyright:
+
+This SOFTWARE has been authored by an employee of the University of
+California, operator of the Los Alamos National Laboratory under
+Contract No. W-7405-ENG-36 with the U.S. Department of Energy. The
+U.S. Government has rights to use, reproduce, and distribute this
+SOFTWARE. Neither the Government nor the University makes any
+warranty, express or implied, or assumes any liability or
+responsibility for the use of this SOFTWARE. If SOFTWARE is modified
+to produce derivative works, such modified SOFTWARE should be clearly
+marked, so as not to confuse it with the version available from LANL.
+
+Additionally, this program is free software; you can distribute it
+and/or modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of the
+License, or any later version. Accordingly, this program is
+distributed in the hope that it will be useful, but WITHOUT A
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details (http://www.gnu.org/copyleft/gpl.txt).
+
+A copy of the GNU General Public License should also be available here:
+/usr/share/common-licenses
--- opt-3.19.orig/debian/rules
+++ opt-3.19/debian/rules
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+package=opt
+
+version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
+version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
+
+build:
+ $(checkdir)
+ ./configure --prefix=/usr
+
+ #
+ # Build the static library (it does not need Position Independent Code,
+ # which reserves one register; thus, without -fPIC we get more efficient
+ # code).
+ #
+ cd ..
+ $(MAKE) clean
+ $(MAKE)
+ touch build
+
+clean:
+ $(checkdir)
+ -rm -f build
+ -make distclean
+ -rm -f `find . -name "*~"`
+ -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
+ -rm -f debian/*substvars
+ dh_clean
+
+binary-indep: checkroot build
+ $(checkdir)
+# There are no architecture-independent files to be uploaded
+# generated by this package. If there were any they would be
+# made here.
+
+binary-arch: checkroot build
+ $(checkdir)
+ -rm -rf debian/tmp `find debian/* -type d`
+ install -d debian/tmp
+ cd debian/tmp && install -d `cat ../dirs`
+ cp test/*.c debian/tmp/usr/share/doc/opt/examples
+
+ $(MAKE) install prefix=`pwd`/debian/tmp/usr
+
+ mv debian/tmp/usr/info debian/tmp/usr/share/info
+
+ dh_installdocs -v README
+ dh_installexamples -v
+ dh_installmenu -v
+ dh_installcron -v
+ dh_installmanpages -v
+ dh_installchangelogs -v ChangeLog
+ dh_movefiles -v
+ dh_strip -v
+ dh_compress -v
+ dh_fixperms -v
+ dh_installdeb -v
+ dh_shlibdeps -v
+ dh_gencontrol -v
+# dh_makeshlibs -v
+ dh_md5sums -v
+ dh_builddeb -v
+
+define checkdir
+ test -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot
+#
+
+
+
+
+
+
+
+
+
+
--- opt-3.19.orig/debian/control
+++ opt-3.19/debian/control
@@ -0,0 +1,24 @@
+Source: opt
+Section: devel
+Priority: optional
+Maintainer: Patrick Ouellette <pouelle@debian.org>
+Build-Depends: debhelper
+Standards-Version: 3.6.1
+
+Package: opt
+Architecture: any
+Depends:
+Provides:
+Conflicts:
+Description: Options Parsing Tool library
+ opt is a subroutine library which facilitates the convenient input
+ of parameters to a C program. Parameters are parsed from a command
+ line, with further facilities for reading options from files, from
+ environment strings, or from an interactive environment. The aim of
+ the opt package is to permit programs to be both user- and
+ programmer- friendly. The package attempts to on the one hand
+ provide a direct and relatively full-featured input interface to the
+ ultimate user of the program, and at the same time impose a minimal
+ amount of work on the programmer to "attach" the package to his or
+ her software. It is similar to GNU's (and AT&T's old) getopts
+ package, but with a different interface that might be easier to use.
--- opt-3.19.orig/debian/prerm
+++ opt-3.19/debian/prerm
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+install-info --quiet --remove opt
+
+#DEBHELPER#
+
--- opt-3.19.orig/debian/postinst
+++ opt-3.19/debian/postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# post install process for OPT
+#
+# 30 Jul 1998 P.A. Ouellette <pouelle@debian.org>
+#
+set -e
+install-info --quiet --section development opt --description="Opt - options and parameter subroutine library" /usr/share/info/opt.info.gz
+
+#DEBHELPER#
+
--- opt-3.19.orig/debian/dirs
+++ opt-3.19/debian/dirs
@@ -0,0 +1,3 @@
+usr/lib
+usr/share/doc/opt/examples
+usr/include
--- opt-3.19.orig/debian/README.debian
+++ opt-3.19/debian/README.debian
@@ -0,0 +1,7 @@
+opt for DEBIAN
+----------------------
+
+Nothing special was done to get this package to compile under Debian 2.0
+
+
+Patrick Ouellette <pouelle@debian.org>, Wed, 22 Jul 1998 08:59:47 -0400