diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-01-29 08:38:39 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-01-29 08:38:39 +0000 |
commit | 901c44755acb2f51a111879209c86a68c8078e9a (patch) | |
tree | ec7feb110b629f440fc6f64ab2dc0c40eba2fcc1 /app-text/dictd | |
parent | Bump (diff) | |
download | historical-901c44755acb2f51a111879209c86a68c8078e9a.tar.gz historical-901c44755acb2f51a111879209c86a68c8078e9a.tar.bz2 historical-901c44755acb2f51a111879209c86a68c8078e9a.zip |
Bump
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Diffstat (limited to 'app-text/dictd')
-rw-r--r-- | app-text/dictd/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/dictd/Manifest | 4 | ||||
-rw-r--r-- | app-text/dictd/dictd-1.12.1.ebuild | 102 |
3 files changed, 112 insertions, 3 deletions
diff --git a/app-text/dictd/ChangeLog b/app-text/dictd/ChangeLog index 753ee00be1e9..25d2ca25ad79 100644 --- a/app-text/dictd/ChangeLog +++ b/app-text/dictd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/dictd -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.91 2012/05/24 04:43:00 vapier Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.92 2013/01/29 08:38:29 patrick Exp $ + +*dictd-1.12.1 (29 Jan 2013) + + 29 Jan 2013; Patrick Lauer <patrick@gentoo.org> +dictd-1.12.1.ebuild: + Bump 24 May 2012; Mike Frysinger <vapier@gentoo.org> dictd-1.11.1-r1.ebuild, dictd-1.11.2.ebuild, dictd-1.12.0.ebuild: diff --git a/app-text/dictd/Manifest b/app-text/dictd/Manifest index 65c578be42d4..2d98abb2ae2d 100644 --- a/app-text/dictd/Manifest +++ b/app-text/dictd/Manifest @@ -9,8 +9,10 @@ AUX dictd-1.12.0-build.patch 643 SHA256 332769df227f6269eb2b134400f9cf2281f46ef3 DIST dictd-1.11.1.tar.gz 416958 SHA256 0d948667e077a82bc8bfa363243b2a39efb6d469f235ce64f4f3aa9e4682da37 SHA512 88135f72aa56a6ce7edc5a4d1bf6bbcc071f61c5c7c055231c6757ce7ab64492fdc5ccb80725cf0e080f472986560a63c005c56518e70e51f9f4981a81126516 WHIRLPOOL 99124c98307e0f401de9034ae87df368ffd9d2ddad39fdfc602c6b237a2c7d82271c703798b332498c75758699d5acf29715a5ca8d6a5c55e92737276e6448eb DIST dictd-1.11.2.tar.gz 418649 SHA256 60e7f44259adee87e952ea5d7e87555685224fb1d1dca24d3735b9feb58c871f SHA512 1ff92fb4bf9b6e3f5eb9f9352371d6f8902f0c2bc0d4ea64c702a1043c32f199178f383a783f7a9b5b31a7c764c4155d0c4921f5571ff98ffbffeb522a4a76f5 WHIRLPOOL 05b6bff3dd1d20bb7fffa18278e6c4c50e34f7d123cbfd19820fc2640c0ebccbbea330f96b411579bf017400b86d0a915c58492e299f1ade9c5682d8d9adcce2 DIST dictd-1.12.0.tar.gz 423183 SHA256 5ec423d29c46e088cf3617ea86fea74d7f70c48f66b142b7f477b55a3ef4a4a2 SHA512 210182295d1bc857156c6e22dfa85a1657d3d19eee73fd5fae28ca1e039ea229dbef07d3ae08ecd2a549d31e3b974deb1eee55d8ed7dd0f2606144d37993ece4 WHIRLPOOL 9ef1e16d4981e7e5b068466f18c78d6e34a8cf4a61740e61f2207492fa7fb97f2fad8ad22db34f8937200969e3d4dc7e8f9312ebead0c7409fc11c46b52418b2 +DIST dictd-1.12.1.tar.gz 423870 SHA256 a237f6ecdc854ab10de5145ed42eaa2d9b6d51ffdc495f7daee59b05cc363656 SHA512 51bceba36f9e34ffcbbf42a6235aab6097fe66ba8ed086ea60d0df8b7daf91c6449fdf7c5605150c77035d98029053233db106f9188786b30e02ecd61748209b WHIRLPOOL d9f92667c0cb66d893f4f4630cc2dae61dd54b5d96b01d312d83eebd34278ddb11b76c2fcaef40a0b6dcd608d5a542d14c6645c7769893879eb9c229e04c9648 EBUILD dictd-1.11.1-r1.ebuild 2768 SHA256 44284fa3b425943ea1de9030bad890bb232ace6220701b021958ae2062205863 SHA512 fc8a247bd40e5e2db7c2acf0d872f2338649d726dff7b8cff41a6301bca411969acaa64086dbc6d8bc5f44819ec8de371683d992c4c70d22d86bbfcafba850fc WHIRLPOOL 0d0baad35267b0bcd7153e843343c08c5449e609a1e5a43e321cadf2e88d806dbc8b06d1260bcae7fe47c1698dfb8e2246f4c118fd86d4bc81cda48592a98134 EBUILD dictd-1.11.2.ebuild 2941 SHA256 c9d4a9ffc139d755e5af9fef3e000d39ffd50e180f2f2639b62dd18d34ee01b6 SHA512 286f988e48480a29fc6d58c6f6db3dd6c3e7bc8ded6b064525869cf185337a648f950bbb0f082632d6c345dbc1e844aa6b4f931b57ceed2f88183e60b0107afb WHIRLPOOL 7ec1218cbd8e8951b00b2781a70f1ca5a3226508a0604db176488d0b74412d10e5a12084c40a100a55b60996f0ecd253c7a81002fcbde880693a22422be69fbf EBUILD dictd-1.12.0.ebuild 2706 SHA256 3659882a11d389e3ce34e47ad7cc86c6b424587b373aa30a3ee1a3a49cbcd36f SHA512 01cbf3828cd438054519cc5bb51f5effa92cf9174c825a56ff2d7084e7f5aff1aecbcda2614c9ec23e53fe7b8da0cbffac385910e347faa921ac4f5d26905aae WHIRLPOOL 62bb8867b918c005d86c807cc3534f682dbf0e5fd354b8abac3e7fd7129d4a0716042aebe5b2b91c5772ce186ba3a0bac70cc27915a33e7146956a24f14f160e -MISC ChangeLog 15268 SHA256 e399595707def33006a8f3f3ea922c5ae26017cf8e75d3e489ef2f02ba06fefd SHA512 850f274c16e86a1b63b408bdcd92410914689074695bb7219d56a5a6bb2ed8ae6e9f3ea830ff55874f100146364d87aefd1b623930a70e8e1be8afe33a534f81 WHIRLPOOL e15785a5260ef4a77b2d3492419fe3496306d662e73300cb7842180babb43f178896f221f9d30b9738524919002cc7ec79e91e362ff4ce1172f2511284549b88 +EBUILD dictd-1.12.1.ebuild 2707 SHA256 8dfd4825ac350208584d8e0505401af81df0547da15878aa0df4e0eb493c6e89 SHA512 2adc68501af07942c26ad47c133b6473c0c7c3e3c512e25dd7a623a0ed6913ed1e5b5017d017c4990f75c0452beb631eb0cea3bd2c7270a8b0edf44ed2c0bebd WHIRLPOOL adc46dcae9504d9db34774d294997b77fe128bf8ce6eefb90e2902ccff6a0e5b1c1f85b4287648946a36cf286819d603422190cfabbf639a83cc11d343120667 +MISC ChangeLog 15378 SHA256 8c714ce21d0bb44db38f8e291fd2a3c876c070e868ddace8f0da3451d8d49ee2 SHA512 6ae465245d3373b82c653c5bf866b0b1d5ff3c17ce64ff21ac7ec32b5003b2cddc7c9c647e73a96b7931cb6fab749301e4f0d186aa81eac78b652a81c0316eaf WHIRLPOOL 222b24a633115879d4920f011cae5046a90700d56f51298f87c8c05fdd124ccdde88413a343fd69bbbd7fe848abd6157d812d93ffa241f319895b7384e71382a MISC metadata.xml 403 SHA256 c849b2fbde0b28c225ce1524495905e5d7251c2a6cceeeb89c3e2a56b9f0bb6a SHA512 81116a57cb526b7cd3dc42712712ef6f2646af70f9b5f6d28b957d001d5a7b45fe71e341e98804cd4a623e88114903ec2e600f0bc55801189ba26fa5fee40a86 WHIRLPOOL 3a215b8b7b3e239897692f21231436b45c1200da5e19c07729cefe354c8b025d7428f8db339a5bcabe6d3bb3381b9635c4bae3bbc3dfdcf5b23ce4edebf01de1 diff --git a/app-text/dictd/dictd-1.12.1.ebuild b/app-text/dictd/dictd-1.12.1.ebuild new file mode 100644 index 000000000000..4b75e297d7d6 --- /dev/null +++ b/app-text/dictd/dictd-1.12.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.12.1.ebuild,v 1.1 2013/01/29 08:38:29 patrick Exp $ + +EAPI="4" + +inherit eutils user + +DESCRIPTION="Dictionary Client/Server for the DICT protocol" +HOMEPAGE="http://www.dict.org/ http://sourceforge.net/projects/dict/" +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. +RDEPEND="sys-apps/coreutils + sys-libs/zlib + dev-libs/libmaa + dbi? ( dev-db/libdbi ) + judy? ( dev-libs/judy ) + >=sys-apps/coreutils-6.10" +DEPEND="${RDEPEND} + >=sys-apps/gawk-3.1.6 + virtual/yacc" + +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 + epatch "${FILESDIR}"/dictd-1.12.0-build.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 +} |