summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-01-22 18:11:56 +0000
committeradrianp <adrianp@pkgsrc.org>2005-01-22 18:11:56 +0000
commitd43494a0ba0d62a32545d41eb9da1c5cb0a0ae9f (patch)
treef58ce169726416b54a5b58157d22f4780d0d5f4e /security
parent004b4a33993cfb1901a4434c1cf8509f2b0dc1ac (diff)
downloadpkgsrc-d43494a0ba0d62a32545d41eb9da1c5cb0a0ae9f.tar.gz
TinyCA is a simple graphical userinterface written in Perl/Gtk to manage a
small CA (Certification Authority). TinyCA works as a frontend for openssl. This is tinyca-0.6.7
Diffstat (limited to 'security')
-rw-r--r--security/tinyca/DESCR2
-rw-r--r--security/tinyca/Makefile47
-rw-r--r--security/tinyca/PLIST22
-rw-r--r--security/tinyca/distinfo4
4 files changed, 75 insertions, 0 deletions
diff --git a/security/tinyca/DESCR b/security/tinyca/DESCR
new file mode 100644
index 00000000000..2dcb82caf8b
--- /dev/null
+++ b/security/tinyca/DESCR
@@ -0,0 +1,2 @@
+TinyCA is a simple graphical userinterface written in Perl/Gtk to manage a
+small CA (Certification Authority). TinyCA works as a frontend for openssl.
diff --git a/security/tinyca/Makefile b/security/tinyca/Makefile
new file mode 100644
index 00000000000..e8283b1a34d
--- /dev/null
+++ b/security/tinyca/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/22 18:11:56 adrianp Exp $
+
+DISTNAME= tinyca-0.6.7
+CATEGORIES= security
+MASTER_SITES= http://tinyca.sm-zone.net/
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://tinyca.sm-zone.net/
+COMMENT= GUI written in Perl/Gtk to manage a small CA
+
+DEPENDS+= p5-gtk>=0.7009:../../x11/p5-gtk
+DEPENDS+= p5-Gdk-Imlib>=0.7009:../../graphics/p5-Gdk-Imlib
+DEPENDS+= p5-Gnome>=0.7009:../../graphics/p5-Gnome
+DEPENDS+= p5-gettext-[0-9]*:../../devel/p5-gettext
+DEPENDS+= zip-[0-9]*:../../archivers/zip
+
+USE_BUILDLINK3= YES
+NO_BUILD= YES
+USE_PERL5= YES
+CADIR= ${PREFIX}/share/tinyca
+
+REPLACE_PERL= tinyca
+BUILDLINK_DEPENDS.openssl+= openssl>=0.9.7d
+
+SUBST_CLASSES+= script
+SUBST_STAGE.script= post-patch
+SUBST_FILES.script= tinyca
+SUBST_SED.script= -e "s|./lib|${CADIR}|g" \
+ -e "s|/usr/bin/openssl\
+ |${BUILDLINK_PREFIX.openssl}/bin/openssl|g" \
+ -e "s|/usr/bin/zip|${PREFIX}/bin/zip|g" \
+ -e "s|./templates|${CADIR}/templates|g"
+SUBST_MESSAGE.script= "Fixing hardcoded paths."
+
+.include "../../security/openssl/buildlink3.mk"
+
+do-install:
+ ${INSTALL_DATA_DIR} ${CADIR}
+ ${INSTALL_DATA_DIR} ${CADIR}/GUI
+ ${INSTALL_DATA_DIR} ${CADIR}/templates
+ ${INSTALL_SCRIPT} ${WRKSRC}/tinyca ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.pm ${CADIR}
+ ${INSTALL_DATA} ${WRKSRC}/lib/GUI/*.pm ${CADIR}/GUI
+ ${INSTALL_DATA} ${WRKSRC}/lib/GUI/pod2* ${CADIR}/GUI
+ ${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${CADIR}/templates
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/tinyca/PLIST b/security/tinyca/PLIST
new file mode 100644
index 00000000000..46a498e1967
--- /dev/null
+++ b/security/tinyca/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/22 18:11:56 adrianp Exp $
+bin/tinyca
+share/tinyca/CA.pm
+share/tinyca/CERT.pm
+share/tinyca/GUI.pm
+share/tinyca/GUI/CALLBACK.pm
+share/tinyca/GUI/HELPERS.pm
+share/tinyca/GUI/TCONFIG.pm
+share/tinyca/GUI/WORDS.pm
+share/tinyca/GUI/X509_browser.pm
+share/tinyca/GUI/X509_infobox.pm
+share/tinyca/GUI/pod2htmd.x~~
+share/tinyca/GUI/pod2htmi.x~~
+share/tinyca/HELPERS.pm
+share/tinyca/KEY.pm
+share/tinyca/OpenSSL.pm
+share/tinyca/REQ.pm
+share/tinyca/TCONFIG.pm
+share/tinyca/templates/openssl.cnf
+@dirrm share/tinyca/templates
+@dirrm share/tinyca/GUI
+@dirrm share/tinyca
diff --git a/security/tinyca/distinfo b/security/tinyca/distinfo
new file mode 100644
index 00000000000..1699c45a864
--- /dev/null
+++ b/security/tinyca/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/22 18:11:56 adrianp Exp $
+
+SHA1 (tinyca-0.6.7.tar.gz) = d06312265d0c2fc722beb00da85e9bd22269e0cf
+Size (tinyca-0.6.7.tar.gz) = 214757 bytes