Index: head/security/keyprint/Makefile =================================================================== --- head/security/keyprint/Makefile (revision 477722) +++ head/security/keyprint/Makefile (revision 477723) @@ -1,35 +1,35 @@ # Created by: mharo@FreeBSD.org # $FreeBSD$ PORTNAME= keyprint PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= LOCAL/mharo MAINTAINER= ports@FreeBSD.org COMMENT= Print S/Key keys on a piece of paper, twice the size of a credit card USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= keyprint NO_BUILD= yes NO_ARCH= yes PORTDOCS= README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,__PREFIX__,${PREFIX},' ${WRKSRC}/keyprint do-install: ${INSTALL_SCRIPT} ${WRKSRC}/keyprint ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/keyblank.ps ${STAGEDIR}${DATADIR} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/security/keyprint/files/patch-keyblank.ps =================================================================== --- head/security/keyprint/files/patch-keyblank.ps (nonexistent) +++ head/security/keyprint/files/patch-keyblank.ps (revision 477723) @@ -0,0 +1,10 @@ +--- keyblank.ps.orig 1999-05-23 14:49:31.000000000 -0600 ++++ keyblank.ps 2017-05-09 15:38:11.013636000 -0600 +@@ -1087,6 +1087,7 @@ end + (74:) 183.85 460.14 T + (99:) 302.65 460.14 T + (75:) 183.85 454.04 T ++(100:) 302.65 454.04 T + 178.85 761.24 178.85 608.99 2 L + V + 0.25 H Property changes on: head/security/keyprint/files/patch-keyblank.ps ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/keyprint/files/patch-keyprint =================================================================== --- head/security/keyprint/files/patch-keyprint (nonexistent) +++ head/security/keyprint/files/patch-keyprint (revision 477723) @@ -0,0 +1,25 @@ +--- keyprint.orig 2017-05-09 16:34:33.966382000 -0600 ++++ keyprint 2017-05-09 16:34:57.987755000 -0600 +@@ -10,18 +10,14 @@ $|=1; + + @ENV{'PATH'}='/usr/bin'; + +-$username=$ARGV[0] || `whoami`; +-$username =~ /(\w+)/; +-$username = $1; +- +-open(NAMES, "$dir/keyinfo $username|") +- || die "can't run keyinfo: $!, stopped"; ++open(NAMES, "$dir/opieinfo|") ++ || die "can't run opieinfo: $!, stopped"; + $key = ; + $key =~ /^\d+\s+(\w+)/ +- || die "User $username not found. Make sure you have run keyinit, stopped"; ++ || die "Keys not found. Make sure you have run opiepasswd, stopped"; + $key = $1; + close(NAMES); +-open(KEYS, "$dir/key -n 99 99 $key|") ++open(KEYS, "$dir/opiekey -n 100 100 $key|") + || die "can't open $keyfile: $!, stopped"; + open(PS, "<$psfile") || die "can't open $psfile: $!, stopped"; + Property changes on: head/security/keyprint/files/patch-keyprint ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property