[csw-devel] SF.net SVN: gar:[9710] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Apr 19 16:11:52 CEST 2010


Revision: 9710
          http://gar.svn.sourceforge.net/gar/?rev=9710&view=rev
Author:   dmichelsen
Date:     2010-04-19 14:11:51 +0000 (Mon, 19 Apr 2010)

Log Message:
-----------
tinyca: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/tinyca/
    csw/mgar/pkg/tinyca/branches/
    csw/mgar/pkg/tinyca/tags/
    csw/mgar/pkg/tinyca/trunk/
    csw/mgar/pkg/tinyca/trunk/Makefile
    csw/mgar/pkg/tinyca/trunk/checksums
    csw/mgar/pkg/tinyca/trunk/files/
    csw/mgar/pkg/tinyca/trunk/files/0001-Hardcode-pathes-to-CSW.patch
    csw/mgar/pkg/tinyca/trunk/files/COPYING


Property changes on: csw/mgar/pkg/tinyca/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/tinyca/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tinyca/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/tinyca/trunk/Makefile	2010-04-19 14:11:51 UTC (rev 9710)
@@ -0,0 +1,50 @@
+# : Makefile 9089 2010-03-11 08:34:46Z wahwah $
+GARNAME = tinyca2
+GARVERSION = 0.7.5
+CATEGORIES = utils
+
+DESCRIPTION = Graphical userinterface to manage a small CA
+define BLURB
+  TinyCA is a graphical tool written in Perl/Gtk to manage a small Certification Authority (CA) using openssl.
+  TinyCA supports - creation and revocation of x509 - S/MIME certificates.
+  - PKCS#10 requests.
+  - exporting certificates as PEM, DER, TXT, and PKCS#12.
+  - server certificates for use in web servers, email servers, IPsec, and more.
+  - client certificates for use in web browsers, email clients, IPsec, and more.
+  - creation and management of SubCAs
+endef
+
+MASTER_SITES = http://tinyca.sm-zone.net/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
+DISTFILES += COPYING
+PATCHFILES = 0001-Hardcode-pathes-to-CSW.patch
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
+
+RUNTIME_DEP_PKGS = CSWperl CSWpmgtk2 CSWosslutils CSWzip CSWgtar
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+INSTALL_SCRIPTS = custom
+TEST_SCRIPTS = 
+
+ARCHALL = 1
+
+CHECKPKG_OVERRIDES_CSWtinyca2 += surplus-dependency|CSWzip
+CHECKPKG_OVERRIDES_CSWtinyca2 += surplus-dependency|CSWosslutils
+CHECKPKG_OVERRIDES_CSWtinyca2 += surplus-dependency|CSWgtar
+CHECKPKG_OVERRIDES_CSWtinyca2 += surplus-dependency|CSWpmgtk2
+
+include gar/category.mk
+
+install-custom:
+	ginstall -d $(DESTDIR)$(bindir)
+	ginstall -m 755 $(WORKSRC)/tinyca2 $(DESTDIR)$(bindir)
+	ginstall -d $(DESTDIR)/opt/csw/share/tinyca2
+	cp -rp $(WORKSRC)/lib $(DESTDIR)/opt/csw/share/tinyca2/
+	cp -rp $(WORKSRC)/templates $(DESTDIR)/opt/csw/share/tinyca2/
+	ginstall -d $(DESTDIR)$(libdir)
+	cp -rp $(WORKSRC)/locale $(DESTDIR)$(libdir)
+	@$(MAKECOOKIE)
+


Property changes on: csw/mgar/pkg/tinyca/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/tinyca/trunk/checksums
===================================================================
--- csw/mgar/pkg/tinyca/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/tinyca/trunk/checksums	2010-04-19 14:11:51 UTC (rev 9710)
@@ -0,0 +1,3 @@
+f7604e61ea386a1d091cf25d5a4c4b28  0001-Hardcode-pathes-to-CSW.patch
+79dfd0ac627713992b6b400ece148122  COPYING
+a7f63806dbdc38a34ed58e42e79f4822  tinyca2-0.7.5.tar.bz2

Added: csw/mgar/pkg/tinyca/trunk/files/0001-Hardcode-pathes-to-CSW.patch
===================================================================
--- csw/mgar/pkg/tinyca/trunk/files/0001-Hardcode-pathes-to-CSW.patch	                        (rev 0)
+++ csw/mgar/pkg/tinyca/trunk/files/0001-Hardcode-pathes-to-CSW.patch	2010-04-19 14:11:51 UTC (rev 9710)
@@ -0,0 +1,62 @@
+From f3297cac179fd07286c5c0a82033fd1b7b664c7d Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Mon, 19 Apr 2010 16:09:50 +0200
+Subject: [PATCH] Hardcode CSW pathes
+
+---
+ tinyca2 |   14 +++++++-------
+ 1 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/tinyca2 b/tinyca2
+index 7a7998c..82db49c 100755
+--- a/tinyca2
++++ b/tinyca2
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
++#!/opt/csw/bin/perl -w
+ #
+ # $Id: tinyca2,v 1.6 2006/07/04 19:53:16 sm Exp $
+ #
+@@ -18,7 +18,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ 
+-BEGIN { unshift(@INC, './lib'); # put here the location of the modules
++BEGIN { unshift(@INC, '/opt/csw/share/tinyca2/lib'); # put here the location of the modules
+ }
+ 
+ use strict;
+@@ -46,7 +46,7 @@ use KEY;
+ use TCONFIG;
+ 
+ setlocale(LC_MESSAGES, "");
+-bindtextdomain("tinyca2", "./locale/");
++bindtextdomain("tinyca2", "/opt/csw/share/locale/");
+ textdomain("tinyca2");
+ 
+ # https://bugs.gentoo.org/show_bug.cgi?id=78576
+@@ -55,9 +55,9 @@ $ENV{XLIB_SKIP_ARGB_VISUALS}= '1';
+ my $init = {};
+ 
+ # location of openssl
+-$init->{'opensslbin'} = "/usr/bin/openssl";
+-$init->{'zipbin'} = "/usr/bin/zip";
+-$init->{'tarbin'} = "/bin/tar";
++$init->{'opensslbin'} = "/opt/csw/bin/openssl";
++$init->{'zipbin'} = "/opt/csw/bin/zip";
++$init->{'tarbin'} = "/opt/csw/bin/tar";
+ 
+ if(not -x $init->{'opensslbin'}) {
+    printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
+@@ -76,7 +76,7 @@ if(not -x $init->{'tarbin'}) {
+ }
+ 
+ # directory with the templates
+-$init->{'templatedir'} = "./templates";
++$init->{'templatedir'} = "/opt/csw/share/tinyca2/templates";
+ 
+ if(not -d $init->{'templatedir'}) {
+    print gettext("Can't find templatedir.\n");
+-- 
+1.7.0
+

Added: csw/mgar/pkg/tinyca/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/tinyca/trunk/files/COPYING	                        (rev 0)
+++ csw/mgar/pkg/tinyca/trunk/files/COPYING	2010-04-19 14:11:51 UTC (rev 9710)
@@ -0,0 +1,15 @@
+Copyright (c) Stephan Martin <sm at sm-zone.net>
+
+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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list