--- nco-3.9.9.orig/debian/convert
+++ nco-3.9.9/debian/convert
@@ -0,0 +1,68 @@
+#!/bin/sh
+# Script to convert texinfo style man pages to groff style man pages.
+#
+sed -e '/@cindex/d
+/^$/s/^/.PP/
+s/\\/\\\\/g
+s/"/@"/g
+s/@dots{}/.../g
+s/@noindent//g
+s/@code{\([^ }]*\)}\([^ ][^ ]*\)  */
.BR \1 \2
/g
+s/@code{\([^}]*\)}\([^ ][^ ]*\)  */
.BR "\1" \2
/g
+s/@code{\([^ }]*\)}\([^ ][^ ]*\)$/
.BR \1 \2/g
+s/@code{\([^}]*\)}\([^ ][^ ]*\)$/
.BR "\1" \2/g
+s/@code{\([^ }]*\)}  */
.B \1
/g
+s/@code{\([^}]*\)}  */
.B "\1"
/g
+s/@code{\([^ }]*\)}$/
.B \1/g
+s/@code{\([^}]*\)}$/
.B "\1"/g
+s/@command{\([^ }]*\)}\([^ ][^ ]*\)  */
.BR \1 \2
/g
+s/@command{\([^}]*\)}\([^ ][^ ]*\)  */
.BR "\1" \2
/g
+s/@command{\([^ }]*\)}\([^ ][^ ]*\)$/
.BR \1 \2/g
+s/@command{\([^}]*\)}\([^ ][^ ]*\)$/
.BR "\1" \2/g
+s/@command{\([^ }]*\)}  */
.B \1
/g
+s/@command{\([^}]*\)}  */
.B "\1"
/g
+s/@command{\([^ }]*\)}$/
.B \1/g
+s/@command{\([^}]*\)}$/
.B "\1"/g
+s/@file{\([^ }]*\)}\([^ ][^ ]*\)  */
.BR \1 \2
/g
+s/@file{\([^}]*\)}\([^ ][^ ]*\)  */
.BR "\1" \2
/g
+s/@file{\([^ }]*\)}\([^ ][^ ]*\)$/
.BR \1 \2/g
+s/@file{\([^}]*\)}\([^ ][^ ]*\)$/
.BR "\1" \2/g
+s/@file{\([^ }]*\)}  */
.B \1
/g
+s/@file{\([^}]*\)}  */
.B "\1"
/g
+s/@file{\([^ }]*\)}$/
.B \1/g
+s/@file{\([^}]*\)}$/
.B "\1"/g
+s/@var{\([^ }]*\)}\([^ ][^ ]*\)  */
.IR \1 \2
/g
+s/@var{\([^}]*\)}\([^ ][^ ]*\)  */
.IR "\1" \2
/g
+s/@var{\([^ }]*\)}\([^ ][^ ]*\)$/
.IR \1 \2/g
+s/@var{\([^}]*\)}\([^ ][^ ]*\)$/
.IR "\1" \2/g
+s/@var{\([^ }]*\)}  */
.I \1
/g
+s/@var{\([^}]*\)}  */
.I "\1"
/g
+s/@var{\([^ }]*\)}%/
.I \1/g
+s/@var{\([^}]*\)}$/
.I "\1"/g
+s/@dfn{\([^ }]*\)}\([^ ][^ ]*\)  */
.IR \1 \2
/g
+s/@dfn{\([^}]*\)}\([^ ][^ ]*\)  */
.IR "\1" \2
/g
+s/@dfn{\([^ }]*\)}\([^ ][^ ]*\)$/
.IR \1 \2/g
+s/@dfn{\([^}]*\)}\([^ ][^ ]*\)$/
.IR "\1" \2/g
+s/@dfn{\([^ }]*\)}  */
.I \1
/g
+s/@dfn{\([^}]*\)}  */
.I "\1"
/g
+s/@dfn{\([^ }]*\)}$/
.I \1/g
+s/@dfn{\([^}]*\)}$/
.I "\1"/g
+s/@samp{\([^ }]*\)}\([^ ][^ ]*\)  */
.BR \1 \2
/g
+s/@samp{\([^}]*\)}\([^ ][^ ]*\)  */
.BR "\1" \2
/g
+s/@samp{\([^ }]*\)}\([^ ][^ ]*\)$/
.IR \1 \2/g
+s/@samp{\([^}]*\)}\([^ ][^ ]*\)$/
.IR "\1" \2/g
+s/@samp{\([^ }]*\)}  */
.B \1
/g
+s/@samp{\([^}]*\)}  */
.B "\1"
/g
+s/@samp{\([^ }]*\)}$/
.B \1/g
+s/@samp{\([^}]*\)}$/
.B "\1"/g
+s/@\*//g
+s/@item */.TP
.B /
+s/``/\\(lq/g
+s/'"''"'/\\(rq/g
+/^[A-Z][A-Z]/s/^/.SH /
+s/@acronym{\([^}]*\)}/\1/g
+/@table/d
+/@end table/d
+s/@example/.RS/
+s/@end example/.RE/' | sed 's/
/\
+/g' | grep -v '^ *$'
--- nco-3.9.9.orig/debian/changelog
+++ nco-3.9.9/debian/changelog
@@ -0,0 +1,528 @@
+nco (3.9.9-1) unstable; urgency=low
+
+  * new upstream version (chunking, NC_STRING, GSL stats/interp, rebasing)
+  * debian/control
+    - Standards-Version: 3.8.2
+  * debian/copyright
+    - includes everyone now
+  * debian/compat
+    - change from 4 to 5
+    
+ -- Charlie Zender <zender@uci.edu>  Tue, 14 Jul 2009 18:31:07 -0700
+
+nco (3.9.8-1) unstable; urgency=low
+
+  * new upstream version (DAP-netCDF, sort(), array(), GSL RNG)
+  * debian/control
+    - BR libnetcdf-dev
+    - debhelper > 5
+  * debian/rules
+    - remove --disable-rpath
+
+ -- Charlie Zender <zender@uci.edu>  Wed, 29 Apr 2009 13:28:07 -0700
+
+nco (3.9.7-1) unstable; urgency=low
+
+  * new upstream version (improves GSL builds, ncap2 threading)
+
+ -- Charlie Zender <zender@uci.edu>  Wed, 18 Mar 2009 16:43:24 -0700
+
+nco (3.9.6-1) UNRELEASED; urgency=low
+
+  * new upstream version (fixes MSA bug, adds GSL)
+
+ -- Charlie Zender <zender@uci.edu>  Thu, 22 Jan 2009 13:27:19 -0800
+
+nco (3.9.5-1) UNRELEASED; urgency=low
+
+  * new upstream version (MSA everywhere)
+
+ -- Charlie Zender <zender@neige.ess.uci.edu>  Sun, 11 May 2008 17:39:52 +0200
+
+nco (3.9.4-1) UNRELEASED; urgency=low
+
+  * new upstream version (-3, -X, --msa_usr_rdr, ncap2 mask, WIN32)
+
+ -- Charlie Zender <zender@uci.edu>  Mon, 03 Mar 2008 14:03:30 +0100
+
+nco (3.9.3-1) UNRELEASED; urgency=low
+
+  * new upstream version (SWAMP, ncecat -u, wget, ncap OpenMP, GCC 4.2)
+
+ -- Charlie Zender <zender@uci.edu>  Sat, 08 Dec 2007 15:26:47 +0100
+
+nco (3.9.2-1) UNRELEASED; urgency=low
+
+  * new upstream version (GPL3, _FillValue, UDUnits2, ncap2 printing)
+
+ -- Charlie Zender <zender@uci.edu>  Wed, 29 Aug 2007 09:01:52 -0700
+
+nco (3.9.1-1) UNRELEASED; urgency=low
+
+  * new upstream version (supports netCDF4/HDF deflation)
+
+ -- Charlie Zender <zender@uci.edu>  Fri, 29 Jun 2007 11:46:16 -0700
+
+nco (3.9.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules
+    - fixed FTBFS if build twice in a row (Closes: #442685)
+  * debian/doc-base
+    - changed section
+  * debian/watch
+    - added
+  * debian/control
+    - added Homepage field
+
+ -- Sandro Tosi <matrixhasu@gmail.com>  Sat, 19 Apr 2008 16:28:04 +0200
+
+nco (3.9.0-1) unstable; urgency=low
+
+  * new upstream version (includes netCDF4 atomic types)
+
+ -- Charlie Zender <zender@uci.edu>  Tue, 22 May 2007 19:04:54 -0700
+
+nco (3.2.0-1) unstable; urgency=low
+
+  * new upstream version (includes rmssdn arithmetic bugfix)
+
+ -- Charlie Zender <zender@uci.edu>  Thu, 19 Apr 2007 22:19:00 -0700
+
+nco (3.1.9-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Charlie Zender <zender@uci.edu>  Sat, 10 Mar 2007 18:47:03 -0800
+
+nco (3.1.8-2) UNRELEASED; urgency=low
+
+  * Bump version for upload to Debian unstable
+
+ -- Charlie Zender <zender@uci.edu>  Wed, 24 Jan 2007 10:03:48 -0800
+
+nco (3.1.8-1) experimental; urgency=low
+
+  * ncap2 methods work, nascent _FillValue support
+  * Add psd.nco example for ncap2
+  * Fix in.nc and tst path issues in make check
+  * Change long description	
+  * Remove unused make command in control
+  * Change section from "math" to "science" in control and doc-base
+  * Remove ncap_lex.c, ncap_yacc.[ch] from tarball
+  * Remove pgiCC OpenMP threading on ncap2
+  * Exclude all .cvsignore's
+  * Replace 'unstable' with 'UNRELEASED' from 3.0.0-3.1.7
+  * Change debian/nco.doc-base to debian/doc-base
+  * Create non-native debian packages
+  * Add @dircategory netCDF to nco.texi
+  * Removed debian/docs, alphabetize control, less precise debhelper
+    version, refine copyright history, remove debian/doc, de-comment
+    debian/rules, 
+  * Remove debian/[postinst,prerm, postrm]. These only contained
+    instructions for handling *.info files. Rely on dh_installinit to
+    automagically create these instructions.   
+  * Include ncap2 executable and man page
+  * Add package dependencies on antlr, libantlr-dev 
+  * Kludge HTML documentation location in nco.doc-base
+  * Compile-time determination of _Fillvalue vs. missing_value
+
+ -- Charlie Zender <zender@uci.edu>  Wed, 6 Dec 2006 08:22:22 -0800
+
+nco (3.1.7-1) UNRELEASED; urgency=low
+
+  * ncap2 double-parsing, incorporate downstream debian nco_2.9.9-3 patches
+  * Most NCO bug-fixes and features from 2.9.9--3.1.7:
+    - ncap2 not incorporated yet because antlr dependencies not handled
+    - libnco_c++ and lib_nco++ not build yet
+
+ -- Charlie Zender <zender@localhost.localdomain>  Fri, 10 Nov 2006 21:32:19 -0800
+
+nco (3.1.6-1) UNRELEASED; urgency=low
+
+  * Support stride in all dimensions for all hyperslabbing operators
+
+ -- Charlie Zender <zender@uci.edu>  Mon, 18 Sep 2006 13:08:36 -0700
+
+nco (3.1.5-1) UNRELEASED; urgency=low
+
+  * Improved Pathscale/PGI/Intel compiler support, ncap2 arrays
+
+ -- Charlie Zender <zender@uci.edu>  Tue, 29 Aug 2006 10:48:55 -0700
+
+nco (3.1.4-1) UNRELEASED; urgency=low
+
+  * fix ncbo memory bug, timers, implement --clean and --dirty
+
+ -- Charlie Zender <zender@localhost.localdomain>  Wed,  7 Jun 2006 21:24:03 -0700
+
+nco (3.1.3-1) UNRELEASED; urgency=low
+
+  * ncap2 attribute propagation, CF coordinates, ncwa -b -B, ncra 0 records
+
+ -- Charlie Zender <zender@localhost.localdomain>  Tue, 30 May 2006 12:57:44 -0700
+
+nco (3.1.2-1) UNRELEASED; urgency=low
+
+  * packed data fixed, ncap2 in configure, ncra/ncea/ncwa behavior
+
+ -- Charlie Zender <zender@localhost.localdomain>  Fri, 21 Apr 2006 17:46:30 -0700
+
+nco (3.1.1-1) UNRELEASED; urgency=low
+
+  * C++ builds work again, ssdap, nco++, 4.0-alpha11-compatible
+
+ -- Charlie Zender <zender@elnino.ess.uci.edu>  Mon, 30 Jan 2006 22:23:53 -0800
+
+nco (3.1.0-1) UNRELEASED; urgency=low
+
+  * MPI ZKB, configure netcdf4/mpi, ncwa MRV, ncap rnd_nbr(), netcdf4-alpha10
+
+ -- Charlie Zender <zender@elnino.ess.uci.edu>  Fri,  2 Dec 2005 20:37:09 -0800
+
+nco (3.0.3-1) UNRELEASED; urgency=low
+
+  * icc9, netCDF4, configure MPI and netCDF4, better SMP
+
+ -- Charlie Zender <zender@localhost.localdomain>  Fri, 28 Oct 2005 12:38:14 -0700
+
+nco (3.0.2-1) UNRELEASED; urgency=low
+
+  * icc, OPeNDAP, ftp, sftp, .netrc, hdr_pad, cf, bm for MPI + OPeNDAP
+
+ -- Charlie Zender <zender@uci.edu>  Mon, 22 Aug 2005 23:49:39 -0700
+
+nco (3.0.1-1) UNRELEASED; urgency=medium
+
+  * Memory purification, ncap exponentiation bugfix, threading bugfix
+
+ -- Charlie Zender <zender@uci.edu>  Fri, 10 Jun 2005 10:46:09 -0700
+
+nco (3.0.0-1) UNRELEASED; urgency=low
+
+  *  1. ncap bugfix 2. Add benchmarking	3. libnco_c++ implements nco_var_puta()
+
+ -- Charlie Zender <zender@uci.edu>  Thu, 24 Mar 2005 12:46:10 -0800
+
+nco (2.9.9-3) unstable; urgency=low
+
+  * QA upload.
+  * Add missing build dependencies on flex and bison.
+  * debian/rules: Add (empty) binary-indep target.  Closes: #395719.
+  * Conforms to Standards version 3.7.2.
+
+ -- Matej Vela <vela@debian.org>  Sat, 28 Oct 2006 16:22:58 +0200
+
+nco (2.9.9-2) unstable; urgency=medium
+
+  * QA upload.
+  * Remove unnecessary build dependency on netcdfg3; let netcdfg-dev pull
+    in the appropriate library package.  Closes: #352026.
+  * Move libnco from /usr/lib to /usr/lib/nco.  Providing a public library
+    would require a separate libnco-2.9.9 package, which is overkill ATM.
+  * data/udunits.dat: Used only with UDUnits, which is not packaged for
+    Debian; remove.
+  * debian/copyright:
+    - Update FSF address.
+    - Remove outdated (and no longer required) list of changes.
+  * debian/nco.doc-base:
+    - Word-wrap description.
+    - Change section to Apps/Math.
+    - Add a stanza for info files.
+  * debian/postinst, debian/prerm, debian/info: Invoke install-info
+    manually with a section argument as nco.info doesn't specify one.
+  * debian/postrm: Remove cruft.
+  * debian/rules:
+    - Pass CFLAGS to configure.
+    - When DEB_BUILD_GNU_TYPE and DEB_HOST_GNU_TYPE are the same, pass
+      only --build to configure (otherwise it enters cross-compile mode).
+    - Let dh_strip handle DEB_BUILD_OPTIONS=nostrip.
+  * Conforms to Standards version 3.6.2.
+
+ -- Matej Vela <vela@debian.org>  Sun, 12 Feb 2006 10:21:06 +0100
+
+nco (2.9.9-1) unstable; urgency=medium
+
+  * QA upload integrating long due changes due to Charlie Zender and Rorik Peterson.
+    (closes: #254627,#254625,#265106)
+  * Maintainer set to QA team.
+
+  [ Rorik Peterson ]
+
+  * 1. ncbo threading 2. ncpdq -P packing
+
+ -- Francesco Paolo Lovergine <frankie@debian.org>  Sat, 25 Sep 2004 12:14:26 +0200
+
+nco (2.9.8-1) unstable; urgency=low
+
+  * 1. ncpdq, 2. ncwa --msk_sng consolidated mask switch, and 3. C99
+
+ -- Charlie Zender <zender@uci.edu>  Sat,  7 Aug 2004 14:12:51 -0700
+
+nco (2.9.7-1) unstable; urgency=low
+
+  * MFO input files from stdin, OpenMP threading in ncra
+
+ -- Charlie Zender <zender@uci.edu>  Tue,  6 Jul 2004 13:49:28 -0700
+
+nco (2.9.6-1) unstable; urgency=low
+
+  *  Add -o fl_out option, change ncwa -o meaning, AMD64 build tweaks
+
+ -- Charlie Zender <zender@uci.edu>  Tue, 15 Jun 2004 09:44:15 -0700
+
+nco (2.9.5-1) unstable; urgency=low
+
+  * ncflint interpolation is commutative, libnco_c++ *.hh headers installed
+
+ -- Charlie Zender <zender@uci.edu>  Wed,  2 Jun 2004 22:15:49 -0700
+
+nco (2.9.4-1) unstable; urgency=low
+
+  * ncecat works on scalar files, AIX GCC, improved nco_tst.pl
+
+ -- Charlie Zender <zender@uci.edu>  Fri, 21 May 2004 10:52:29 -0700
+
+nco (2.9.3-1) unstable; urgency=low
+
+  * ncra/ncea arithmetic works when missing_value equals zero or any intermediate sum
+
+ -- Charlie Zender <zender@ashes.ess.uci.edu>  Tue, 13 Apr 2004 17:18:37 -0700
+
+nco (2.9.2-1) unstable; urgency=medium
+
+  * Fix S/V, S%V, S^V, workaround broken UDUnits installations
+
+ -- Charlie Zender <zender@uci.edu>  Tue, 23 Mar 2004 07:16:59 -0800
+
+nco (2.9.1-1) unstable; urgency=low
+
+  * prp_sei, fix ncwa unpacking bug
+
+ -- Charlie Zender <zender@ashes.ess.uci.edu>  Thu,  4 Mar 2004 17:03:18 -0800
+
+nco (2.9.0-1) unstable; urgency=low
+
+  * CF convention behaves like CSM, ncap corner cases, workaround GCC stack limitation
+
+ -- Charlie Zender <zender@uci.edu>  Wed, 25 Feb 2004 15:51:29 -0800
+
+nco (2.8.8-1) unstable; urgency=low
+
+  * --enable-[optimize/debug]-custom works again on GCC
+
+ -- Charlie Zender <zender@ashes.ess.uci.edu>  Fri, 30 Jan 2004 15:31:09 -0800
+
+nco (2.8.7-1) unstable; urgency=low
+
+  * Default GCC builds work again, ncap packing works again
+
+ -- Charlie Zender <zender@uci.edu>  Tue, 13 Jan 2004 11:43:47 -0800
+
+nco (2.8.6-1) unstable; urgency=low
+
+  * Add -Werror to GCC compiles, fix AIX and SGI builds
+
+ -- Charlie Zender <zender@uci.edu>  Mon, 12 Jan 2004 12:12:48 -0800
+
+nco (2.8.5-1) unstable; urgency=low
+
+  * DODS support, configure.in rewrite,	ncap attribute assignment fix
+
+ -- Charlie Zender <zender@uci.edu>  Wed,  7 Jan 2004 14:27:38 -0800
+
+nco (2.8.4-1) unstable; urgency=high
+
+  * Fix bug with index-based hyperslabs introduced near 2.7.4
+
+ -- Charlie Zender <zender@ashes.ess.uci.edu>  Tue, 25 Nov 2003 11:53:04 -0800
+
+nco (2.8.3.5-1) unstable; urgency=low
+
+  * Special version halfway to 2.8.4 for ncap bugtesting
+
+ -- Charlie Zender <zender@ashes.ess.uci.edu>  Fri, 21 Nov 2003 14:47:14 -0800
+
+nco (2.8.3-1) unstable; urgency=low
+
+  * Fix ncap memory leak, nco_tst.sh regressions
+
+ -- Charlie Zender <zender@ashes.ess.uci.edu>  Fri, 14 Nov 2003 17:17:23 -0800
+
+nco (2.8.2-1) unstable; urgency=medium
+
+  * missing_value fix for ncbo
+
+ -- Charlie Zender <zender@uci.edu>  Sun,  9 Nov 2003 23:28:25 -0800
+
+nco (2.8.1-1) unstable; urgency=low
+
+  * Variable wildcarding
+
+ -- Charlie Zender <zender@ashes.ess.uci.edu>  Wed, 27 Aug 2003 11:51:16 -0700
+
+nco (2.8.0-1) unstable; urgency=low
+
+  * update sources, new operator 'ncbo' replaces 'ncdiff' 
+
+ -- Rorik Peterson <rorik@chabuku.iarc.uaf.edu>  Mon,  4 Aug 2003 10:38:58 -0800
+
+nco (2.7.2-1) unstable; urgency=low
+
+  * updated sources, changed control to build using 'configure', made nco-doc
+    package for documentation
+
+ -- Rorik Peterson <rorik@chabuku.iarc.uaf.edu>  Sat, 29 Mar 2003 21:09:48 -0900
+
+nco (2.2.0-3) unstable; urgency=low
+
+  * Eliminated building of dvi, postscript, and pdf documentation due to
+    bugs in texinfo.  (Closes: Bug#164977)
+
+ -- Brian Mays <brian@debian.org>  Wed, 16 Oct 2002 09:30:31 -0400
+
+nco (2.2.0-2) unstable; urgency=medium
+
+  * Modified postinst to ignore an existing /usr/doc/$package directory.
+
+ -- Brian Mays <brian@debian.org>  Wed, 20 Mar 2002 11:18:29 -0500
+
+nco (2.2.0-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian Mays <brian@debian.org>  Thu,  7 Feb 2002 05:42:36 -0500
+
+nco (2.0.0-4) unstable; urgency=low
+
+  * Fixed symlink /usr/doc -> ../share/doc.
+  * Fixed reference to GPL.
+  * Improved stripping of binaries.
+
+ -- Brian Mays <brian@debian.org>  Fri,  1 Feb 2002 15:58:40 -0500
+
+nco (2.0.0-3) unstable; urgency=low
+
+  * Enabled building on all architectures.  (Closes: Bug#121461,
+    Bug#124105)
+  * Fixed symlink /usr/doc -> ../share/doc.
+
+ -- Brian Mays <brian@debian.org>  Sun, 27 Jan 2002 15:08:56 -0500
+
+nco (2.0.0-2) unstable; urgency=low
+
+  * Added build dependency on tetex-extra.  (Closes: Bug#106770)
+
+ -- Brian Mays <brian@debian.org>  Fri, 27 Jul 2001 09:09:49 -0400
+
+nco (2.0.0-1) unstable; urgency=low
+
+  * New upstream version.
+  * Removed "-g" gcc option as per policy.
+
+ -- Brian Mays <brian@debian.org>  Mon,  9 Jul 2001 11:26:24 -0400
+
+nco (1.2.2-2) unstable; urgency=low
+
+  * Added nettcdf-bin to Build-Depends.  (Closes: Bug#87094)
+
+ -- Brian Mays <brian@debian.org>  Thu, 22 Feb 2001 15:58:00 -0500
+
+nco (1.2.2-1) unstable; urgency=low
+
+  * New upstream version.
+  * Updated man pages.
+
+ -- Brian Mays <brian@debian.org>  Fri, 16 Feb 2001 16:21:26 -0500
+
+nco (1.2.1-3) unstable; urgency=low
+
+  * Fixed "Build-Depends".  (Closes: Bug#85668)
+
+ -- Brian Mays <brian@debian.org>  Mon, 12 Feb 2001 09:45:12 -0500
+
+nco (1.2.1-2) unstable; urgency=low
+
+  * Added patch from Christopher C. Chimelis <chris@debian.org> to
+    allow NCO to build on the alpha architecture.  (Closes: Bug#71225)
+
+ -- Brian Mays <brian@debian.org>  Sun, 10 Sep 2000 21:24:58 -0400
+
+nco (1.2.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian Mays <brian@debian.org>  Fri,  1 Sep 2000 10:46:01 -0400
+
+nco (1.2-1) unstable; urgency=low
+
+  * New upstream version.
+  * Added more source dependencies.
+
+ -- Brian Mays <brian@debian.org>  Fri,  4 Aug 2000 17:13:16 -0400
+
+nco (1.1.48-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian Mays <brian@debian.org>  Fri, 19 May 2000 10:23:19 -0400
+
+nco (1.1.47-1) unstable; urgency=low
+
+  * New upstream version.
+  * Changed the control file to accurately reflect the supported
+    architectures for this package (alpha, arm, i386, and sparc).
+    (Closes: Bug#63943)
+
+ -- Brian Mays <brian@debian.org>  Mon, 15 May 2000 12:42:19 -0400
+
+nco (1.1.46-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian Mays <brian@debian.org>  Sun, 12 Mar 2000 11:37:11 -0500
+
+nco (1.1.45-2) unstable; urgency=low
+
+  * Added patch from Jim Studt <jim@federated.com> to port nco to ARM.
+    (Closes: Bug#59095)
+
+
+ -- Brian Mays <brian@debian.org>  Thu,  2 Mar 2000 14:55:03 -0500
+
+nco (1.1.45-1) unstable; urgency=low
+
+  * New upstream version.
+  * New license.  (It is now GPL!!)
+
+ -- Brian Mays <brian@debian.org>  Fri, 28 Jan 2000 11:32:14 -0500
+
+nco (1.1.43-2) non-free; urgency=low
+
+  * Added build-time dependencies.  (Closes: Bug#55158)
+
+ -- Brian Mays <brian@debian.org>  Mon, 17 Jan 2000 14:14:47 -0500
+
+nco (1.1.43-1) non-free; urgency=low
+
+  * New upstream version.
+
+ -- Brian Mays <brian@debian.org>  Fri, 31 Dec 1999 10:49:09 -0500
+
+nco (1.1.42-1) non-free; urgency=low
+
+  * New upstream version.
+
+ -- Brian Mays <brian@debian.org>  Sun, 12 Dec 1999 16:15:13 -0500
+
+nco (1.1.41-1) non-free; urgency=low
+
+  * New upstream version.
+
+ -- Brian Mays <brian@debian.org>  Tue,  2 Nov 1999 10:43:35 -0500
+
+nco (1.1.39-1) non-free; urgency=low
+
+  * Initial release.
+
+ -- Brian Mays <brian@debian.org>  Fri,  8 Oct 1999 13:25:40 -0400
--- nco-3.9.9.orig/debian/control
+++ nco-3.9.9/debian/control
@@ -0,0 +1,17 @@
+Source: nco
+Section: science
+Priority: optional
+Maintainer: Charlie Zender <zender@uci.edu>
+Build-Depends: debhelper (>= 5), antlr, bison, flex, gsl-bin, libgsl0-dev, libantlr-dev, netcdf-bin, libnetcdf-dev, texinfo
+Standards-Version: 3.8.2
+Homepage: http://nco.sourceforge.net/
+
+Package: nco
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: command-line operators to analyze netCDF files
+ NCO is a suite of programs known as operators. The operators are stand-alone,
+ command-line programs executable in a POSIX shell. Operators take one or more
+ netCDF files as input, perform operations (e.g., averaging, hyperslabbing),
+ and produce a netCDF output file. NCO was originally designed to manipulate and
+ analyze climate data, though it works on any netCDF format datasets.
--- nco-3.9.9.orig/debian/compat
+++ nco-3.9.9/debian/compat
@@ -0,0 +1 @@
+5
--- nco-3.9.9.orig/debian/copyright
+++ nco-3.9.9/debian/copyright
@@ -0,0 +1,73 @@
+This is the Debian GNU/Linux prepackaged version of the netCDF Operators
+(NCO).
+
+This package was originally assembled by Brian Mays <brian@debian.org>
+from software obtained from ftp://ftp.cgd.ucar.edu/pub/zender/nco
+
+NCO package modifications for Debian GNU/Linux made from 1999--2002
+are Copyright (C) Brian Mays and were released under the GPL 
+(on Debian systems see "/usr/share/common-licenses/GPL").
+
+Beginning March, 2003, Charlie Zender and Rorik Peterson took over 
+NCO Debian package maintenance and merged the code back upstream.
+More information at package homepage http://nco.sourceforge.net
+
+On June 15, 2003, Charlie Zender changed the NCO license, except where  
+explicitly noted otherwise, from GPL to GPL version 2 (not any later version).
+Also at this time the explicit exceptions to the GPL for compatibility with
+the HDF, netCDF, OPeNDAP, and UDUnits licenses were formally introduced.
+
+On July 22, 2007, Charlie Zender changed the NCO licenses, except where 
+explicitly noted otherwise, from GPL2 to GPL3 (for code) and from 
+FDL 1.1 (or any later version) to FDL 1.2 (or any later version) for 
+documentation. 
+
+On January 20, 2009, Charlie Zender changed the NCO license for documentation,  
+except where explicitly noted otherwise, from FDL 1.2 (or any later version) 
+to FDL 1.3 (or any later version).
+
+On July 15, 2009, Charlie Zender added Benjamin Sittler and John Burkhardt
+to this copyright file to reflect their copyrights. Both retain copyright
+to their work which has a BSD-style license (freely redistributablle so
+long as copyright notices are maintained).
+
+On July 15, 2009, Charlie Zender received copyright assignments from 
+Henry Butowsky and Karen Schuchardt. Their names were removed from the
+copyright statements in the files where they had been listed:
+nco_msa.c, nco_msa.h, and nco_aux.c.
+
+NCO is copyright (C) 1995--2009 Charlie Zender
+Portions of the following NCO files are copyright by others:
+nco_getopt.c: Copyright 1997, 2000, 2001, 2002, Benjamin Sittler
+nco_getopt.h: Copyright 1997, 2000, 2001, 2002, Benjamin Sittler
+nco_gmm.c: Copyright (C) 2008 John Burkardt
+
+   License: GNU General Public License (GPL) Version 3
+   The full license text is at http://www.gnu.org/copyleft/gpl.html 
+   and in the file nco/doc/LICENSE in the NCO source distribution.
+   
+   As a special exception to the terms of the GPL, you are permitted 
+   to link the NCO source code with the HDF, netCDF, OPeNDAP, and UDUnits
+   libraries and to distribute the resulting executables under the terms 
+   of the GPL, but in addition obeying the extra stipulations of the 
+   HDF, netCDF, OPeNDAP, and UDUnits licenses.
+
+   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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA.
+
+   The original author of this software, Charlie Zender, seeks to improve
+   it with your suggestions, contributions, bug-reports, and patches.
+   Please contact the NCO project at http://nco.sf.net or write to
+   Charlie Zender
+   Department of Earth System Science
+   University of California, Irvine
+   Irvine, CA 92697-3100
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in "/usr/share/common-licenses/GPL".
--- nco-3.9.9.orig/debian/rules
+++ nco-3.9.9/debian/rules
@@ -0,0 +1,127 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Purpose: debian/rules file for NCO
+# Copyright (C) 1999--2002 by Brian Mays
+# Copyright (C) 2003--2009 by Charlie Zender
+# Usage:
+# scp ~/nco/debian/rules virga.ess.uci.edu:nco/debian
+
+# Sample debian/rules that uses debhelper
+# GNU copyright 1997 to 1999 by Joey Hess
+
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode
+#export DH_VERBOSE=1
+
+# Export this to make some magic below work
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+	confflags := --build=$(DEB_BUILD_GNU_TYPE)
+else
+	confflags := --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+endif
+
+export CFLAGS := -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# Set Debian-default netCDF directories to override development netCDF
+# installations in, e.g., /usr/local
+# 20070721: This may inadvertently cause libtool to set set rpath
+# In turn this generates linda warnings about hard-coded rpath
+# Since their Debian packages exist, enable GSL and ncap2
+# Until their Debian packages exist, disable DAP-netCDF, DAP-OPeNDAP, netCDF4, UDUnits, and UDUnits2
+config.status: configure
+	dh_testdir
+	NETCDF_INC='/usr/include' \
+	NETCDF_LIB='/usr/lib' \
+	./configure $(confflags) \
+		--prefix=/usr \
+		--infodir=/usr/share/info \
+		--libdir=/usr/lib/nco \
+		--mandir=/usr/share/man \
+		--enable-gsl \
+		--enable-ncoxx \
+		--disable-dap-netcdf \
+		--disable-dap-opendap \
+		--disable-nco_cplusplus \
+		--disable-netcdf4 \
+		--disable-udunits \
+		--disable-udunits2 \
+		--disable-static
+
+# Architecture 
+build: build-arch
+
+build-arch: build-arch-stamp
+build-arch-stamp:  config.status
+	$(MAKE) 
+	cd doc && $(MAKE) html
+	cd doc && $(MAKE) nco.info
+# Documentation to distribute in future
+#	cd doc && $(MAKE) nco.ps
+#	cd doc && $(MAKE) nco.dvi
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp config-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	rm -f data/big.nc
+
+	dh_clean
+
+install: install-arch
+
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -a
+	dh_installdirs -a
+# Commands to install architecture part of package into debian/tmp
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/nco
+# NCO installs header files by default, which Debian does not want (yet)
+	dh_install -a --exclude="*.h *.hh"
+
+# Must not depend on anything 
+# This is to be called by binary-arch/binary-multi in another 'make' thread
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs doc/ChangeLog
+	dh_installdocs
+	install -d debian/nco/usr/share/doc/nco/html
+	install -m 644 doc/nco.html/*.html debian/nco/usr/share/doc/nco/html
+	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress 
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target
+binary-indep: build install
+
+# Build architecture dependant packages using the common target
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install install-arch 
--- nco-3.9.9.orig/debian/doc-base
+++ nco-3.9.9/debian/doc-base
@@ -0,0 +1,16 @@
+Document: nco
+Title: NCO User's Guide
+Author: zender@uci.edu
+Abstract: This manual describes the netCDF Operators, NCO. 
+ NCO is a suite of programs, or operators, that take netCDF files as
+ input, perform an operation (e.g. averaging or hyperslabbing) and
+ produce an output netCDF file.
+Section: Science/Data Analysis
+
+Format: info
+Index: /usr/share/info/nco.info.gz
+Files: /usr/share/info/nco.*
+
+Format: HTML
+Index: /usr/share/doc/nco/html/index.html
+Files: /usr/share/doc/nco/html/*.html
--- nco-3.9.9.orig/debian/info
+++ nco-3.9.9/debian/info
@@ -0,0 +1 @@
+doc/nco.info*
