Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D400B780FD6 for <~alpine/aports@lists.alpinelinux.org>; Tue, 4 May 2021 14:58:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5A2FF53AE8; Tue, 4 May 2021 16:58:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oVapXZnx_gsI; Tue, 4 May 2021 16:58:04 +0200 (CEST) From: =?UTF-8?q?Ng=C3=B4=20Ng=E1=BB=8Dc=20=C4=90=E1=BB=A9c=20Huy?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1620140284; bh=PeyY8HIOtEKkW0SuoQaOzcuIkpxcWekiSSLfqfRqCfk=; h=From:To:Cc:Subject:Date; b=eGpECTrOABOtx7wT6P6S5DJ0RXXw4l1N0r/JeGBD/tbI8u2QUJSfz1XMQPeEzcGGv I0gKsmBxiZEiX9lOKlQfzAdWusujPzsF4B9PXGax6u+r9HP0pwH+4oeQ2OpDzfV5o0 f2idYjrfWbslLoRRwehH0MkJu/UBrNlMfhh3Bf9HZtsLlrXiRBXii8Uddl9XS+89ug 4k+Pg7/Ka1sxA1tEtIJ0NX72pTEO0Zt16r6GVGRO2gDg30vLWTk4IZqmKmTRVb1ou8 7b6Z8Yx9g7fXqV4ecyuMA4NVcgCvRobMh1uYl5iM1qOyaSSE/E+fwm4RJIHTO3JDgY YCmPuHPHw/BxQ== To: ~alpine/aports@lists.alpinelinux.org Cc: =?UTF-8?q?Ng=C3=B4=20Ng=E1=BB=8Dc=20=C4=90=E1=BB=A9c=20Huy?= Subject: [PATCH] testing/dictd: new aport Date: Tue, 4 May 2021 21:57:01 +0700 Message-Id: <20210504145700.16386-1-huyngo@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable https://sourceforge.net/projects/dict/ Client/server software and tools supporting DICT protocol (RFC 2229) --- testing/dictd/APKBUILD | 33 + testing/dictd/colorit.conf | 1278 ++++++++++++++++++++++++++++++++++++ testing/dictd/dict.conf | 6 + testing/dictd/dictd.conf | 15 + 4 files changed, 1332 insertions(+) create mode 100644 testing/dictd/APKBUILD create mode 100644 testing/dictd/colorit.conf create mode 100644 testing/dictd/dict.conf create mode 100644 testing/dictd/dictd.conf diff --git a/testing/dictd/APKBUILD b/testing/dictd/APKBUILD new file mode 100644 index 0000000000..b61923f882 --- /dev/null +++ b/testing/dictd/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Ng=C3=B4 Ng=E1=BB=8Dc =C4=90=E1=BB=A9c Huy +pkgname=3Ddictd +pkgver=3D1.13.0 +pkgrel=3D1 +pkgdesc=3D"Client/server software and tools for the DICT protocol (RFC 222= 9)" +url=3D"http://sourceforge.net/projects/dict/" +arch=3D"all" +license=3D"GPL-2.0-only" +makedepends=3D"zlib-dev libmaa-dev libtool byacc flex" +subpackages=3D"$pkgname-doc" +source=3D"https://downloads.sourceforge.net/dict/dictd-$pkgver.tar.gz + dictd.conf + dict.conf + colorit.conf" +options=3D"libtool" + +build() { + ./configure --prefix=3D/usr --sysconfdir=3D/etc/dict --sbindir=3D/usr/bin + make +} + +package() { + make DESTDIR=3D"$pkgdir" install + install -Dm644 $srcdir/dictd.conf "$pkgdir"/etc/dictd.conf + install -Dm644 $srcdir/dict.conf "$pkgdir"/etc/dict.conf + install -Dm644 $srcdir/colorit.conf "$pkgdir"/etc/dict.conf +} +sha512sums=3D" +86871aaf34a182d1d7aac1a1282d4a75f2d7c112c762e92f303924c324f665dae75c51e7ca= 91e3cc1dde2053ad8e2d1fd50a76934a5f84ff70975aa858e26439 dictd-1.13.0.tar.gz +c59667c81e1e15e7af5ef175642ba78a96e9cac47dcc2a00d1be1ed5c2e83350deb0bc5149= 66749e8ed7a73f03266d8b57e81581b3a21a91514eb54f6b731a1c dictd.conf +22fbfd3bf8c4f88801aab848e160f46bf17757086ffe8fe7a4cdb78f983e88f6c923cac871= 4f78d31ab311957aa860731f663324b742febd0a5039085672aeb5 dict.conf +c16e7cd572c19c42026d99563ade087b78e0279d65ed3c5a90aad8cbf65531942ca32eac82= d126961550773499e92cb3391da555be57cf91cf77b39d2600c011 colorit.conf +" diff --git a/testing/dictd/colorit.conf b/testing/dictd/colorit.conf new file mode 100644 index 0000000000..71df0bcab3 --- /dev/null +++ b/testing/dictd/colorit.conf @@ -0,0 +1,1278 @@ + + + + + + + + + + + + + + + + + + + +=20=20=20=20 +=20=20=20=20 +=20=20=20=20 + + + + + +=20=20 + +=20=20 + + + + + + + + + + + + + + + + + + + +=20=20 + + + + +=20=20 + void-packages/colorit.conf at master =C2=B7 void-linux/void-packa= ges =C2=B7 GitHub + + + + + + + + + +=20=20=20=20 + + +=20=20 + + + + + + + + +=20=20 + + + + + + + + + + + + +=20=20 + + + + + + + + + +=20=20 + + + + + + + + + + + +=20=20 + +=20=20=20=20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +=20=20=20=20 + +
+ Skip to content + + +=20=20=20=20=20=20 +=20=20=20=20=20=20 + + +
+
+
+ + + + +
+=20=20=20=20=20=20=20=20=20=20=20=20 + +
+ + +
+ + +
+
+ +
+ +
+ + + + + +
+ + + +
+ + +=20=20=20=20 + + + + + + +
+
+
+=20=20=20=20=20=20 + +=20=20=20=20=20=20 +=20=20=20=20 + + + + + + +=20=20 + + + + + +
+
+ +=20=20=20=20 +=20=20=20=20=20=20 +=20=20=20=20 +
+=20=20 + + + Permalink + + + +
+=20=20=20=20=20=20 +
+
+ + + master + + + +=20=20=20=20=20=20 +
+
+
+ Switch branches/tags + +
+ + + +
+ +
+ +
+ + +
+ +
+ + + + + + +
+
+ + + + +
+
+ + + + + +
+ +
+ + +
+
+
+
+ +
+ +
+ +

