Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/dictd/
Date: Tue, 26 Apr 2016 22:27:26
Message-Id: 1461709592.258f51e406d9f13560d2eebe7c3d34cc6f1674de.wizardedit@gentoo
1 commit: 258f51e406d9f13560d2eebe7c3d34cc6f1674de
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 20:33:36 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 22:26:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258f51e4
7
8 app-text/dictd: remove dictd-1.12.1-r1
9
10 Package-Manager: portage-2.2.26
11
12 app-text/dictd/dictd-1.12.1-r1.ebuild | 107 ----------------------------------
13 1 file changed, 107 deletions(-)
14
15 diff --git a/app-text/dictd/dictd-1.12.1-r1.ebuild b/app-text/dictd/dictd-1.12.1-r1.ebuild
16 deleted file mode 100644
17 index 2d570fc..0000000
18 --- a/app-text/dictd/dictd-1.12.1-r1.ebuild
19 +++ /dev/null
20 @@ -1,107 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -inherit eutils readme.gentoo systemd user
27 -
28 -DESCRIPTION="Dictionary Client/Server for the DICT protocol"
29 -HOMEPAGE="http://www.dict.org/ http://sourceforge.net/projects/dict/"
30 -SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
31 -
32 -SLOT="0"
33 -# We install rfc so - ISOC-rfc
34 -LICENSE="GPL-2 ISOC-rfc"
35 -KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
36 -IUSE="dbi judy minimal"
37 -
38 -# <gawk-3.1.6 makes tests fail.
39 -RDEPEND="
40 - sys-libs/zlib
41 - dev-libs/libmaa
42 - dbi? ( dev-db/libdbi )
43 - judy? ( dev-libs/judy )
44 - >=sys-apps/coreutils-6.10
45 -"
46 -DEPEND="${RDEPEND}
47 - >=sys-apps/gawk-3.1.6
48 - virtual/yacc
49 -"
50 -
51 -DOC_CONTENTS="
52 - To start and use ${PN} you need to emerge at least one dictionary from
53 - the app-dicts category with the package name starting with 'dictd-'.
54 - To install all available dictionaries, emerge app-dicts/dictd-dicts.
55 - ${PN} will NOT start without at least one dictionary.\n
56 - \nIf you are running systemd, you will need to review the instructions
57 - explained in /etc/dict/dictd.conf comments.
58 -"
59 -
60 -pkg_setup() {
61 - enewgroup dictd # used in src_test()
62 - enewuser dictd -1 -1 -1 dictd
63 -}
64 -
65 -src_prepare() {
66 - epatch "${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch
67 - epatch "${FILESDIR}"/dictd-1.12.0-build.patch
68 -
69 - [[ ${CHOST} == *-darwin* ]] && \
70 - sed -i -e 's:libtool:glibtool:g' Makefile.in
71 -}
72 -
73 -src_configure() {
74 - econf \
75 - $(use_with dbi plugin-dbi) \
76 - $(use_with judy plugin-judy) \
77 - --sysconfdir="${EPREFIX}"/etc/dict
78 -}
79 -
80 -src_compile() {
81 - if use minimal; then
82 - emake dictfmt dictzip dictzip
83 - else
84 - emake
85 - fi
86 -}
87 -
88 -src_test() {
89 - use minimal && return 0 # All tests are for dictd which we don't build...
90 - if [[ ${EUID} -eq 0 ]]; then
91 - # If dictd is run as root user (-userpriv) it drops its privileges to
92 - # dictd user and group. Give dictd group write access to test directory.
93 - chown :dictd "${WORKDIR}" "${S}/test"
94 - chmod 770 "${WORKDIR}" "${S}/test"
95 - fi
96 - emake test
97 -}
98 -
99 -src_install() {
100 - if use minimal; then
101 - emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt
102 - else
103 - emake DESTDIR="${D}" install
104 -
105 - dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt}
106 - dodoc doc/{security.doc,toc.ms}
107 - newdoc examples/dictd1.conf dictd.conf.example
108 -
109 - # conf files. For dict.conf see below.
110 - insinto /etc/dict
111 - for f in dictd.conf site.info colorit.conf; do
112 - doins "${FILESDIR}/1.10.11/${f}"
113 - done
114 -
115 - # startups for dictd
116 - newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd
117 - newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd
118 - systemd_dounit "${FILESDIR}"/${PN}.service
119 - fi
120 -
121 - insinto /etc/dict
122 - doins "${FILESDIR}/1.10.11/dict.conf"
123 - # Install docs
124 - dodoc README TODO ChangeLog ANNOUNCE NEWS
125 -
126 - readme.gentoo_create_doc
127 -}