-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit for ssl-admin to github.
History lost, but development can continue from here.
- Loading branch information
Showing
37 changed files
with
2,772 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Ports collection makefile for: ssl-admin | ||
# Date created: Thu Jan 14 10:38:23 CST 2010 | ||
# Whom: Eric Crist <[email protected]> | ||
# | ||
# $FreeBSD: ports/security/ssl-admin/Makefile,v 1.4 2008/07/27 19:05:31 beech Exp $ | ||
# | ||
|
||
PORTNAME= ssl-admin | ||
DISTVERSION= 1.0.3 | ||
CATEGORIES= security | ||
MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/ssl-admin/ | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= OpenSSL certificate manager with OpenVPN support. | ||
|
||
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \ | ||
zip:${PORTSDIR}/archivers/zip | ||
|
||
USE_PERL5_RUN= YES | ||
MAN1= ssl-admin.1 | ||
MAN5= ssl-admin.conf.5 | ||
SUB_FILES= pkg-message | ||
|
||
post-install: | ||
${CAT} ${PKGMESSAGE} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MD5 (ssl-admin-1.0b1.2.tar.gz) = 5724066b6982d494ce57d436d1396d17 | ||
SHA256 (ssl-admin-1.0b1.2.tar.gz) = b07b2a67d11ce3de3fb7867ea44539093dda42fdb2737216375a6c5f7e3c3b9f | ||
SIZE (ssl-admin-1.0b1.2.tar.gz) = 8076 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | ||
Please edit the configuration file ssl-admin.conf before running | ||
ssl-admin for the first time. | ||
|
||
You're now ready to manage your SSL certificates. | ||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ssl-admin was designed to create a user-friendly, menu-driven interface | ||
to the OpenSSL programs. | ||
|
||
ssl-admin will help you do the following tasks with SSL certificates: | ||
* Create your own CA certificate. | ||
* Create new Certificate Signing Requests | ||
* Sign existing Certificate Signing Requests | ||
* Manage Certificate Revokation Lists | ||
* Export configurations and certificates for OpenVPN. | ||
|
||
WWW: http://www.secure-computing.net/ssl-admin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bin/ssl-admin | ||
etc/ssl-admin/ssl-admin.conf.default | ||
@unexec if cmp -s %D/etc/ssl-admin/openssl.conf.default %D/etc/ssl-admin/openssl.conf; then rm -f %D/etc/ssl-admin/openssl.conf; fi | ||
etc/ssl-admin/openssl.conf.default | ||
@dirrmtry etc/ssl-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
diff -urN ssl-admin_ports/Makefile ssl-admin/Makefile | ||
--- ssl-admin_ports/Makefile 2009-01-19 14:39:36.000000000 -0600 | ||
+++ ssl-admin/Makefile 2009-01-20 16:35:14.000000000 -0600 | ||
@@ -1,17 +1,17 @@ | ||
-# Ports collection makefile for:| ssl-admin | ||
+# Ports collection makefile for: ssl-admin | ||
# Date created: 21 July 2008 | ||
# Whom: Eric Crist <[email protected]> | ||
# | ||
-# $FreeBSD: ports/security/ssl-admin/Makefile,v 1.4 2008/07/27 19:05:31 beech Exp $ | ||
+# $FreeBSD: ports/security/ssl-admin/Makefile,v 1.5 2008/12/06 15:18:06 miwi Exp $ | ||
# | ||
|
||
PORTNAME= ssl-admin | ||
-DISTVERSION= 1.0 | ||
+DISTVERSION= 1.0.1 | ||
CATEGORIES= security | ||
-MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/ | ||
+MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/ssl-admin/ | ||
|
||
MAINTAINER= [email protected] | ||
-COMMENT= OpenSSL certificate manager | ||
+COMMENT= OpenSSL certificate manager with OpenVPN support. | ||
|
||
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/zip \ | ||
zip:${PORTSDIR}/archivers/unzip | ||
diff -urN ssl-admin_ports/distinfo ssl-admin/distinfo | ||
--- ssl-admin_ports/distinfo 2009-01-19 14:39:36.000000000 -0600 | ||
+++ ssl-admin/distinfo 2009-01-20 16:45:30.000000000 -0600 | ||
@@ -1,3 +1,3 @@ | ||
-MD5 (ssl-admin-1.0.tar.gz) = ff42b5bc6286cbcb519bcb1783425af2 | ||
-SHA256 (ssl-admin-1.0.tar.gz) = 10b03971356a998d90f30c3db98723db2cb859c52ec7330ae69581720783b84d | ||
-SIZE (ssl-admin-1.0.tar.gz) = 9346 | ||
+MD5 (ssl-admin-1.0.1.tar.gz) = e1625f39553166fa553450f142ecff05 | ||
+SHA256 (ssl-admin-1.0.1.tar.gz) = 6d1a1b23d58ef5344b20aa8d0d76d583ae25a573b3a7661919b175e21ec7cc91 | ||
+SIZE (ssl-admin-1.0.1.tar.gz) = 8554 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Ports collection makefile for: ssl-admin | ||
# Date created: 21 July 2008 | ||
# Whom: Eric Crist <[email protected]> | ||
# | ||
# $FreeBSD: ports/security/ssl-admin/Makefile,v 1.7 2009/04/08 17:21:21 dhn Exp $ | ||
# | ||
|
||
PORTNAME= ssl-admin | ||
DISTVERSION= 1.0.2 | ||
CATEGORIES= security | ||
MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/ssl-admin/ | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= OpenSSL certificate manager with OpenVPN support | ||
|
||
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/zip \ | ||
zip:${PORTSDIR}/archivers/unzip | ||
|
||
USE_PERL5_RUN= YES | ||
MAN1= ssl-admin.1 | ||
MAN5= ssl-admin.conf.5 | ||
SUB_FILES= pkg-message | ||
|
||
post-install: | ||
${CAT} ${PKGMESSAGE} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MD5 (ssl-admin-1.0.2.tar.gz) = 050ced81d9927185b8973bbbbb9297d5 | ||
SHA256 (ssl-admin-1.0.2.tar.gz) = 6502c4b16ac893ffa88fdb549c28c501da1ab05c3f639f4377e8117ab4b7ed69 | ||
SIZE (ssl-admin-1.0.2.tar.gz) = 8607 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | ||
Please edit the configuration file ssl-admin.conf before running | ||
ssl-admin for the first time. | ||
|
||
You're now ready to manage your SSL certificates. | ||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ssl-admin was designed to create a user-friendly, menu-driven interface | ||
to the OpenSSL programs. | ||
|
||
ssl-admin will help you do the following tasks with SSL certificates: | ||
* Create your own CA certificate. | ||
* Create new Certificate Signing Requests | ||
* Sign existing Certificate Signing Requests | ||
* Manage Certificate Revokation Lists | ||
* Export configurations and certificates for OpenVPN. | ||
|
||
WWW: http://www.secure-computing.net/ssl-admin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bin/ssl-admin | ||
etc/ssl-admin/ssl-admin.conf.default | ||
@unexec if cmp -s %D/etc/ssl-admin/openssl.conf.default %D/etc/ssl-admin/openssl.conf; then rm -f %D/etc/ssl-admin/openssl.conf; fi | ||
etc/ssl-admin/openssl.conf.default | ||
@dirrmtry etc/ssl-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# ssl-admin Makefile | ||
# $Id: Makefile 366 2014-10-01 17:44:18Z ecrist $ | ||
|
||
ETCDIR?=VARETC | ||
BINDIR?=VARBIN | ||
MANDIR?=VARMAN | ||
SED_CMD?=VARSED | ||
|
||
all: | ||
|
||
build-devel: | ||
|
||
[ -e "working-build/" ] || mkdir -p working-build/ssl-admin | ||
${SED_CMD} s+~~~ETCDIR~~~+${ETCDIR}+g man1/ssl-admin.1 > working-build/ssl-admin.1 | ||
${SED_CMD} s+~~~ETCDIR~~~+${ETCDIR}+g man5/ssl-admin.conf.5 > working-build/ssl-admin.conf.5 | ||
install -c -m 0660 -S -v ssl-admin.conf working-build/ssl-admin/ssl-admin.conf | ||
install -c -m 0660 -S -v openssl.conf working-build/ssl-admin/openssl.conf | ||
${SED_CMD} -e "s+~~~ETCDIR~~~+`pwd`/working-build+g" -e "s+~~~BUILD~~~+devel+g" ssl-admin > ssl-admin.mod | ||
install -c -m 0755 -S -v ssl-admin.mod working-build/ssl-admin.test | ||
|
||
install: | ||
|
||
[ -e "${DESTDIR}/${ETCDIR}/ssl-admin" ] || mkdir -p ${DESTDIR}/${ETCDIR}/ssl-admin | ||
${SED_CMD} s+~~~ETCDIR~~~+${ETCDIR}+g man1/ssl-admin.1 > ${DESTDIR}/${MANDIR}/man1/ssl-admin.1 | ||
${SED_CMD} s+~~~ETCDIR~~~+${ETCDIR}+g man5/ssl-admin.conf.5 > ${DESTDIR}/${MANDIR}/man5/ssl-admin.conf.5 | ||
install -c -m 0660 -S -v ssl-admin.conf ${DESTDIR}/${ETCDIR}/ssl-admin/ssl-admin.conf.sample | ||
install -c -m 0660 -S -v openssl.conf ${DESTDIR}/${ETCDIR}/ssl-admin/openssl.conf.sample | ||
install -c -m 0660 -S -v openssl.conf ${DESTDIR}/${ETCDIR}/ssl-admin/openssl.conf | ||
${SED_CMD} -e "s+~~~ETCDIR~~~+${ETCDIR}+g" -e "s+~~~BUILD~~~+prod+g" ssl-admin > ssl-admin.mod | ||
install -c -m 0755 -S -v ssl-admin.mod ${DESTDIR}/${BINDIR}/ssl-admin | ||
chmod 0444 ${DESTDIR}/${ETCDIR}/ssl-admin/*.conf.sample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Ports collection makefile for: ssl-admin | ||
# Date created: Thu Jan 14 09:48:29 CST 2010 | ||
# Whom: Eric Crist <[email protected]> | ||
# | ||
# $FreeBSD: ports/security/ssl-admin/Makefile,v 1.4 2008/07/27 19:05:31 beech Exp $ | ||
# | ||
|
||
PORTNAME= ssl-admin | ||
DISTVERSION= ~~~VERSION~~~ | ||
CATEGORIES= security | ||
MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/ssl-admin/ | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= OpenSSL certificate manager with OpenVPN support. | ||
|
||
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/zip \ | ||
zip:${PORTSDIR}/archivers/unzip | ||
|
||
USE_PERL5_RUN= YES | ||
MAN1= ssl-admin.1 | ||
MAN5= ssl-admin.conf.5 | ||
SUB_FILES= pkg-message | ||
|
||
post-install: | ||
${CAT} ${PKGMESSAGE} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# ssl-admin Makefile | ||
# $Id: Makefile 338 2013-07-24 12:16:48Z ecrist $ | ||
|
||
ETCDIR?=VARETC | ||
BINDIR?=VARBIN | ||
MANDIR?=VARMAN | ||
|
||
all: | ||
|
||
install: | ||
|
||
[ -e "${ETCDIR}/ssl-admin" ] || mkdir -p ${ETCDIR}/ssl-admin | ||
sed s+~~~ETCDIR~~~+${ETCDIR}+g man1/ssl-admin.1 > ${MANDIR}/man1/ssl-admin.1 | ||
sed s+~~~ETCDIR~~~+${ETCDIR}+g man5/ssl-admin.conf.5 > ${MANDIR}/man5/ssl-admin.conf.5 | ||
install -c -g wheel -o root -m 0660 -S -v ssl-admin.conf ${ETCDIR}/ssl-admin/ssl-admin.conf.default | ||
install -c -g wheel -o root -m 0660 -S -v openssl.conf ${ETCDIR}/ssl-admin/openssl.conf.default | ||
[ -e "${ETCDIR}/ssl-admin/openssl.conf" ] || cp ${ETCDIR}/ssl-admin/openssl.conf.default ${ETCDIR}/ssl-admin/openssl.conf | ||
SEDCMD "s+~~~ETCDIR~~~+${ETCDIR}+g" ssl-admin | ||
install -c -g wheel -o root -m 0755 -S -v ssl-admin ${BINDIR}/ssl-admin | ||
chmod 0444 ${ETCDIR}/ssl-admin/*.conf.default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/bin/sh | ||
# $Id$ | ||
|
||
MAJVER=1 | ||
MINVER=2 | ||
REVISION=1 | ||
|
||
DIR=ssl-admin-$MAJVER.$MINVER.$REVISION | ||
|
||
|
||
## Make directory - if it's there, delete it so we can start fresh. | ||
if [ -d $DIR ]; then | ||
rm -rf $DIR | ||
fi | ||
mkdir $DIR | ||
|
||
echo "Updating version string" | ||
sed -i -e "s/~~~VERSION~~~/$MAJVER.$MINVER.$REVISION/" ssl-admin | ||
|
||
## Copy file over. | ||
cp -r man1 man5 Makefile configure openssl.conf ssl-admin ssl-admin.conf $DIR | ||
|
||
## remove .svn dir, if it exists. | ||
find $DIR -type d -name .svn | xargs rm -rf | ||
|
||
echo "Creating distfile..." | ||
tar -czf $DIR.tar.gz $DIR | ||
tar -cjf $DIR.tar.xz $DIR | ||
|
||
echo "Publishing package..." | ||
scp -F /usr/home/ecrist/.ssh/config $DIR.tar.gz $DIR.tar.xz tweak:/usr/home/ftp/pub/FreeBSD/ports/ssl-admin/ | ||
scp -F /usr/home/ecrist/.ssh/config $DIR.tar.gz $DIR.tar.xz tweak:/usr/home/ftp/pub/ssl-admin/ | ||
scp -F /usr/home/ecrist/.ssh/config $DIR.tar.gz $DIR.tar.xz xxx:/home/ftp/pub/FreeBSD/ports/ssl-admin/ | ||
scp -F /usr/home/ecrist/.ssh/config $DIR.tar.gz $DIR.tar.xz xxx:/home/ftp/pub/ssl-admin/ | ||
|
||
### Update version number in the ports Makefile | ||
echo "Building heirarchy for FreeBSD port build" | ||
rm -rf diff_build/freebsd_port/ | ||
svn co http://8.8.178.107/ports/head/security/ssl-admin diff_build/freebsd_port | ||
|
||
|
||
echo "Auto-modifying support files:" | ||
sed -i -e "s/DISTVERSION=.*$/DISTVERSION= $MAJVER.$MINVER.$REVISION/" diff_build/freebsd_port/Makefile | ||
LDIR=`pwd` | ||
echo "Building checksum file" | ||
cd diff_build/freebsd_port && make DISTDIR=../../ makesum | ||
|
||
echo "Building diff now..." | ||
svn diff | ||
svn diff > ../$MAJVER.$MINVER.$REVISION.patch | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/sh | ||
# | ||
# $Id: configure 353 2014-06-24 19:19:58Z ecrist $ | ||
|
||
VARSED=`which sed` | ||
|
||
OS=`uname` | ||
case "$OS" in | ||
FreeBSD) | ||
${VARSED} -i "" "s+VARETC+/usr/local/etc+g" Makefile | ||
${VARSED} -i "" "s+VARBIN+/usr/local/bin+g" Makefile | ||
${VARSED} -i "" "s+VARMAN+/usr/local/man+g" Makefile | ||
${VARSED} -i "" "s+VARSED+${VARSED}+g" Makefile | ||
;; | ||
NetBSD) | ||
${VARSED} -i "" "s+VARETC+/usr/local/etc+g" Makefile | ||
${VARSED} -i "" "s+VARBIN+/usr/local/bin+g" Makefile | ||
${VARSED} -i "" "s+VARMAN+/usr/share/man+g" Makefile | ||
${VARSED} -i "" "s+VARSED+${VARSED}+g" Makefile | ||
;; | ||
OpenBSD) | ||
${VARSED} -i "" "s+VARETC+/etc+g" Makefile | ||
${VARSED} -i "" "s+VARBIN+/usr/local/bin+g" Makefile | ||
${VARSED} -i "" "s+VARMAN+/usr/local/man+g" Makefile | ||
${VARSED} -i "" "s+VARSED+${VARSED}+g" Makefile | ||
;; | ||
Darwin) | ||
${VARSED} -i "" "s+VARETC+/Library+g" Makefile | ||
${VARSED} -i "" "s+VARBIN+/usr/local/bin+g" Makefile | ||
${VARSED} -i "" "s+VARMAN+/usr/share/man+g" Makefile | ||
${VARSED} -i "" "s+VARSED+${VARSED}+g" Makefile | ||
;; | ||
Linux) | ||
${VARSED} -i "s+VARETC+/etc+g" Makefile | ||
${VARSED} -i "s+VARBIN+/usr/bin+g" Makefile | ||
${VARSED} -i "s+VARMAN+/usr/share/man+g" Makefile | ||
${VARSED} -i "s+VARSED+${VARSED}+g" Makefile | ||
${VARSED} -i "s+wheel+root+" Makefile | ||
;; | ||
*) | ||
echo "Your OS is not OS X (Darwin), BSD, or Linux." | ||
echo "I don't know how to install on ${OS}." | ||
echo "Please submit a bug report if you think I should." | ||
;; | ||
esac | ||
|
Oops, something went wrong.