summaryrefslogtreecommitdiff
path: root/app-text/dictd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/dictd/files
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/dictd/files')
-rw-r--r--app-text/dictd/files/1.10.11/colorit.conf32
-rw-r--r--app-text/dictd/files/1.10.11/dict.conf6
-rw-r--r--app-text/dictd/files/1.10.11/dictd.conf26
-rw-r--r--app-text/dictd/files/1.10.11/dictd.confd5
-rw-r--r--app-text/dictd/files/1.10.11/dictd.initd77
-rw-r--r--app-text/dictd/files/1.10.11/site.info6
-rw-r--r--app-text/dictd/files/dictd-1.10.11-colorit-nopp-fix.patch13
-rw-r--r--app-text/dictd/files/dictd-1.12.0-build.patch22
-rw-r--r--app-text/dictd/files/dictd.service10
9 files changed, 0 insertions, 197 deletions
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