diff options
Diffstat (limited to 'app-text/dictd')
-rw-r--r-- | app-text/dictd/Manifest | 1 | ||||
-rw-r--r-- | app-text/dictd/dictd-1.13.0-r3.ebuild | 124 |
2 files changed, 0 insertions, 125 deletions
diff --git a/app-text/dictd/Manifest b/app-text/dictd/Manifest index 50c32c96fec7..7d629816b847 100644 --- a/app-text/dictd/Manifest +++ b/app-text/dictd/Manifest @@ -11,6 +11,5 @@ AUX dictd-1.13.0-libtool.patch 1127 BLAKE2B 7d4a567378ed95d657ccb4ef8bcab398acd5 AUX dictd-1.13.0-version.patch 1552 BLAKE2B 4feb49c424b42963fdde075a2afbb981a1ca222afa14f7be8000ce885c0a760e5374198d77eb20a18a77b7a8e1501bf2ddc65c622d4f13eb271f43cc72f9e59c SHA512 68215aeb6140e856e2b135c5a2052b17906e55fd94b9014eab8b15a4c8417d8fa1cbe41153847ea585558985765949549ee32d10e8e342c3cc13d3275d0d3f6f AUX dictd.service 181 BLAKE2B bf79654496f9ee30ca1c44a3c771927cd7bbf5bd7e97379cbd4d65c14ce3f8e4b90c4c50c706545b282e8260e0eed14469f42c9072e0c2be943979dfa88acf2c SHA512 e09f48b746977bfc118fe448bd41c33c6ad61fd94b42ce343ea087b858624498306d958203ec5e219dbdf94d54f8eb5a1feb7c48ad3b3ebc2eb1e9d3594828b9 DIST dictd-1.13.0.tar.gz 395455 BLAKE2B 222ce7eee03083ee23066f43330cce0cda3041d2ee4a0d54b2e9f2ea18a77ec83f91fbb766bdad645bdcaeed0674361ba600a393e4cb6c42bab6be94098991f0 SHA512 86871aaf34a182d1d7aac1a1282d4a75f2d7c112c762e92f303924c324f665dae75c51e7ca91e3cc1dde2053ad8e2d1fd50a76934a5f84ff70975aa858e26439 -EBUILD dictd-1.13.0-r3.ebuild 3187 BLAKE2B ecb48dd42ba3ee361c37bf79c68d16f5eb86097a9225ee0e6055754382a95877a94509bdbc0a96834287174cc3a1e4366f92fb6bc6a042e91d6b09bef2267095 SHA512 fa917045047165a3e83b1730fac38c64593269640362ba5ce640a4b00cc45c19f05526594e040b8b2a3e1e057bf8cecdfc0ee7c8b2108405438a0c5f0d0feb2f EBUILD dictd-1.13.0-r5.ebuild 3296 BLAKE2B 0aa34dbbb0f3acf05e4010ca16fc48f556928438a12d58e6da6b52e99563c2ffbefa5c6e722fafcce171e756f48c137688bd6d8ebf4b11633d92b178a120d44f SHA512 39f2e6eda2e978baa98d9fc77ee59b5f267944635b59e8f02e114966e7059f915fd1495617a201d8d41b617ba043ac42dce6434bb2ffb06ca242bc9791691fba MISC metadata.xml 485 BLAKE2B 93a8e21c6d8d2cd4660347b82669638689e4e0f15dcd8ee4323fcf7ec6faa65547449fd0c0f697e5793a566dc9413055998c92de568c6f00c9ee60973f28b6ff SHA512 9b028d0441c1753c77a9166e21cdd45bede983d877288092f5b52e6a610795360308889fc31e40a3b1c91a298d93bd3cfb957b34436a9a23ccc224f7207752a2 diff --git a/app-text/dictd/dictd-1.13.0-r3.ebuild b/app-text/dictd/dictd-1.13.0-r3.ebuild deleted file mode 100644 index 7f096d301669..000000000000 --- a/app-text/dictd/dictd-1.13.0-r3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit readme.gentoo-r1 systemd - -DESCRIPTION="Dictionary Client/Server for the DICT protocol" -HOMEPAGE="http://www.dict.org/ https://sourceforge.net/projects/dict/" -SRC_URI="mirror://sourceforge/dict/${P}.tar.gz" - -LICENSE="GPL-1+ GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" -IUSE="dbi judy minimal test" -RESTRICT="!test? ( test )" - -# <gawk-3.1.6 makes tests fail. -RDEPEND=" - acct-group/dictd - acct-user/dictd - >=sys-apps/coreutils-6.10 - dev-libs/libmaa - sys-libs/zlib - dbi? ( dev-db/libdbi ) - judy? ( dev-libs/judy ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=sys-apps/gawk-3.1.6 - sys-devel/flex - app-alternatives/yacc - test? ( !~sys-apps/gawk-4.2.1 ) -" - -DOC_CONTENTS=" - To start and use ${PN} you need to emerge at least one dictionary from - the app-dicts category with the package name starting with 'dictd-'. - To install all available dictionaries, emerge app-dicts/dictd-dicts. - ${PN} will NOT start without at least one dictionary.\n - \nIf you are running systemd, you will need to review the instructions - explained in /etc/dict/dictd.conf comments. -" - -PATCHES=( - "${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch - "${FILESDIR}"/dictd-1.12.0-build.patch -) - -src_prepare() { - default - - if [[ ${CHOST} == *-darwin* ]]; then - sed -i -e 's:libtool:glibtool:g' Makefile.in || die - fi -} - -src_configure() { - econf \ - $(use_with dbi plugin-dbi) \ - $(use_with judy plugin-judy) \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \ - --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" || die - chmod 770 "${WORKDIR}" "${S}/test" || die - fi - emake test -} - -src_install() { - if use minimal; then - emake DESTDIR="${ED}" install.dictzip install.dict install.dictfmt - else - default - - # Don't install rfc2229.txt because it is non-free - dodoc doc/{dicf.ms,rfc.ms,rfc.sh} - dodoc doc/{security.doc,toc.ms} - dodoc -r examples - - # 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 - systemd_dounit "${FILESDIR}"/${PN}.service - fi - - find "${ED}" -name '*.la' -o -name '*.a' -delete || die - - insinto /etc/dict - doins "${FILESDIR}"/1.10.11/dict.conf - - dodoc ANNOUNCE NEWS README TODO - - readme.gentoo_create_doc -} - -pkg_postinst() { - if has_version sys-apps/systemd; then - ewarn "The default location for dicts has changed! If you've modified your" - ewarn "systemd units locally to point into /usr/lib/dict, please update it" - ewarn "to point at /usr/share/dict now." - fi -} |