diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/dictd | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/dictd')
-rw-r--r-- | app-text/dictd/Manifest | 12 | ||||
-rw-r--r-- | app-text/dictd/dictd-1.12.1-r2.ebuild | 106 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.11/colorit.conf | 32 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.11/dict.conf | 6 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.11/dictd.conf | 26 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.11/dictd.confd | 5 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.11/dictd.initd | 77 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.11/site.info | 6 | ||||
-rw-r--r-- | app-text/dictd/files/dictd-1.10.11-colorit-nopp-fix.patch | 13 | ||||
-rw-r--r-- | app-text/dictd/files/dictd-1.12.0-build.patch | 22 | ||||
-rw-r--r-- | app-text/dictd/files/dictd.service | 10 | ||||
-rw-r--r-- | app-text/dictd/metadata.xml | 12 |
12 files changed, 0 insertions, 327 deletions
diff --git a/app-text/dictd/Manifest b/app-text/dictd/Manifest deleted file mode 100644 index 45f5dc94a3b7..000000000000 --- a/app-text/dictd/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -AUX 1.10.11/colorit.conf 848 BLAKE2B 2fd40b7c18973f3374d2e0b733939d9e8cc2fb4b834f9b4c2a14a98133657db795eaf2e37284c8bc849fd392d1db6a221a786f3299ea1ad86f874e370841b981 SHA512 d836de8a5a409bcbc3e6ee71e3b8fab20229b9937cb909f061cd8d2fd8cb841870d42ce9c4501c441a7825c642be76a7da3c242e9831b1caa30fa5b26e173813 -AUX 1.10.11/dict.conf 243 BLAKE2B 707e17e8373ded07ff36a304a17e33d22544a2b497118b649710cfeb2dcdfcb206990852606ec1392e7018d5e5c475ef823b741438fc22207f25fd7647bc02c7 SHA512 22fbfd3bf8c4f88801aab848e160f46bf17757086ffe8fe7a4cdb78f983e88f6c923cac8714f78d31ab311957aa860731f663324b742febd0a5039085672aeb5 -AUX 1.10.11/dictd.conf 781 BLAKE2B 1cb0a3548125923d2fabfa296863135472b93ca6c34cd4b2d8eebf7f9c0d6e7df9ec652eed4f3a2ee138834ada12a58cdc315d0607cd2bba05315a6dac6db6bf SHA512 60c7ade9e3c160c69b87405962b0e92f6beb3941fecdbbb90c2343f1db1cc800bd26f1a670435641859e6bc864aa8ace58749c07dd106c3afd7eea81601445c3 -AUX 1.10.11/dictd.confd 207 BLAKE2B f7d9815d41490f85a977d3dcfa9dc7330e48b76102f4cf90c18204f780287c7681ba9c7a4dc4e04d9007d18e89f2dbe6c29595ea9f685bb6a14c774f2485a85f SHA512 16e31e250bce84cfa25d5d187f736053773889afd248248fac61aac115df2938fbe6f30049c143f2c290b60652947125763adaffdfcd71260853d574c0434348 -AUX 1.10.11/dictd.initd 1982 BLAKE2B ea63cda1512c1e65a463193cb17a2610053909aebdfb5c572720572f9aa77a00adb632d22a8e775bd0fd8c397331b2f79dda43c214d44d0166b374a9f5dcdc7e SHA512 7b8907dbc9f40f81b8431e691506142954643e6539ca6bb486f629fb929f60da8a7e52066e46374478f805dc1b6e84931f3b4a6a2f8f7d34f56a8664c5f4a0ab -AUX 1.10.11/site.info 235 BLAKE2B 561d838293b3894d6e7a34348d7181ce3f38a093441ec3029e97524d219bac315927a0ab67f6dff94150d03e851a15b578aee4141d2f3c8d68792ae8f7a794bd SHA512 74bb341f049acd7d502d9117ae1321bedc499958ba377c02a2591880cc45d451409fd99a76ec3ddcf1846f6d124ef5ae1da40c5c001b67e94c68a895c2dcfd79 -AUX dictd-1.10.11-colorit-nopp-fix.patch 323 BLAKE2B e99dea0a194532be7239fab52da9c1bae0557ed3d7a32c4ffa07d5c0298346bfb17b3d2711ac7a5d755f82493b3c4cbde60d1af7f6d4dc31fc9866dbf77a36a8 SHA512 af4a35954d4c38e7e33d23a05dccba4dc7ffb5b4905cb34487718a664f8c52c3cebb17296367fb9f8b203137bbc00fef62d2f452446fb589f914ff8862bbc1e7 -AUX dictd-1.12.0-build.patch 643 BLAKE2B e7f9ffbe56a15278a95537791af88a1866452742af218bac5e8a336c735d232775fafdd7338e7eb20cee2bf1ff45b4369d9c7932a6004d8733172732cdf2a6d4 SHA512 577a85b765a3a7e8e8510ea36567541073a79cd2f99a8efed69ee1fb1e7d32a864d872fe358c0692be56af0c94ea241cb4effb9623371f0eb8492d8c4d223433 -AUX dictd.service 181 BLAKE2B bf79654496f9ee30ca1c44a3c771927cd7bbf5bd7e97379cbd4d65c14ce3f8e4b90c4c50c706545b282e8260e0eed14469f42c9072e0c2be943979dfa88acf2c SHA512 e09f48b746977bfc118fe448bd41c33c6ad61fd94b42ce343ea087b858624498306d958203ec5e219dbdf94d54f8eb5a1feb7c48ad3b3ebc2eb1e9d3594828b9 -DIST dictd-1.12.1.tar.gz 423870 BLAKE2B 9a1522a9786fac732c5e8b481b2eaa36d75ab27d3388e40cdf80016a410123907c4b28b1ed32c1fa3b179b27a358447625de6c0c1e9ab9f35c6d5d3f16591b9f SHA512 51bceba36f9e34ffcbbf42a6235aab6097fe66ba8ed086ea60d0df8b7daf91c6449fdf7c5605150c77035d98029053233db106f9188786b30e02ecd61748209b -EBUILD dictd-1.12.1-r2.ebuild 2804 BLAKE2B 02668dcd6d391f0605a48b6bec5fdbbf5ea51179e4663e56d71a7f7768a0307f4a130f5cebd38a7d1ff7b3b704ced5a6350094bd43e5d6147c243d4b511af08a SHA512 489ecd4f356e3d2631fb1bd783f861f26467695b66a06d9e97ce9407ec0fd27b6ba0607a5344a325995719248623e41ff8c3da4c13ae5a17589c7fa08c72f3c0 -MISC metadata.xml 484 BLAKE2B 8513944c0eaf7007a75c571dd29ad9e408db17a8e68f39424f361d19e488fa644a8467db234692bed15fd2d2425676c09f7187751b507a69967dcd598f9ab30e SHA512 b404b831fbea2146daf29f4bc81af88c5e226134950fa1eff68823bdf0b00208328936983d1e9c8c51e3420a27c0eca99e83d1178451b8e5df265b8623d3385e diff --git a/app-text/dictd/dictd-1.12.1-r2.ebuild b/app-text/dictd/dictd-1.12.1-r2.ebuild deleted file mode 100644 index 442e9519dbed..000000000000 --- a/app-text/dictd/dictd-1.12.1-r2.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils readme.gentoo systemd user - -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" - -SLOT="0" -# We install rfc so - ISOC-rfc -LICENSE="GPL-2 ISOC-rfc" -KEYWORDS="alpha amd64 ~arm ~arm64 ~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-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 -" - -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. -" - -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} - newdoc examples/dictd1.conf dictd.conf.example - - # 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 - - insinto /etc/dict - doins "${FILESDIR}/1.10.11/dict.conf" - # Install docs - dodoc README TODO ChangeLog ANNOUNCE NEWS - - readme.gentoo_create_doc -} diff --git a/app-text/dictd/files/1.10.11/colorit.conf b/app-text/dictd/files/1.10.11/colorit.conf deleted file mode 100644 index 22b00e9ec07d..000000000000 --- a/app-text/dictd/files/1.10.11/colorit.conf +++ /dev/null @@ -1,32 +0,0 @@ -dnl /etc/dictd/colorit.conf vim:ft=m4 -dnl -dnl Sample configuration file for colorit(1) program -dnl -divert(-1) -dnl -dnl Define some useful color variables -dnl -define(`black', `0') -define(`red', `1') -define(`green', `2') -define(`brown', `3') -define(`blue', `4') -define(`magenta', `5') -define(`cyan', `6') -define(`white', `7') -dnl -dnl Mark macro arguments: regexp foreground-color [background-color] -dnl -define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[3$2;4$3m"'', ``"\033[3$2m"'')' `"\033[m"') -dnl -divert -mark(`^From.*$',red,cyan) -mark(`^ [^ ]+',green) -mark(`^ *Note:',red) -mark(`{[^{]+}',green) -mark(`^ *\[[^\[]+\]', cyan) -mark(`^[ ]*(adj|n|v|adv)? *[0-9]+[\.:]',cyan) -mark(`^ *\([a-z]+\)',cyan) -mark(`(Syn|Ant|syn|ant):', blue, white) -mark(` (t|i|a|adj|adv|n|v)\. ',cyan) -mark(` (t|i|a|adj|adv|n|v)\.$',cyan) diff --git a/app-text/dictd/files/1.10.11/dict.conf b/app-text/dictd/files/1.10.11/dict.conf deleted file mode 100644 index e06c3d296ec3..000000000000 --- a/app-text/dictd/files/1.10.11/dict.conf +++ /dev/null @@ -1,6 +0,0 @@ -# This is the configuration file for dict. -# Usually all you will ever need here is the server keywords. -# Refer to the dict manpage for other options. -# It will only check the second server if the first fails -server localhost -server dict.org diff --git a/app-text/dictd/files/1.10.11/dictd.conf b/app-text/dictd/files/1.10.11/dictd.conf deleted file mode 100644 index 0de4c201773a..000000000000 --- a/app-text/dictd/files/1.10.11/dictd.conf +++ /dev/null @@ -1,26 +0,0 @@ -# dictd configuration file - -global { - # Informational message - site site.info -} - -# who's allowed. You might want to change this. -access { - allow * -} - -# Dictionaries are listed below. During dictd startup the OpenRC init script will -# scan ${DLIBDIR} (see /etc/conf.d/dictd) and adds all of the dictionaries it -# finds here. -# -# On the other hand, if you are running systemd, you will need to look at -# /usr/share/doc/dictd-${PV}/dictd.conf.example as reference to know the format -# of the lines you will need to manually add below. -# -# NOTE: OpenRC init script will wipe everything below #LASTLINE and replace it with -# what it finds. So add all of your things above. If this is a problem, report -# bug at https://bugs.gentoo.org, please. -# -# Do not remove next line! -#LASTLINE diff --git a/app-text/dictd/files/1.10.11/dictd.confd b/app-text/dictd/files/1.10.11/dictd.confd deleted file mode 100644 index 06eb94973bfa..000000000000 --- a/app-text/dictd/files/1.10.11/dictd.confd +++ /dev/null @@ -1,5 +0,0 @@ -# If you have problems starting dictd in a UTF-8 locale, add an appropriate -# --locale switch to DICTD_OPTS, e. g. "--locale=en_US.utf8" -DICTD_OPTS="-s " -DICTDCONF=/etc/dict/dictd.conf -DLIBDIR=/usr/lib/dict diff --git a/app-text/dictd/files/1.10.11/dictd.initd b/app-text/dictd/files/1.10.11/dictd.initd deleted file mode 100644 index ca4474043bcf..000000000000 --- a/app-text/dictd/files/1.10.11/dictd.initd +++ /dev/null @@ -1,77 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DICTD_PID="/var/run/dictd.pid" - -prepconfig() { - local TMPCONF INDEXFILES CNT DNAME DICT SAVEDIR - if [ ! -e "${DICTDCONF}" ]; then - eerror "Config file ${DICTDCONF} not found." - return 1 - fi - - # if no dictionaries, skip startup. - # The new way of doing this is to scan /usr/lib/dict and tweek the conf - einfo "Scanning for dictionaries..." - if [ ! -d "${DLIBDIR}" ]; then - eerror "${DLIBDIR} doesn't exist, no dictionaries found." - return 1 - fi - - SAVEDIR=${PWD} - cd "${DLIBDIR}" - INDEXFILES=$(ls *.index) - if [ -z "${INDEXFILES}" ]; then - eerror "No dictionaries found at ${DLIBDIR}." - eerror "Please, emerge at least one of app-dicts/dictd-* dictionaries." - return 1 - fi - - TMPCONF=$(mktemp -t dictd.conf.XXXXXXXXXX) - cat ${DICTDCONF} | sed -e '/^#LASTLINE/,$d' > ${TMPCONF} - echo "#LASTLINE" >> ${TMPCONF} - - CNT=0 - for i in ${INDEXFILES}; do - DNAME=$(echo $i | sed -e 's/[.]index$//') - #two possible names for a matching dictionary, check which is there. - if [ -f ${DNAME}.dict.dz ]; then - DICT=${DNAME}.dict.dz - elif [ -f ${DNAME}.dict ];then - DICT=${DNAME}.dict - else - ewarn "Index $i has no matching dictionaray..." - fi - - #ok, go an index, and a dixtionary, append. - echo "database ${DNAME} { data \"${DLIBDIR}/${DICT}\"" >> ${TMPCONF} - echo " index \"${DLIBDIR}/$i\" }" >> ${TMPCONF} - - CNT=$(expr ${CNT} + 1) - done - - cd "${SAVEDIR}" - mv "${TMPCONF}" "${DICTDCONF}" - chown 0:dictd "${DICTDCONF}" - chmod g+r "${DICTDCONF}" - einfo "Done, ${CNT} dictionaries found." -} - -depend() { - need localmount -} - -start() { - prepconfig || return 1 - ebegin "Starting dictd" - start-stop-daemon --start --quiet --pidfile ${DICTD_PID} --exec \ - /usr/sbin/dictd -- --pid-file ${DICTD_PID} ${DICTD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping dictd" - start-stop-daemon --stop --quiet --pidfile ${DICTD_PID} --exec /usr/sbin/dictd - eend $? -} diff --git a/app-text/dictd/files/1.10.11/site.info b/app-text/dictd/files/1.10.11/site.info deleted file mode 100644 index 23bfdeb61102..000000000000 --- a/app-text/dictd/files/1.10.11/site.info +++ /dev/null @@ -1,6 +0,0 @@ -Welcome to your dictionary server dictd! - -This is an example site information file. It should contain information -about any restricted databases and how users can obtain access. If may -also contain other random data as you see fit. - diff --git a/app-text/dictd/files/dictd-1.10.11-colorit-nopp-fix.patch b/app-text/dictd/files/dictd-1.10.11-colorit-nopp-fix.patch deleted file mode 100644 index 4643a10d2de4..000000000000 --- a/app-text/dictd/files/dictd-1.10.11-colorit-nopp-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -=== modified file 'colorit.in' ---- colorit.in 2009-03-02 08:52:14 +0000 -+++ colorit.in 2009-03-02 08:52:48 +0000 -@@ -167,7 +167,7 @@ - - function process_config (){ - if (pp == ""){ -- while (0 < (ret = (pipe | getline))){ -+ while (0 < (ret = (getline < config_file))){ - process_config_line() - } - }else{ - diff --git a/app-text/dictd/files/dictd-1.12.0-build.patch b/app-text/dictd/files/dictd-1.12.0-build.patch deleted file mode 100644 index d192f8ccb961..000000000000 --- a/app-text/dictd/files/dictd-1.12.0-build.patch +++ /dev/null @@ -1,22 +0,0 @@ -don't force -static so we get both pic and non-pic objects - -https://bugs.gentoo.org/342669 - ---- a/Makefile.in -+++ b/Makefile.in -@@ -117,12 +117,12 @@ - @SET_MAKE@ - - %.o: %.c -- $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@ -+ $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@ -static - %.o: %.cpp -- $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@ -+ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@ -static - - %: %.o -- $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \ -+ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ \ - $^ $(OBJS) $(LDFLAGS) -lz ${LIBS} - - include $(srcdir)/deps diff --git a/app-text/dictd/files/dictd.service b/app-text/dictd/files/dictd.service deleted file mode 100644 index f5efde6c6f1f..000000000000 --- a/app-text/dictd/files/dictd.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Dictd Dictionary Server Daemon -After=network.target - -[Service] -Type=forking -ExecStart=/usr/sbin/dictd --listen-to 127.0.0.1 - -[Install] -WantedBy=multi-user.target diff --git a/app-text/dictd/metadata.xml b/app-text/dictd/metadata.xml deleted file mode 100644 index 0ecc963168ae..000000000000 --- a/app-text/dictd/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="judy">Build Judy-based (<pkg>dev-libs/judy</pkg>) plugin implementing fast "exact" and especially "lev" strategies</flag> - <flag name="minimal">Don't build server but dict client, dictzip and dictfmt only.</flag> - </use> - <upstream> - <remote-id type="sourceforge">dict</remote-id> - </upstream> -</pkgmetadata> |