pwouters pushed to xca (epel7). "auto-import changelog data from xca-0.4.6-0.fdr.1.rh90.src.rpm (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 18 20:57:48 UTC 2015


From 04b9e9a64b57f973277e6dab2572d794cec81d00 Mon Sep 17 00:00:00 2001
From: cvsextras <cvsextras at fedoraproject.org>
Date: Mon, 8 Nov 2004 05:33:36 +0000
Subject: =?UTF-8?q?auto-import=20changelog=20data=20from=20xca-0.4.6-0.fdr?=
 =?UTF-8?q?.1.rh90.src.rpm=200.4.6-0.fdr.1=20-=20changed=20compile/install?=
 =?UTF-8?q?=20commands=20to=20work=20with=20the=20new,=20yet-another=20=20?=
 =?UTF-8?q?=20=20=20configure=20system=20-=20removed=20libpthread=20test?=
 =?UTF-8?q?=20since=20it=20went=20upstream=20-=20do=20not=20package=20READ?=
 =?UTF-8?q?ME=20anymore;=20it=20contains=20installation/build=20=20=20=20?=
 =?UTF-8?q?=20instructions=20only=20-=20applied=20gcc3=20patch=20-=20updat?=
 =?UTF-8?q?ed=20to=200.4.6=20-=20removed=20desktop=20patch=20which=20went?=
 =?UTF-8?q?=20upstream=200.4.5-0.fdr.2=20-=20applied=20Ville=20Skytt=C3=A4?=
 =?UTF-8?q?'s=20patch=20to=20add=20categories=20and=20to=20fix=20encoding?=
 =?UTF-8?q?=20of=20=20=20=20=20desktop-file=20=20=20=20=20(http://sourcefo?=
 =?UTF-8?q?rge.net/tracker/index.php=3Ffunc=3Ddetail&aid=3D789374&group=5F?=
 =?UTF-8?q?=20=20=20=20=20id=3D62274&atid=3D500027)=20-=20removed=20'--add?=
 =?UTF-8?q?-category=20...'=20options=20which=20become=20obsoleted=20by=20?=
 =?UTF-8?q?this=20patch=200.4.5-0.fdr.1=20-=20updated=20to=200.4.5=200.4.4?=
 =?UTF-8?q?-0.fdr.1=20-=20updated=20to=200.4.4=20-=20use=20generic=20downl?=
 =?UTF-8?q?oad=20address=20for=20Source0=200.4.2-0.fdr.1.1=20-=20changed?=
 =?UTF-8?q?=20Summary:=20accordingly=20the=20suggestion=20in=20Fedora=20bu?=
 =?UTF-8?q?g=20#494=200.4.2-0.fdr.1=20-=20updated=20to=200.4.2=200.4.1-0.f?=
 =?UTF-8?q?dr.2=20-=20removed=20the=20%{smp=5Fmflags}=20since=20parallel?=
 =?UTF-8?q?=20builds=20are=20not=20supported=20by=20the=20=20=20=20=20QT?=
 =?UTF-8?q?=20makefiles=200.4.1-0.fdr.1=20-=20updated=20to=200.4.1=20-=20a?=
 =?UTF-8?q?dded=20debian/changelog=20to=20%doc-list=200.4.0-0.fdr.1=20-=20?=
 =?UTF-8?q?updated=20to=200.4.0=20-=20removed=20patches=20which=20went=20u?=
 =?UTF-8?q?pstream=200.3.2-0.fdr.2.1=20-=20fixed=20Summary=200.3.2-0.fdr.2?=
 =?UTF-8?q?=20-=20added=20icon=20-=20made=20minor=20fixes=20in=20the=20%de?=
 =?UTF-8?q?scription=20-=20added=20explicit=20epoch=20-=20created=20a=20se?=
 =?UTF-8?q?parate=20.desktop=20file=20Tue=20Jun=2010=202003=20Enrico=20Sch?=
 =?UTF-8?q?olz=20<enrico.scholz at informatik.tu-chemnitz.de>=20=20=20=20=200?=
 =?UTF-8?q?.3.2-0.fdr.1=20-=20prepared=20for=20fedora.us=20Tue=20Jun=2010?=
 =?UTF-8?q?=202003=20Enrico=20Scholz=20<enrico.scholz at informatik.tu-chemni?=
 =?UTF-8?q?tz.de>=20=20=20=20=200.3.2-0.0.3=20-=20added=20dbpriv=20patch?=
 =?UTF-8?q?=20-=20added=20desktop=20entry=20Fri=20Jun=2006=202003=20Enrico?=
 =?UTF-8?q?=20Scholz=20<enrico.scholz at informatik.tu-chemnitz.de>=20-=20Ini?=
 =?UTF-8?q?tial=20build.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


