--- xca-0.8.0.orig/conftest.c +++ xca-0.8.0/conftest.c @@ -0,0 +1,18 @@ +#include +#include +//#include +#include + +int main(){ + printf("\nThe Versions of the used libraries are:\n\t%s 0x%lxL\n\tQT: %s\n", +// "\tOpenSC: %s\n", + OPENSSL_VERSION_TEXT, OPENSSL_VERSION_NUMBER, QT_VERSION_STR +// , sc_get_version() + ); + + if (QT_VERSION < 0x040001) { + printf("You need Qt 4 or higher\n"); + return 1; + } + return 0; +} --- xca-0.8.0.orig/debian/manpages +++ xca-0.8.0/debian/manpages @@ -0,0 +1 @@ +doc/xca.1 --- xca-0.8.0.orig/debian/compat +++ xca-0.8.0/debian/compat @@ -0,0 +1 @@ +5 --- xca-0.8.0.orig/debian/copyright +++ xca-0.8.0/debian/copyright @@ -0,0 +1,64 @@ +This package was debianized by Tino Keitel on +Sun, 08 Mar 2009 17:47:54 +0100. + +It was downloaded from + +Upstream Authors: + + Christian Hohnstädt + Ilya Kozhevnikov + Wolfgang Glas + Geoff Beier + +Copyright: + + Copyright (C) 2001 - 2007 Christian Hohnstaedt. + + +License: + + Copyright (C) 2001 - 2007 Christian Hohnstaedt. + + All rights reserved. + + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + - Neither the name of the author nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + This program links to software with different licenses from: + + - http://www.openssl.org which includes cryptographic software + written by Eric Young (eay@cryptsoft.com)" + + - http://www.trolltech.com + + + +The Debian packaging is copyright 2009, Tino Keitel and +is licensed under the BSD license, see `/usr/share/common-licenses/BSD'. + --- xca-0.8.0.orig/debian/control +++ xca-0.8.0/debian/control @@ -0,0 +1,24 @@ +Source: xca +Section: x11 +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Tino Keitel +Build-Depends: debhelper (>= 5), libqt4-dev (>= 4.2), libssl-dev, linuxdoc-tools, libltdl-dev +Standards-Version: 3.8.3 +Homepage: http://xca.sourceforge.net +Vcs-Git: http://git.hohnstaedt.de/xca.git + +Package: xca +Architecture: any +Depends: ${shlibs:Depends} +Description: x509 Certification Authority management tool based on QT4 + XCA creates and manages Certificate authorities and helps the user to + create and manage keys, certificates, certificate sign requests, + certificate revocation lists etc. + . + All data is saved in an encrypted, portable database, and can be exported + in various standard formats. XCA is also available for MacOS X and + Windows systems. + . + For a good workflow, certificate templates can be defined to make the + creation of new certificates an easy task. --- xca-0.8.0.orig/debian/changelog +++ xca-0.8.0/debian/changelog @@ -0,0 +1,31 @@ +xca (0.8.0-1ubuntu1) lucid; urgency=low + + * debian/rules: Work around strange ld error, fixes FTBFS + + -- Daniel T Chen Fri, 01 Jan 2010 02:43:31 -0500 + +xca (0.8.0-1) unstable; urgency=low + + * new upstream version (Closes: #560509) + * add libltdl-dev build-dep, required by xca 0.8.0 + * provide a directory for the documentation in the configure call + * actually invoke the configure target + * correctly declare the installation path + * no need to install HTML documentation via dh_installdocs, make install + does it + * no need to remove misplaced HTML documentation anymore + * use the generated Local.mak instead of a separate configure-stamp + + -- Tino Keitel Tue, 15 Dec 2009 23:01:45 +0100 + +xca (0.7.0-1) unstable; urgency=low + + * New upstream version + + -- Tino Keitel Mon, 14 Sep 2009 20:55:44 +0200 + +xca (0.6.4-35-g6c2d6a6-1) UNRELEASED; urgency=low + + * Initial release. (Closes: #519003) + + -- Tino Keitel Fri, 06 Mar 2009 20:58:46 +0100 --- xca-0.8.0.orig/debian/watch +++ xca-0.8.0/debian/watch @@ -0,0 +1,9 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://sf.net/xca/xca-(.*)\.tar\.gz --- xca-0.8.0.orig/debian/rules +++ xca-0.8.0/debian/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f + +configure: Local.mak + +Local.mak: + dh_testdir + LDFLAGS=-Bsymbolic-functions docdir=/usr/share/doc/xca prefix=/usr ./configure + +build: build-stamp + +build-stamp: Local.mak + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) destdir=$(CURDIR)/debian/xca/ install + rm -rf $(CURDIR)/debian/xca/usr/man + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs changelog + dh_installdocs AUTHORS VERSION + dh_install + dh_installmenu + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install configure --- xca-0.8.0.orig/debian/xca.menu +++ xca-0.8.0/debian/xca.menu @@ -0,0 +1,6 @@ +?package(xca):\ + needs="X11"\ + section="Applications/System/Security"\ + title="XCA"\ + icon32x32="/usr/share/pixmaps/xca-32x32.xpm"\ + command="/usr/bin/xca"