summaryrefslogtreecommitdiff
path: root/community/dictd
diff options
context:
space:
mode:
Diffstat (limited to 'community/dictd')
-rw-r--r--community/dictd/PKGBUILD55
-rw-r--r--community/dictd/colorit.conf32
-rw-r--r--community/dictd/dict.conf6
-rw-r--r--community/dictd/dictd.conf25
-rw-r--r--community/dictd/dictd.confd7
-rw-r--r--community/dictd/dictd.service11
-rw-r--r--community/dictd/dictd.xinetd12
-rw-r--r--community/dictd/site.info6
8 files changed, 0 insertions, 154 deletions
diff --git a/community/dictd/PKGBUILD b/community/dictd/PKGBUILD
deleted file mode 100644
index cd5509161..000000000
--- a/community/dictd/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 91830 2013-05-28 17:03:45Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: SmackleFunky <smacklefunky@optusnet.com.au>
-# Contributor: Enrico Morelli <morelli@cerm.unifi.it>
-
-pkgname=dictd
-pkgver=1.12.1
-pkgrel=3
-pkgdesc="Online dictionary client and server"
-url="http://sourceforge.net/projects/dict/"
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('sh' 'zlib' 'libmaa')
-makedepends=('flex')
-backup=(etc/dict/dictd.conf
- etc/dict/dict.conf
- etc/dict/site.info
- etc/conf.d/dictd
- etc/xinetd.d/dictd
- etc/dict/colorit.conf)
-options=('!emptydirs')
-source=("http://downloads.sourceforge.net/dict/$pkgname-$pkgver.tar.gz"
- dict.conf
- dictd.conf
- dictd.confd
- dictd.service
- site.info
- dictd.xinetd
- colorit.conf)
-md5sums=('62696491174c22079f664830d07c0623'
- 'fb72f7d8c55f84b1b37bbc8d33a8e55a'
- '64cd6ffdb40fb3367224f91ac44926ac'
- '838887fee38ae4cebd652d399b1f2266'
- 'd94fa6c43514c158c80e85f856c65365'
- 'b8cabf913876e544d919c7f20ff8db9e'
- 'bd3fd3f68625bad0c23754686ae2e99c'
- '978c9c079a0fc8d7d42a4cd4000190e7')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --enable-dictorg --prefix=/usr --sysconfdir=/etc/dict --sbindir=/usr/bin
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
- install -D -m 0644 $srcdir/dictd.xinetd $pkgdir/etc/xinetd.d/dictd
- install -D -m 0644 $srcdir/dictd.conf $pkgdir/etc/dict/dictd.conf
- install -D -m 0644 $srcdir/dict.conf $pkgdir/etc/dict/dict.conf
- install -D -m 0644 $srcdir/site.info $pkgdir/etc/dict/site.info
- install -D -m 0644 $srcdir/dictd.confd $pkgdir/etc/conf.d/dictd
- install -D -m 0644 $srcdir/colorit.conf $pkgdir/etc/dict/colorit.conf
- install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-}
diff --git a/community/dictd/colorit.conf b/community/dictd/colorit.conf
deleted file mode 100644
index 8355dae15..000000000
--- a/community/dictd/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/community/dictd/dict.conf b/community/dictd/dict.conf
deleted file mode 100644
index e06c3d296..000000000
--- a/community/dictd/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/community/dictd/dictd.conf b/community/dictd/dictd.conf
deleted file mode 100644
index 71e883a36..000000000
--- a/community/dictd/dictd.conf
+++ /dev/null
@@ -1,25 +0,0 @@
-# dictd configuration file.
-# whipped up by michael conrad tilstra <michael@gentoo.org>
-
-# Informational message
-
-global {
- site site.info
-}
-
-# who's allowed. You might want to change this.
-access {
- allow *
-}
-
-# Dictionaries are listed below.
-# The initrc script scans /usr/lib/dict and adds all of the dictionaries
-# it finds here.
-#
-# The initrc script will delete everything after the the last line and
-# replace it with what it finds. So add all of your things above.
-#
-# If this is a problem for people, contact me and
-# we can work out a different method.
-#
-#LASTLINE
diff --git a/community/dictd/dictd.confd b/community/dictd/dictd.confd
deleted file mode 100644
index 4b47dcdde..000000000
--- a/community/dictd/dictd.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# Config file for /etc/rc.d/dictd
-
-DICTD_CONF=/etc/dict/dictd.conf
-DICTD_DICTDIR=/usr/share/dictd
-DICTD_TMPCONF=/etc/dict/dictd.conf.$$
-DICTD_EARGS="-s"
-DICTD_ARGS="--locale en_US.UTF-8"
diff --git a/community/dictd/dictd.service b/community/dictd/dictd.service
deleted file mode 100644
index f62bf275f..000000000
--- a/community/dictd/dictd.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Dictd Dictionary Server Daemon
-After=network.target
-
-[Service]
-Type=forking
-EnvironmentFile=-/etc/conf.d/dictd
-ExecStart=/usr/bin/dictd $DICTD_ARGS -- $DICTD_EARGS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/community/dictd/dictd.xinetd b/community/dictd/dictd.xinetd
deleted file mode 100644
index 0ae5cb411..000000000
--- a/community/dictd/dictd.xinetd
+++ /dev/null
@@ -1,12 +0,0 @@
-service dict
-{
- disable = yes
- type = UNLISTED
- port = 2628
- socket_type = stream
- protocol = tcp
- wait = no
- user = daemon
- server = /usr/bin/dictd
- server_args = -c /etc/dict/dictd.conf -i --locale en_US.UTF-8
-}
diff --git a/community/dictd/site.info b/community/dictd/site.info
deleted file mode 100644
index 23bfdeb61..000000000
--- a/community/dictd/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.
-