summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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