summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-06-28 10:22:15 +0000
committerPeter Volkov <pva@gentoo.org>2011-06-28 10:22:15 +0000
commit4d546daa6f61453c01e600bce036cd42cd53b3e7 (patch)
tree4c053334ec07b3c270ff391ed27c312c2ff6e016 /app-text
parentVersion bump, bug #372531 thank Kent Fredric for report. (diff)
downloadhistorical-4d546daa6f61453c01e600bce036cd42cd53b3e7.tar.gz
historical-4d546daa6f61453c01e600bce036cd42cd53b3e7.tar.bz2
historical-4d546daa6f61453c01e600bce036cd42cd53b3e7.zip
Version bump, bug #372531 thank Kent Fredric for report.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dictd/ChangeLog9
-rw-r--r--app-text/dictd/Manifest4
-rw-r--r--app-text/dictd/dictd-1.12.0.ebuild100
3 files changed, 110 insertions, 3 deletions
diff --git a/app-text/dictd/ChangeLog b/app-text/dictd/ChangeLog
index e83cf2052cc7..218958c25d11 100644
--- a/app-text/dictd/ChangeLog
+++ b/app-text/dictd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/dictd
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.87 2010/08/01 10:48:21 pva Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.88 2011/06/28 10:22:14 pva Exp $
+
+*dictd-1.12.0 (28 Jun 2011)
+
+ 28 Jun 2011; Peter Volkov <pva@gentoo.org> +dictd-1.12.0.ebuild:
+ Version bump, bug #372531 thank Kent Fredric for report.
01 Aug 2010; Peter Volkov <pva@gentoo.org> files/1.10.11/dictd.initd:
Do not use non-posix pushd/popd inside init script, bug #330679, thank
diff --git a/app-text/dictd/Manifest b/app-text/dictd/Manifest
index ca0837e074bf..be28b51ea47e 100644
--- a/app-text/dictd/Manifest
+++ b/app-text/dictd/Manifest
@@ -7,7 +7,9 @@ AUX 1.10.11/site.info 235 RMD160 3bee51beb2ad856a6de1941764158f558c124733 SHA1 5
AUX dictd-1.10.11-colorit-nopp-fix.patch 323 RMD160 86c6559ff0518e282bed264310b6e216757a050d SHA1 7fda8a2d25e3df2de66e9f100c710c40db12f29b SHA256 720962dbe93456a948c489dd7ecc1f8384169b88c7a662ffee960b5eab4c7409
DIST dictd-1.11.1.tar.gz 416958 RMD160 a212c56b7316751c3501f38bee62bd2e9e097afb SHA1 48a98addfea83faed2b8890b1e1bae22d51d9113 SHA256 0d948667e077a82bc8bfa363243b2a39efb6d469f235ce64f4f3aa9e4682da37
DIST dictd-1.11.2.tar.gz 418649 RMD160 f93e8a7a0bbb4e1812288d2ed16889a60e8973ba SHA1 11087cfeffed4e19991e54561d2a6eca1b18d651 SHA256 60e7f44259adee87e952ea5d7e87555685224fb1d1dca24d3735b9feb58c871f
+DIST dictd-1.12.0.tar.gz 423183 RMD160 56abaebf57baabcb72b96ccf6ec5c39cc3a67ceb SHA1 0a1b0c4103e5c3c8b749f9a5dc005cb70e4639e8 SHA256 5ec423d29c46e088cf3617ea86fea74d7f70c48f66b142b7f477b55a3ef4a4a2
EBUILD dictd-1.11.1-r1.ebuild 2763 RMD160 ea9bb63d727451f36bda74da83398632f8674ed8 SHA1 a8be1de335fad53cc859730cae23e3e0521a31b6 SHA256 ca2bb098edd5b89c52327701a4ab4486915b515b0819ffff69eaa01641366432
EBUILD dictd-1.11.2.ebuild 2933 RMD160 c96630a65bf20d23a99be57a04fbb443ae3f72ab SHA1 149484ebeac4d670cea80c0b4b66fd9ebe144a85 SHA256 1721509806ba5b200796aabf9128b598637ee715141672a09e3496b8ca2f4158
-MISC ChangeLog 14663 RMD160 cf42a0b2c4ce3abdb617d1f1886d95b1d7626b49 SHA1 03df9fcc54b77d0f7443679179b808fe0eaa7645 SHA256 90fafec6e0a89fa9337b73552e13a33ed8123997f08a94749db815e2413ae216
+EBUILD dictd-1.12.0.ebuild 2604 RMD160 49691dcdc47fbcaa84456b03f83548f116c27c7f SHA1 3a18e5f2b1fe4d4e7f4f6f8156c35061a97f8193 SHA256 148c8c4ec712d2a891d590c3e28b395beb5e96ded73c852ab8fe4f55e8643a6d
+MISC ChangeLog 14819 RMD160 1e8a12263a8dcbc84d3aa88f157bf8e57250808c SHA1 7fd338accdc2985366aa085caf80825c9adce0d2 SHA256 b9b89ba0aeecc9dc7f433f5adfa2580103c524f6ff5cd02a9bd7194785d8313d
MISC metadata.xml 403 RMD160 27dbd8981c704fbd807a2ff1a2888389d655a776 SHA1 25130136d5d503c6409f8d88ddbee4154d862886 SHA256 c849b2fbde0b28c225ce1524495905e5d7251c2a6cceeeb89c3e2a56b9f0bb6a
diff --git a/app-text/dictd/dictd-1.12.0.ebuild b/app-text/dictd/dictd-1.12.0.ebuild
new file mode 100644
index 000000000000..1e39df902efa
--- /dev/null
+++ b/app-text/dictd/dictd-1.12.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.12.0.ebuild,v 1.1 2011/06/28 10:22:15 pva Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Dictionary Client/Server for the DICT protocol"
+HOMEPAGE="http://www.dict.org/"
+SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
+
+SLOT="0"
+# We install rfc so - ISOC-rfc
+LICENSE="GPL-2 ISOC-rfc"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE="dbi judy minimal"
+
+# <gawk-3.1.6 makes tests fail.
+DEPEND="sys-apps/coreutils
+ sys-libs/zlib
+ dev-libs/libmaa
+ dbi? ( dev-db/libdbi )
+ judy? ( dev-libs/judy )
+ >=sys-apps/coreutils-6.10"
+RDEPEND="${DEPEND}
+ >=sys-apps/gawk-3.1.6"
+
+pkg_setup() {
+ enewgroup dictd # used in src_test()
+ enewuser dictd -1 -1 -1 dictd
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch"
+
+ [[ ${CHOST} == *-darwin* ]] && \
+ sed -i -e 's:libtool:glibtool:g' Makefile.in
+}
+
+src_configure() {
+ econf \
+ $(use_with dbi plugin-dbi) \
+ $(use_with judy plugin-judy) \
+ --sysconfdir="${EPREFIX}"/etc/dict
+}
+
+src_compile() {
+ if use minimal; then
+ emake dictfmt dictzip dictzip
+ else
+ emake
+ fi
+}
+
+src_test() {
+ use minimal && return 0 # All tests are for dictd which we don't build...
+ if [[ ${EUID} -eq 0 ]]; then
+ # If dictd is run as root user (-userpriv) it drops its privileges to
+ # dictd user and group. Give dictd group write access to test directory.
+ chown :dictd "${WORKDIR}" "${S}/test"
+ chmod 770 "${WORKDIR}" "${S}/test"
+ fi
+ emake test
+}
+
+src_install() {
+ if use minimal; then
+ emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt
+ else
+ emake DESTDIR="${D}" install
+
+ dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt}
+ dodoc doc/{security.doc,toc.ms}
+
+ # conf files. For dict.conf see below.
+ insinto /etc/dict
+ for f in dictd.conf site.info colorit.conf; do
+ doins "${FILESDIR}/1.10.11/${f}"
+ done
+
+ # startups for dictd
+ newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd
+ newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd
+ fi
+
+ insinto /etc/dict
+ doins "${FILESDIR}/1.10.11/dict.conf"
+ # Install docs
+ dodoc README TODO ChangeLog ANNOUNCE NEWS
+}
+
+pkg_postinst() {
+ echo
+ elog "To start and use ${PN} you need to emerge at least one dictionary from"
+ elog "the app-dicts category with the package name starting with 'dictd-'."
+ elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
+ elog "${PN} will NOT start without at least one dictionary."
+ echo
+}