Date: Thu, 1 May 2014 15:36:14 GMT From: Antoine Beaupré <anarcat@koumbit.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/189205: please upgrade monkeysphere to 0.36 Message-ID: <201405011536.s41FaEoA007273@cgiserv.freebsd.org> Resent-Message-ID: <201405011540.s41Fe1MM003511@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189205 >Category: ports >Synopsis: please upgrade monkeysphere to 0.36 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu May 01 15:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Antoine Beaupré >Release: FreeBSD 9.1 >Organization: Koumbit >Environment: FreeBSD rtr0.koumbit.net 9.1-RELEASE-p12 FreeBSD 9.1-RELEASE-p12 #8: Wed Apr 30 17:31:08 EDT 2014 root@rtr0.koumbit.net:/usr/obj/usr/src/sys/KOUMBIT1 amd64 >Description: The Monkeysphere port is seriously out of date. The attached port works for me. Note that I mistakenly sent this as root in another ticket, which will likely be lost on me because the email address isn't deliverable. Apologies for that. >How-To-Repeat: >Fix: apply the attached shell archive to the existing port. Patch attached with submission follows: #!/bin/sh # This is a shell archive (produced by GNU sharutils 4.14). # To extract the files from this archive, save it to some FILE, remove # everything before the '#!/bin/sh' line above, then type 'sh FILE'. # lock_dir=_sh26887 # Made on 2014-05-01 11:33 EDT by <anarcat@marcos>. # Source directory was '/home/anarcat/src/monkeysphere-port'. # # Existing files will *not* be overwritten, unless '-c' is specified. # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 151 -rw-r--r-- distinfo # 342 -rw-r--r-- files/patch-src_share_keytrans # 443 -rw-r--r-- files/patch-src_monkeysphere-host # 4422 -rw-r--r-- files/patch-Makefile # 2665 -rw-r--r-- Makefile # 734 -rw-r--r-- pkg-deinstall # 380 -rw-r--r-- pkg-descr # 1303 -rw-r--r-- pkg-plist # MD5SUM=${MD5SUM-md5sum} f=`${MD5SUM} --version | egrep '^md5sum .*(core|text)utils'` test -n "${f}" && md5check=true || md5check=false ${md5check} || \ echo 'Note: not verifying md5sums. Consider installing GNU coreutils.' if test "X$1" = "X-c" then keep_file='' else keep_file=true fi echo=echo save_IFS="${IFS}" IFS="${IFS}:" gettext_dir= locale_dir= set_echo=false for dir in $PATH do if test -f $dir/gettext \ && ($dir/gettext --version >/dev/null 2>&1) then case `$dir/gettext --version 2>&1 | sed 1q` in *GNU*) gettext_dir=$dir set_echo=true break ;; esac fi done if ${set_echo} then set_echo=false for dir in $PATH do if test -f $dir/shar \ && ($dir/shar --print-text-domain-dir >/dev/null 2>&1) then locale_dir=`$dir/shar --print-text-domain-dir` set_echo=true break fi done if ${set_echo} then TEXTDOMAINDIR=$locale_dir export TEXTDOMAINDIR TEXTDOMAIN=sharutils export TEXTDOMAIN echo="$gettext_dir/gettext -s" fi fi IFS="$save_IFS" if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null then if (echo -n test; echo 1,2,3) | grep n >/dev/null then shar_n= shar_c=' ' else shar_n=-n shar_c= ; fi else shar_n= shar_c='\c' ; fi f=shar-touch.$$ st1=200112312359.59 st2=123123592001.59 st2tr=123123592001.5 # old SysV 14-char limit st3=1231235901 if touch -am -t ${st1} ${f} >/dev/null 2>&1 && \ test ! -f ${st1} && test -f ${f}; then shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"' elif touch -am ${st2} ${f} >/dev/null 2>&1 && \ test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"' elif touch -am ${st3} ${f} >/dev/null 2>&1 && \ test ! -f ${st3} && test -f ${f}; then shar_touch='touch -am $3$4$5$6$2 "$8"' else shar_touch=: echo ${echo} 'WARNING: not restoring timestamps. Consider getting and installing GNU '\''touch'\'', distributed in GNU coreutils...' echo fi rm -f ${st1} ${st2} ${st2tr} ${st3} ${f} # if test ! -d ${lock_dir} ; then : else ${echo} "lock directory ${lock_dir} exists" exit 1 fi if mkdir ${lock_dir} then ${echo} "x - created lock directory ${lock_dir}." else ${echo} "x - failed to create lock directory ${lock_dir}." exit 1 fi # ============= distinfo ============== if test -n "${keep_file}" && test -f 'distinfo' then ${echo} "x - SKIPPING distinfo (file already exists)" else ${echo} "x - extracting distinfo (text)" sed 's/^X//' << 'SHAR_EOF' > 'distinfo' && SHA256 (monkeysphere_0.36.orig.tar.gz) = 6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7 SIZE (monkeysphere_0.36.orig.tar.gz) = 98876 SHAR_EOF (set 20 14 05 01 11 08 59 'distinfo' eval "${shar_touch}") && \ chmod 0644 'distinfo' if test $? -ne 0 then ${echo} "restore of distinfo failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'distinfo': 'MD5 check failed' ) << \SHAR_EOF ea96cc5a50c5aff178a981841d286e4f distinfo SHAR_EOF else test `LC_ALL=C wc -c < 'distinfo'` -ne 151 && \ ${echo} "restoration warning: size of 'distinfo' is not 151" fi fi # ============= files/patch-src_share_keytrans ============== if test ! -d 'files'; then mkdir 'files' if test $? -eq 0 then ${echo} "x - created directory files." else ${echo} "x - failed to create directory files." exit 1 fi fi if test -n "${keep_file}" && test -f 'files/patch-src_share_keytrans' then ${echo} "x - SKIPPING files/patch-src_share_keytrans (file already exists)" else ${echo} "x - extracting files/patch-src_share_keytrans (text)" sed 's/^X//' << 'SHAR_EOF' > 'files/patch-src_share_keytrans' && --- src/share/keytrans 2009-03-01 13:39:50.000000000 -0500 +++ src/share/keytrans 2009-03-10 00:39:53.681890554 -0400 @@ -199,7 +199,7 @@ X sub simple_checksum { X my $bytes = shift; X - return unpack("%32W*",$bytes) % 65536; + return unpack("%32U*",$bytes) % 65536; X } X X # calculate the multiplicative inverse of a mod b this is euclid's SHAR_EOF (set 20 14 05 01 11 24 13 'files/patch-src_share_keytrans' eval "${shar_touch}") && \ chmod 0644 'files/patch-src_share_keytrans' if test $? -ne 0 then ${echo} "restore of files/patch-src_share_keytrans failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'files/patch-src_share_keytrans': 'MD5 check failed' ) << \SHAR_EOF 2c695f3a9370bf1beb8af446552d7e95 files/patch-src_share_keytrans SHAR_EOF else test `LC_ALL=C wc -c < 'files/patch-src_share_keytrans'` -ne 342 && \ ${echo} "restoration warning: size of 'files/patch-src_share_keytrans' is not 342" fi fi # ============= files/patch-src_monkeysphere-host ============== if test ! -d 'files'; then mkdir 'files' if test $? -eq 0 then ${echo} "x - created directory files." else ${echo} "x - failed to create directory files." exit 1 fi fi if test -n "${keep_file}" && test -f 'files/patch-src_monkeysphere-host' then ${echo} "x - SKIPPING files/patch-src_monkeysphere-host (file already exists)" else ${echo} "x - extracting files/patch-src_monkeysphere-host (text)" sed 's/^X//' << 'SHAR_EOF' > 'files/patch-src_monkeysphere-host' && --- src/monkeysphere-host +++ src/monkeysphere-host @@ -103,7 +103,7 @@ update_gpg_pub_file() { X load_fingerprint() { X if [ -f "$HOST_KEY_FILE" ] ; then X HOST_FINGERPRINT=$( \ - (FUBAR=$(mktemp -d) && export GNUPGHOME="$FUBAR" \ + (FUBAR=$(msmktempdir) && export GNUPGHOME="$FUBAR" \ X && gpg --quiet --import \ X && gpg --quiet --list-keys --with-colons --with-fingerprint \ X && rm -rf "$FUBAR") <"$HOST_KEY_FILE" \ SHAR_EOF (set 20 14 05 01 11 24 13 'files/patch-src_monkeysphere-host' eval "${shar_touch}") && \ chmod 0644 'files/patch-src_monkeysphere-host' if test $? -ne 0 then ${echo} "restore of files/patch-src_monkeysphere-host failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'files/patch-src_monkeysphere-host': 'MD5 check failed' ) << \SHAR_EOF a2d10fbd42f05a9fe70b6eb084b8746a files/patch-src_monkeysphere-host SHAR_EOF else test `LC_ALL=C wc -c < 'files/patch-src_monkeysphere-host'` -ne 443 && \ ${echo} "restoration warning: size of 'files/patch-src_monkeysphere-host' is not 443" fi fi # ============= files/patch-Makefile ============== if test -n "${keep_file}" && test -f 'files/patch-Makefile' then ${echo} "x - SKIPPING files/patch-Makefile (file already exists)" else ${echo} "x - extracting files/patch-Makefile (text)" sed 's/^X//' << 'SHAR_EOF' > 'files/patch-Makefile' && --- Makefile.orig 2013-07-11 14:07:53.000000000 -0400 +++ Makefile 2014-05-01 11:16:46.000000000 -0400 @@ -42,16 +42,16 @@ X mkdir -p $(DESTDIR)$(PREFIX)/share/doc/monkeysphere X printf "Monkeysphere %s\n" $(MONKEYSPHERE_VERSION) > $(DESTDIR)$(PREFIX)/share/monkeysphere/VERSION X install src/monkeysphere $(DESTDIR)$(PREFIX)/bin - sed -i 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/bin/monkeysphere + sed -i'' -e 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/bin/monkeysphere X install src/monkeysphere-host $(DESTDIR)$(PREFIX)/sbin - sed -i 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/sbin/monkeysphere-host + sed -i'' -e 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/sbin/monkeysphere-host X install src/monkeysphere-authentication $(DESTDIR)$(PREFIX)/sbin - sed -i 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/sbin/monkeysphere-authentication + sed -i'' -e 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/sbin/monkeysphere-authentication X install src/monkeysphere-authentication-keys-for-user $(DESTDIR)$(PREFIX)/share/monkeysphere X install -m 0755 src/share/common $(DESTDIR)$(PREFIX)/share/monkeysphere X install -m 0644 src/share/defaultenv $(DESTDIR)$(PREFIX)/share/monkeysphere - sed -i 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/defaultenv - sed -i 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(PREFIX)/share/monkeysphere/defaultenv + sed -i'' -e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/defaultenv + sed -i'' -e 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(PREFIX)/share/monkeysphere/defaultenv X install -m 0755 src/share/checkperms $(DESTDIR)$(PREFIX)/share/monkeysphere X install -m 0755 src/share/keytrans $(DESTDIR)$(PREFIX)/share/monkeysphere X ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/pem2openpgp @@ -59,8 +59,8 @@ X ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/openpgp2pem X ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/openpgp2spki X install -m 0744 src/transitions/* $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions - sed -i 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions/0.23 - sed -i 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions/0.28 + sed -i'' -e 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions/0.23 + sed -i'' -e 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions/0.28 X install -m 0644 src/transitions/README.txt $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions X install -m 0644 src/share/m/* $(DESTDIR)$(PREFIX)/share/monkeysphere/m X install -m 0644 src/share/mh/* $(DESTDIR)$(PREFIX)/share/monkeysphere/mh @@ -82,15 +82,15 @@ X ln -s openpgp2ssh.1.gz $(DESTDIR)$(MANPREFIX)/man1/openpgp2spki.1.gz X gzip -d man/*/* X gzip -d $(DESTDIR)$(MANPREFIX)/man1/monkeysphere.1.gz - sed -i 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(MANPREFIX)/man1/monkeysphere.1 + sed -i'' -e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(MANPREFIX)/man1/monkeysphere.1 X gzip -n $(DESTDIR)$(MANPREFIX)/man1/monkeysphere.1 X gzip -d $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-host.8.gz - sed -i 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-host.8 - sed -i 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-host.8 + sed -i'' -e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-host.8 + sed -i'' -e 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-host.8 X gzip -n $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-host.8 X gzip -d $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8.gz - sed -i 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8 - sed -i 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8 + sed -i'' -e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8 + sed -i'' -e 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8 X gzip -n $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8 X X # this target depends on you having the monkeysphere-docs SHAR_EOF (set 20 14 05 01 11 16 54 'files/patch-Makefile' eval "${shar_touch}") && \ chmod 0644 'files/patch-Makefile' if test $? -ne 0 then ${echo} "restore of files/patch-Makefile failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'files/patch-Makefile': 'MD5 check failed' ) << \SHAR_EOF 6ab4e7bfd81f49a4396c0dee70b06d59 files/patch-Makefile SHAR_EOF else test `LC_ALL=C wc -c < 'files/patch-Makefile'` -ne 4422 && \ ${echo} "restoration warning: size of 'files/patch-Makefile' is not 4422" fi fi # ============= Makefile ============== if test -n "${keep_file}" && test -f 'Makefile' then ${echo} "x - SKIPPING Makefile (file already exists)" else ${echo} "x - extracting Makefile (text)" sed 's/^X//' << 'SHAR_EOF' > 'Makefile' && # Created by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> # $FreeBSD: head/security/monkeysphere/Makefile 340722 2014-01-22 17:00:46Z mat $ X PORTNAME= monkeysphere PORTVERSION= 0.36 CATEGORIES= security MASTER_SITES= http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/ # hack for debian orig tarballs DISTFILES= ${PORTNAME}_${DISTVERSION}.orig.tar.gz X MAINTAINER= dkg@fifthhorseman.net COMMENT= Use the OpenPGP web of trust to verify ssh connections X RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg1 \ X lockfile:${PORTSDIR}/mail/procmail \ X bash:${PORTSDIR}/shells/bash \ X p5-Crypt-OpenSSL-RSA>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \ X p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 X MAN1= monkeysphere.1 openpgp2ssh.1 pem2openpgp.1 MAN7= monkeysphere.7 MAN8= monkeysphere-host.8 monkeysphere-authentication.8 MANCOMPRESSED= yes X USERS= monkeysphere GROUPS= monkeysphere X MAKE_ARGS= ETCPREFIX=${PREFIX} MANPREFIX=${PREFIX}/man ETCSUFFIX=.sample X NO_STAGE= yes # use proper system paths for FreeBSD instead of debian's: post-patch: X @${REINPLACE_CMD} -e 's|/etc/monkeysphere|/usr/local/etc/monkeysphere|g' \ X ${WRKSRC}/src/share/defaultenv \ X ${WRKSRC}/src/transitions/0.23 \ X ${WRKSRC}/man/man1/monkeysphere.1 \ X ${WRKSRC}/man/man8/monkeysphere-authentication.8 \ X ${WRKSRC}/man/man8/monkeysphere-host.8 \ X ${WRKSRC}/etc/monkeysphere-authentication.conf X @${REINPLACE_CMD} -e 's|/var/lib/monkeysphere|/var/monkeysphere|g' \ X ${WRKSRC}/src/transitions/0.23 \ X ${WRKSRC}/man/man1/monkeysphere.1 \ X ${WRKSRC}/man/man8/monkeysphere-authentication.8 \ X ${WRKSRC}/man/man8/monkeysphere-host.8 \ X ${WRKSRC}/src/monkeysphere-host \ X ${WRKSRC}/src/monkeysphere-authentication X @${REINPLACE_CMD} -e 's|/usr/share/monkeysphere|/usr/local/share/monkeysphere|g' \ X ${WRKSRC}/src/monkeysphere-host \ X ${WRKSRC}/src/monkeysphere-authentication \ X ${WRKSRC}/src/monkeysphere X # and clean up cruft from the sed replacements: X ${FIND} ${WRKSRC} -name '*.bak' -delete X post-install: X @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \ X ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere.conf ; \ X fi X @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-host.conf ]; then \ X ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-host.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-host.conf ; \ X fi X @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-authentication.conf ]; then \ X ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-authentication.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-authentication.conf ; \ X fi X X.include <bsd.port.mk> SHAR_EOF (set 20 14 05 01 11 08 59 'Makefile' eval "${shar_touch}") && \ chmod 0644 'Makefile' if test $? -ne 0 then ${echo} "restore of Makefile failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'Makefile': 'MD5 check failed' ) << \SHAR_EOF bf4727b28c9c1b847c366ba5489427eb Makefile SHAR_EOF else test `LC_ALL=C wc -c < 'Makefile'` -ne 2665 && \ ${echo} "restoration warning: size of 'Makefile' is not 2665" fi fi # ============= pkg-deinstall ============== if test -n "${keep_file}" && test -f 'pkg-deinstall' then ${echo} "x - SKIPPING pkg-deinstall (file already exists)" else ${echo} "x - extracting pkg-deinstall (text)" sed 's/^X//' << 'SHAR_EOF' > 'pkg-deinstall' && #!/bin/sh X # a package removal script for monkeysphere (borrowing from # monkeysphere's debian/monkeysphere.postrm) X # Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> # Copyright 2008,2009 X # FIXME: is /var/monkeysphere the right place for this stuff on # FreeBSD? VARLIB="/var/monkeysphere" X X case $2 in POST-DEINSTALL) X USER=monkeysphere # FIXME: This doesn't do anything! Under what circumstances do we # want to actually automatically purge all of /var/monkeysphere? X # (note: FreeBSD does not seem to want the package-specific user to be # purged at package removal) X if [ -d "$VARLIB" ] ; then X echo "Warning: You may want to remove monkeysphere's cached authentication data and keyrings in $VARLIB" X fi ;; esac SHAR_EOF (set 20 14 01 22 10 52 06 'pkg-deinstall' eval "${shar_touch}") && \ chmod 0644 'pkg-deinstall' if test $? -ne 0 then ${echo} "restore of pkg-deinstall failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'pkg-deinstall': 'MD5 check failed' ) << \SHAR_EOF 189fae900b08f32223bd565bb709d151 pkg-deinstall SHAR_EOF else test `LC_ALL=C wc -c < 'pkg-deinstall'` -ne 734 && \ ${echo} "restoration warning: size of 'pkg-deinstall' is not 734" fi fi # ============= pkg-descr ============== if test -n "${keep_file}" && test -f 'pkg-descr' then ${echo} "x - SKIPPING pkg-descr (file already exists)" else ${echo} "x - extracting pkg-descr (text)" sed 's/^X//' << 'SHAR_EOF' > 'pkg-descr' && SSH key-based authentication is tried-and-true, but it lacks a true Public Key Infrastructure for key certification, revocation and expiration. Monkeysphere is a framework that uses the OpenPGP web of trust for these PKI functions. It can be used in both directions: for users to get validated host keys, and for hosts to authenticate users. X WWW: http://web.monkeysphere.info/ SHAR_EOF (set 20 14 01 22 10 44 51 'pkg-descr' eval "${shar_touch}") && \ chmod 0644 'pkg-descr' if test $? -ne 0 then ${echo} "restore of pkg-descr failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'pkg-descr': 'MD5 check failed' ) << \SHAR_EOF 31722ae4b0b207e44901720425581324 pkg-descr SHAR_EOF else test `LC_ALL=C wc -c < 'pkg-descr'` -ne 380 && \ ${echo} "restoration warning: size of 'pkg-descr' is not 380" fi fi # ============= pkg-plist ============== if test -n "${keep_file}" && test -f 'pkg-plist' then ${echo} "x - SKIPPING pkg-plist (file already exists)" else ${echo} "x - extracting pkg-plist (text)" sed 's/^X//' << 'SHAR_EOF' > 'pkg-plist' && sbin/monkeysphere-host sbin/monkeysphere-authentication bin/openpgp2ssh bin/pem2openpgp bin/monkeysphere share/doc/monkeysphere/Changelog share/doc/monkeysphere/examples/crontab share/doc/monkeysphere/examples/ssh_config share/doc/monkeysphere/examples/sshd_config %%DATADIR%%/VERSION %%DATADIR%%/checkperms %%DATADIR%%/common %%DATADIR%%/defaultenv %%DATADIR%%/keytrans %%DATADIR%%/m/gen_subkey %%DATADIR%%/m/import_subkey %%DATADIR%%/m/keys_for_userid %%DATADIR%%/m/ssh_proxycommand %%DATADIR%%/m/subkey_to_ssh_agent %%DATADIR%%/m/update_authorized_keys %%DATADIR%%/m/update_known_hosts %%DATADIR%%/ma/add_certifier %%DATADIR%%/ma/diagnostics %%DATADIR%%/ma/list_certifiers %%DATADIR%%/ma/remove_certifier %%DATADIR%%/ma/setup %%DATADIR%%/ma/update_users %%DATADIR%%/mh/add_name %%DATADIR%%/mh/add_revoker %%DATADIR%%/mh/diagnostics %%DATADIR%%/mh/import_key %%DATADIR%%/mh/publish_key %%DATADIR%%/mh/revoke_key %%DATADIR%%/mh/revoke_name %%DATADIR%%/mh/set_expire %%DATADIR%%/monkeysphere-authentication-keys-for-user %%DATADIR%%/transitions/0.23 %%DATADIR%%/transitions/0.28 %%DATADIR%%/transitions/README.txt @dirrm %%DATADIR%%/transitions @dirrm %%DATADIR%%/mh @dirrm %%DATADIR%%/ma @dirrm %%DATADIR%%/m @dirrm share/doc/monkeysphere/examples @dirrm share/doc/monkeysphere @dirrm etc/monkeysphere SHAR_EOF (set 20 14 05 01 11 09 16 'pkg-plist' eval "${shar_touch}") && \ chmod 0644 'pkg-plist' if test $? -ne 0 then ${echo} "restore of pkg-plist failed" fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'pkg-plist': 'MD5 check failed' ) << \SHAR_EOF e1fc872b31af2d8744afcf570b959600 pkg-plist SHAR_EOF else test `LC_ALL=C wc -c < 'pkg-plist'` -ne 1303 && \ ${echo} "restoration warning: size of 'pkg-plist' is not 1303" fi fi if rm -fr ${lock_dir} then ${echo} "x - removed lock directory ${lock_dir}." else ${echo} "x - failed to remove lock directory ${lock_dir}." exit 1 fi exit 0 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405011536.s41FaEoA007273>