+ void-packages/srcpkgs/dictd<= /span>/files/colorit.= conf +

+ + Go to file + + +
+ +=20=20 + + +=20=20 + + +
    +
  • + + Go to file + T +
  • +
  • + +
  • +
  • +
  • + + Copy path + +
  • +
  • + + + Copy permalink + + +
  • +
+
+
+ + + +
+ +
+
 
+
+ +
+
 
+ Cannot retriev= e contributors at this time +
+
+ + + + + + + + +=20=20 +
+=20=20=20=20=20=20 +
+ + +
+ + 32 lines (32 sloc) + + 841 Bytes +
+ + + +
+
+ + + + + +
+
+
+ + +=20=20=20=20=20=20 +
+=20=20=20=20=20=20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
dnl /etc/dictd/colorit.conf = vim:ft=3Dm4
dnl
dnl Sample configuration fil= e for colorit(1) program
dnl
divert(-1)
dnl
dnl Define some useful color= variables
dnl
define(`black', `0')
<= span class=3D"pl-k">define(`red', `1')
<= span class=3D"pl-k">define(`green', `2')
<= span class=3D"pl-k">define(`brown', `3')
<= span class=3D"pl-k">define(`blue', `4')
<= span class=3D"pl-k">define(`magenta', `5')
<= span class=3D"pl-k">define(`cyan', `6')
<= span class=3D"pl-k">define(`white', `7')
<= span class=3D"pl-c">dnl
<= span class=3D"pl-c">dnl Mark macro arguments: r= egexp foreground-color [background-color]
<= span class=3D"pl-c">dnl
<= span class=3D"pl-k">define(`mark', ``mark "$1"'' <= span class=3D"pl-c1">`ifelse(`$#', `3', ``"\033[3$2;4= $3m"'', ``"\033[3$2m&quo= t;'')' `"\033= [m"')
<= span class=3D"pl-c1">dnl=
<= span class=3D"pl-c1">divert
<= span class=3D"pl-c1">mark(`^Fro= m.*$',red,cyan)
<= span class=3D"pl-c1">mark(`^ <= span class=3D"pl-c1">[^ ]+',green)
<= span class=3D"pl-c1">mark(`^ *N= ote:',red)
<= span class=3D"pl-c1">mark(`{[^{= ]+}',green)
<= span class=3D"pl-c1">mark(`^ *\= [= [^\[]+\]= ', cyan)
<= span class=3D"pl-c1">mark(`^[ = ]*(adj|n|v|adv)? *[0-9]= +[\.:]',cyan)
<= span class=3D"pl-c1">mark(`^ *\([a-z]+\)',cyan)
<= span class=3D"pl-c1">mark(`(Syn|Ant|syn|ant):', blue, white)
<= span class=3D"pl-c1">mark(` (t|i|a|adj|adv|n|v)\. ',cyan)
<= span class=3D"pl-c1">mark(` (t|i|a|adj|adv|n|v)\.$',cyan)
+ +
+ + + + + + +
+ +
+ +
+ + +=20=20 + +
+ + +
+ + +
+
+ + +
+ + + +
+
+ + +
+ + + +=20=20=20=20=20=20=20=20=20=20 + + + + + + +
+ + + +
+ + +
+
+
+
+ + + + + + + diff --git a/testing/dictd/dict.conf b/testing/dictd/dict.conf new file mode 100644 index 0000000000..e06c3d296e --- /dev/null +++ b/testing/dictd/dict.conf @@ -0,0 +1,6 @@ +# 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/testing/dictd/dictd.conf b/testing/dictd/dictd.conf new file mode 100644 index 0000000000..08b250e358 --- /dev/null +++ b/testing/dictd/dictd.conf @@ -0,0 +1,15 @@ +# dictd configuration file. +# whipped up by michael conrad tilstra + +# Informational message + +global { + site site.info +} + +# who's allowed. You might want to change this. +access { + allow * +} + +# List your dictionary databases below. --=20 2.31.1