--- opt-3.19.orig/debian/changelog +++ opt-3.19/debian/changelog @@ -0,0 +1,94 @@ +opt (3.19-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Inject package into collab-maint Git + * hardening=-pie + Closes: #837683 + * delete irrelevant README.debian + * delete unneeded prerm + * source format 3.0 + * cme fix dpkg-control + + -- Andreas Tille Mon, 24 Oct 2016 11:09:31 +0200 + +opt (3.19-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Get rid of install-info calls in maintainer scripts. (Closes: #708497) + * Switch to debhelper 9. + * Add info-dir-section. (Closes: #528883) + * Note that the upstream URL is no longer available. (Closes: #624415) + + -- Andreas Beckmann Sat, 18 Jan 2014 18:15:04 +0100 + +opt (3.19-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 4.3 (Closes: 3461685). + + -- Luk Claes 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 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 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 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 Wed, 17 Nov 1999 22:13:01 +0100 + +opt (3.7-3) unstable; urgency=low + + * compiled for libc-2.1 + + -- Patrick Ouellette Fri, 18 Jun 1999 22:38:33 +0200 + +opt (3.7-2) unstable; urgency=low + + * Fixes opt's info file install + + -- Patrick Ouellette Tue, 13 Apr 1999 15:53:59 -0400 + +opt (3.7-1) unstable; urgency=low + + * + * New upstream version + + -- Patrick Ouellette Tue, 13 Apr 1999 09:55:32 -0400 + +opt (3.5-1) unstable; urgency=low + + * Initial Release. + + -- Patrick Ouellette Wed, 22 Jul 1998 08:59:47 -0400 + --- opt-3.19.orig/debian/compat +++ opt-3.19/debian/compat @@ -0,0 +1 @@ +9 --- opt-3.19.orig/debian/control +++ opt-3.19/debian/control @@ -0,0 +1,25 @@ +Source: opt +Maintainer: Patrick Ouellette +Section: devel +Priority: optional +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.8 +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/opt.git +Vcs-Git: https://anonscm.debian.org/git/collab-maint/opt.git + +Package: opt +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +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/copyright +++ opt-3.19/debian/copyright @@ -0,0 +1,29 @@ +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/ +As of 2011-04-28 the URL is no longer available. + +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/dirs +++ opt-3.19/debian/dirs @@ -0,0 +1,3 @@ +usr/lib +usr/share/doc/opt/examples +usr/include --- opt-3.19.orig/debian/examples +++ opt-3.19/debian/examples @@ -0,0 +1 @@ +test/*.c --- opt-3.19.orig/debian/install +++ opt-3.19/debian/install @@ -0,0 +1,2 @@ +usr/include/opt.h +usr/lib/libopt.a --- opt-3.19.orig/debian/rules +++ opt-3.19/debian/rules @@ -0,0 +1,82 @@ +#!/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.]*') +export DEB_BUILD_MAINT_OPTIONS = hardening=-pie + +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) + $(MAKE) install prefix=`pwd`/debian/tmp/usr + + dh_install -v + dh_installdocs -v README + dh_installexamples -v + dh_installmenu -v + dh_installcron -v + dh_installman -v + dh_installchangelogs -v ChangeLog + 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/opt.texi +++ opt-3.19/opt.texi @@ -7,12 +7,10 @@ @include version.texi -@ignore -%** @dircategory Miscellaneous -%** @direntry -%** * opt: (opt). An option/parameter parsing library -%** @end direntry -@end ignore +@dircategory Development +@direntry +* opt: (opt). An option/parameter parsing library +@end direntry @ifinfo This document describes @code{opt}, v@value{VERSION}, a --- opt-3.19.orig/test/testcc.cc +++ opt-3.19/test/testcc.cc @@ -1,9 +1,11 @@ /* testcc.cc */ -#include +#include #include #include +using namespace std; + int month=4; int day=24; int year=1993;