From: "Diego Petteno (flameeyes)" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/ekeyd: ChangeLog ekeyd-1.0.5-r1.ebuild ekeyd-1.0.5.ebuild
Date: Mon, 28 Sep 2009 18:29:36 +0000 [thread overview]
Message-ID: <E1MsKye-0004s2-5T@stork.gentoo.org> (raw)
flameeyes 09/09/28 18:29:36
Modified: ChangeLog
Added: ekeyd-1.0.5-r1.ebuild
Removed: ekeyd-1.0.5.ebuild
Log:
Bump already, add init script for the userland USB daemon, and move the two daemon executables in /usr/libexec.
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Revision Changes Path
1.2 app-crypt/ekeyd/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/ekeyd/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/ekeyd/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/ekeyd/ChangeLog?r1=1.1&r2=1.2
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog 28 Sep 2009 10:59:06 -0000 1.1
+++ ChangeLog 28 Sep 2009 18:29:35 -0000 1.2
@@ -1,6 +1,14 @@
# ChangeLog for app-crypt/ekeyd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/ChangeLog,v 1.1 2009/09/28 10:59:06 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/ChangeLog,v 1.2 2009/09/28 18:29:35 flameeyes Exp $
+
+*ekeyd-1.0.5-r1 (28 Sep 2009)
+
+ 28 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org> -ekeyd-1.0.5.ebuild,
+ +ekeyd-1.0.5-r1.ebuild, +files/ekey-ulusbd.conf, +files/ekey-ulusbd.init,
+ files/ekeyd.init:
+ Bump already, add init script for the userland USB daemon, and move the
+ two daemon executables in /usr/libexec.
*ekeyd-1.0.5 (28 Sep 2009)
1.1 app-crypt/ekeyd/ekeyd-1.0.5-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/ekeyd/ekeyd-1.0.5-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/ekeyd/ekeyd-1.0.5-r1.ebuild?rev=1.1&content-type=text/plain
Index: ekeyd-1.0.5-r1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/ekeyd-1.0.5-r1.ebuild,v 1.1 2009/09/28 18:29:35 flameeyes Exp $
EAPI=2
inherit multilib
DESCRIPTION="Entropy Key userspace daemon"
HOMEPAGE="http://www.entropykey.co.uk/"
SRC_URI="http://www.entropykey.co.uk/res/download/${P}.tar.gz"
LICENSE="as-is" # yes, truly
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="usb kernel_linux"
RDEPEND="dev-lang/lua
usb? ( dev-libs/libusb:0 )"
DEPEND="${RDEPEND}"
RDEPEND="${RDEPEND}
dev-libs/luasocket
kernel_linux? ( sys-fs/udev )"
src_prepare() {
# - avoid using -Werror;
# - don't gzip the man pages, this will also stop it from
# installing them, so we'll do it by hand.
sed -i \
-e 's:-Werror::' \
-e '/gzip/d' \
daemon/Makefile || die
}
src_compile() {
local osname
# Override automatic detection: upstream provides this with uname,
# we don't like using uname.
case ${CHOST} in
*-linux-*)
osname=linux;;
*-freebsd*)
osname=freebsd;;
*-kfrebsd-gnu)
osname=gnukfreebsd;;
*-openbsd*)
osname=openbsd;;
*)
die "Unsupported operating system!"
;;
esac
# We don't slot LUA so we don't really need to have the variables
# set at all.
emake -C daemon \
LUA_V= LUA_INC= \
OSNAME=${osname} \
OPT="${CFLAGS}" \
BUILD_ULUSBD=$(use usb && echo yes || echo no) \
|| die "emake failed"
}
src_install() {
emake -C daemon \
DESTDIR="${D}" \
BUILD_ULUSBD=$(use usb && echo yes || echo no) \
install || die "emake install failed"
# We move the daemons around to avoid polluting the available
# commands.
dodir /usr/libexec
mv "${D}"/usr/sbin/ekey*d "${D}"/usr/libexec
keepdir /etc/ekeyd
# Install them manually because we don't want them gzipped
doman daemon/{ekeyd,ekey-setkey,ekey-rekey,ekeydctl}.8 \
daemon/ekeyd.conf.5 || die
newinitd "${FILESDIR}"/${PN}.init ${PN} || die
if use usb; then
newinitd "${FILESDIR}"/ekey-ulusbd.init ekey-ulusbd || die
newconfd "${FILESDIR}"/ekey-ulusbd.conf ekey-ulusbd || die
doman daemon/ekey-ulusbd.8 || die
fi
dodoc daemon/README* AUTHORS WARNING || die
if use kernel_linux; then
insinto /etc/udev/rules.d
newins doc/60-UDEKEY01.rules 70-${PN}.rules || die
exeinto /$(get_libdir)/udev
doexe doc/ekeyd-udev || die
fi
}
pkg_postinst() {
elog "To make use of your entropykey, make sure to execute ekey-rekey"
elog "the first time, and then start the ekeyd service."
elog ""
elog "The service supports multiplexing if you wish to use multiple"
elog "keys, just symlink /etc/init.d/ekeyd → /etc/init.d/ekeyd.identifier"
elog "and it'll be looking for /etc/init.d/identifier.conf"
if use usb; then
elog ""
elog "If you don't want (or can't) use the CDC ACM driver in your"
elog "kernel, you may use the Userland USB Daemon to access the"
elog "EntropyKey."
elog ""
elog "To do so, make sure to start the ekey-ulusbd service, after"
elog "having configured /etc/conf.d/ekey-ulusbd."
elog "This service is also multiplexed so you can run it for any"
elog "number of keys."
fi
}
reply other threads:[~2009-09-28 18:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1MsKye-0004s2-5T@stork.gentoo.org \
--to=flameeyes@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox