summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-09-13 15:53:11 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-09-13 15:53:11 -0400
commit5de80495d5f73f712f084069c1a7afa6ec2daae4 (patch)
tree395cd90dcbac9d2bde22dae79934d162b1614bc0 /packaging
parent0221730a95cd4bc20525f05aca2a4f9f50533404 (diff)
removing freebsd packaging since it is on its own branch
Diffstat (limited to 'packaging')
-rw-r--r--packaging/freebsd/security/monkeysphere/Makefile72
-rw-r--r--packaging/freebsd/security/monkeysphere/distinfo3
-rwxr-xr-xpackaging/freebsd/security/monkeysphere/pkg-deinstall29
-rw-r--r--packaging/freebsd/security/monkeysphere/pkg-descr7
-rwxr-xr-xpackaging/freebsd/security/monkeysphere/pkg-install64
-rw-r--r--packaging/freebsd/security/monkeysphere/pkg-plist50
6 files changed, 0 insertions, 225 deletions
diff --git a/packaging/freebsd/security/monkeysphere/Makefile b/packaging/freebsd/security/monkeysphere/Makefile
deleted file mode 100644
index 5f3c386..0000000
--- a/packaging/freebsd/security/monkeysphere/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# New ports collection makefile for: monkeysphere
-# Date created: 2008-09-11 23:38:27-0400
-# Whom: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= monkeysphere
-PORTVERSION= 0.26
-CATEGORIES= security
-MASTER_SITES= http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/
-# hack for debian orig tarballs
-DISTFILES= ${PORTNAME}_${DISTVERSION}.orig.tar.gz
-
-MAINTAINER= dkg@fifthhorseman.net
-COMMENT= Use the OpenPGP web of trust to verify ssh connections
-
-RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg1 \
- lockfile:${PORTSDIR}/mail/procmail \
- bash:${PORTSDIR}/shells/bash \
- ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/RSA.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \
- ${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA
-
-MAN1= monkeysphere.1 openpgp2ssh.1 pem2openpgp.1
-MAN7= monkeysphere.7
-MAN8= monkeysphere-host.8 monkeysphere-authentication.8
-MANCOMPRESSED= yes
-
-MAKE_ARGS= ETCPREFIX=${PREFIX} MANPREFIX=${PREFIX}/man ETCSUFFIX=.sample
-
-# use proper system paths for FreeBSD instead of debian's:
-post-patch:
- @${REINPLACE_CMD} -e 's|/etc/monkeysphere|/usr/local/etc/monkeysphere|g' \
- ${WRKSRC}/src/share/defaultenv \
- ${WRKSRC}/src/transitions/0.23 \
- ${WRKSRC}/man/man1/monkeysphere.1 \
- ${WRKSRC}/man/man8/monkeysphere-authentication.8 \
- ${WRKSRC}/man/man8/monkeysphere-host.8 \
- ${WRKSRC}/etc/monkeysphere-authentication.conf
- @${REINPLACE_CMD} -e 's|/var/lib/monkeysphere|/var/monkeysphere|g' \
- ${WRKSRC}/src/transitions/0.23 \
- ${WRKSRC}/man/man1/monkeysphere.1 \
- ${WRKSRC}/man/man8/monkeysphere-authentication.8 \
- ${WRKSRC}/man/man8/monkeysphere-host.8 \
- ${WRKSRC}/src/monkeysphere-host \
- ${WRKSRC}/src/monkeysphere-authentication \
- ${WRKSRC}/doc/getting-started-admin.mdwn
- @${REINPLACE_CMD} -e 's|/usr/share/monkeysphere|/usr/local/share/monkeysphere|g' \
- ${WRKSRC}/src/monkeysphere-host \
- ${WRKSRC}/src/monkeysphere-authentication \
- ${WRKSRC}/src/monkeysphere
- # and clean up cruft from the sed replacements:
- ${FIND} ${WRKSRC} -name '*.bak' -delete
-
-post-install:
- @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \
- ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere.conf ; \
- fi
- @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-host.conf ]; then \
- ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-host.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-host.conf ; \
- fi
- @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-authentication.conf ]; then \
- ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-authentication.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-authentication.conf ; \
- fi
-.if !defined(PACKAGE_BUILDING)
- @${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.endif
-
-post-deinstall:
- @${SETENV} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL
-
-.include <bsd.port.mk>
diff --git a/packaging/freebsd/security/monkeysphere/distinfo b/packaging/freebsd/security/monkeysphere/distinfo
deleted file mode 100644
index 1fc7e33..0000000
--- a/packaging/freebsd/security/monkeysphere/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (monkeysphere_0.26.orig.tar.gz) = f0e5fe66a9affd951e601ea5d6188972
-SHA256 (monkeysphere_0.26.orig.tar.gz) = e743a0642f0da5d6ecea6cb3c8ff6c05ac56a094c351a7fdca2a4a707fe05c00
-SIZE (monkeysphere_0.26.orig.tar.gz) = 96085
diff --git a/packaging/freebsd/security/monkeysphere/pkg-deinstall b/packaging/freebsd/security/monkeysphere/pkg-deinstall
deleted file mode 100755
index 3e69eab..0000000
--- a/packaging/freebsd/security/monkeysphere/pkg-deinstall
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# a package removal script for monkeysphere (borrowing from
-# monkeysphere's debian/monkeysphere.postrm)
-
-# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-# Copyright 2008,2009
-
-# FIXME: is /var/monkeysphere the right place for this stuff on
-# FreeBSD?
-VARLIB="/var/monkeysphere"
-
-
-case $2 in
-POST-DEINSTALL)
- USER=monkeysphere
-# FIXME: This doesn't do anything! Under what circumstances do we
-# want to actually automatically purge all of /var/monkeysphere?
-
-# (note: FreeBSD does not seem to want the package-specific user to be
-# purged at package removal)
- if pw user show "${USER}" 2>/dev/null >/dev/null; then
- echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually."
- fi
- if [ -d "$VARLIB" ] ; then
- echo "Warning: You may want to remove monkeysphere's cached authentication data and keyrings in $VARLIB"
- fi
-;;
-esac
diff --git a/packaging/freebsd/security/monkeysphere/pkg-descr b/packaging/freebsd/security/monkeysphere/pkg-descr
deleted file mode 100644
index 9adc44f..0000000
--- a/packaging/freebsd/security/monkeysphere/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-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.
-
-WWW: http://web.monkeysphere.info/
diff --git a/packaging/freebsd/security/monkeysphere/pkg-install b/packaging/freebsd/security/monkeysphere/pkg-install
deleted file mode 100755
index 435c69a..0000000
--- a/packaging/freebsd/security/monkeysphere/pkg-install
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-
-# an installation script for monkeysphere (borrowing liberally from
-# postgresql and mysql pkg-install scripts, and from monkeysphere's
-# debian/monkeysphere.postinst)
-
-# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-# Copyright 2008,2009
-
-# FIXME: is /var/monkeysphere the right place for this stuff on
-# FreeBSD?
-
-# PostgreSQL puts its data in /usr/local/pgsql/data
-
-# MySQL puts its data in /var/db/mysql
-
-VARLIB="/var/monkeysphere"
-ETCDIR="/usr/local/etc/monkeysphere"
-
-case $2 in
-POST-INSTALL)
- USER=monkeysphere
- GROUP=${USER}
- UID=641
- GID=${UID}
- SHELL=/usr/local/bin/bash
-
- if pw group show "${GROUP}" >/dev/null 2>&1; then
- echo "You already have a group \"${GROUP}\", so I will use it."
- else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
- fi
-
- if pw user show "${USER}" >/dev/null 2>&1; then
- oldshell=`pw user show "${USER}" 2>/dev/null | cut -f10 -d:`
- if [ x"$oldshell" != x"$SHELL" ]; then
- echo "You already have a \"${USER}\" user, but its shell is '$oldshell'."
- echo "This package requires that \"${USER}\"'s shell be '$SHELL'."
- echo "You should fix this by hand and then re-install the package."
- echo " hint: pw usermod '$USER' -s '$SHELL'"
- exit 1
- fi
- echo "You already have a user \"${USER}\" with the proper shell, so I will use it."
- else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d "$VARLIB" -s /usr/local/bin/bash -c "monkeysphere authentication user,,,"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
- fi
-
- ## set up the monkeysphere authentication cache directory:
-
- monkeysphere-authentication setup
- ;;
-esac
diff --git a/packaging/freebsd/security/monkeysphere/pkg-plist b/packaging/freebsd/security/monkeysphere/pkg-plist
deleted file mode 100644
index 81ee047..0000000
--- a/packaging/freebsd/security/monkeysphere/pkg-plist
+++ /dev/null
@@ -1,50 +0,0 @@
-sbin/monkeysphere-host
-sbin/monkeysphere-authentication
-share/doc/monkeysphere/TODO
-share/doc/monkeysphere/MonkeySpec
-share/doc/monkeysphere/getting-started-user.mdwn
-share/doc/monkeysphere/getting-started-admin.mdwn
-bin/openpgp2ssh
-bin/pem2openpgp
-bin/monkeysphere
-share/monkeysphere/mh/publish_key
-share/monkeysphere/mh/import_key
-share/monkeysphere/mh/set_expire
-share/monkeysphere/mh/diagnostics
-share/monkeysphere/mh/add_hostname
-share/monkeysphere/mh/add_revoker
-share/monkeysphere/mh/revoke_hostname
-share/monkeysphere/mh/revoke_key
-share/monkeysphere/keytrans
-share/monkeysphere/checkperms
-share/monkeysphere/defaultenv
-share/monkeysphere/VERSION
-share/monkeysphere/transitions/0.23
-share/monkeysphere/transitions/README.txt
-share/monkeysphere/ma/list_certifiers
-share/monkeysphere/ma/add_certifier
-share/monkeysphere/ma/update_users
-share/monkeysphere/ma/setup
-share/monkeysphere/ma/remove_certifier
-share/monkeysphere/ma/diagnostics
-share/monkeysphere/common
-share/monkeysphere/m/gen_subkey
-share/monkeysphere/m/ssh_proxycommand
-share/monkeysphere/m/subkey_to_ssh_agent
-share/monkeysphere/m/import_subkey
-@unexec if cmp -s %D/etc/monkeysphere/monkeysphere.conf.sample %D/etc/monkeysphere/monkeysphere.conf; then rm -f %D/etc/monkeysphere/monkeysphere.conf; fi
-etc/monkeysphere/monkeysphere.conf.sample
-@exec if [ ! -f %D/etc/monkeysphere/monkeysphere.conf ] ; then cp -p %D/%F %B/monkeysphere.conf; fi
-@unexec if cmp -s %D/etc/monkeysphere/monkeysphere-host.conf.sample %D/etc/monkeysphere/monkeysphere-host.conf; then rm -f %D/etc/monkeysphere/monkeysphere-host.conf; fi
-etc/monkeysphere/monkeysphere-host.conf.sample
-@exec if [ ! -f %D/etc/monkeysphere/monkeysphere-host.conf ] ; then cp -p %D/%F %B/monkeysphere-host.conf; fi
-@unexec if cmp -s %D/etc/monkeysphere/monkeysphere-authentication.conf.sample %D/etc/monkeysphere/monkeysphere-authentication.conf; then rm -f %D/etc/monkeysphere/monkeysphere-authentication.conf; fi
-etc/monkeysphere/monkeysphere-authentication.conf.sample
-@exec if [ ! -f %D/etc/monkeysphere/monkeysphere-authentication.conf ] ; then cp -p %D/%F %B/monkeysphere-authentication.conf; fi
-@dirrm share/doc/monkeysphere
-@dirrm share/monkeysphere/transitions
-@dirrm share/monkeysphere/mh
-@dirrm share/monkeysphere/ma
-@dirrm share/monkeysphere/m
-@dirrm share/monkeysphere
-@dirrm etc/monkeysphere