Initial import of tinyca
TinyCA is a simple graphical userinterface written in Perl/Gtk to manage a small CA (Certification Authority). TinyCA works as a frontend for OpenSSL. From maintainer Waldemar Brodkorb with some fixes by me ok xsa@
This commit is contained in:
parent
f409de4e40
commit
efb660fbfe
42
security/tinyca/Makefile
Normal file
42
security/tinyca/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/12/20 22:42:22 msf Exp $
|
||||
|
||||
COMMENT= "GUI to manage a certification authority"
|
||||
|
||||
DISTNAME= tinyca-0.6.7
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= Waldemar Brodkorb <wbx@openbsd.de>
|
||||
|
||||
HOMEPAGE= http://tinyca.sm-zone.net/
|
||||
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
RUN_DEPENDS= ::x11/p5-Gtk,gnome \
|
||||
::devel/p5-Locale-gettext \
|
||||
::archivers/zip
|
||||
|
||||
NO_REGRESS= Yes
|
||||
NO_BUILD= Yes
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
do-configure:
|
||||
@perl -i -pe 's#%%LOCALBASE%%#${LOCALBASE}#' ${WRKSRC}/tinyca
|
||||
@perl -i -pe 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/tinyca
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/tinyca ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/tinyca/templates
|
||||
${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${PREFIX}/share/tinyca/templates
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/tinyca/locale/de/LC_MESSAGES/
|
||||
@msgfmt ${WRKSRC}/po/de.po -o ${PREFIX}/share/tinyca/locale/de/LC_MESSAGES/tinyca.mo
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/tinyca
|
||||
cd ${WRKSRC}/lib; tar cf - * | tar xf - -C ${PREFIX}/lib/tinyca
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/tinyca/distinfo
Normal file
3
security/tinyca/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (tinyca-0.6.7.tar.gz) = 4fdf13c00ea8d83b0ecf4e8256292a4d
|
||||
RMD160 (tinyca-0.6.7.tar.gz) = c9f148c01a79de7f8e24c77885f910621f023b4b
|
||||
SHA1 (tinyca-0.6.7.tar.gz) = d06312265d0c2fc722beb00da85e9bd22269e0cf
|
39
security/tinyca/patches/patch-tinyca
Normal file
39
security/tinyca/patches/patch-tinyca
Normal file
@ -0,0 +1,39 @@
|
||||
$OpenBSD: patch-tinyca,v 1.1.1.1 2004/12/20 22:42:22 msf Exp $
|
||||
--- tinyca.orig Wed Jun 16 14:55:29 2004
|
||||
+++ tinyca Fri Jul 2 15:49:12 2004
|
||||
@@ -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 { push(@INC, './lib'); # put here the location of the modules
|
||||
+BEGIN { push(@INC, '%%PREFIX%%/lib/tinyca'); # put here the location of the modules
|
||||
}
|
||||
|
||||
use strict;
|
||||
@@ -48,14 +48,14 @@
|
||||
use TCONFIG;
|
||||
|
||||
setlocale(LC_MESSAGES, "");
|
||||
-bindtextdomain("tinyca", "./locale/");
|
||||
+bindtextdomain("tinyca", "%%PREFIX%%/share/tinyca/locale/");
|
||||
textdomain("tinyca");
|
||||
|
||||
my $init = {};
|
||||
|
||||
# location of openssl
|
||||
-$init->{'opensslbin'} = "/usr/bin/openssl";
|
||||
-$init->{'zipbin'} = "/usr/bin/zip";
|
||||
+$init->{'opensslbin'} = "/usr/sbin/openssl";
|
||||
+$init->{'zipbin'} = "%%LOCALBASE%%/bin/zip";
|
||||
|
||||
if(not -x $init->{'opensslbin'}) {
|
||||
printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
|
||||
@@ -69,7 +69,7 @@
|
||||
}
|
||||
|
||||
# directory with the templates
|
||||
-$init->{'templatedir'} = "./templates";
|
||||
+$init->{'templatedir'} = "%%PREFIX%%/share/tinyca/templates";
|
||||
|
||||
if(not -d $init->{'templatedir'}) {
|
||||
print gettext("Can't find templatedir.\n");
|
3
security/tinyca/pkg/DESCR
Normal file
3
security/tinyca/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
TinyCA is a simple graphical userinterface written in Perl/Gtk to manage
|
||||
a small CA (Certification Authority). TinyCA works as a frontend for
|
||||
OpenSSL.
|
35
security/tinyca/pkg/PLIST
Normal file
35
security/tinyca/pkg/PLIST
Normal file
@ -0,0 +1,35 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/12/20 22:42:22 msf Exp $
|
||||
bin/tinyca
|
||||
lib/tinyca/
|
||||
lib/tinyca/CA.pm
|
||||
lib/tinyca/CERT.pm
|
||||
@comment lib/tinyca/CVS/
|
||||
@comment lib/tinyca/CVS/Entries
|
||||
@comment lib/tinyca/CVS/Repository
|
||||
@comment lib/tinyca/CVS/Root
|
||||
lib/tinyca/GUI/
|
||||
lib/tinyca/GUI.pm
|
||||
lib/tinyca/GUI/CALLBACK.pm
|
||||
lib/tinyca/GUI/CVS/
|
||||
lib/tinyca/GUI/CVS/Entries
|
||||
lib/tinyca/GUI/CVS/Repository
|
||||
lib/tinyca/GUI/CVS/Root
|
||||
lib/tinyca/GUI/HELPERS.pm
|
||||
lib/tinyca/GUI/TCONFIG.pm
|
||||
lib/tinyca/GUI/WORDS.pm
|
||||
lib/tinyca/GUI/X509_browser.pm
|
||||
lib/tinyca/GUI/X509_infobox.pm
|
||||
@comment lib/tinyca/GUI/pod2htmd.x~~
|
||||
@comment lib/tinyca/GUI/pod2htmi.x~~
|
||||
lib/tinyca/HELPERS.pm
|
||||
lib/tinyca/KEY.pm
|
||||
lib/tinyca/OpenSSL.pm
|
||||
lib/tinyca/REQ.pm
|
||||
lib/tinyca/TCONFIG.pm
|
||||
share/tinyca/
|
||||
share/tinyca/locale/
|
||||
share/tinyca/locale/de/
|
||||
share/tinyca/locale/de/LC_MESSAGES/
|
||||
share/tinyca/locale/de/LC_MESSAGES/tinyca.mo
|
||||
share/tinyca/templates/
|
||||
share/tinyca/templates/openssl.cnf
|
Loading…
x
Reference in New Issue
Block a user