summaryrefslogtreecommitdiff
path: root/net/SSLtelnet
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-04-24 03:52:41 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-04-24 03:52:41 +0000
commit755907503eb2f6d5c7608601d13ff377fd97e746 (patch)
tree711ce5de9add5af92b8bc0f2e50cb0251bb86cff /net/SSLtelnet
parentBump PORTREVISION on this since the mistake caused some users to install (diff)
Add missing rmdir.
Notes
Notes: svn path=/head/; revision=79560
Diffstat (limited to 'net/SSLtelnet')
-rw-r--r--net/SSLtelnet/Makefile1
-rw-r--r--net/SSLtelnet/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/SSLtelnet/Makefile b/net/SSLtelnet/Makefile
index 2ab57ca28c4c..b8576f9226b4 100644
--- a/net/SSLtelnet/Makefile
+++ b/net/SSLtelnet/Makefile
@@ -6,6 +6,7 @@
PORTNAME= SSLtelnet
PORTVERSION= 0.13
+PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_LOCAL} \
ftp://ftp.psy.uq.oz.au/pub/Crypto/SSLapps/
diff --git a/net/SSLtelnet/pkg-plist b/net/SSLtelnet/pkg-plist
index e97f9d87e472..526c71d955b2 100644
--- a/net/SSLtelnet/pkg-plist
+++ b/net/SSLtelnet/pkg-plist
@@ -2,3 +2,4 @@ bin/telnet
libexec/telnetd
@exec mkdir %%OPENSSLDIR%%/certs
@exec if [ ! -f $(OPENSSLDIR)/certs/telnetd.pem ]; then cd %%OPENSSLDIR%%/certs; openssl req -new -x509 -nodes -days 365 -out telnetd.pem -keyout telnetd.pem; ln -s telnetd.pem `openssl x509 -noout -hash < telnetd.pem`.0 ; chmod 600 $(OPENSSLDIR)/certs/telnetd.pem; fi
+@unexec rmdir %%OPENSSLDIR%%/certs 2>/dev/null || true