Skip to content
Browse files

Adding barnowl and dependencies to the new overlay.

(Portage version: 2.2.0_alpha50/git/Linux x86_64, unsigned Manifest commit)
  • Loading branch information...
1 parent eaa3903 commit a1e6f68dd8df81f4c73ab1c446472ad1d20684e2 @wthrowe committed Aug 5, 2011
View
20 dev-perl/AnyEvent-IRC/AnyEvent-IRC-0.96.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+MODULE_AUTHOR=ELMEX
+inherit perl-module
+
+DESCRIPTION="AnyEvent::IRC - An event based IRC protocol client API"
+
+LICENSE="|| ( Artistic GPL-1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-perl/AnyEvent
+ dev-perl/common-sense
+ dev-perl/Object-Event"
View
10 dev-perl/AnyEvent-IRC/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/AnyEvent-IRC
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*AnyEvent-IRC-0.96 (05 Aug 2011)
+
+ 05 Aug 2011; William Throwe <wtt6@cornell.edu> +AnyEvent-IRC-0.96.ebuild,
+ +metadata.xml:
+ Adding barnowl and dependencies to the new overlay.
+
View
4 dev-perl/AnyEvent-IRC/Manifest
@@ -0,0 +1,4 @@
+DIST AnyEvent-IRC-0.96.tar.gz 28832 RMD160 82d681686e2a7eecb9145995442e16afc7efee71 SHA1 8768a2ce0b0455f397aa25f54a808cc54ad34b02 SHA256 6c03499954c563cb3f9ac1de2e3f9442ade54e0150badaa81e1e2ed5c4edf78b
+EBUILD AnyEvent-IRC-0.96.ebuild 401 RMD160 ff78f366841a348af0efc07b17cf588a3b09f003 SHA1 b75994345bd286ed4226b0511484792ba8095e08 SHA256 3f890f240b3e18271aee11db18eb621b317c12fed7baa1911d605ff76305d886
+MISC ChangeLog 304 RMD160 7e847db6f6a42a13515cca5de17d7980664d20f3 SHA1 d72e6eec92e3c52eff135042ed4c7cb37d3bce62 SHA256 db3a8acefb9a27eca3820c320e649d8d225140b2223285a4c66e450dab1c87f1
+MISC metadata.xml 229 RMD160 c5223fcc82239e1500198c71ebfb4e025a4dce91 SHA1 d79260142ba525c410bc13b110efe5d12cbab432 SHA256 d01d57fb66f5c03e944f00928ae8a57a7645decd737c4e1f26532f5133583efd
View
8 dev-perl/AnyEvent-IRC/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>wtt6@cornell.edu</email>
+ </maintainer>
+</pkgmetadata>
View
10 dev-perl/Net-Twitter-Lite/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/Net-Twitter-Lite
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*Net-Twitter-Lite-0.10004 (05 Aug 2011)
+
+ 05 Aug 2011; William Throwe <wtt6@cornell.edu>
+ +Net-Twitter-Lite-0.10004.ebuild, +metadata.xml:
+ Adding barnowl and dependencies to the new overlay.
+
View
4 dev-perl/Net-Twitter-Lite/Manifest
@@ -0,0 +1,4 @@
+DIST Net-Twitter-Lite-0.10004.tar.gz 82815 RMD160 174fe588096b9fb2f8b87e1bd8408f35ade55e1a SHA1 6e2820418437daea2bd4334998fccb7096e2574a SHA256 4f1a633802920f4477e5f98d76cbcf5a4a55b999f42a737f46d32893373a6c1e
+EBUILD Net-Twitter-Lite-0.10004.ebuild 458 RMD160 a980b7fb1db027bf104133765e7d270732c22bc1 SHA1 9ebe8499237e1abf83fb6ec22d45630c9027ce18 SHA256 096305533495785afdf1502cd7b2ac989e979cae1fac7a7ac5df88bdde86d51b
+MISC ChangeLog 322 RMD160 f554716381c6f0ac10e8785f2b7c904b752c2ca9 SHA1 90a3c93a714437e89b5f9cef6a8be96902df56f3 SHA256 1f824c81398f44dc72ce155936959530e2e00014c9923952bf89da60eeb35117
+MISC metadata.xml 229 RMD160 c5223fcc82239e1500198c71ebfb4e025a4dce91 SHA1 d79260142ba525c410bc13b110efe5d12cbab432 SHA256 d01d57fb66f5c03e944f00928ae8a57a7645decd737c4e1f26532f5133583efd
View
23 dev-perl/Net-Twitter-Lite/Net-Twitter-Lite-0.10004.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+MODULE_AUTHOR=MMIMS
+inherit perl-module
+
+DESCRIPTION="Net::Twitter::Lite - A perl interface to the Twitter API"
+
+LICENSE="|| ( Artistic GPL-1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-perl/Crypt-SSLeay
+ dev-perl/HTTP-Message
+ dev-perl/JSON
+ dev-perl/JSON-Any
+ dev-perl/Net-OAuth
+ dev-perl/URI"
View
8 dev-perl/Net-Twitter-Lite/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>wtt6@cornell.edu</email>
+ </maintainer>
+</pkgmetadata>
View
10 dev-perl/Object-Event/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/Object-Event
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*Object-Event-1.22 (05 Aug 2011)
+
+ 05 Aug 2011; William Throwe <wtt6@cornell.edu> +Object-Event-1.22.ebuild,
+ +metadata.xml:
+ Adding barnowl and dependencies to the new overlay.
+
View
4 dev-perl/Object-Event/Manifest
@@ -0,0 +1,4 @@
+DIST Object-Event-1.22.tar.gz 15818 RMD160 697cb4d2ef876e6484004bda9cb20627657bd88c SHA1 ceec2d0ef7d1f265d82711e94d458821e5c0b6a6 SHA256 a52e9ac31fe7cf750baa90061b165eed9a425b89f99803ae8581e9cc12b8a472
+EBUILD Object-Event-1.22.ebuild 387 RMD160 80c87805376487269b091510e919541fba311cb4 SHA1 b5113a71203b597b6b6bca6f50839d3012957b25 SHA256 d9ad2e006d255971882ae70b6bb9b2cfc335b48f9e298cce636d01cada7bb8cf
+MISC ChangeLog 304 RMD160 b54f77865c2b156c56b46904e22a72a036f0d0c4 SHA1 e3034e23ff6d4ed1d7b093a8bb2966ceb971e079 SHA256 d9794451db0cc2b2101c9c44d182a29d2a6e58c70931b296fbe1b23a5f272837
+MISC metadata.xml 229 RMD160 c5223fcc82239e1500198c71ebfb4e025a4dce91 SHA1 d79260142ba525c410bc13b110efe5d12cbab432 SHA256 d01d57fb66f5c03e944f00928ae8a57a7645decd737c4e1f26532f5133583efd
View
19 dev-perl/Object-Event/Object-Event-1.22.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+MODULE_AUTHOR=ELMEX
+inherit perl-module
+
+DESCRIPTION="Object::Event - A class that provides an event callback interface"
+
+LICENSE="|| ( Artistic GPL-1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-perl/AnyEvent
+ dev-perl/common-sense"
View
8 dev-perl/Object-Event/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>wtt6@cornell.edu</email>
+ </maintainer>
+</pkgmetadata>
View
11 net-im/barnowl/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-im/barnowl
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*barnowl-1.8_beta (05 Aug 2011)
+*barnowl-1.7.1-r2 (05 Aug 2011)
+
+ 05 Aug 2011; William Throwe <wtt6@cornell.edu> +barnowl-1.7.1-r2.ebuild,
+ +barnowl-1.8_beta.ebuild, +metadata.xml:
+ Adding barnowl and dependencies to the new overlay.
+
View
6 net-im/barnowl/Manifest
@@ -0,0 +1,6 @@
+DIST barnowl-1.7.1-src.tgz 783289 RMD160 754c9d94c72604290fd4f74f9c6bf1ba2b2fea39 SHA1 9186c9d035b7a201cde14d3fe13dede4308bf9f3 SHA256 a0608ab8f7baa5a2416029d7c4fa3ee0c3a7cffc68dc82f7b2d8818a51141aba
+DIST barnowl-1.8_beta-git.tar.gz 676414 RMD160 2c51a91233f502fec5132e0fc7c7f7175273dedc SHA1 6e73794fec6034edaa3b66d0053953b707935e10 SHA256 d132c8b80b6390d6b61de0df7efd8f5fe03bc7ba32e0bfbade7026fb6dd5d7f3
+EBUILD barnowl-1.7.1-r2.ebuild 1852 RMD160 1fe4fd8a11bece3d0822bf03fa43783da906e857 SHA1 a33cf271acaf79ccca94873ffe94efaabcd808c3 SHA256 6026400c0707ddea071b63eb397efb7d5bbd2df56e05ddb597b7f515a005e28b
+EBUILD barnowl-1.8_beta.ebuild 2061 RMD160 23275fc56f8a74906d1cf80947d01194be91f3f5 SHA1 8ad9f2babe390fd7cfdc0cf31ca057a3b7876565 SHA256 2e1859285d7ad7ab7eea39d79892766442db9a2eae90521c67a485e1ec98a088
+MISC ChangeLog 353 RMD160 6373ed1dde1dac64b9e0b0da233fb32e2b063979 SHA1 6967eaa25e2dbc18901eda03bb6f106338b9ab43 SHA256 9b125c35cdbb5169975b3041dcbe7650c7fa7be47f92314f4bd577b98753d9b1
+MISC metadata.xml 512 RMD160 6cabcddd524a390bc2b7c9e33222b60f112fc8b4 SHA1 233f7620ce671b55b5574c6bf6f4d77f4ebee54b SHA256 57f76770522aa0d138096a151e5ca9dffa2f47cbc5c0b86c1e45bd5e40340cab
View
80 net-im/barnowl/barnowl-1.7.1-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit flag-o-matic autotools
+
+GIT_TAG=
+GIT_HASH=
+
+DESCRIPTION="A curses-based IM client"
+HOMEPAGE="http://barnowl.mit.edu/"
+if [ -n "${GIT_TAG}" ] ; then
+ SRC_URI="https://github.com/barnowl/barnowl/tarball/${PN}-${GIT_TAG}
+ -> ${P}-git.tar.gz"
+else
+ SRC_URI="http://barnowl.mit.edu/dist/${P}-src.tgz"
+fi
+
+SLOT="0"
+LICENSE="DB LGPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+zephyr irc jabber twitter wordwrap"
+
+COMMON_DEPEND="dev-lang/perl
+ dev-libs/openssl
+ dev-libs/glib
+ sys-libs/ncurses[unicode]
+ dev-perl/PAR
+ dev-perl/Class-Accessor
+ zephyr? ( net-im/zephyr )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+ app-arch/zip"
+RDEPEND="${COMMON_DEPEND}
+ jabber? ( dev-perl/Net-DNS
+ dev-perl/Authen-SASL
+ dev-perl/IO-Socket-SSL
+ dev-perl/Digest-SHA1 )
+ twitter? ( dev-perl/HTML-Parser
+ dev-perl/Net-Twitter-Lite )
+ irc? ( dev-perl/Net-IRC )
+ wordwrap? ( dev-perl/text-autoformat )"
+
+if [ -n "${GIT_HASH}" ] ; then
+ S="${WORKDIR}/barnowl-barnowl-${GIT_HASH}"
+else
+ S="${WORKDIR}/${P}-src"
+fi
+
+src_prepare() {
+ use jabber || \
+ sed -i -e '/^MODULES =/s/Jabber//' perl/modules/Makefile.am
+ use irc || \
+ sed -i -e '/^MODULES =/s/IRC//' perl/modules/Makefile.am
+ use wordwrap || \
+ sed -i -e '/^MODULES =/s/WordWrap//' perl/modules/Makefile.am
+ use twitter || \
+ sed -i -e '/^MODULES =/s/Twitter//' perl/modules/Makefile.am
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags -D_GNU_SOURCE
+ econf --docdir="/usr/share/doc/${PF}" \
+ --without-stack-protector \
+ --without-krb4 \
+ $(use_with zephyr)
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ dodoc AUTHORS ChangeLog || die
+}
View
85 net-im/barnowl/barnowl-1.8_beta.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit flag-o-matic autotools
+
+GIT_TAG="1.9dev"
+GIT_HASH="0325f59"
+
+DESCRIPTION="A curses-based IM client"
+HOMEPAGE="http://barnowl.mit.edu/"
+if [ -n "${GIT_TAG}" ] ; then
+ SRC_URI="https://github.com/barnowl/barnowl/tarball/${PN}-${GIT_TAG}
+ -> ${P}-git.tar.gz"
+else
+ SRC_URI="http://barnowl.mit.edu/dist/${P}-src.tgz"
+fi
+
+SLOT="0"
+LICENSE="DB LGPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+zephyr irc jabber twitter wordwrap"
+
+COMMON_DEPEND="dev-lang/perl
+ dev-libs/openssl
+ dev-libs/glib
+ sys-libs/ncurses[unicode]
+ dev-perl/PAR
+ dev-perl/Class-Accessor
+ dev-perl/AnyEvent
+ dev-perl/glib-perl
+ zephyr? ( net-im/zephyr )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+ app-arch/zip"
+RDEPEND="${COMMON_DEPEND}
+ jabber? ( dev-perl/Net-DNS
+ dev-perl/Authen-SASL
+ dev-perl/IO-Socket-SSL
+ dev-perl/Digest-SHA1 )
+ twitter? ( dev-perl/HTML-Parser
+ dev-perl/Net-Twitter-Lite )
+ irc? ( dev-perl/AnyEvent-IRC )
+ wordwrap? ( dev-perl/text-autoformat )"
+
+if [ -n "${GIT_HASH}" ] ; then
+ S="${WORKDIR}/barnowl-barnowl-${GIT_HASH}"
+else
+ S="${WORKDIR}/${P}-src"
+fi
+
+src_prepare() {
+ # The git tag isn't in quite the right place. (should be b711711)
+ # This appears to be the only necessary patch.
+ sed -i -e '/^AC_INIT/s/1.9dev/1.8dev/' configure.ac
+
+ use jabber || \
+ sed -i -e '/^MODULES =/s/Jabber//' perl/modules/Makefile.am
+ use irc || \
+ sed -i -e '/^MODULES =/s/IRC//' perl/modules/Makefile.am
+ use wordwrap || \
+ sed -i -e '/^MODULES =/s/WordWrap//' perl/modules/Makefile.am
+ use twitter || \
+ sed -i -e '/^MODULES =/s/Twitter//' perl/modules/Makefile.am
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="/usr/share/doc/${PF}" \
+ --without-stack-protector \
+ --without-krb4 \
+ $(use_with zephyr)
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ dodoc AUTHORS ChangeLog || die
+}
View
15 net-im/barnowl/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>wtt6@cornell.edu</email>
+ </maintainer>
+ <use>
+ <flag name='zephyr'>Enable zephyr support</flag>
+ <flag name='irc'>Enable IRC support</flag>
+ <flag name='jabber'>Enable XMPP support</flag>
+ <flag name='twitter'>Enable Twitter support</flag>
+ <flag name='wordwrap'>Install the WordWrap style</flag>
+ </use>
+</pkgmetadata>
View
10 net-im/zephyr/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-im/zephyr
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*zephyr-3.0.1 (05 Aug 2011)
+
+ 05 Aug 2011; William Throwe <wtt6@cornell.edu> +zephyr-3.0.1.ebuild,
+ +files/zhm.confd, +files/zhm.rc, +metadata.xml:
+ Adding barnowl and dependencies to the new overlay.
+
View
6 net-im/zephyr/Manifest
@@ -0,0 +1,6 @@
+AUX zhm.confd 409 RMD160 ed264ce4ef6d680ef8e599eba0dc91e7acdf72d7 SHA1 4e698d65ee6380bc8b2ab2eac4f2a4fe7f9b5ed0 SHA256 ebce2bb55b186b131ec5cdcc886506397eace6e5ea943fea2d27dc5dac144ef1
+AUX zhm.rc 540 RMD160 34ee8070f8d271b1b5b4f3b2ddfd03322334c6be SHA1 a86d0de038000b7190d3539495d3c0052289c84c SHA256 f10b76ab5e1a45c64cf6986db7557417a7935dfd1213c581ee539038c557ec3a
+DIST zephyr-3.0.1.tar.gz 671953 RMD160 732abec1ae5f6e54241f9df9c9170c5029064141 SHA1 a09f53c48bdf66eeed23b58c0526876dca96f361 SHA256 a67c8b04aedc2e80e8e157853b91c01963ddeb1bdb5f776fdb3bc69bf703763b
+EBUILD zephyr-3.0.1.ebuild 1471 RMD160 f63fd464e5c5acb7b1a406f152f0f90cad7bdd9b SHA1 6227e2342cbe8ac1277c7dce268b2249b99a0812 SHA256 61f38c89b91d2df787cae00dd5baef91306eef5faedbfcf22bd3ef8170c8a8f4
+MISC ChangeLog 319 RMD160 b4edcbf7c9b416bf7c27b2d8d4dbe67097a9fd8c SHA1 4d6252addca5119733712737ffa2520cc86e3d48 SHA256 409be9e539b5098e9ae02aed3ad9a2df536003a5824d29331874a341bb9f80d6
+MISC metadata.xml 408 RMD160 29032be271ff6a0dc0c8b41ea6889e6b61a8bcf5 SHA1 418cd36664a5b4a6d8a0e04efab831cb9eda960e SHA256 565efc6883fb1d0ea39816d11d700bee06f5dd0ac6c3e5d07afd60d25e5f04d7
View
13 net-im/zephyr/files/zhm.confd
@@ -0,0 +1,13 @@
+# /etc/conf.d/zhm
+
+# Options to pass to the zhm daemon
+# Non-option arguments are interpreted as server names, overriding those
+# reported by hesiod
+# If you built net-libs/zephyr without hesiod support, you will need to
+# specify servers here.
+ZHM_OPTS=""
+
+# User and group to run zhm as. zhm should require no permissions, so it
+# should be safe to set these to nobody
+ZHM_USER="nobody"
+ZHM_GROUP="nobody"
View
25 net-im/zephyr/files/zhm.rc
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PIDFILE=/var/run/zhm.pid
+
+depend() {
+ need net
+ use dns hostname syslog
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting zhm"
+ start-stop-daemon --start --pidfile ${PIDFILE} \
+ --background --make-pidfile --exec /usr/sbin/zhm \
+ --user ${ZHM_USER} --group ${ZHM_GROUP} -- -n ${ZHM_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping zhm"
+ start-stop-daemon --stop --pidfile ${PIDFILE}
+ eend $?
+}
View
13 net-im/zephyr/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>wtt6@cornell.edu</email>
+ </maintainer>
+ <use>
+ <flag name="ares">Use <pkg>net-dns/c-ares</pkg> in clients</flag>
+ <flag name="hesiod">Enable server locating using
+ <pkg>net-den/hesiod</pkg></flag>
+ </use>
+</pkgmetadata>
View
66 net-im/zephyr/zephyr-3.0.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+#WANT_AUTOCONF="2.5"
+#WANT_AUTOMAKE="none"
+
+#inherit autotools
+
+SVN_REV=2642
+
+DESCRIPTION="The Project Athena instant messaging system"
+HOMEPAGE="http://zephyr.1ts.org/"
+SRC_URI="http://zephyr.1ts.org/export/${SVN_REV}/distribution/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~amd64 ~x86"
+IUSE="ares +hesiod kerberos X"
+
+RDEPEND="ares? ( net-dns/c-ares )
+ hesiod? ( net-dns/hesiod )
+ kerberos? ( app-crypt/mit-krb5 )
+ X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}"
+
+# tests require a running zhm daemon
+RESTRICT="test"
+
+src_configure() {
+ econf \
+ --without-krb4 \
+ --without-regex \
+ $(use_with ares cares) \
+ $(use_with hesiod) \
+ $(use_with kerberos krb5) \
+ $(use_with X x)
+}
+
+src_compile() {
+ emake DEBUG= || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ dodoc OPERATING USING || die
+
+ newinitd "${FILESDIR}"/zhm.rc zhm
+ newconfd "${FILESDIR}"/zhm.confd zhm
+
+ keepdir /etc/zephyr/acl
+}
+
+pkg_postinst() {
+ elog "zephyr clients will not work without the zhm daemon running."
+ elog "You likely want to add zhm to the default runlevel."
+ if ! use hesiod ; then
+ elog
+ elog "You have built ${PN} with the hesiod use flag disabled."
+ elog "zhm will not be able to automatically determine zephyr servers."
+ elog "You should specify your zephyr servers in /etc/conf.d/zhm"
+ fi
+}

0 comments on commit a1e6f68

Please sign in to comment.
Something went wrong with that request. Please try again.