--- bobcat-1.11.0.orig/debian/TODO.Debian +++ bobcat-1.11.0/debian/TODO.Debian @@ -0,0 +1,4 @@ + +transition -dev package names that don't include ABI versions in them: + +http://lists.debian.org/debian-release/2006/09/msg00038.html --- bobcat-1.11.0.orig/debian/control +++ bobcat-1.11.0/debian/control @@ -0,0 +1,63 @@ +Source: bobcat +Section: libs +Priority: optional +Maintainer: Frank B. Brokken +Uploaders: George Danchev +Build-Depends: debhelper (>= 5.0.37.3), libmilter-dev (>= 8.13.6-1), + libx11-dev (>= 6.9.0.dfsg.1-6), yodl (>= 2.01.03), + g++ (>= 4.0.0), icmake (>= 6.30-1), tetex-bin, tetex-extra, gs-gpl | gs +Standards-Version: 3.7.2 + +Package: libbobcat1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: run-time (shared) Bobcat library + The (shared) Bobcat library contains classes and templates used by, e.g., the + Stealth and Bisonc++ programs. + . + The Bobcat library contains a variety of C++ classes and templates, some of + them based on well-known Design Patterns. The library offers classes + handling, e.g., + Child Processes, Forks, Pipes and Redirection + Command-to-Function associations + Command-line arguments + Configurable Context Wrapping (Templates) + Configuration Files + Extended String Operations + Hash-tables + File-descriptor baed streams, among which sockets + Mail headers and mail filtering (milters) + Pattern matching + Reference Counting + Single Key Input + Syslog- and other kinds of messages + Universal Type Conversions (Templates) + +Package: libbobcat1-dev +Architecture: any +Section: libdevel +Depends: libbobcat1 +Description: headers and documentation for the Bobcat library + Headers and documentation of classes defined in the Bobcat library. + . + The Bobcat library contains a variety of C++ classes and templates, some of + them based on well-known Design Patterns. The library offers classes + handling, e.g., + Child Processes, Forks, Pipes and Redirection + Command-to-Function associations + Command-line arguments + Configurable Context Wrapping (Templates) + Configuration Files + Extended String Operations + Hash-tables + File-descriptor based streams, among which sockets + Mail headers and mail filtering (milters) + Pattern matching + Reference Counting + Single Key Input + Syslog- and other kinds of messages + Universal Type Conversions (Templates) + . + The libbobcat1-dev package contains the static library as well as header + files and manual pages of the Bobcat classes and templates. --- bobcat-1.11.0.orig/debian/compat +++ bobcat-1.11.0/debian/compat @@ -0,0 +1 @@ +5 --- bobcat-1.11.0.orig/debian/libbobcat1.dirs +++ bobcat-1.11.0/debian/libbobcat1.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/share/doc/libbobcat1 --- bobcat-1.11.0.orig/debian/rules +++ bobcat-1.11.0/debian/rules @@ -0,0 +1,144 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + ./build libraries all + ./build man + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + ./build clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + ./build install debian/libbobcat1 debian/libbobcat1-dev + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -A changelog + dh_installdocs -A CLASSES README.class-setup README.optimization + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + + + +# The following is for internal development usage only +# Update that sum when new _upstream_ releases occur, this +# catches silent file content forges at the upstream server side + +MD5TRUSTED := be3345a3a263de56cce583374fde78c9 + +DEBVERSION:=$(shell head -n 1 debian/changelog | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') +UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//') +UPNAME := bobcat +UPFILE := $(UPNAME)_$(UPVERSION).tar.gz +DEFILE := $(UPNAME)_$(UPVERSION).orig.tar.gz +URL := ftp://ftp.icce.rug.nl/pub/frank/debian/tarballs/bobcat +MD5CURRENT := `md5sum ../tarballs/$(DEFILE) | sed -e 's/ .*//'` +SVNTRUNK := https://svn.sourceforge.net/svnroot/bobcat/trunk/bobcat + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + + -@if [ ! -f ../tarballs/$(DEFILE) ] ; then \ + echo "Downloading $(URL)/$(UPFILE) from $(URL)/$(UPFILE) ..." ; \ + wget -N -nv -T10 -t3 -O ../tarballs/$(DEFILE) $(URL)/$(UPFILE) ; \ + else \ + echo "Upstream source tarball have been already downloaded" ; \ + fi + + -@if [ "$(MD5CURRENT)" != "$(MD5TRUSTED)" ] ; then \ + echo "Expecting upstream filename md5sum $(MD5TRUSTED), but $(MD5CURRENT) found" ; \ + echo "Upstream filename md5sum is NOT trusted! Possible upstream filename forge!" ; \ + false ; \ + else \ + echo "Upstream filename md5sum is trusted!" ; \ + fi + + +get-svn-trunk: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + rm -rf ../tarballs/$(DEFILE) ../tarballs/bobcat-svn-trunk + svn --force export $(SVNTRUNK) ../tarballs/bobcat-svn-trunk + @@if [ -d ../tarballs/bobcat-svn-trunk/debian ] ; then rm -rf ../tarballs/bobcat-svn-trunk/debian; fi + @@ echo Building the SVN TRUNK tarball in ../tarballs/$(DEFILE) + @@GZIP=-9 tar -b1 -czf ../tarballs/$(DEFILE) -C ../tarballs bobcat-svn-trunk + rm -rf ../tarballs/bobcat-svn-trunk + + +print-version: + @@echo "Debian version: $(DEBVERSION)" + @@echo "Upstream version: $(UPVERSION)" + + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- bobcat-1.11.0.orig/debian/libbobcat1-dev.install +++ bobcat-1.11.0/debian/libbobcat1-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la --- bobcat-1.11.0.orig/debian/libbobcat1.postinst +++ bobcat-1.11.0/debian/libbobcat1.postinst @@ -0,0 +1,9 @@ +#!/bin/bash + +#DEBHELPER# + +set -e + +ldconfig + +exit 0 --- bobcat-1.11.0.orig/debian/libbobcat1.postrm +++ bobcat-1.11.0/debian/libbobcat1.postrm @@ -0,0 +1,10 @@ +#!/bin/bash + +#DEBHELPER# + +set -e + +case "$1" in remove) + ldconfig +esac + --- bobcat-1.11.0.orig/debian/changelog +++ bobcat-1.11.0/debian/changelog @@ -0,0 +1,347 @@ +bobcat (1.11.0-1) unstable; urgency=low + + [ Frank Brokken ] + * New upstream release expands and generalizes the Wrap* classes + see the upstream changelog for details + + [ George Danchev ] + * rules:get-orig-source - use sed instead original-awk + * fix a textual typo in package description + * build-depend on icmake >= 6.30-1 + + -- Frank B. Brokken Sat, 14 Oct 2006 15:22:42 +0200 + +bobcat (1.10.2-1) unstable; urgency=high + + * New upstream release (Closes: #385312) + + [ George Danchev ] + * renamed *.install and *.dirs files to match package names + * no more doc directories which do not match binary package names: + (/usr/share/doc/bobcat and /usr/share/doc/bobcat-dev) + * install upstream changelog for both packages + * debian/copyright: added GPL license preambule, debian packaging + copyright and canonical upstream download location + * debian/compat 5, thus debhelper (>= 5.0.37.3) + * Ack superfluous NMU (Closes: #386374) + * fix some url locations in copyright and rules:get-svn-trunk + * installdocs CLASSES README.class-setup README.optimization + + [ Frank Brokken ] + * the lintian overrides are superfluous and were removed, the icmake/install + script ignores them, too. + + -- George Danchev Thu, 7 Sep 2006 11:14:35 +0300 + +bobcat (1.10.1-1.1) unstable; urgency=high + + * Non-maintainer Upload + * Fix FTBFS on amd64 (Closes: 385312) + + -- Michael Ablassmeier Thu, 7 Sep 2006 10:01:06 +0200 + +bobcat (1.10.1-1) unstable; urgency=low + + * New upstream release + + [ Frank B. Brokken ] + * Changed make/xxx scripts to construction scripts based on icmake. Debian + now uses icmake scripts, and INSTALL.im to define the locations of the + various targets. Added the directory ./icmake. + + [ George Danchev ] + * drop all patches since have been merged upstream + * new build-depends: icmake, tetex-bin, tetex-extra, gs-gpl | gs + + -- George Danchev Sat, 26 Aug 2006 12:15:54 +0300 + +bobcat (1.10.0-5) unstable; urgency=low + + [ George Danchev ] + * 04_g++.dpatch: use system's g++, versions if any should specified in debian/control + * build-depend on g++, debhelper (>=4.0.2) + * intermediate realclean target (patch clean unpatch, since we need patching early) + + -- George Danchev Thu, 27 Jul 2006 23:17:11 +0300 + +bobcat (1.10.0-4) unstable; urgency=low + + [ George Danchev ] + * 01_fix_yodl_macro.dpatch: updated to fix some bashisms there. + * 03_fix_bashisms.dpatch: fix several blatant bashisms, preventing + builds on systems wish /bin/sh->/bin/dash (Closes: #379722) + also don't let *.so files go in -dev package, but keep *.a instead + * build library first, then docs + + -- George Danchev Wed, 26 Jul 2006 16:26:39 +0300 + +bobcat (1.10.0-3) unstable; urgency=low + + [ George Danchev ] + * 02_fix_amd64_s390_build: applied the patch from Andreas Jochens + to fix amd64 and s390 builds (Closes: #379620) + + -- George Danchev Wed, 26 Jul 2006 12:04:28 +0300 + +bobcat (1.10.0-2) unstable; urgency=low + + [ George Danchev ] + * 01_fix_yodl_macro.dpatch: fix yodl macro + * control: Add yodl, dpatch to build-depends + * rules: Add get-orig-source and print-version targets + + -- George Danchev Sun, 23 Jul 2006 01:04:57 +0300 + +bobcat (1.10.0-1) unstable; urgency=low + + * License changed to the GNU GENERAL PUBLIC LICENSE. See the file + `copyright'. + + Introduced George Danchev as uploader + + CmdFinder now properly clears beyond() when using mode USE_FIRST + + From now on this file will only reflect Debian-specific changes. See the + newly added file changelog for `upstream' changes. At this point, + changelog will be a copy of debian's changelog file. + + + -- Frank B. Brokken Tue, 18 Jul 2006 21:38:21 +0200 + +bobcat (1.9.0) unstable; urgency=low + + * Following suggestions made by George Danchev, this version was compiled by + the unstable's g++ compiler (version >= 4.1), which unveiled several flaws + in the library's class header files. These flaws were removed (i.e., + repaired). + + In order to facilitate compiler selection, the compiler to use is defined + in the INSTALL.cf file. + + The debian control-files (i.e., all files under the debian subdirectory) + were removed from the source distribution, which is now also named in + accordance with the Debian policy. A diff.gz file was added. + + At the contents level: the class ConfigFile was extended with two + overloaded members index(), returning line offset of the original + configuration file associated with a particular line that may be retrieved + from the ConfigFile object itself. + + -- Frank B. Brokken Tue, 4 Jul 2006 21:17:56 +0200 + +bobcat (1.8.0) unstable; urgency=low + + * make/install script slightly modified: header files are copied before the + compilation starts to prevent unavailable header files. + Added the following classes: + * CmdFinder and CmdFinderBase: CmdFinder is a class handling + command-lookup and command-function associations + * OneKey: Objects of the class OneKey allow single-keystroke input (not + requiring `Enter' to be pressed. + * RefCount: Base class allowing its derived classes to share their + memory, using reference counting. + Modified the layout and contents of the file README.class-setup to improve + the current class organization's representation. + + -- Frank B. Brokken Mon, 26 Jun 2006 08:42:18 +0200 + +bobcat (1.7.1) unstable; urgency=low + + * Bobcat now `lintianized'. The libraries are now in the libbobcat1 and + libbocat1-dev packages. The package's info has been upgraded. Note that + packages depending on bobcat (e.g., stealth and bisonc++) require an + upgrade as well. + + -- Frank B. Brokken Fri, 26 May 2006 15:02:22 +0200 + +bobcat (1.7.0) unstable; urgency=low + + * milter and xpointer are included optionally. `make/library all' includes + them automatically + + New class Indent and associated manipulators implementing indentation + defined. + + ofdstreambuf and ifdstreambuf constructors have additional parameters to + either close or keep open the file descriptor that is passed to the + constructor. The default situation is for ofdstreambuf to close the file + descriptor and for ifdstreambuf to keep de file descriptor open. Thus the + new implementation is backward compatible with earlier bobcat versions. + + Msg has a new free function msgstream() returning the not-cleared msg() + stream. This allows certain STL algorithms to be used, see `man -e bobcat + msg' + + wrap1c and wrap2c now also accept const contexts; see, e.g., `man -e + bobcat wrap1c'. Errors in wrap2c's template definition repaired. + + ConfigFile now has additional members beginRE() and endRE(), allowing + iterators to produce all lines matching a RE. + Repaired ConfigFile in accordance with the man-page: + initial ws are now removed from the stored lines, + find(target): `target' may be found anywhere within a configuration + line. + + -- Frank B. Brokken Tue, 2 May 2006 19:31:02 +0200 + +bobcat (1.6.0) unstable; urgency=low + + * minor repair in Pattern- and Selector manpages + + added MultiStrambuf, IOStreambuf, IOStream: see the manpages for details. + + redesigned Process: insertions insert to the child process, extractions + extract from the child process. STDOUT and STDERR can or cannot be + merged. See the man-page for details. + + redesigned Arg: same functionality as before, but allows for multiple + specifications of options, also those having arguments. When multiple + options having arguments are specified, each individual argument is + retrievable. + + added string::escape() + + `get...' accessors removed from all classes, (Arg, Fork and Pipe) + Old names are kept for the time being. + + -- Frank B. Brokken Mon, 26 Dec 2005 19:04:24 +0100 + +bobcat (1.5.0) unstable; urgency=low + + * The general bobcat manpage did not have links to wrap1c and wrap2c. Now + Repaired. + + The Log-class interface is modified. See the man -e bobcat log manpage for + details. The main difference is that a static initialize() member is now + used to define the static Log-object. Also, logs may be written to stdout + using a simpler specification than before. The Log class also supports an + open() member, allowing you to open a local Log object after its + construction. + + Added the class Milter, offering a C++ interface to the (sendmail) + libmilter API. This class uses the `virtual constructor' Design Pattern to + prevent the need for saving and accessing private connection based data + using the libmilter api smfi_setpriv() and smfi_getpriv(). See `man -e + bobcat milter' for details. + + Added the class Xpointer, setting and retrieving the X-windows pointer + coordinates. + + With the shared object library, functions from both libmilter and libX11 + must be available before a program can be fully linked. To prevent + unnessary linking to these libraries, required dummy C functions were + added to the bobcat library. When using libmilter and/or libX11, that + these libraries should be mentioned to the linker before libbobcat. + + -- Frank B. Brokken Thu, 8 Dec 2005 20:52:44 +0100 + +bobcat (1.4.0) unstable; urgency=low + + * 1.4.0 and beyond: compiled with g++-4.0 compiler series. + Minor modifications in the log/log and level/level header files: + ::operator<<() changed into operator<<() + + Further support of the 1.2.x series is discontinued + + -- Frank B. Brokken Fri, 18 Nov 2005 21:44:13 +0100 + +bobcat (1.2.1) unstable; urgency=low + + * added missing constructor description in the Pattern manpage + removed leftover cerr insertion from localserversocket::listen() + + defined default localsocketbase constructor. + added /bobcat/localsocketbase/open.cc + + defined default localserversocket constructor. + removed /bobcat/localserversocket/localserversocket1.cc + added /bobcat/localserversocket/open.cc + + defined default localclientsocket constructor. + defined LocalClientSocket::open() + + Pattern missed some throwlists in its implementations. Repaired. + + -- Frank B. Brokken Thu, 17 Nov 2005 14:05:26 +0100 + +bobcat (1.2.0) unstable; urgency=low + + * Added the following classes: + localsocketbase - base class for unix domain sockets + localserversocket - defines server for unix domain sockets + localclientsocket - defined client for unix domain sockets + randbuffer - std::streambuf producing random numbers + irandstream - istream producing random numbers + mailheaders - handles SMTP mail message headers + + Repaired incorrect header inclusion in datetime. + + -- Frank B. Brokken Fri, 11 Nov 2005 16:47:31 +0100 + +bobcat (1.1.2) unstable; urgency=low + + * Repaired -I statement in make/parameters, and changed tmp/inc into + tmp/bobcat (repairs resulting from feedback by Vincent Hecht) + Changed the ordering of the classes tablesupport and tablespec + in CLASSES + + -- Frank B. Brokken Thu, 8 Sep 2005 19:40:43 +0200 + +bobcat (1.1.1) unstable; urgency=low + + * Removed the compilation dependency on `icmake'. See INSTALL for + instructions about how to compile and install bobcat yourself, rather than + using the binary distribution + + -- Frank B. Brokken Sat, 3 Sep 2005 16:47:24 +0200 + +bobcat (1.1.0) unstable; urgency=low + + * Added the following classes: + + FBB::ClientSocket: a socket for tcp-communication with a server. + FBB::columnWidth: Manipulator class for the class Table. + FBB::DateTime: Manipulations with date and time values. + FBB::equalWidth: Manipulator class for the class Table. + FBB::GetHostent: Obtains hostent struct from hostname or -address. + FBB::Glob: Obtain a list of files matching a certain pattern. + FBB::Hostent: Wrapper around the hostent struct. + FBB::Hostname: Derived from Hostent, allows the initialization from a + FBB::IFdStream: stream extracting information from a device whose file + FBB::IFdStreambuf: Input stream buffer initialized by a file descrip- + FBB::InetAddress: Base class (no public constructor) for objects repre- + FBB::level: Manipulator setting the log-level of FBB::Log objects. + FBB::Log: std::ostream handling log messages. + FBB::LogBuffer: std::streambuf handling log messages. + FBB::OFdStream: stream inserting information into a device whose file + FBB::OFdStreambuf: Output stream buffer initialized by a file descrip- + tor. + FBB::Process: Runs child processes, piping output to parents. + FBB::ServerSocket: defines a socket to which clients can connect. + FBB::SocketBase: Base class for ClientSocket and ServerSocket. + FBB::Stat: Determines file characteristics. + FBB::Syslogbuf: streambuf to Buffer generating syslog(3) messages. + FBB::SyslogStream: stream to Output stream inserting syslog(3) mes- + sages. + FBB::Table: Display tables row- or column-wise. + FBB::TableSpec: Base class for the class Table. + FBB::TableSupport: Support class for the class Table. + FBB::User: Determines the current user's parameters from /etc/passwd. + + Added an examples directory under /usr/share/doc/bobcat-dev + Added a contrib directory under /usr/share/doc/bobcat-dev, currently + containing the `solib' script making shared libraries + + o The minor release number will be incremented when new information + (classes, documentation, etc.) is added, + o The subrelease number will be incremented at bugfixes. + o I don't know yet when I'll upgrade the major release number + + -- Frank B. Brokken Wed, 31 Aug 2005 12:57:03 +0200 + +bobcat (1.0.0-1) unstable; urgency=low + + * Initial Release. + + -- Frank B. Brokken Mon, 15 Aug 2005 11:32:09 +0200 + --- bobcat-1.11.0.orig/debian/libbobcat1.install +++ bobcat-1.11.0/debian/libbobcat1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- bobcat-1.11.0.orig/debian/copyright +++ bobcat-1.11.0/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Frank B. Brokken on +Mon, 15 Aug 2005 11:32:09 +0200. + +It was downloaded from: ftp://ftp.icce.rug.nl/pub/frank/debian/tarballs/bobcat/ + +Upstream Author: Frank B. Brokken + +Copyright: + Bobcat: Brokken's Own Base Classes and Templates + Copyright (c) 2005 - now by Frank B. Brokken, University of Groningen. + +License: + + 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; either version 2 of the License, or + (at your option) any later version. + + 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 package; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +Debian packaging copyright: + +  (C) 2005, 2006 Frank B. Brokken +  (C) 2006 George Danchev +and is licensed under the GPL, see above. --- bobcat-1.11.0.orig/debian/libbobcat1-dev.dirs +++ bobcat-1.11.0/debian/libbobcat1-dev.dirs @@ -0,0 +1,3 @@ +usr/lib +usr/include +usr/share/doc/libbobcat1-dev