--- libcitadel-8.14.orig/debian/libcitadel3.install +++ libcitadel-8.14/debian/libcitadel3.install @@ -0,0 +1 @@ +usr/lib/*.so.* --- libcitadel-8.14.orig/debian/control +++ libcitadel-8.14/debian/control @@ -0,0 +1,35 @@ +Source: libcitadel +Section: libs +Priority: extra +Maintainer: Debian Citadel Team +Uploaders: Wilfried Goesgens , Michael Meskes , Alexander Wirt +Build-Depends: debhelper (>= 5), zlib1g-dev, quilt (>= 0.40) +Standards-Version: 3.9.3 +Vcs-Git: git://git.debian.org/git/pkg-citadel/libcitadel.git +Vcs-Browser: http://git.debian.org/?p=pkg-citadel/libcitadel.git +Homepage: http://www.citadel.org/ + +Package: libcitadel3 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, shared-mime-info +Description: Citadel toolbox + This library contains the commonly used routines for the citadel suite. + +Package: libcitadel3-dbg +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libcitadel3 (= ${binary:Version}) +Description: Debugging symbols for libcitadel3 + This library contains the commonly used routines for the citadel suite. + . + This package provides the debugging symbols. + +Package: libcitadel-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, pkg-config, + libcitadel3 (= ${binary:Version}) +Description: Development files for libcitadel3 + This library contains the commonly used routines for the citadel suite. + . + This package provides development files and static libraries. --- libcitadel-8.14.orig/debian/libcitadel-dbg.install +++ libcitadel-8.14/debian/libcitadel-dbg.install @@ -0,0 +1 @@ +usr/share/doc --- libcitadel-8.14.orig/debian/changelog +++ libcitadel-8.14/debian/changelog @@ -0,0 +1,255 @@ +libcitadel (8.14-2) unstable; urgency=low + + [ Wilfried Goesgens ] + * Add upstream patch to null terminate string + + [ Michael Meskes ] + * Updated configure.in from upstream + + -- Wilfried Goesgens Tue, 27 Nov 2012 12:15:38 +0100 + +libcitadel (8.14-1) unstable; urgency=low + + * Imported Upstream version 8.14 + + -- Michael Meskes Fri, 20 Jul 2012 20:38:04 +0200 + +libcitadel (8.12-1) unstable; urgency=low + + * Imported Upstream version 8.12 + + -- Michael Meskes Thu, 28 Jun 2012 10:40:18 +0200 + +libcitadel (8.11-2) unstable; urgency=low + + * Applied upstream's patch to fix compilation problem on kFreeBSD. + (Closes: #675841) + + -- Michael Meskes Tue, 05 Jun 2012 11:30:24 +0200 + +libcitadel (8.11-1) unstable; urgency=low + + * Adjusted watch file for new url. + * Imported Upstream version 8.11 + + -- Michael Meskes Fri, 25 May 2012 11:28:54 +0200 + +libcitadel (8.05-1) unstable; urgency=low + + * Imported Upstream version 8.05 + * Bumped Standards-Version to 3.9.3, no changes needed. + + -- Michael Meskes Sat, 17 Mar 2012 20:13:04 +0100 + +libcitadel (8.04-1) unstable; urgency=low + + * New upstream version + * Added build-arch and build-indep targets to rules file. + * Removed {...} braces from debhelper file. + + -- Michael Meskes Thu, 12 Jan 2012 12:31:46 +0100 + +libcitadel (7.86-1) unstable; urgency=low + + * Imported Upstream version 7.86 + * Bumped Standards-Version to 3.9.2, no changes needed. + + -- Michael Meskes Sun, 24 Apr 2011 21:54:36 +0200 + +libcitadel (7.84-1) unstable; urgency=low + + * New Upstream version 7.84 + + -- Michael Meskes Fri, 10 Sep 2010 11:34:30 +0200 + +libcitadel (7.83-1) unstable; urgency=low + + * New Upstream version 7.83 + * Bumped Standards-Version to 3.9.1, no changes needed. + + -- Michael Meskes Tue, 17 Aug 2010 09:54:13 +0200 + +libcitadel (7.81-1) unstable; urgency=low + + * New Upstream version 7.81 + * Bumped Standards-Version to 3.9.0, no changes needed. + * Added source/format file. + * Updated copyright file. + + -- Michael Meskes Wed, 21 Jul 2010 09:16:12 +0200 + +libcitadel (7.72-2) unstable; urgency=low + + * Added upstream patch to fix bug in RFC822 decoder. + * Removed patch system with empty patches directory. + + -- Michael Meskes Mon, 22 Feb 2010 09:55:21 +0100 + +libcitadel (7.72-1) unstable; urgency=low + + * New Upstream version. + * Bumped Standards-Version to 3.8.4, no changes needed. + + -- Michael Meskes Sat, 20 Feb 2010 17:59:33 +0100 + +libcitadel (7.71-1) unstable; urgency=high + + * New Upstream version. + + -- Michael Meskes Wed, 06 Jan 2010 10:57:02 +0100 + +libcitadel (7.70-1) unstable; urgency=low + + * New Upstream version. + + -- Michael Meskes Fri, 18 Dec 2009 09:29:06 +0100 + +libcitadel (7.66-1) unstable; urgency=low + + * New upstream version. + + -- Michael Meskes Tue, 29 Sep 2009 12:14:04 +0200 + +libcitadel (7.63-1) unstable; urgency=low + + * New upstream version. + + -- Michael Meskes Sat, 05 Sep 2009 14:19:50 +0200 + +libcitadel (7.61-1) unstable; urgency=low + + * New upstream version. + + -- Michael Meskes Wed, 12 Aug 2009 12:56:51 +0200 + +libcitadel (7.60-1) unstable; urgency=low + + * New upstream version. + * Bumped Standards-Version to 3.8.2, no changes needed. + + -- Michael Meskes Wed, 05 Aug 2009 14:19:13 +0200 + +libcitadel (7.51-1) unstable; urgency=low + + * New upstream version. + * Updated watch file for new page layout. + * Added missing Homepage: field. + + -- Michael Meskes Thu, 04 Jun 2009 09:01:02 +0200 + +libcitadel (7.50-1) unstable; urgency=low + + * New upstream version. + + -- Michael Meskes Thu, 09 Apr 2009 19:37:54 +0200 + +libcitadel (7.43-1) unstable; urgency=high + + * New upstream version. + * Bumped Standards-Version to 3.8.1, no changes needed. + + -- Michael Meskes Wed, 18 Mar 2009 11:29:15 +0100 + +libcitadel (7.42-1) unstable; urgency=low + + * New upstream version. + * Bumped major version to 2. + * Fixing copyright notice, closes: #518489 + + -- Michael Meskes Wed, 11 Mar 2009 17:50:23 +0100 + +libcitadel (7.41-1) unstable; urgency=low + + * New upstream version, closes: #497984 + * Changed watch file to account for an additional letter in the version + number if present. + + -- Michael Meskes Fri, 20 Feb 2009 16:49:05 +0100 + +libcitadel (7.38a-1) unstable; urgency=low + + * New upstream version. + * Removed upstream prepatches that were no longer needed. + + -- Michael Meskes Mon, 22 Sep 2008 16:15:32 +0200 + +libcitadel (7.37-4) unstable; urgency=low + + [Wilfried Goesgens] + * [r6615] change vcard version to 2.1 + + -- Michael Meskes Tue, 23 Sep 2008 19:08:29 +0200 + +libcitadel (7.37-4) unstable; urgency=low + + [Wilfried Goesgens] + * [r6580] add upstream prepatch to not violate vcard + standard, closes: #497948 + + -- Michael Meskes Tue, 9 Sep 2008 19:08:29 +0200 + +libcitadel (7.37-3) unstable; urgency=low + + * Enable patching in debian/rules. + * Re-diffed patches. + + -- Michael Meskes Fri, 15 Aug 2008 13:08:29 +0200 + +libcitadel (7.37-2) unstable; urgency=low + + [Wilfried Goesgens] + * add dependency on quilt + * [r6413] added upstream prepatch; 64 bit cleanness + * [r6475] added upstream prepatch; close dirhandle after use + + -- Michael Meskes Wed, 13 Aug 2008 10:04:19 +0200 + +libcitadel (7.37-1) unstable; urgency=low + + * New upstream version. + + -- Michael Meskes Fri, 20 Jun 2008 12:16:53 +0200 + +libcitadel (1.14-1) unstable; urgency=low + + * New upstream version + * Bumped standards to 3.8.0. + + -- Michael Meskes Fri, 06 Jun 2008 11:48:05 +0200 + +libcitadel (1.09-2) unstable; urgency=low + + * Made shlibs file list version number. + + -- Michael Meskes Thu, 01 May 2008 15:22:46 +0200 + +libcitadel (1.09-1) unstable; urgency=low + + * New upstream version + * Added watch file. + + -- Michael Meskes Thu, 24 Apr 2008 09:51:49 +0200 + +libcitadel (1.08-1) unstable; urgency=low + + * Changed maintainer to Debian Citadel Team. + * Moved priority to extra. + * New upstream version. + * Do not used deprecated substvar notion anymore. + * Added debian/compat file. + * Do not ignore errors in clean target. + + -- Michael Meskes Sat, 22 Mar 2008 17:18:06 +0100 + +libcitadel (1.05-4) unstable; urgency=high + + * include xdgmime + + -- Wilfried Goesgens Tue, 12 Feb 2008 0:00:00 +0001 + +libcitadel (1.03-3) unstable; urgency=low + + * initial debian release + + -- Wilfried Goesgens Sun, 18 Nov 2007 23:55:21 +0100 + --- libcitadel-8.14.orig/debian/libcitadel-dev.install +++ libcitadel-8.14/debian/libcitadel-dev.install @@ -0,0 +1,4 @@ +usr/lib/pkgconfig +usr/lib/*.so +usr/lib/*.a +usr/include --- libcitadel-8.14.orig/debian/copyright +++ libcitadel-8.14/debian/copyright @@ -0,0 +1,195 @@ +This package was debianized by Wilfried Goesgens on +Mon, 25 Jul 2005 12:46:10 +0200. + +It was downloaded from http://www.citadel.org + +Upstream Authors (the citadel.org development team): + Art Cancro + Nathan Bryant + Alessandro Fulciniti + Wilifried Goesgens + Nick Grossman + Andru Luvisi + Dave Lindquist + Matt Pfleger + Martin Mouritzen + +Copyright: (C) 1987-2009 citadel.org development team. +This program is distributed under the terms of the GNU General Public +License, version 3. + +This applies to the complete sourcetree with the execptions mentioned below: + +Some files are (C) FSF but also placed under GPL. + +lookup3.c is (C) Bob Jenkins, May 2006, Public Domain + +xdgmime; http://www.freedesktop.org s xdgmime library in lib/xdgmime, which is +distributed under LGPL V2 (or later) or the Academic Free License, version 2.0 +XDG Mime is courtesy of: + Jonathan Blandford + Copyright (C) 2004 Red Hat, Inc. + Matthias Clasen + +The Academic Free License + v. 2.0 + +This Academic Free License (the "License") applies to any original work of +authorship (the "Original Work") whose owner (the "Licensor") has placed the +following notice immediately following the copyright notice for the Original +Work: + +Licensed under the Academic Free License version 2.0 + +1) Grant of Copyright License. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, sublicenseable license to do the +following: +a) to reproduce the Original Work in copies; + +b) to prepare derivative works ("Derivative Works") based upon the Original +Work; + +c) to distribute copies of the Original Work and Derivative Works to the public; + +d) to perform the Original Work publicly; and + +e) to display the Original Work publicly. + +2) Grant of Patent License. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, sublicenseable license, under patent +claims owned or controlled by the Licensor that are embodied in the Original +Work as furnished by the Licensor, to make, use, sell and offer for sale the +Original Work and Derivative Works. + +3) Grant of Source Code License. The term "Source Code" means the preferred +form of the Original Work for making modifications to it and all available +documentation describing how to modify the Original Work. Licensor hereby +agrees to provide a machine-readable copy of the Source Code of the Original +Work along with each copy of the Original Work that Licensor distributes. +Licensor reserves the right to satisfy this obligation by placing a +machine-readable copy of the Source Code in an information repository +reasonably calculated to permit inexpensive and convenient access by You for as +long as Licensor continues to distribute the Original Work, and by publishing +the address of that information repository in a notice immediately following +the copyright notice that applies to the Original Work. + +4) Exclusions From License Grant. Neither the names of Licensor, nor the names +of any contributors to the Original Work, nor any of their trademarks or +service marks, may be used to endorse or promote products derived from this +Original Work without express prior written permission of the Licensor. +Nothing in this License shall be deemed to grant any rights to trademarks, +copyrights, patents, trade secrets or any other intellectual property of +Licensor except as expressly stated herein. No patent license is granted to +make, use, sell or offer to sell embodiments of any patent claims other than +the licensed claims defined in Section 2. No right is granted to the +trademarks of Licensor even if such marks are included in the Original Work. +Nothing in this License shall be interpreted to prohibit Licensor from +licensing under different terms from this License any Original Work that +Licensor otherwise would have a right to license. + +5) This section intentionally omitted. + +6) Attribution Rights. You must retain, in the Source Code of any Derivative +Works that You create, all copyright, patent or trademark notices from the +Source Code of the Original Work, as well as any notices of licensing and +any descriptive text identified therein as an "Attribution Notice." You must +cause the Source Code for any Derivative Works that You create to carry a +prominent Attribution Notice reasonably calculated to inform recipients that +You have modified the Original Work. + +7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that +the copyright in and to the Original Work and the patent rights granted herein +by Licensor are owned by the Licensor or are sublicensed to You under the terms +of this License with the permission of the contributor(s) of those copyrights +and patent rights. Except as expressly stated in the immediately proceeding +sentence, the Original Work is provided under this License on an "AS IS" BASIS +and WITHOUT WARRANTY, either express or implied, including, without limitation, +the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. +This DISCLAIMER OF WARRANTY constitutes an essential part of this License. +No license to Original Work is granted hereunder except under this disclaimer. + +8) Limitation of Liability. Under no circumstances and under no legal theory, +whether in tort (including negligence), contract, or otherwise, shall the +Licensor be liable to any person for any direct, indirect, special, incidental, +or consequential damages of any character arising as a result of this License +or the use of the Original Work including, without limitation, damages for loss +of goodwill, work stoppage, computer failure or malfunction, or any and all +other commercial damages or losses. This limitation of liability shall not +apply to liability for death or personal injury resulting from Licensor's +negligence to the extent applicable law prohibits such limitation. Some +jurisdictions do not allow the exclusion or limitation of incidental or +consequential damages, so this exclusion and limitation may not apply to You. + +9) Acceptance and Termination. If You distribute copies of the Original Work +or a Derivative Work, You must make a reasonable effort under the circumstances +to obtain the express assent of recipients to the terms of this License. +Nothing else but this License (or another written agreement between Licensor +and You) grants You permission to create Derivative Works based upon the +Original Work or to exercise any of the rights granted in Section 1 herein, +and any attempt to do so except under the terms of this License (or another +written agreement between Licensor and You) is expressly prohibited by U.S. +copyright law, the equivalent laws of other countries, and by international +treaty. Therefore, by exercising any of the rights granted to You in Section +1 herein, You indicate Your acceptance of this License and all of its terms +and conditions. + +10) Termination for Patent Action. This License shall terminate automatically +and You may no longer exercise any of the rights granted to You by this +License as of the date You commence an action, including a cross-claim or +counterclaim, for patent infringement (i) against Licensor with respect to a +patent applicable to software or (ii) against any entity with respect to a +patent applicable to the Original Work (but excluding combinations of the +Original Work with other software or hardware). + +11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this +License may be brought only in the courts of a jurisdiction wherein the +Licensor resides or in which Licensor conducts its primary business, and under +the laws of that jurisdiction excluding its conflict-of-law provisions. The +application of the United Nations Convention on Contracts for the International +Sale of Goods is expressly excluded. Any use of the Original Work outside the +scope of this License or after its termination shall be subject to the +requirements and penalties of the U.S. Copyright Act, 17 U.S.C. ยค 101 et seq., +the equivalent laws of other countries, and international treaty. This section +shall survive the termination of this License. + +12) Attorneys Fees. In any action to enforce the terms of this License or +seeking damages relating thereto, the prevailing party shall be entitled to +recover its costs and expenses, including, without limitation, reasonable +attorneys' fees and costs incurred in connection with such action, including +any appeal of such action. This section shall survive the termination of this +License. + +13) Miscellaneous. This License represents the complete agreement concerning +the subject matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent necessary +to make it enforceable. + +14) Definition of "You" in This License. "You" throughout this License, +whether in upper or lower case, means an individual or a legal entity +exercising rights under, and complying with all of the terms of, this +License. For legal entities, "You" includes any entity that controls, +is controlled by, or is under common control with you. For purposes of +this definition, "control" means (i) the power, direct or indirect, to cause +the direction or management of such entity, whether by contract or otherwise, +or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or +(iii) beneficial ownership of such entity. + +15) Right to Use. You may use the Original Work in all ways not otherwise +restricted or conditioned by this License or by law, and Licensor promises not +to interfere with or be responsible for such uses by You. + +This license is Copyright (C) 2003 Lawrence E. Rosen. All rights reserved. +Permission is hereby granted to copy and distribute this license without +modification. This license may not be modified without the express written +permission of its copyright owner. + +On Debian systems, the complete text of the GNU General Public License version +3 can be found in `/usr/share/common-licenses/GPL-3'. + +On Debian systems, the complete text of the GNU Lesser General Public License +version 2 can be found in `/usr/share/common-licenses/LGPL-2'. + +The Debian packaging is Copyright (C) 2005-2010, Debian Citadel Team + and is licensed under the GPL, see +above. --- libcitadel-8.14.orig/debian/compat +++ libcitadel-8.14/debian/compat @@ -0,0 +1,2 @@ +5 + --- libcitadel-8.14.orig/debian/README.source +++ libcitadel-8.14/debian/README.source @@ -0,0 +1,7 @@ +This package uses quilt for upstream source code patch management. Please read +/usr/share/doc/quilt/README.source for more information how to apply, unapply, +add, modify or remove patches. + +Please note that /usr/share/doc/quilt/README.source is only available in quilt +version 0.46-4.1 or later. + --- libcitadel-8.14.orig/debian/watch +++ libcitadel-8.14/debian/watch @@ -0,0 +1,5 @@ +version=3 + +http://www.citadel.org/doku.php?id=installation:source \ +http://easyinstall.citadel.org/libcitadel-([\d\.]+)[a-z]?.tar.gz + --- libcitadel-8.14.orig/debian/rules +++ libcitadel-8.14/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g +LDFLAGS = +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 -ggdb -rdynamic -MD -MP -D DEBUG -D VALGRIND + EXTRA_ARGS = --with-backtrace +else + CFLAGS += -O2 +endif + +ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS))) + CFLAGS += -pg + LDFLAGS += -pg +endif + +configure: patch configure-stamp +configure-stamp: + dh_testdir + + CFLAGS="$(CFLAGS)"; LDFLAGS="$(LDFLAGS)"; ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + $(EXTRA_ARGS) \ + --prefix=/usr + + touch configure-stamp + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: configure + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp install*-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + -rm -f libcitadel.pc sysdep.h tests/Makefile config.log + + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=`pwd`/debian/tmp install + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i -A README.txt + dh_installchangelogs -i debian/no-upstream-changelog + dh_install -i --sourcedir=debian/tmp + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a -plibcitadel3 + dh_installdocs -a + dh_install -a --sourcedir=debian/tmp + dh_link -a + dh_strip -a --dbg-package=libcitadel3-dbg + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a -V + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libcitadel-8.14.orig/debian/libcitadel-dev.dirs +++ libcitadel-8.14/debian/libcitadel-dev.dirs @@ -0,0 +1 @@ +usr/share/doc --- libcitadel-8.14.orig/debian/source/format +++ libcitadel-8.14/debian/source/format @@ -0,0 +1 @@ +1.0 --- libcitadel-8.14.orig/debian/patches/series +++ libcitadel-8.14/debian/patches/series @@ -0,0 +1 @@ +citadel.git-1c81990cf77f3bf041a335368b2b446728f8fe77.patch --- libcitadel-8.14.orig/debian/patches/citadel.git-1c81990cf77f3bf041a335368b2b446728f8fe77.patch +++ libcitadel-8.14/debian/patches/citadel.git-1c81990cf77f3bf041a335368b2b446728f8fe77.patch @@ -0,0 +1,28 @@ +From 1c81990cf77f3bf041a335368b2b446728f8fe77 Mon Sep 17 00:00:00 2001 +From: Art Cancro +Date: Tue, 31 Jul 2012 17:36:53 -0400 +Subject: [PATCH] When using the Linux kernel UUID generator, null terminate + +--- + libcitadel/lib/tools.c | 5 ++++- + 1 files changed, 4 insertions(+), 1 deletions(-) + +diff --git libcitadel/lib/tools.c libcitadel/lib/tools.c +index d738451..f520ee2 100644 +--- libcitadel/lib/tools.c ++++ libcitadel/lib/tools.c +@@ -885,7 +885,10 @@ void generate_uuid(char *buf) { + int rv; + rv = fread(buf, 36, 1, fp); + fclose(fp); +- if (rv == 1) return; ++ if (rv == 1) { ++ buf[36] = 0; ++ return; ++ } + } + } + +-- +1.7.2.5 +