diff --git a/.cvsignore b/.cvsignore
index e69de29..cbfde45 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+xca-0.4.6.tar.gz
diff --git a/cxx_common.h b/cxx_common.h
new file mode 100644
index 0000000..424b4e6
--- /dev/null
+++ b/cxx_common.h
@@ -0,0 +1,45 @@
+/*-
+ * See the file LICENSE for redistribution information.
+ *
+ * Copyright (c) 1997-2001
+ *	Sleepycat Software.  All rights reserved.
+ *
+ * $Id: cxx_common.h,v 11.1 2001/04/29 06:44:05 dda Exp $
+ */
+
+#ifndef _CXX_COMMON_H_
+#define	_CXX_COMMON_H_
+
+//
+// Common definitions used by all of Berkeley DB's C++ include files.
+//
+
+////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////
+//
+// Mechanisms for declaring classes
+//
+
+//
+// Every class defined in this file has an _exported next to the class name.
+// This is needed for WinTel machines so that the class methods can
+// be exported or imported in a DLL as appropriate.  Users of the DLL
+// use the define DB_USE_DLL.  When the DLL is built, DB_CREATE_DLL
+// must be defined.
+//
+#if defined(_MSC_VER)
+
+#  if defined(DB_CREATE_DLL)
+#    define _exported __declspec(dllexport)      // creator of dll
+#  elif defined(DB_USE_DLL)
+#    define _exported __declspec(dllimport)      // user of dll
+#  else
+#    define _exported                            // static lib creator or user
+#  endif
+
+#else /* _MSC_VER */
+
+#  define _exported
+
+#endif /* _MSC_VER */
+#endif /* !_CXX_COMMON_H_ */
diff --git a/cxx_except.h b/cxx_except.h
new file mode 100644
index 0000000..3b0abe3
--- /dev/null
+++ b/cxx_except.h
@@ -0,0 +1,78 @@
+/*-
+ * See the file LICENSE for redistribution information.
+ *
+ * Copyright (c) 1997-2001
+ *	Sleepycat Software.  All rights reserved.
+ *
+ * $Id: cxx_except.h,v 11.2 2001/05/08 18:58:45 bostic Exp $
+ */
+
+#ifndef _CXX_EXCEPT_H_
+#define	_CXX_EXCEPT_H_
+
+#include "cxx_common.h"
+
+////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////
+//
+// Forward declarations
+//
+
+class DbException;                               // forward
+class DbMemoryException;                         // forward
+class Dbt;                                       // forward
+
+////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////
+//
+// Exception classes
+//
+
+// Almost any error in the DB library throws a DbException.
+// Every exception should be considered an abnormality
+// (e.g. bug, misuse of DB, file system error).
+//
+// NOTE: We would like to inherit from class exception and
+//       let it handle what(), but there are
+//       MSVC++ problems when <exception> is included.
+//
+class _exported DbException
+{
+public:
+	virtual ~DbException();
+	DbException(int err);
+	DbException(const char *description);
+	DbException(const char *prefix, int err);
+	DbException(const char *prefix1, const char *prefix2, int err);
+	int get_errno() const;
+	virtual const char *what() const;
+
+	DbException(const DbException &);
+	DbException &operator = (const DbException &);
+
+private:
+	char *what_;
+	int err_;                   // errno
+};
+
+//
+// A specific sort of exception that occurs when
+// user declared memory is insufficient in a Dbt.
+//
+class _exported DbMemoryException : public DbException
+{
+public:
+	virtual ~DbMemoryException();
+	DbMemoryException(Dbt *dbt);
+	DbMemoryException(const char *description);
+	DbMemoryException(const char *prefix, Dbt *dbt);
+	DbMemoryException(const char *prefix1, const char *prefix2, Dbt *dbt);
+	Dbt *get_dbt() const;
+
+	DbMemoryException(const DbMemoryException &);
+	DbMemoryException &operator = (const DbMemoryException &);
+
+private:
+	Dbt *dbt_;
+};
+#endif /* !_CXX_EXCEPT_H_ */
diff --git a/sources b/sources
index e69de29..0e788f3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3defe69788b9e0eb738f374143be6e12  xca-0.4.6.tar.gz
diff --git a/xca-0.4.6-gcc3.patch b/xca-0.4.6-gcc3.patch
new file mode 100644
index 0000000..b553139
--- /dev/null
+++ b/xca-0.4.6-gcc3.patch
@@ -0,0 +1,43 @@
+===================================================================
+RCS file: /cvsroot/xca/xca/widgets/MainWindow.cpp,v
+retrieving revision 1.33
+retrieving revision 1.34
+diff -u -r1.33 -r1.34
+--- xca/xca/widgets/MainWindow.cpp	2003/11/25 19:34:02	1.33
++++ xca/xca/widgets/MainWindow.cpp	2003/11/26 22:03:17	1.34
+@@ -45,7 +45,7 @@
+  * http://www.hohnstaedt.de/xca
+  * email: christian at hohnstaedt.de
+  *
+- * $Id: MainWindow.cpp,v 1.33 2003/11/25 19:34:02 chris2511 Exp $ 
++ * $Id: MainWindow.cpp,v 1.34 2003/11/26 22:03:17 chris2511 Exp $ 
+  *
+  */                           
+ 
+@@ -282,16 +282,16 @@
+ 
+ void MainWindow::cmd_help(const char* msg) {
+ 
+-printf(" -v show version information and exit
+- -k expect all following non-option arguments to be RSA keys
+- -r expect all following non-option arguments to be
+-    Certificate signing requests or SPKAC requests
+- -c expect all following non-option arguments to be Certificates
+- -p expect all following non-option arguments to be PKCS#12 files
+- -7 expect all following non-option arguments to be PKCS#7 files
+- -l expect all following non-option arguments to be Revokation lists
+- -t expect all following non-option arguments to be XCA templates
+- -x Exit after processing all commandline options");
++printf(" -v show version information and exit\n"
++" -k expect all following non-option arguments to be RSA keys\n"
++" -r expect all following non-option arguments to be\n"
++"    Certificate signing requests or SPKAC requests\n"
++" -c expect all following non-option arguments to be Certificates\n"
++" -p expect all following non-option arguments to be PKCS#12 files\n"
++" -7 expect all following non-option arguments to be PKCS#7 files\n"
++" -l expect all following non-option arguments to be Revokation lists\n"
++" -t expect all following non-option arguments to be XCA templates\n"
++" -x Exit after processing all commandline options");
+ 
+ qFatal("Cmdline Error (%s)\n", msg);
+ }
diff --git a/xca.spec b/xca.spec
new file mode 100644
index 0000000..8fb7460
--- /dev/null
+++ b/xca.spec
@@ -0,0 +1,154 @@
+## For RHL7.3 compile with '--without desktop' flag
+
+Summary:	Graphical X.509 certificate management tool
+Name:		xca
+Version:	0.4.6
+Release:	0.fdr.1.rh90
+Epoch:		0
+License:	BSD
+Group:		Applications/Productivity
+URL:		http://www.hohnstaedt.de/xca.html
+Source0:	http://download.sourceforge.net/sourceforge/xca/%{name}-%{version}.tar.gz
+Source1:	http://www.hohnstaedt.de/xca/cxx_common.h
+Source2:	http://www.hohnstaedt.de/xca/cxx_except.h
+# http://cvs.sourceforge.net/viewcvs.py/xca/xca/widgets/MainWindow.cpp?r1=1.33&r2=1.34&diff_format=u
+Patch0:		xca-0.4.6-gcc3.patch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRequires:	qt-devel openssl-devel
+BuildRequires:	/usr/include/db.h
+%if 0%{!?_without_desktop:1}
+BuildRequires:	desktop-file-utils
+%endif
+
+%description
+The Program uses a Berkeley db for storage and supports RSA keys.
+Certificate signing requests (PKCS#10) and Certificates (X509v3), the
+signing of requests, and the creation of selfsigned certificates is
+supported. Both can use templates for simplicity.  The PKI structures
+can be imported and exported in several formats like PKCS#7, PKCS#12,
+PEM, DER, PKCS#8.
+
+#-----------------------
+
+%prep
+%setup -q
+%patch0 -p2 -b .gcc3
+
+#-----------------------
+
+%build
+test -n "$QTDIR" || . %{_sysconfdir}/profile.d/qt.sh
+
+db_inc=/usr/include/db
+rpm -q db3-devel && db_inc=/usr/include/db3 || :
+rpm -q db4-devel && db_inc=/usr/include/db4 || :
+
+## Hacky workaround for broken db[34]-devel package:
+## https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=59759
+echo '#include "db_cxx.h"' | g++ -x c++ -E -I $db_inc - &>/dev/null || {
+	cp -a %{SOURCE1} %{SOURCE2} .
+	export CPPFLAGS="-I`pwd`"
+}
+
+CC='%__cc' LD='%__ld' CFLAGS="$RPM_OPT_FLAGS" STRIP=: prefix=%_prefix \
+./configure
+%__make
+
+#-----------------------
+
+%install
+rm -rf "$RPM_BUILD_ROOT" _doc
+%{__make} destdir="$RPM_BUILD_ROOT" install
+
+%{__install} -d -m755 _doc/html $RPM_BUILD_ROOT%{_datadir}/applications
+%{__install} -p -m644 doc/*.html _doc/html/
+
+%if 0%{!?_without_desktop:1}
+desktop-file-install --vendor fedora -m644 --delete-original	\
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications			\
+  --add-category X-Fedora					\
+  $RPM_BUILD_ROOT%{_datadir}/applications/xca.desktop
+%endif
+
+#-----------------------
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+#-----------------------
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYRIGHT _doc/html
+%doc debian/changelog
+%{_bindir}/*
+%dir %{_datadir}/xca
+%{_datadir}/xca/*.png
+%{_datadir}/pixmaps/*.xpm
+%lang(de) %{_datadir}/xca/xca_de.qm
+%lang(es) %{_datadir}/xca/xca_es.qm
+
+%if 0%{!?_without_desktop:1}
+%{_datadir}/applications/*
+%endif
+
+#-----------------------
+
+%changelog
+* Sat Dec 13 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0:0.4.6-0.fdr.1
+- changed compile/install commands to work with the new, yet-another configure system
+- removed libpthread test since it went upstream
+- do not package README anymore; it contains installation/build instructions only
+- applied gcc3 patch
+- updated to 0.4.6
+- removed desktop patch which went upstream
+
+* Fri Aug 15 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.5-0.fdr.2
+- applied Ville Skyttä's patch to add categories and to fix encoding of desktop-file 
+  (http://sourceforge.net/tracker/index.php?func=detail&aid=789374&group_id=62274&atid=500027)
+- removed '--add-category ...' options which become obsoleted by this
+  patch
+
+* Fri Aug 15 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.5-0.fdr.1
+- updated to 0.4.5
+
+* Thu Aug  7 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.4-0.fdr.1
+- updated to 0.4.4
+- use generic download address for Source0
+
+* Sat Jul 26 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.2-0.fdr.1.1
+- changed Summary: accordingly the suggestion in Fedora bug #494
+
+* Mon Jul 21 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.2-0.fdr.1
+- updated to 0.4.2
+
+* Sun Jul 20 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.1-0.fdr.2
+- removed the %%{smp_mflags} since parallel builds are not supported
+  by the QT makefiles
+
+* Tue Jul 15 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.1-0.fdr.1
+- updated to 0.4.1
+- added debian/changelog to %%doc-list
+
+* Tue Jul  8 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.4.0-0.fdr.1
+- updated to 0.4.0
+- removed patches which went upstream
+
+* Fri Jul  4 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.3.2-0.fdr.2.1
+- fixed Summary
+
+* Tue Jul  1 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0:0.3.2-0.fdr.2
+- added icon
+- made minor fixes in the %%description
+- added explicit epoch
+- created a separate .desktop file
+
+* Tue Jun 10 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0.3.2-0.fdr.1
+- prepared for fedora.us
+
+* Tue Jun 10 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 0.3.2-0.0.3
+- added dbpriv patch
+- added desktop entry
+
+* Fri Jun  6 2003 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> 
+- Initial build.
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/xca.git/commit/?h=epel7&id=04b9e9a64b57f973277e6dab2572d794cec81d00


More information about the scm-commits mailing list