Date: Thu, 17 Jul 2003 11:59:40 +0200 (CEST) From: Janos Mohacsi <mohacsi@niif.hu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54571: New port: security/tinyca version 0.4.9 graphical frontend to maintain small CA Message-ID: <200307170959.h6H9xepv011891@norfolk.ki.iif.hu> Resent-Message-ID: <200307171000.h6HA0Xij070650@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54571 >Category: ports >Synopsis: New port: security/tinyca version 0.4.9 graphical frontend to maintain small CA >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 17 03:00:32 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 4.8-STABLE i386 >Organization: NIIF >Environment: System: FreeBSD norfolk.ki.iif.hu 4.8-STABLE FreeBSD 4.8-STABLE #2: Sun Jun 15 21:04:49 CEST 2003 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386 >Description: New port: security/tinyca version 0.4.9 graphical frontend to maintain small Cerification Authority. >How-To-Repeat: Apply this shar. >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tinyca/ # tinyca/pkg-plist # tinyca/pkg-descr # tinyca/distinfo # tinyca/Makefile # tinyca/files # tinyca/files/patch-lib::CA.pm # tinyca/files/patch-tinyca # echo c - tinyca/ mkdir -p tinyca/ > /dev/null 2>&1 echo x - tinyca/pkg-plist sed 's/^X//' >tinyca/pkg-plist << 'END-of-tinyca/pkg-plist' Xbin/tinyca X%%SITE_PERL%%/tinyca/CA.pm X%%SITE_PERL%%/tinyca/CERT.pm X%%SITE_PERL%%/tinyca/GUI.pm X%%SITE_PERL%%/tinyca/KEY.pm X%%SITE_PERL%%/tinyca/OpenSSL.pm X%%SITE_PERL%%/tinyca/REQ.pm X%%SITE_PERL%%/tinyca/TCONFIG.pm X@dirrm %%SITE_PERL%%/tinyca/ X%%PORTDOCS%%share/doc/tinyca/INSTALL X%%PORTDOCS%%@dirrm share/doc/tinyca END-of-tinyca/pkg-plist echo x - tinyca/pkg-descr sed 's/^X//' >tinyca/pkg-descr << 'END-of-tinyca/pkg-descr' XTinyCA is a simple graphical userinterface written in Perl/Tk to manage a Xsmall CA (Certification Authority). XFeatures: X XCurrently TinyCA supports the following features: X X * Creation and Revocation of x509 - S/MIME certificates X * PKCS#10 Requests can be imported and signed X * Servercertificates X o Certificates can be exported as: PEM, DER, TXT and PKCS#12 X o Certificates may be used with e.g. Apache, Postfix, OpenLDAP, X Cyrus and FreeS/WAN X * Clientcertificates X o Certificates can be exported as: PEM, DER, TXT and PKCS#12 X o Certificates may be used with e.g. Netscape, Konqueror, Opera, X Internet Explorer, Outlook (Express) and FreeS/WAN X * Certificate Revocation List X o CRLs can be exported as: PEM, DER and TXT X XWWW: http://tinyca.sm-zone.net/ X XJanos Mohacsi <janos.mohacsi@bsd.hu> END-of-tinyca/pkg-descr echo x - tinyca/distinfo sed 's/^X//' >tinyca/distinfo << 'END-of-tinyca/distinfo' XMD5 (tinyca-0.4.9.tar.gz) = eabbf1023c77c2e0e0b8300999462f83 END-of-tinyca/distinfo echo x - tinyca/Makefile sed 's/^X//' >tinyca/Makefile << 'END-of-tinyca/Makefile' X# New ports collection makefile for: tinyca X# Date created: 17 July 2003 X# Whom: Janos.Mohacsi@bsd.hu X# X# $FreeBSD$ X# X XPORTNAME= tinyca XPORTVERSION= 0.4.9 XCATEGORIES= security net XMASTER_SITES= http://tinyca.sm-zone.net/ X XMAINTAINER= Janos.Mohacsi@bsd.hu XCOMMENT= Simple graphical interface to manage a small Certification Authority X XRUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk \ X ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \ X zip:${PORTSDIR}/archivers/zip X XWRKSRC= ${WRKDIR}/TinyCA XUSE_PERL5= yes XUSE_OPENSSL= yes XNO_BUILD= yes XDOC_FILES= INSTALL XLIB_FILES= CA.pm CERT.pm GUI.pm KEY.pm OpenSSL.pm REQ.pm TCONFIG.pm X Xdo-install: X @${MKDIR} ${SITE_PERL}/${PORTNAME}/ X.for file in ${LIB_FILES} X @${INSTALL_DATA} ${WRKSRC}/lib/${file} ${SITE_PERL}/${PORTNAME} X.endfor X @${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${PREFIX}/etc/tinyca.cnf X @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" -e "s:%%SITE_PERL%%:${SITE_PERL}:g" \ X ${WRKSRC}/tinyca >${WRKSRC}/tinyca.new X @${INSTALL_SCRIPT} ${WRKSRC}/tinyca.new ${PREFIX}/bin/tinyca X Xpost-install: X.ifndef(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in ${DOC_FILES} X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-tinyca/Makefile echo c - tinyca/files mkdir -p tinyca/files > /dev/null 2>&1 echo x - tinyca/files/patch-lib::CA.pm sed 's/^X//' >tinyca/files/patch-lib::CA.pm << 'END-of-tinyca/files/patch-lib::CA.pm' X--- lib/CA.pm.orig Tue Jul 1 00:33:18 2003 X+++ lib/CA.pm Tue Jul 15 17:05:35 2003 X@@ -328,7 +328,7 @@ X }; X X # create configuration file X- my $in = $self->{'init'}->{'templatedir'}."/openssl.cnf"; X+ my $in = $self->{'init'}->{'templatedir'}."/tinyca.cnf"; X my $out = $self->{$name}->{'dir'}."/openssl.cnf"; X X open(IN, "<$in") || do { END-of-tinyca/files/patch-lib::CA.pm echo x - tinyca/files/patch-tinyca sed 's/^X//' >tinyca/files/patch-tinyca << 'END-of-tinyca/files/patch-tinyca' X--- tinyca.orig Thu Jul 3 19:20:48 2003 X+++ tinyca Thu Jul 17 11:21:29 2003 X@@ -18,7 +18,7 @@ X # along with this program; if not, write to the Free Software X # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. X X-BEGIN { push(@INC, './lib'); } # put here the location of the modules X+BEGIN { push(@INC, '%%SITE_PERL%%/tinyca'); } # put here the location of the modules X X use strict; X X@@ -47,7 +47,7 @@ X X # location of openssl X $init->{'opensslbin'} = "/usr/bin/openssl"; X-$init->{'zipbin'} = "/usr/bin/zip"; X+$init->{'zipbin'} = "%%PREFIX%%/bin/zip"; X X if(not -x $init->{'opensslbin'}) { X printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'}); X@@ -61,7 +61,7 @@ X } X X # directory with the templates X-$init->{'templatedir'} = "./templates"; X+$init->{'templatedir'} = "%%PREFIX%%/etc"; X X if(not -d $init->{'templatedir'}) { X print gettext("Can't find templatedir.\n"); END-of-tinyca/files/patch-tinyca exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307170959.h6H9xepv011891>