--- firestring-0.9.12.orig/debian/changelog +++ firestring-0.9.12/debian/changelog @@ -0,0 +1,116 @@ +firestring (0.9.12-8ubuntu2) utopic; urgency=medium + + * debian/tests/build: Fix allocation of the estr variables so that this + actually works. + + -- Martin Pitt Fri, 29 Aug 2014 09:49:49 +0200 + +firestring (0.9.12-8ubuntu1) raring; urgency=low + + * Add simple autopkgtest for package. + + -- Vibhav Pant Tue, 12 Feb 2013 16:35:05 +0100 + +firestring (0.9.12-8) unstable; urgency=low + + * New maintainer (Closes #407546). + + -- Herve Rousseau Sun, 15 Apr 2007 15:42:21 +0200 + +firestring (0.9.12-7) unstable; urgency=low + + * Orphaning package. + + -- Daniel Baumann Fri, 19 Jan 2007 13:40:00 +0100 + +firestring (0.9.12-6) unstable; urgency=low + + * New email address. + * Bumped policy version. + + -- Daniel Baumann Thu, 6 Jul 2006 07:57:00 +0200 + +firestring (0.9.12-5) unstable; urgency=low + + * Added tester.c as example to libfirestring-dev. + + -- Daniel Baumann Sat, 3 Jun 2006 18:11:00 +0200 + +firestring (0.9.12-4) unstable; urgency=low + + * Removed broken shlibs file, debhelper can detect it on its own. + + -- Daniel Baumann Tue, 28 Feb 2006 23:37:00 +0100 + +firestring (0.9.12-3) unstable; urgency=low + + * New maintainer. + * New upload issues new build on fixed mk86 toolchain (Closes: #321956). + * Corrected section. + * Redone debian/ with debhelper and dpatch. + * Added watch file. + + -- Daniel Baumann Mon, 03 Oct 2005 12:11:00 +0200 + +firestring (0.9.12-2) unstable; urgency=low + + * Update my email address. + * Kill misc autogenerated files that firestring doesn't clean up. + + -- Andres Salomon Fri, 05 Aug 2005 11:15:36 -0400 + +firestring (0.9.12-1) unstable; urgency=low + + * New upstream version (closes: #252705). + * Disable id check during build, since it's unnecessary (closes: #269652). + + -- Andres Salomon Sat, 02 Oct 2004 23:47:31 -0400 + +firestring (0.9.9-1) unstable; urgency=low + + * New upstream version. + * Update standards-version. + * Update copyright file. + + -- Andres Salomon Sun, 15 Feb 2004 22:56:32 -0500 + +firestring (0.9.5-1) unstable; urgency=low + + * New upstream release. + * Update packages for new SONAME. + * Update maintainer email address. + * Update standards-version. + * Switch build system to cdbs. + + -- Andres Salomon Wed, 17 Sep 2003 18:28:26 -0400 + +firestring (0.1.21-1) unstable; urgency=low + + * New upstream release. + + -- Andres Salomon Mon, 30 Sep 2002 02:47:13 -0400 + +firestring (0.1.19-2) unstable; urgency=low + + * s/POSIX/ANSI C/ in package description. + * Add -fPIC linking to all objects. (Closes: #156833) + * Add PREFIX and CONFDIR while make'ing; doesn't appear to be used, but + just to be on the safe side.. + * Fix double-build bug in (debian/rules) binary target. + + -- Andres Salomon Thu, 15 Aug 2002 17:35:21 -0400 + +firestring (0.1.19-1) unstable; urgency=low + + * New upstream release. + * Added proper descriptions to control file. + + -- Andres Salomon Sun, 11 Aug 2002 16:05:30 -0500 + +firestring (0.1.15-1) unstable; urgency=low + + * Initial Release. + * Fix a few firemake bugs. + * Make sure linking specifies the SONAME. + + -- Andres Salomon Wed, 19 Jun 2002 17:55:42 -0400 --- firestring-0.9.12.orig/debian/compat +++ firestring-0.9.12/debian/compat @@ -0,0 +1 @@ +5 --- firestring-0.9.12.orig/debian/control +++ firestring-0.9.12/debian/control @@ -0,0 +1,30 @@ +Source: firestring +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Herve Rousseau +Build-Depends: debhelper (>= 5), dpatch +XS-Testsuite: autopkgtest +Standards-Version: 3.7.2 + +Package: libfirestring0.9 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Runtime libraries for firestring, a string handling library + FireString is a library designed to make string handling easier. It includes + string functions that are included in most libc's, but not in ANSI C, so that + programmers can write portable code while not having to reinvent the wheel. + . + FireString also includes code for configuration file handling. + +Package: libfirestring-dev +Section: libdevel +Architecture: any +Depends: libfirestring0.9 (= ${binary:Version}) +Description: Development files for firestring, a string handling library + FireString is a library designed to make string handling easier. It includes + string functions that are included in most libc's, but not in ANSI C, so that + programmers can write portable code while not having to reinvent the wheel. + . + FireString also includes code for configuration file handling. --- firestring-0.9.12.orig/debian/copyright +++ firestring-0.9.12/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Daniel Baumann on +Mon, 03 Oct 2005 12:11:00 +0200. + +It was downloaded from . + +Upstream Author: Ian Gulliver + +License: + + Copyright (C) 2001-2002 Andres Salomin + Copyright (C) 2000 Ian Gulliver + + 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 program; 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 file. + +FireString has included parts of LibD licensed under the BSD license which +can be found in /usr/share/common-licenses/BSD on Debian systems. + +The Debian packaging is (C) 2005-2007, Daniel Baumann and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- firestring-0.9.12.orig/debian/libfirestring-dev.docs +++ firestring-0.9.12/debian/libfirestring-dev.docs @@ -0,0 +1 @@ +README --- firestring-0.9.12.orig/debian/libfirestring-dev.examples +++ firestring-0.9.12/debian/libfirestring-dev.examples @@ -0,0 +1 @@ +tester.c --- firestring-0.9.12.orig/debian/libfirestring-dev.install +++ firestring-0.9.12/debian/libfirestring-dev.install @@ -0,0 +1,4 @@ +/usr/include/* +/usr/lib/*.a +/usr/lib/*.so +/usr/share/man/man*/* --- firestring-0.9.12.orig/debian/libfirestring0.9.docs +++ firestring-0.9.12/debian/libfirestring0.9.docs @@ -0,0 +1 @@ +README --- firestring-0.9.12.orig/debian/libfirestring0.9.install +++ firestring-0.9.12/debian/libfirestring0.9.install @@ -0,0 +1 @@ +/usr/lib/*.so.* --- firestring-0.9.12.orig/debian/patches/00list +++ firestring-0.9.12/debian/patches/00list @@ -0,0 +1 @@ +01-id-fix.dpatch --- firestring-0.9.12.orig/debian/patches/01-id-fix.dpatch +++ firestring-0.9.12/debian/patches/01-id-fix.dpatch @@ -0,0 +1,59 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 01-id-fix.dpatch by Andres Salomon +## +## DP: Disable id check during build, since it's unnecessary. + +@DPATCH@ + +diff -Naur firestring-0.9.12.orig/firemake/id firestring-0.9.12/firemake/id +--- firestring-0.9.12.orig/firemake/id 2003-05-15 16:24:41.000000000 +0000 ++++ firestring-0.9.12/firemake/id 2005-10-03 10:42:16.715325184 +0000 +@@ -1,13 +1,13 @@ + #!/bin/sh + #phase init +-dispn "Checking for id..." +-if /usr/xpg4/bin/id 2>/dev/null; then +- disp "found, /usr/xpg4/bin/id" +- ID="/usr/xpg4/bin/id" +-elif id 2>/dev/null; then +- disp "found, id" +- ID="id" +-else +- disp "not found, aborting" +- exit 1 +-fi ++#dispn "Checking for id..." ++#if /usr/xpg4/bin/id 2>/dev/null; then ++# disp "found, /usr/xpg4/bin/id" ++# ID="/usr/xpg4/bin/id" ++#elif id 2>/dev/null; then ++# disp "found, id" ++# ID="id" ++#else ++# disp "not found, aborting" ++# exit 1 ++#fi +diff -Naur firestring-0.9.12.orig/firemake/install firestring-0.9.12/firemake/install +--- firestring-0.9.12.orig/firemake/install 2004-01-07 20:34:15.000000000 +0000 ++++ firestring-0.9.12/firemake/install 2005-10-03 10:43:23.042241960 +0000 +@@ -19,14 +19,14 @@ + disp "done" + + dispn "Checking for installation username..." +- INSTALL_GROUP=`$ID -ng root` +- if test "$?" = "0"; then ++ INSTALL_GROUP="root" ++ #if test "$?" = "0"; then + INSTALL_USER=root + disp "found, \"root\"" +- else +- disp "none found, aborting" +- exit 1 +- fi ++ #else ++ # disp "none found, aborting" ++ # exit 1 ++ #fi + + dispn "Checking for installation group name..." + if test "$INSTALL_GROUP" = ""; then --- firestring-0.9.12.orig/debian/rules +++ firestring-0.9.12/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure patch-stamp + dh_testdir + + # Configuring package + CFLAGS="$(CFLAGS)" PREFIX=/usr MANDIR=\$${PREFIX}/share/man ./configure + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Building package + $(MAKE) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Cleaning package + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing package + $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- firestring-0.9.12.orig/debian/tests/build +++ firestring-0.9.12/debian/tests/build @@ -0,0 +1,39 @@ +#!/bin/sh +# autopkgtest check: Build and run a program against firestring, to verify that +# the headers and pkg-config file are installed correctly +# (C) 2013 Canonical Ltd. +# Author: Vibhav Pant + +set -e + +WORKDIR=$(mktemp -d) +trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM +cd $WORKDIR +cat < firestring_test.c +#include +#include +#include + +void test_baselib() +{ + struct firestring_estr_t dest, source; + firestring_estr_alloc(&source, 50); + firestring_estr_alloc(&dest, 50); + firestring_estr_sprintf(&source, "autopkgtest"); + assert(firestring_estr_base64_encode(&dest, &source) == 0); + void *p = firestring_malloc(sizeof(double)); + free(p); +} + +int main(void) +{ + test_baselib(); + return 0; +} +EOF + +gcc -o firestring_test firestring_test.c -lfirestring -Werror -Wall +echo "build: OK" +[ -x firestring_test ] +./firestring_test +echo "run: OK" --- firestring-0.9.12.orig/debian/tests/control +++ firestring-0.9.12/debian/tests/control @@ -0,0 +1,2 @@ +Tests: build +Depends: libfirestring-dev, build-essential \ No newline at end of file