summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-11-12 20:20:27 +0000
committerPacho Ramos <pacho@gentoo.org>2013-11-12 20:20:27 +0000
commitc1928977f623a49e0410b018488728e7d21ca42c (patch)
tree3201cf7972173789a87765b9bc0c27b15610f155 /app-text/dictd
parentRemove old (diff)
downloadhistorical-c1928977f623a49e0410b018488728e7d21ca42c.tar.gz
historical-c1928977f623a49e0410b018488728e7d21ca42c.tar.bz2
historical-c1928977f623a49e0410b018488728e7d21ca42c.zip
Add unit file (#489666 by Juan and Alexander Tsoy), drop old.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'app-text/dictd')
-rw-r--r--app-text/dictd/ChangeLog9
-rw-r--r--app-text/dictd/Manifest20
-rw-r--r--app-text/dictd/dictd-1.11.1-r1.ebuild97
-rw-r--r--app-text/dictd/dictd-1.12.1-r1.ebuild (renamed from app-text/dictd/dictd-1.12.0.ebuild)37
-rw-r--r--app-text/dictd/files/1.10.11/dictd.conf8
-rw-r--r--app-text/dictd/files/dictd.service10
6 files changed, 59 insertions, 122 deletions
diff --git a/app-text/dictd/ChangeLog b/app-text/dictd/ChangeLog
index 25d2ca25ad79..29d814101f17 100644
--- a/app-text/dictd/ChangeLog
+++ b/app-text/dictd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/dictd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.92 2013/01/29 08:38:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.93 2013/11/12 20:20:20 pacho Exp $
+
+*dictd-1.12.1-r1 (12 Nov 2013)
+
+ 12 Nov 2013; Pacho Ramos <pacho@gentoo.org> +dictd-1.12.1-r1.ebuild,
+ +files/dictd.service, -dictd-1.11.1-r1.ebuild, -dictd-1.12.0.ebuild,
+ files/1.10.11/dictd.conf:
+ Add unit file (#489666 by Juan and Alexander Tsoy), drop old.
*dictd-1.12.1 (29 Jan 2013)
diff --git a/app-text/dictd/Manifest b/app-text/dictd/Manifest
index 2d98abb2ae2d..2248a842c003 100644
--- a/app-text/dictd/Manifest
+++ b/app-text/dictd/Manifest
@@ -1,18 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX 1.10.11/colorit.conf 848 SHA256 54969fbc6e782013c086e3055f0fa1989ddeb71f5b87e94205d82cefee657d8f SHA512 d836de8a5a409bcbc3e6ee71e3b8fab20229b9937cb909f061cd8d2fd8cb841870d42ce9c4501c441a7825c642be76a7da3c242e9831b1caa30fa5b26e173813 WHIRLPOOL 9a2efd8d14d574b5d9fe0ea307f60776cdeec7ef2987f4de20235592883cd6ca00777bb6a504166c17e6e59b3701818f66a26f4491cdce91561d6b905361de64
AUX 1.10.11/dict.conf 243 SHA256 278b6986ebbfe74396a9e287d94a2d8128a83d511df84f02093058081aa12d57 SHA512 22fbfd3bf8c4f88801aab848e160f46bf17757086ffe8fe7a4cdb78f983e88f6c923cac8714f78d31ab311957aa860731f663324b742febd0a5039085672aeb5 WHIRLPOOL 4b2951a6a3205c88fec2192202603427bbe633561f40a97ffd9c0a644f6a0781136cbced6a91e0ae4b50a6292367357cbc9e21ab71eeb8454633c44cc271a30d
-AUX 1.10.11/dictd.conf 563 SHA256 06f1c42afd56a98a736cc252f0271889030d8b57754bc4054905e318508d5e37 SHA512 e4e1a947b429647654834f329270f6aa1da523d9fa98f94cd37c5bef6b529053f043c6c1c23d4d4f6c2d2412f53e4f111cd886f3dc73a310d55a7617ab165cb2 WHIRLPOOL 022bcdceb57aafd08306ae9ae06ab8192bd8bd2e4a24b46183e66d63d8545ad4acff89b9b2196bd99faa1d373d1e0e375fdc97ade394ebc1093a69ae9c583458
+AUX 1.10.11/dictd.conf 781 SHA256 a44f35bcd74814d25e6693de994a9572ef3203c467b772b45f0562dd1004f93a SHA512 60c7ade9e3c160c69b87405962b0e92f6beb3941fecdbbb90c2343f1db1cc800bd26f1a670435641859e6bc864aa8ace58749c07dd106c3afd7eea81601445c3 WHIRLPOOL 3ee396b4255d064cffad81a29fbaec634c6b208255b66b1d7b391cb5aca07cfdd7395a956c187e2f60fe44f26703b623858881649b015fb889f1d9981f488385
AUX 1.10.11/dictd.confd 204 SHA256 988c5f8e391519119c456af8cd308c1f323b4701aefff3d662944e3d3499a25a SHA512 639331b2bc53aeae57e1bbe5bf1990d435accd60af00dccd611e92b86b8c63b12f956f896eec764232475965d70c6c87ce4f82de4cbcddfe2441c15c96a35e73 WHIRLPOOL c5ed8dd72e0fef34ecb656e85df218c13c8cc47c253c72bb4d0a60a180e052d618e987136405ade39acaee3a951b1b3bb59497cd4d094c49dd8d7f8e5873b429
AUX 1.10.11/dictd.initd 2093 SHA256 9e8c721bbd53fe0c27eb7c6cada8c0e0c89eccde16bfa6f483f10581e7115e2a SHA512 026afff7a9ae0d4669ef9c01251d275f6426dcc4ab7bd61f2f12ff168adc0854540990dfd5bab5c87835b8d4cd1373e7349be8b5c217bb20bc9d98d0a4abd251 WHIRLPOOL 54a83e3cfdc1baef1f7eeb435981c65f72153580f37bb401ba0db465126d4c5add782bb8501ebd191c525258cfc04cb6917646419171584928f156a1fdfc1e30
AUX 1.10.11/site.info 235 SHA256 cb55e7aaedef73665996f015a07e97e45cd3771775e291d798bf163b0052c0a2 SHA512 74bb341f049acd7d502d9117ae1321bedc499958ba377c02a2591880cc45d451409fd99a76ec3ddcf1846f6d124ef5ae1da40c5c001b67e94c68a895c2dcfd79 WHIRLPOOL 964bcfbab3788e9e3b088420f5b5d63239ceae81f65aba4074e975c269ae4c1de65dad3f22c6d6d8f04ee839bbb5580f7cace470843f77e52aefda4c51a7f899
AUX dictd-1.10.11-colorit-nopp-fix.patch 323 SHA256 720962dbe93456a948c489dd7ecc1f8384169b88c7a662ffee960b5eab4c7409 SHA512 af4a35954d4c38e7e33d23a05dccba4dc7ffb5b4905cb34487718a664f8c52c3cebb17296367fb9f8b203137bbc00fef62d2f452446fb589f914ff8862bbc1e7 WHIRLPOOL 71c58dd5c3743824aaac8a46e90ddabf427918238184129112381784827dd67b0ca9fd1e41714a68b6328bf608097d68d25210b9edce4b603600166bb2333a21
AUX dictd-1.12.0-build.patch 643 SHA256 332769df227f6269eb2b134400f9cf2281f46ef30844d5517732f663b9f40000 SHA512 577a85b765a3a7e8e8510ea36567541073a79cd2f99a8efed69ee1fb1e7d32a864d872fe358c0692be56af0c94ea241cb4effb9623371f0eb8492d8c4d223433 WHIRLPOOL eb3e6e78ed1b7579182a2b725434b1d2f87f0a4ba237587fc2a982b79388a917c4b50d960db12b875d50affa8e607c0cf3cf53093222de839a665db08d552b89
-DIST dictd-1.11.1.tar.gz 416958 SHA256 0d948667e077a82bc8bfa363243b2a39efb6d469f235ce64f4f3aa9e4682da37 SHA512 88135f72aa56a6ce7edc5a4d1bf6bbcc071f61c5c7c055231c6757ce7ab64492fdc5ccb80725cf0e080f472986560a63c005c56518e70e51f9f4981a81126516 WHIRLPOOL 99124c98307e0f401de9034ae87df368ffd9d2ddad39fdfc602c6b237a2c7d82271c703798b332498c75758699d5acf29715a5ca8d6a5c55e92737276e6448eb
+AUX dictd.service 181 SHA256 be3cde8b4361808060d682d1d04a5b08b3b6f58c92196b36b28eea89e3ea0a94 SHA512 e09f48b746977bfc118fe448bd41c33c6ad61fd94b42ce343ea087b858624498306d958203ec5e219dbdf94d54f8eb5a1feb7c48ad3b3ebc2eb1e9d3594828b9 WHIRLPOOL bad96e4d5e0c660c29603e48339885a60b70c88b99bf6bb59aab185aa959f87fc2691aa29602b64922cabd8fa12e465e234f33e4e25b5a9b8876c529c4e612aa
DIST dictd-1.11.2.tar.gz 418649 SHA256 60e7f44259adee87e952ea5d7e87555685224fb1d1dca24d3735b9feb58c871f SHA512 1ff92fb4bf9b6e3f5eb9f9352371d6f8902f0c2bc0d4ea64c702a1043c32f199178f383a783f7a9b5b31a7c764c4155d0c4921f5571ff98ffbffeb522a4a76f5 WHIRLPOOL 05b6bff3dd1d20bb7fffa18278e6c4c50e34f7d123cbfd19820fc2640c0ebccbbea330f96b411579bf017400b86d0a915c58492e299f1ade9c5682d8d9adcce2
-DIST dictd-1.12.0.tar.gz 423183 SHA256 5ec423d29c46e088cf3617ea86fea74d7f70c48f66b142b7f477b55a3ef4a4a2 SHA512 210182295d1bc857156c6e22dfa85a1657d3d19eee73fd5fae28ca1e039ea229dbef07d3ae08ecd2a549d31e3b974deb1eee55d8ed7dd0f2606144d37993ece4 WHIRLPOOL 9ef1e16d4981e7e5b068466f18c78d6e34a8cf4a61740e61f2207492fa7fb97f2fad8ad22db34f8937200969e3d4dc7e8f9312ebead0c7409fc11c46b52418b2
DIST dictd-1.12.1.tar.gz 423870 SHA256 a237f6ecdc854ab10de5145ed42eaa2d9b6d51ffdc495f7daee59b05cc363656 SHA512 51bceba36f9e34ffcbbf42a6235aab6097fe66ba8ed086ea60d0df8b7daf91c6449fdf7c5605150c77035d98029053233db106f9188786b30e02ecd61748209b WHIRLPOOL d9f92667c0cb66d893f4f4630cc2dae61dd54b5d96b01d312d83eebd34278ddb11b76c2fcaef40a0b6dcd608d5a542d14c6645c7769893879eb9c229e04c9648
-EBUILD dictd-1.11.1-r1.ebuild 2768 SHA256 44284fa3b425943ea1de9030bad890bb232ace6220701b021958ae2062205863 SHA512 fc8a247bd40e5e2db7c2acf0d872f2338649d726dff7b8cff41a6301bca411969acaa64086dbc6d8bc5f44819ec8de371683d992c4c70d22d86bbfcafba850fc WHIRLPOOL 0d0baad35267b0bcd7153e843343c08c5449e609a1e5a43e321cadf2e88d806dbc8b06d1260bcae7fe47c1698dfb8e2246f4c118fd86d4bc81cda48592a98134
EBUILD dictd-1.11.2.ebuild 2941 SHA256 c9d4a9ffc139d755e5af9fef3e000d39ffd50e180f2f2639b62dd18d34ee01b6 SHA512 286f988e48480a29fc6d58c6f6db3dd6c3e7bc8ded6b064525869cf185337a648f950bbb0f082632d6c345dbc1e844aa6b4f931b57ceed2f88183e60b0107afb WHIRLPOOL 7ec1218cbd8e8951b00b2781a70f1ca5a3226508a0604db176488d0b74412d10e5a12084c40a100a55b60996f0ecd253c7a81002fcbde880693a22422be69fbf
-EBUILD dictd-1.12.0.ebuild 2706 SHA256 3659882a11d389e3ce34e47ad7cc86c6b424587b373aa30a3ee1a3a49cbcd36f SHA512 01cbf3828cd438054519cc5bb51f5effa92cf9174c825a56ff2d7084e7f5aff1aecbcda2614c9ec23e53fe7b8da0cbffac385910e347faa921ac4f5d26905aae WHIRLPOOL 62bb8867b918c005d86c807cc3534f682dbf0e5fd354b8abac3e7fd7129d4a0716042aebe5b2b91c5772ce186ba3a0bac70cc27915a33e7146956a24f14f160e
+EBUILD dictd-1.12.1-r1.ebuild 2909 SHA256 c5e1b1fd5790d780c9574f6aa0b4f406adfd61b05eb88ddf31b9af8921850195 SHA512 83e17c66fab60d1bab9ca99c8fdb24eae828ffcac53e9ec0e05602f3bcbf075ccbebb250988b67a3ba0383b288d9d2f913be50e994308cfc5d9c8315042f444b WHIRLPOOL 3266a2e048343230a052e83a803957de8e61804449c72e83db92ea5bcbd422ebd5d67aa25e5ad298538f27999e6f2e8c79d81eb7ff41426a8761bae0e9299d83
EBUILD dictd-1.12.1.ebuild 2707 SHA256 8dfd4825ac350208584d8e0505401af81df0547da15878aa0df4e0eb493c6e89 SHA512 2adc68501af07942c26ad47c133b6473c0c7c3e3c512e25dd7a623a0ed6913ed1e5b5017d017c4990f75c0452beb631eb0cea3bd2c7270a8b0edf44ed2c0bebd WHIRLPOOL adc46dcae9504d9db34774d294997b77fe128bf8ce6eefb90e2902ccff6a0e5b1c1f85b4287648946a36cf286819d603422190cfabbf639a83cc11d343120667
-MISC ChangeLog 15378 SHA256 8c714ce21d0bb44db38f8e291fd2a3c876c070e868ddace8f0da3451d8d49ee2 SHA512 6ae465245d3373b82c653c5bf866b0b1d5ff3c17ce64ff21ac7ec32b5003b2cddc7c9c647e73a96b7931cb6fab749301e4f0d186aa81eac78b652a81c0316eaf WHIRLPOOL 222b24a633115879d4920f011cae5046a90700d56f51298f87c8c05fdd124ccdde88413a343fd69bbbd7fe848abd6157d812d93ffa241f319895b7384e71382a
+MISC ChangeLog 15643 SHA256 9295b076a11585bae945b83712ed206c0d15ee0dc0c1167f4d9d50b5a3e12ee8 SHA512 dfe8f033f8726a516c692ae653a627e61a60d3efc4b7a6f9a49277f1de9c8fc2afe150185d360a135572cef0830ac36fb346b55804bbd0665d4605cdceb555ad WHIRLPOOL aaa11a0fb6a542c9635e2d6f9c6b4364fe794dd767f42172dcf4a0fa6d6007c5ca77090afbf7595b4ddc4c01ece0ca40b36283274ec801d634df7dcd774afc07
MISC metadata.xml 403 SHA256 c849b2fbde0b28c225ce1524495905e5d7251c2a6cceeeb89c3e2a56b9f0bb6a SHA512 81116a57cb526b7cd3dc42712712ef6f2646af70f9b5f6d28b957d001d5a7b45fe71e341e98804cd4a623e88114903ec2e600f0bc55801189ba26fa5fee40a86 WHIRLPOOL 3a215b8b7b3e239897692f21231436b45c1200da5e19c07729cefe354c8b025d7428f8db339a5bcabe6d3bb3381b9635c4bae3bbc3dfdcf5b23ce4edebf01de1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlKCjYYACgkQCaWpQKGI+9RXHACfUlN53Ak9fWAzCO9bydgjgFpJ
+5vMAnR5v/dKuOTyOL+6+Nkt3MZghHiTM
+=p5pK
+-----END PGP SIGNATURE-----
diff --git a/app-text/dictd/dictd-1.11.1-r1.ebuild b/app-text/dictd/dictd-1.11.1-r1.ebuild
deleted file mode 100644
index 6e07b0441088..000000000000
--- a/app-text/dictd/dictd-1.11.1-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.1-r1.ebuild,v 1.8 2012/05/24 04:43:00 vapier Exp $
-
-EAPI=2
-
-inherit eutils user
-
-DESCRIPTION="Dictionary Client/Server for the DICT protocol"
-HOMEPAGE="http://www.dict.org/"
-SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
-
-SLOT="0"
-# We install rfc so - ISOC-rfc
-LICENSE="GPL-2 ISOC-rfc"
-KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="dbi judy minimal"
-
-# <gawk-3.1.6 makes tests fail.
-DEPEND="sys-apps/coreutils
- sys-libs/zlib
- dev-libs/libmaa
- dbi? ( dev-db/libdbi )
- judy? ( dev-libs/judy )
- >=sys-apps/coreutils-6.10"
-RDEPEND="${DEPEND}
- >=sys-apps/gawk-3.1.6"
-
-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"
-}
-
-src_configure() {
- econf \
- $(use_with dbi plugin-dbi) \
- $(use_with judy plugin-judy) \
- --sysconfdir=/etc/dict
-}
-
-src_compile() {
- if use minimal; then
- emake dictfmt dictzip dictzip || die
- else
- emake || die "make failed"
- 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 || die
-}
-
-src_install() {
- if use minimal; then
- emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt || die "install failed"
- else
- emake DESTDIR="${D}" install || die "install failed"
-
- dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed"
- dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed"
-
- # 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}" || die "failed to install ${f}"
- done
-
- # startups for dictd
- newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd"
- newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd"
- fi
-
- insinto /etc/dict
- doins "${FILESDIR}/1.10.11/dict.conf" || die
- # Install docs
- dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed"
-}
-
-pkg_postinst() {
- echo
- elog "To start and use ${PN} you need to emerge at least one dictionary from"
- elog "the app-dicts category with the package name starting with 'dictd-'."
- elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
- elog "${PN} will NOT start without at least one dictionary."
- echo
-}
diff --git a/app-text/dictd/dictd-1.12.0.ebuild b/app-text/dictd/dictd-1.12.1-r1.ebuild
index 462e7c5df4df..b09e91545912 100644
--- a/app-text/dictd/dictd-1.12.0.ebuild
+++ b/app-text/dictd/dictd-1.12.1-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.12.0.ebuild,v 1.4 2012/05/24 04:43:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.12.1-r1.ebuild,v 1.1 2013/11/12 20:20:20 pacho Exp $
-EAPI="4"
-
-inherit eutils user
+EAPI=5
+inherit eutils readme.gentoo systemd user
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/ http://sourceforge.net/projects/dict/"
@@ -17,15 +16,26 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~
IUSE="dbi judy minimal"
# <gawk-3.1.6 makes tests fail.
-RDEPEND="sys-apps/coreutils
+RDEPEND="
sys-libs/zlib
dev-libs/libmaa
dbi? ( dev-db/libdbi )
judy? ( dev-libs/judy )
- >=sys-apps/coreutils-6.10"
+ >=sys-apps/coreutils-6.10
+"
DEPEND="${RDEPEND}
>=sys-apps/gawk-3.1.6
- virtual/yacc"
+ 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()
@@ -74,6 +84,7 @@ src_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
@@ -84,19 +95,13 @@ src_install() {
# 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
-}
-pkg_postinst() {
- echo
- elog "To start and use ${PN} you need to emerge at least one dictionary from"
- elog "the app-dicts category with the package name starting with 'dictd-'."
- elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
- elog "${PN} will NOT start without at least one dictionary."
- echo
+ readme.gentoo_create_doc
}
diff --git a/app-text/dictd/files/1.10.11/dictd.conf b/app-text/dictd/files/1.10.11/dictd.conf
index 16e41e5cac76..0de4c201773a 100644
--- a/app-text/dictd/files/1.10.11/dictd.conf
+++ b/app-text/dictd/files/1.10.11/dictd.conf
@@ -10,11 +10,15 @@ access {
allow *
}
-# Dictionaries are listed below. During dictd startup the initrc script will
+# 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.
#
-# NOTE: Initrc script will wipe everything below #LASTLINE and replace it with
+# 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.
#
diff --git a/app-text/dictd/files/dictd.service b/app-text/dictd/files/dictd.service
new file mode 100644
index 000000000000..f5efde6c6f1f
--- /dev/null
+++ b/app-text/dictd/files/dictd.service
@@ -0,0 +1,10 @@
+[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