(cd monkeysphere-$(MONKEYSPHERE_VERSION) && debuild -uc -us)
rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)
+freebsd-distinfo: tarball
+ ./utils/build-freebsd-distinfo
+
clean:
$(MAKE) -C src/keytrans clean
# clean up old monkeysphere packages lying around as well.
* replaced "#!/bin/bash" with "#!/usr/bin/env bash" for better
portability.
* fixed busted lockfile arrangement, where empty file was being locked
+ * portability fixes for date, mktemp, hostname
-- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 11 Sep 2008 23:16:31 -0400
-MD5 (monkeysphere_0.16~pre.orig.tar.gz) = 0dc82d6e81bf469326b6801147d93bbb
-SHA256 (monkeysphere_0.16~pre.orig.tar.gz) = e8147afaae0bef44dd659f0cfc47b12a90b23776b750a58756ca32c2c5605332
-SIZE (monkeysphere_0.16~pre.orig.tar.gz) = 58204
+MD5 (monkeysphere_0.16~pre.orig.tar.gz) = e495b71d28afc36d65217e1935c43535
+SHA256 (monkeysphere_0.16~pre.orig.tar.gz) = c2c3c4203ac28d025e63a2e0683dfbb5ec558e4f061f3c3b1c2b736af2b38ba9
+SIZE (monkeysphere_0.16~pre.orig.tar.gz) = 58501
# (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; then
+ 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 "You already have a user \"${USER}\", so I will use it."
else
if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d "$VARLIB" -s /sbin/sh -c "monkeysphere authentication user,,,"
+ -d "$VARLIB" -s /bin/sh -c "monkeysphere authentication user,,,"
then
echo "Added user \"${USER}\"."
else
esac
done
- hostName=${1:-$(hostname --fqdn)}
+ hostName=${1:-$(hostname -f)}
userID="ssh://${hostName}"
# check for presense of key with user ID