summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-03-31 11:06:49 +0000
committerJustin Lecher <jlec@gentoo.org>2015-03-31 11:06:49 +0000
commita614c5e3b654fe2e3236085fc895feaa44294bce (patch)
tree64990ce901864ace849695c1abd713962f760556 /net-fs
parentDrop old (diff)
downloadhistorical-a614c5e3b654fe2e3236085fc895feaa44294bce.tar.gz
historical-a614c5e3b654fe2e3236085fc895feaa44294bce.tar.bz2
historical-a614c5e3b654fe2e3236085fc895feaa44294bce.zip
Drop old
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/netatalk/ChangeLog8
-rw-r--r--net-fs/netatalk/Manifest46
-rw-r--r--net-fs/netatalk/files/afpd.init.322
-rw-r--r--net-fs/netatalk/files/atalk_service.init.211
-rw-r--r--net-fs/netatalk/files/atalkd.init47
-rw-r--r--net-fs/netatalk/files/cnid_metad.init.215
-rw-r--r--net-fs/netatalk/files/netatalk-2.2.1-gentoo.patch76
-rw-r--r--net-fs/netatalk/files/netatalk-3.0.1-gentoo.patch140
-rw-r--r--net-fs/netatalk/metadata.xml9
-rw-r--r--net-fs/netatalk/netatalk-2.2.1-r3.ebuild149
-rw-r--r--net-fs/netatalk/netatalk-3.0.5-r1.ebuild168
11 files changed, 26 insertions, 665 deletions
diff --git a/net-fs/netatalk/ChangeLog b/net-fs/netatalk/ChangeLog
index 59486f1a2640..e165f4ef2186 100644
--- a/net-fs/netatalk/ChangeLog
+++ b/net-fs/netatalk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-fs/netatalk
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.120 2015/03/31 07:53:08 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.121 2015/03/31 11:06:48 jlec Exp $
+
+ 31 Mar 2015; Justin Lecher <jlec@gentoo.org> -files/afpd.init.3,
+ -files/atalk_service.init.2, -files/atalkd.init, -files/cnid_metad.init.2,
+ -files/netatalk-2.2.1-gentoo.patch, -files/netatalk-3.0.1-gentoo.patch,
+ -netatalk-2.2.1-r3.ebuild, -netatalk-3.0.5-r1.ebuild, metadata.xml:
+ Drop old
31 Mar 2015; Agostino Sarubbo <ago@gentoo.org> netatalk-3.1.6.ebuild:
Stable for ppc64, wrt bug #532636
diff --git a/net-fs/netatalk/Manifest b/net-fs/netatalk/Manifest
index 9689cce319e1..c886c115a129 100644
--- a/net-fs/netatalk/Manifest
+++ b/net-fs/netatalk/Manifest
@@ -1,38 +1,30 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
-AUX afpd.init.3 549 SHA256 3583467680406b993602c90e83a7faf8d1ba8612944e99eb66dd3e9a00437799 SHA512 6f2cec35054bd9251821e41a02f1fa941bac7d5173be13eda7d02f407e194cc825473ff39850691a6759968b158a5b0058b34baed2058235eaa1d51984a689bd WHIRLPOOL 42c96babe4405a713c1a712e3ee1a6cd483634a5626f9be586a4a3f69310a54e6f7b4e5853512b43b04ab16a54d854a7be865663ced83fee0f94362edd8fa1d6
-AUX atalk_service.init.2 327 SHA256 1592e048af693af36a1c010779eb98f356774ad92c4a41a6199edfe88603c9a2 SHA512 ee96b0ed113760ba44a4f6217fc04d90a77f3f3aa884cbb9cfedeaa821f0a936523bd3937b3bbbaf34e63f9aae1b7490e09053298abc301714b75aa79e54fa82 WHIRLPOOL fcd8d63af0df3b009b16d3f0dba987b1a4709bc9f7befcde2374df0e7672a4decdf2dcc7dce974599ec80e1c4194c34c6ab1310b5a713a169821db8f34054965
-AUX atalkd.init 947 SHA256 bb91f2a6455ff515a3cc4a10932fd3f1526df78e8876be7553aff0dec3da9877 SHA512 96035ae5d50a52fb6853d306dc1737570dbbc1c0998e72979db0f473f84e796d07cc877fbed7689f312b23a96f331a7bb439dd42e535ae1aa17fe006adbbdf09 WHIRLPOOL a0d00eda6dd8b59292f07d3bb73283f5d52779c877347c97bc404fbc8a92ea24cf42e0ac1bab09147410c602035d34487d0aee0d9f4cf4debb80d4927020b4bc
-AUX cnid_metad.init.2 408 SHA256 60fca490208ac2e5331da8384b4353a869e345b6bd8d99c275f54b8d179e53b5 SHA512 2108a2af5d7fb5def6875c60bf9eac03d836c76d37b29f5e2cd12d8411b6f3059d6713c462dd04b45808baeb61157303cced4ab77f810b96f571694d2cc2cb0b WHIRLPOOL 4dfbb7b591c9245aaa06ca10a3343dcf6681d29f1d54da58fdf1d3d8382c28e17dcb1ca58b1870cdbf0b8c5ecc2acdfa4c0d5d726c3d004fba0a9a2403ba9d03
-AUX netatalk-2.2.1-gentoo.patch 3476 SHA256 23fd2cb02789191ddc38b867f3cc76373e096a9a1150c64563534afa8922b529 SHA512 cb8dd6de6dae6f4461730186fbbb1f5476e66ff0e08ee8b99e31065a5cb9c26d1fc0210ce49aebc20bdc7c6fedc1b5963294c14be3479ad3af0882a07db96fe4 WHIRLPOOL 14c426f57ea7aa9f2bc8c9ab998a19cca3ca99850dd8c4bdfd93f22d39151c390c4ec31d744b4995e3f5cae0e71efe3aff349fa769caf542d41243657d8c5de4
-AUX netatalk-3.0.1-gentoo.patch 5139 SHA256 482efc764b349d2d1374cc90e62c296314828d6ec28fc385b2272ce65b6df304 SHA512 3b85d2ab3199eaa0177af31fae42d5ccec30aa96ed8f725aba063a16b3dc9b7768f2799674b47e055554c6405727a59e28256f9aaeaf87099a94f48bf1b7800b WHIRLPOOL 555190ac46b48fa9fb77695f384d6016e9bfb5974a904bd6e7823be6bf28bdbd7ef1b13213f2e90e70c950b133469c9b96cb1eea67ee701b5b54968eb6936b4c
AUX netatalk-3.1.6-gentoo.patch 4817 SHA256 9107159e20269f3c912d91ce4fc2ad1ec4df4fd28e8a9a0547ceb296c1147d8f SHA512 f9df5c810d1e3aeca740d0518ada89358baa44b0b808477fe39a5e0962609eb5d821fa69ab65489f2ea04e08e86047c76c86179936bb7fbc44db0be7dc78167d WHIRLPOOL 08187b07a2dc6f9fd26f8111bea136a468e4aedef9d3191e5dd0a441d646646100b6deb1d9081510e43ba05de48b490befa5997472b5cf9c16e5c416994e5ea8
AUX netatalk-3.1.7-gentoo.patch 4910 SHA256 adfb4a8bb52253b18054d88395db229e31ba5d669dd86b1d5025192b5be58960 SHA512 5b8ff4ba306e1467d089df9c3f9dcfb22c4c21cce2c6b53e29dc84006efda0b88609cd00a01a2eec8f153d85d3c7283a1b5123219ecce1fe120a143290f3958f WHIRLPOOL a08fa1a6ce32ba856f86d1eb60565a6b3e0a37f24d89c4159f0d58e15fadefc217b7b080b962ca1992cc5f485800c0e70cdc38165d1ef6ffb96279758e62194d
-DIST netatalk-2.2.1.tar.bz2 1227602 SHA256 3ab81c6335f8c33fd01ae599459a26c8cfe3b975009ce73640cae823ddc78bbf SHA512 1a487f7a4f56d1b4e5a9e8c961ac8de0ff7148e33e45cd1bf268cfcd35ecf70fc55c1ddcb4c4ba421b3a96c34cd57eed5518c9e6733495aaefd04b6a5719b683 WHIRLPOOL c5cf18d21986d08d8f81fe5681722cdb58d9ce79071d0870c5c2c079172a509727381ae077e54d01a3f73e3b38e01ba94c407b51ffdc09be09492ff0b2cdf038
-DIST netatalk-3.0.5.tar.bz2 1713998 SHA256 884247728b56b510347785f576be2df76afb293649870c4cd7fdb3048a64b4a9 SHA512 255bfe379a95949872b0c6d6836617d14701c9a11a5ec838242076696f3cb82158b7459d7a15eec350b3c74ed14c2174c3ac06db6fb9d12a810bd568fa5b3d6a WHIRLPOOL e41ac0f622c5cb0e32b31ab58a858bd5d32ffbd7d0607858a742b9b1f7cfd93295b1e332276ece4d743b41fa7db481dde9e1a5887becdd7d0d64ff3831b3fbad
DIST netatalk-3.1.6.tar.bz2 1817059 SHA256 2df2b3b12be3f11eddb0fc2f88cb39d09a8c95792a4d97d9dd22127c5a5efb21 SHA512 36bfd3df30f1a3228a6f8f05e7744f9551d01d5a59d9c05e581f731e4fe9417bc1a7178e2e6af1128ea9a5c848bfa9a447ecf22691daa201f1fa37adcbe19be8 WHIRLPOOL 9f52d774487781aa43444bfe920fc07d9b7fe6bece45bca7cb44a9b7bc498ed17662c42d64db0628f668098c0bf7b6cb3f9c813d39e0fdac9f59b7eeae359d5d
DIST netatalk-3.1.7.tar.bz2 1780078 SHA256 e4049399e4e7d477f843a9ec4bd64f70eb7c7af946e890311140fd8fbd4bc071 SHA512 e8b22a156235cb93830ed5045e28346613e354fd830e742b2f7c1fc9302f9bdfce7fb2cc329ce8dfd1442857f96e9e54119a4ac177b6855af9143e64fb2208e7 WHIRLPOOL 3dfbc5c3091388fc2b1e811faf60c274549f5d6e9d7ae2c5dc0552a72ae01b2a075c8f7df634ad99188adc83c19c70ba7060aec80fe5f8783a206e4d5db16ecb
-EBUILD netatalk-2.2.1-r3.ebuild 4366 SHA256 7404e74830840c8bff8b4e7bafbad71b00cc0a593262cdb26cd25ef0a44f4071 SHA512 a4916110c264efc6c37c1cb3214d1489180a177a544ed434734fde6dd1474295521c1a5b623b1513aff4da880cdb35a854cda0a2364b179100272d5173d69fe2 WHIRLPOOL 4a49a8b93e0bad9df2afbdb2f325efcb363b72d957bb5de7f99eeceb45ff936d47b3914c70318eec686bc987a8d91ad1fd68716df04e80415684ba6005f36271
-EBUILD netatalk-3.0.5-r1.ebuild 4512 SHA256 b57e40ef9630e6e485ebb33135670690c7ad59019627f92f63149886eb5d444c SHA512 501eea7b1d71d72b4704a78bde8facaf60440fe96810082e24449a170ef14c0f748e71611d03d8118814450e4f34958212a8908ecbc37040c543176293e28e46 WHIRLPOOL 94d66c71274218a7bdd25634f8cb8a704f69483d786352906059fac9f43c5eda7cd9513ae607ae6543f64d7e4f3ac7f22fbb7c44c33f33ea6c7a611bae1f77cd
EBUILD netatalk-3.1.6.ebuild 4941 SHA256 503ee598f57f1cf13afe60aab986e48330569547177b8fa0a83be77830cbdc0f SHA512 b11ebd2aff9ee51899a32b3f6a2e380952c49e9a69ab4efd371c5f400c49a2cca2d7d7ecc2cdee59d46a1511d7ff37d673b65b1a97d5ffc278ccd9273fd77452 WHIRLPOOL 09b97b80236547259353019da3a2658dace0e497d61b5ffb4f1ffa54c69be83eab73271c08bf3c8348537f7a8dc58dd50018d0b1cab270a34fe43eb436af631e
EBUILD netatalk-3.1.7.ebuild 4947 SHA256 b82fd9fe050b81d231cb7563c3303e24078bedc4eefc2e6c4c336fe028283778 SHA512 590709d8b4eaca900deb6071517e8ea010bfe7db690543f8553c0a301d426bbe9a0f792efb70c06c185a79e24aadea16416aae6df2d3383b9ffddd519e5a4527 WHIRLPOOL a4a8f8d828e88aea48046646ae4f17fcb326625926e29b5742823d8921cedbb47c2e80fcd017bd1e0970909324fff29560fa8c80dc40f64b7f753aa4eda42f03
-MISC ChangeLog 20527 SHA256 d5e56ea604ac7c42a55b04fde685dc739beb9b4771dbb034316a2ee28e8a6779 SHA512 2504a2c673e0f317497e6aaa0f1eb5368f99f65aedfa9388a989d5afe3d41483cf2739261311b8519cca7318cb361638f921a37bd5bf15b7d11ec909a9803dcc WHIRLPOOL a75bd42abb8ab01d42719776983432654e09ee3264bf4d908455e7eff9d174a519731343fbfa4ffef77ed84b5d0f7b6230c0b2573a8a3f562661107739f6a489
-MISC metadata.xml 1247 SHA256 e749aa01e28ac562bbb01a0b4f0fa890da57bd6f4a1e22ad91fc75bbc4fe8a76 SHA512 ce9f9f8da7fddc03389b2abcf9cdadb9e796417589eb8d6451fae69799409ca8fa4dc219509187e3dfc8ed3668ed4cf2029ad1103443a57c61a7011ff0c23b3c WHIRLPOOL 8afea3162c4300881a535fa75ce3ef7f81e9661a34976b01b8837b7df3f59ada0426a83c2baf4bb05221c76e43b58a6a79de82ac9fb0b02c146baa108b8d539c
+MISC ChangeLog 20828 SHA256 7f07583eb9c77f568bc0c1009bad99eec6e16e1086754574e7b21286ca1a2c38 SHA512 d35addd14b1547e03f9c364057266010f2547e06a4324792a94eb0f83554d2fe3ec72a42c8d8867afb5c6f4e0efb0ebb1d1002797ded53d97eed2f31de021110 WHIRLPOOL b8efb90a383c595311bf203826c2d13fb0ef5fcf2a4770083627677a177afa9cf88e3511992907913bb75f3ff1292d65fcf454ec8b08c334046cd34928c82054
+MISC metadata.xml 917 SHA256 e20c0f0c0447e1311942f4dad520a66e72302c85b636cd3bdd1150607c8e86cf SHA512 d7c2bf329e27c1a74d4389be64850a9c0bbe277b5c097ef90c589de6e61ab35a28ac8f76036ce719045aa92b778fbb9ef2e7b55bcc9d1168aeb3c7fe213d9944 WHIRLPOOL 0c829d806565b4dd184213575cd215c3e2ad5005a5b1579e192f513b3f5b13425ad5de3271b6a5e4195806383ced3eadaa0ba138e94d42c95ad233bc2bd98211
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
+Version: GnuPG v2.0
-iQIcBAEBCAAGBQJVGlJlAAoJELp701BxlEWfZWoP/AyrvtUFbQh1b5hnLks+NKWJ
-Kh+W9pUFAkFjbXeX9WOTDGEKTzl0WG9RcStmVt3OIfr5Anhl2fU3yXwpvs9Gxv7/
-4kVSGwYeiYMSNaQPOcJat0lRnE3Pxck0Z0OQ6Kufhamy7klCiikMKtdUiKVoRN66
-AQRRg9jpXpkjlovPtWNWccEWNw9Glwgly+iW2COHokv5rYe1htNEE3v2F5qT5U5y
-+kxU5iqpN+pDLWNtFrhDiiaGl922DsdWM5amKODNOjYuKMbTRjKKjqb7ns7MDM84
-pl4XASnnHbpF8kAZ+GfXLyHODVWuMkq7W36CRaaAGFl/jc2kIPhiuhbIEHH0nj1i
-5gfx+n1FPuFQ94Nb9cWHEQ1yT1uyzUxqAIrUGYVu79g6ydnlyolaTASiAc3QVDV6
-eYDwzl+tlGrV4CVpEchuNPGqwsDTKEOoHVgWBX5P3h8s/O22+IwBEVZQvYeizWtF
-i9pAHbJIuOcfS6ClT5g9Xvut9AX2QM5hp2T5jIsueuTA0x6Il5LQr4o6k5DBd5ot
-yJRQ1MeHrO1vmMoj8bQcT3RuFXNPYhzX920G1z0P89DjrkV78cfW0RiAFi1xc9Cl
-McnmYLxgYLXrujzODBlMfKZfLWQSa0c6HRi280AexzzBtoY9jCHcxLV/OfB0ivwV
-oPuw0hluD1rHSVsKgyid
-=Ymdz
+iQJ8BAEBCgBmBQJVGn/JXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
+OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirO64QAIjzYoXGLLJ7L2s0c3OJs7Yp
+dYtFZKkrCqBDDN0RgwuBo60YvL5aoNEjmHeabat1OJVU9CrXSckr16RjR+hhfL5Q
+9LrNPjbGMVsMOM4C4ML++O/LXEnFR8cQa8KfVczNoH5lRmF2AVDWDX2fcOK8sn6Z
+f5Vzq6q32ELLK8wCNin36eEFBekXMznSNLmBxqqSGI7xUV6BbkqUk+3m/oce6Vw3
+x4NMMbVkbmeFJlbbY2wObBIraOv54zlzGASzYvDRbbDiNSHAPz1R65vwatdRypHa
+qRfQ5M3Nu2qewfqCLvYA1vUO5aIMmgN+1UkxUr2BEKVmUrdh8Fh/yiy5FN5DAmwP
+d5srU9gtlFUVka30jXklCKZ6TyjCf5oJXPDh41uZiwSgpkR63PSZ9dK7KHnwfkNU
+J8j4PSmQcOnE+LQ7nO69wfnBmpvYqHY/nUAxVdBY/DRGT2hAso1Sn0x6+QKvAd1L
+3P8goJpylYG6y9S7DawThgp1qUoSfbXqMf9j0EwW130JiVH4NQ4B8deLiWlcz1My
+gmN7zPlhNxIVe+e0J/PNA9a5HMmHW9WHpN3Dh0GHtUd8+9VLm65K9uTakTxRbd3V
+ZLPNVdRAIZ5IXmMe08eVLHEFxlwA9WrsyF0G/fvYU2Ts09UUGTxTC06eEgmqRAYw
+ROSlimivditOShdnbQ4s
+=Mwoo
-----END PGP SIGNATURE-----
diff --git a/net-fs/netatalk/files/afpd.init.3 b/net-fs/netatalk/files/afpd.init.3
deleted file mode 100644
index 449bb774ceab..000000000000
--- a/net-fs/netatalk/files/afpd.init.3
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/afpd.init.3,v 1.1 2012/04/08 21:04:02 flameeyes Exp $
-
-command="/usr/sbin/${SVCNAME}"
-command_args="${EXTRA_CONF}"
-pidfile="/var/run/${SVCNAME}.pid"
-
-depend() {
- need net cnid_metad
- use logger dns atalkd
- after entropy
-
- config /etc/netatalk/afpd.conf
-
- sed -e 's:#.*::' /etc/netatalk/afpd.conf | fgrep -q -e -ddp \
- && need atalkd
-
- need avahi-daemon
- need slpd
-}
diff --git a/net-fs/netatalk/files/atalk_service.init.2 b/net-fs/netatalk/files/atalk_service.init.2
deleted file mode 100644
index 74d986548da9..000000000000
--- a/net-fs/netatalk/files/atalk_service.init.2
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/atalk_service.init.2,v 1.1 2011/10/18 07:37:57 flameeyes Exp $
-
-command="/usr/sbin/${SVCNAME}"
-
-depend() {
- need net atalkd
- use logger dns
-}
diff --git a/net-fs/netatalk/files/atalkd.init b/net-fs/netatalk/files/atalkd.init
deleted file mode 100644
index 384219396cac..000000000000
--- a/net-fs/netatalk/files/atalkd.init
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/atalkd.init,v 1.1 2011/09/29 16:55:00 flameeyes Exp $
-
-: ${ATALK_NAME:=$(hostname -s)}
-: ${ATALK_UNIX_CHARSET:=LOCALE}
-: ${ATALK_MAC_CHARSET:=MAC_ROMAN}
-
-depend() {
- need net
- use logger dns
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon \
- --start \
- --exec /usr/sbin/${SVCNAME} --
- eend $?
-
- for reg in \
- "${ATALK_NAME}:Workstation${ATALK_ZONE}" \
- "${ATALK_NAME}:netatalk${ATALK_ZONE}"
- do
- ebegin " Registering $reg"
- nbprgstr "$reg"
- eend $?
- done
-}
-
-stop() {
- for reg in \
- "${ATALK_NAME}:Workstation${ATALK_ZONE}" \
- "${ATALK_NAME}:netatalk${ATALK_ZONE}"
- do
- ebegin " Registering $reg"
- nbpunrgstr "$reg"
- eend $?
- done
-
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon \
- --stop \
- --exec /usr/sbin/${SVCNAME}
- eend $?
-}
diff --git a/net-fs/netatalk/files/cnid_metad.init.2 b/net-fs/netatalk/files/cnid_metad.init.2
deleted file mode 100644
index 4268025825a4..000000000000
--- a/net-fs/netatalk/files/cnid_metad.init.2
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/cnid_metad.init.2,v 1.1 2011/10/18 07:37:57 flameeyes Exp $
-
-: ${CNID_CONFIG:=-l log_note}
-
-command="/usr/sbin/${SVCNAME}"
-command_args="${CNID_CONFIG}"
-pidfile="/var/run/${SVCNAME}.pid"
-
-depend() {
- need net
- use logger
-}
diff --git a/net-fs/netatalk/files/netatalk-2.2.1-gentoo.patch b/net-fs/netatalk/files/netatalk-2.2.1-gentoo.patch
deleted file mode 100644
index d06bf3fe2cc5..000000000000
--- a/net-fs/netatalk/files/netatalk-2.2.1-gentoo.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-Index: netatalk-2.2.1/etc/afpd/afp_avahi.c
-===================================================================
---- netatalk-2.2.1.orig/etc/afpd/afp_avahi.c
-+++ netatalk-2.2.1/etc/afpd/afp_avahi.c
-@@ -176,8 +176,8 @@ static void register_stuff(void) {
- return;
-
- fail:
-- time(NULL);
- // avahi_threaded_poll_quit(ctx->threaded_poll);
-+ return;
- }
-
- /* Called when publishing of service data completes */
-Index: netatalk-2.2.1/etc/uams/Makefile.am
-===================================================================
---- netatalk-2.2.1.orig/etc/uams/Makefile.am
-+++ netatalk-2.2.1/etc/uams/Makefile.am
-@@ -97,16 +97,16 @@ uams_dhx_pam_la_CFLAGS = @SSL_CFLAGS
- uams_dhx2_pam_la_CFLAGS = @LIBGCRYPT_CFLAGS@ @PAM_CFLAGS@
- uams_gss_la_CFLAGS = @GSSAPI_CFLAGS@
-
--uams_guest_la_LDFLAGS = -module -avoid-version
--uams_randnum_la_LDFLAGS = -module -avoid-version @SSL_LIBS@
--uams_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@
--uams_pam_la_LDFLAGS = -module -avoid-version @PAM_LIBS@
--uams_pgp_la_LDFLAGS = -module -avoid-version @SSL_LIBS@
--uams_dhx_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@
--uams_dhx_pam_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@
--uams_dhx2_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@
--uams_dhx2_pam_la_LDFLAGS = -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@
--uams_gss_la_LDFLAGS = -module -avoid-version @GSSAPI_LIBS@
-+uams_guest_la_LDFLAGS = -shared -module -avoid-version
-+uams_randnum_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@
-+uams_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@
-+uams_pam_la_LDFLAGS = -shared -module -avoid-version @PAM_LIBS@
-+uams_pgp_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@
-+uams_dhx_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@
-+uams_dhx_pam_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@
-+uams_dhx2_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@
-+uams_dhx2_pam_la_LDFLAGS = -shared -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@
-+uams_gss_la_LDFLAGS = -shared -module -avoid-version @GSSAPI_LIBS@
-
- #
- # module compilation
-Index: netatalk-2.2.1/libatalk/Makefile.am
-===================================================================
---- netatalk-2.2.1.orig/libatalk/Makefile.am
-+++ netatalk-2.2.1/libatalk/Makefile.am
-@@ -37,5 +37,3 @@ libatalk_la_DEPENDENCIES = \
- unicode/libunicode.la \
- vfs/libvfs.la
-
--libatalk_la_LDFLAGS = -static
--
-Index: netatalk-2.2.1/libatalk/vfs/Makefile.am
-===================================================================
---- netatalk-2.2.1.orig/libatalk/vfs/Makefile.am
-+++ netatalk-2.2.1/libatalk/vfs/Makefile.am
-@@ -6,4 +6,5 @@ libvfs_la_SOURCES = vfs.c unix.c ea.c sy
-
- if HAVE_ACLS
- libvfs_la_SOURCES += acl.c
-+libvfs_la_LIBADD = $(ACL_LIBS)
- endif
-Index: netatalk-2.2.1/libatalk/dsi/Makefile.am
-===================================================================
---- netatalk-2.2.1.orig/libatalk/dsi/Makefile.am
-+++ netatalk-2.2.1/libatalk/dsi/Makefile.am
-@@ -7,5 +7,6 @@ LIBS = @LIBS@
- noinst_LTLIBRARIES = libdsi.la
-
- libdsi_la_SOURCES = dsi_attn.c dsi_close.c dsi_cmdreply.c dsi_getsess.c dsi_getstat.c dsi_init.c dsi_opensess.c dsi_read.c dsi_tcp.c dsi_tickle.c dsi_write.c dsi_stream.c
-+libdsi_la_LIBADD = $(WRAP_LIBS)
-
- noinst_HEADERS = dsi_private.h
diff --git a/net-fs/netatalk/files/netatalk-3.0.1-gentoo.patch b/net-fs/netatalk/files/netatalk-3.0.1-gentoo.patch
deleted file mode 100644
index 6a416786888a..000000000000
--- a/net-fs/netatalk/files/netatalk-3.0.1-gentoo.patch
+++ /dev/null
@@ -1,140 +0,0 @@
- Makefile.am | 6 ------
- bin/uniconv/Makefile.am | 2 +-
- etc/afpd/afp_avahi.c | 2 +-
- etc/netatalk/Makefile.am | 5 +++--
- etc/uams/Makefile.am | 20 ++++++++++----------
- libatalk/dsi/Makefile.am | 3 ++-
- libatalk/vfs/Makefile.am | 1 +
- macros/netatalk.m4 | 1 -
- 8 files changed, 18 insertions(+), 22 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 0100598..a7b6c22 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -11,9 +11,3 @@ EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION
- ACLOCAL_AMFLAGS = -I macros
- AUTOMAKE_OPTIONS = foreign
-
--if RUN_LDCONFIG
--install-exec-hook:
-- @printf "Running ldconfig to ensure libraries installed in system library directories are added to the dynamic linker cache ... "
-- @-@NETA_LDCONFIG@
-- @printf "done\n"
--endif
-diff --git a/bin/uniconv/Makefile.am b/bin/uniconv/Makefile.am
-index 202e722..2be527e 100644
---- a/bin/uniconv/Makefile.am
-+++ b/bin/uniconv/Makefile.am
-@@ -1,6 +1,6 @@
- # Makefile.am for bin/aecho/
-
--INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys
-+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys
-
- bin_PROGRAMS = uniconv
-
-diff --git a/etc/afpd/afp_avahi.c b/etc/afpd/afp_avahi.c
-index 5218d51..b68c266 100644
---- a/etc/afpd/afp_avahi.c
-+++ b/etc/afpd/afp_avahi.c
-@@ -174,8 +174,8 @@ static void register_stuff(void) {
- return;
-
- fail:
-- time(NULL);
- // avahi_threaded_poll_quit(ctx->threaded_poll);
-+ return;
- }
-
- /* Called when publishing of service data completes */
-diff --git a/etc/netatalk/Makefile.am b/etc/netatalk/Makefile.am
-index 06e5a8c..2d4ef20 100644
---- a/etc/netatalk/Makefile.am
-+++ b/etc/netatalk/Makefile.am
-@@ -14,6 +14,7 @@ netatalk_LDADD = \
- $(top_builddir)/libatalk/libatalk.la
-
- netatalk_LDFLAGS =
-+netatalk_CPPFLAGS =
-
- if USE_BUILTIN_LIBEVENT
- netatalk_CFLAGS += \
-@@ -23,6 +24,6 @@ netatalk_CFLAGS += \
- netatalk_LDADD += \
- $(top_builddir)/libevent/libevent.la
- else
--netatalk_CFLAGS += @LIBEVENT_CFLAGS@
--netatalk_LDFLAGS += @LIBEVENT_LDFLAGS@ -levent
-+netatalk_CPPFLAGS += @LIBEVENT_CFLAGS@
-+netatalk_LDADD += @LIBEVENT_LDFLAGS@ -levent
- endif
-diff --git a/etc/uams/Makefile.am b/etc/uams/Makefile.am
-index 3a02b83..70a2f76 100644
---- a/etc/uams/Makefile.am
-+++ b/etc/uams/Makefile.am
-@@ -95,16 +95,16 @@ uams_dhx_pam_la_CFLAGS = @SSL_CFLAGS@ @PAM_CFLAGS@
- uams_dhx2_pam_la_CFLAGS = @LIBGCRYPT_CFLAGS@ @PAM_CFLAGS@
- uams_gss_la_CFLAGS = @GSSAPI_CFLAGS@
-
--uams_guest_la_LDFLAGS = -module -avoid-version
--uams_randnum_la_LDFLAGS = -module -avoid-version @SSL_LIBS@
--uams_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@
--uams_pam_la_LDFLAGS = -module -avoid-version @PAM_LIBS@
--uams_pgp_la_LDFLAGS = -module -avoid-version @SSL_LIBS@
--uams_dhx_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@
--uams_dhx_pam_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@
--uams_dhx2_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@
--uams_dhx2_pam_la_LDFLAGS = -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@
--uams_gss_la_LDFLAGS = -module -avoid-version @GSSAPI_LIBS@
-+uams_guest_la_LDFLAGS = -shared -module -avoid-version
-+uams_randnum_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@
-+uams_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@
-+uams_pam_la_LDFLAGS = -shared -module -avoid-version @PAM_LIBS@
-+uams_pgp_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@
-+uams_dhx_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@
-+uams_dhx_pam_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@
-+uams_dhx2_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@
-+uams_dhx2_pam_la_LDFLAGS = -shared -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@
-+uams_gss_la_LDFLAGS = -shared -module -avoid-version @GSSAPI_LIBS@
-
- #
- # module compilation
-diff --git a/libatalk/dsi/Makefile.am b/libatalk/dsi/Makefile.am
-index 34fa76e..dbde336 100644
---- a/libatalk/dsi/Makefile.am
-+++ b/libatalk/dsi/Makefile.am
-@@ -1,9 +1,10 @@
- # Makefile.am for libatalk/dsi/
-
--INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys
-+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys
-
- LIBS = @LIBS@
-
- noinst_LTLIBRARIES = libdsi.la
-
- libdsi_la_SOURCES = dsi_attn.c dsi_close.c dsi_cmdreply.c dsi_getsess.c dsi_getstat.c dsi_init.c dsi_opensess.c dsi_read.c dsi_tcp.c dsi_tickle.c dsi_write.c dsi_stream.c
-+libdsi_la_LIBADD = $(WRAP_LIBS)
-diff --git a/libatalk/vfs/Makefile.am b/libatalk/vfs/Makefile.am
-index aa62aeb..8ac2045 100644
---- a/libatalk/vfs/Makefile.am
-+++ b/libatalk/vfs/Makefile.am
-@@ -6,4 +6,5 @@ libvfs_la_SOURCES = vfs.c unix.c ea_ad.c ea_sys.c extattr.c
-
- if HAVE_ACLS
- libvfs_la_SOURCES += acl.c
-+libvfs_la_LIBADD = $(ACL_LIBS)
- endif
-diff --git a/macros/netatalk.m4 b/macros/netatalk.m4
-index 7040eb0..5b63285 100644
---- a/macros/netatalk.m4
-+++ b/macros/netatalk.m4
-@@ -613,7 +613,6 @@ save_CFLAGS="$CFLAGS"
- save_LDFLAGS="$LDFLAGS"
- save_LIBS="$LIBS"
- CFLAGS=""
--LDFLAGS=""
- LIBS=""
- LDAP_CFLAGS=""
- LDAP_LDFLAGS=""
diff --git a/net-fs/netatalk/metadata.xml b/net-fs/netatalk/metadata.xml
index 3f4ded485f3e..dbdbdaa0f521 100644
--- a/net-fs/netatalk/metadata.xml
+++ b/net-fs/netatalk/metadata.xml
@@ -6,15 +6,6 @@
<email>jlec@gentoo.org</email>
</maintainer>
<use>
- <flag name="appletalk">
- Build support for Apple's AppleTalk (DDP) protocol and its
- utilities (atalkd, timelord, papd).
- </flag>
- <flag name="cups">
- Add support for <pkg>net-print/cups</pkg> printers in papd. This
- flag is only considered if appletalk USE flag is enabled, and is
- otherwise ignored.
- </flag>
<flag name="pgp">
Add support pgp authentication module
</flag>
diff --git a/net-fs/netatalk/netatalk-2.2.1-r3.ebuild b/net-fs/netatalk/netatalk-2.2.1-r3.ebuild
deleted file mode 100644
index ab17b0651e41..000000000000
--- a/net-fs/netatalk/netatalk-2.2.1-r3.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.2.1-r3.ebuild,v 1.14 2015/02/21 17:34:00 jlec Exp $
-
-EAPI="4"
-
-inherit pam eutils flag-o-matic multilib autotools
-
-RESTRICT="test"
-DESCRIPTION="Open Source AFP server and other AppleTalk-related utilities"
-HOMEPAGE="http://netatalk.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 BSD"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd"
-IUSE="acl appletalk avahi cracklib cups debug kerberos ldap pam quota slp ssl static-libs tcpd"
-
-RDEPEND="
- !app-editors/yudit
- dev-libs/libgcrypt:0
- sys-apps/coreutils
- >=sys-libs/db-4.2.52
- acl? (
- sys-apps/attr
- sys-apps/acl
- )
- appletalk? ( cups? ( net-print/cups ) )
- avahi? ( net-dns/avahi[dbus] )
- cracklib? ( sys-libs/cracklib )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- slp? ( net-libs/openslp )
- ssl? ( dev-libs/openssl:0 )
- tcpd? ( sys-apps/tcp-wrappers )
- "
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="ldap? ( acl )"
-
-DOCS=( CONTRIBUTORS NEWS VERSION AUTHORS doc/README.AppleTalk )
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
- eautoreconf
-}
-
-src_configure() {
- local myconf=
-
- if use appletalk; then
- myconf+=" --enable-ddp --enable-timelord $(use_enable cups)"
- else
- myconf+=" --disable-ddp --disable-timelord --disable-cups"
- fi
-
- if use acl; then
- myconf+=" --with-acls $(use_with ldap)"
- else
- myconf+=" --without-acls --without-ldap"
- fi
-
- append-flags -fno-strict-aliasing
-
- # Ignore --enable-gentoo, we install the init.d by hand and we avoid having
- # to sed the Makefiles to not do rc-update.
- econf \
- $(use_enable avahi zeroconf) \
- $(use_enable debug) \
- $(use_enable kerberos krbV-uam) \
- $(use_enable quota) \
- $(use_enable slp srvloc) \
- $(use_enable static-libs static) \
- $(use_enable tcpd tcp-wrappers) \
- $(use_with cracklib) \
- $(use_with pam) \
- $(use_with ssl ssl-dir) \
- --disable-krb4-uam \
- --disable-afs \
- --enable-fhs \
- --with-bdb=/usr \
- ${myconf}
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}"/afpd.init.3 afpd
- newinitd "${FILESDIR}"/cnid_metad.init.2 cnid_metad
-
- if use appletalk; then
- newinitd "${FILESDIR}"/atalkd.init atalkd
- newinitd "${FILESDIR}"/atalk_service.init.2 timelord
- newinitd "${FILESDIR}"/atalk_service.init.2 papd
- fi
-
- use avahi || sed -i -e '/need avahi-daemon/d' "${D}"/etc/init.d/afpd
- use slp || sed -i -e '/need slpd/d' "${D}"/etc/init.d/afpd
-
- use ldap || rm "${D}"/etc/netatalk/afp_ldap.conf
-
- rm "${D}"/etc/netatalk/netatalk.conf
-
- # The pamd file isn't what we need, use pamd_mimic_system
- rm -rf "${D}/etc/pam.d"
- pamd_mimic_system netatalk auth account password session
-
- # Move /usr/include/netatalk to /usr/include/netatalk2 to avoid collisions
- # with /usr/include/netatalk/at.h provided by glibc (strange, uh?)
- # Packages that wants to link to netatalk should then probably change the
- # includepath then, but right now, nothing uses netatalk.
- # On a side note, it also solves collisions with freebsd-lib and other libcs
- mv "${D}"/usr/include/netatalk{,2} || die
- sed -i \
- -e 's/include <netatalk/include <netatalk2/g' \
- "${D}"usr/include/{netatalk2,atalk}/* || die
-
- # These are not used at all, as the uams are loaded with their .so
- # extension.
- rm "${D}"/usr/$(get_libdir)/netatalk/*.la
-
- use static-libs || rm "${D}"/usr/$(get_libdir)/*.la
-}
-
-pkg_postinst() {
- elog "Starting from version 2.2.1-r1 the netatalk init script has been split"
- elog "into different services depending on what you need to start."
- elog "This was done to make sure that all services are started and reported"
- elog "properly."
- elog ""
- elog "The new services are:"
- elog " cnid_metad"
- elog " afpd"
- if use appletalk; then
- elog " atalkd"
- elog " timelord"
- elog " papd"
- fi
- elog ""
- elog "Dependencies should be resolved automatically depending on settings"
- elog "but please report issues with this on https://bugs.gentoo.org/ if"
- elog "you find any."
- elog ""
- elog "The old configuration file /etc/netatalk/netatalk.conf is no longer"
- elog "installed, and will be ignored. The new configuration is supposed"
- elog "to be done through individual /etc/conf.d files, for everything that"
- elog "cannot be set already through their respective configuration files."
-}
diff --git a/net-fs/netatalk/netatalk-3.0.5-r1.ebuild b/net-fs/netatalk/netatalk-3.0.5-r1.ebuild
deleted file mode 100644
index efffe0b21ed8..000000000000
--- a/net-fs/netatalk/netatalk-3.0.5-r1.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-3.0.5-r1.ebuild,v 1.6 2015/02/21 17:34:00 jlec Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_{6,7} )
-
-AUTOTOOLS_AUTORECONF=yes
-
-inherit autotools-utils flag-o-matic multilib pam python-r1 systemd
-
-DESCRIPTION="Open Source AFP server"
-HOMEPAGE="http://netatalk.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2 BSD"
-SLOT="0"
-KEYWORDS="amd64 arm ~ppc ppc64 x86 ~x86-fbsd"
-IUSE="acl avahi cracklib debug pgp kerberos ldap pam quota samba +shadow ssl static-libs tcpd +utils"
-
-DEPEND="
- !app-editors/yudit
- dev-libs/libevent
- dev-libs/libgcrypt:0
- sys-apps/coreutils
- >=sys-libs/db-4.2.52:=
- acl? (
- sys-apps/attr
- sys-apps/acl
- )
- avahi? ( net-dns/avahi[dbus,-mdnsresponder-compat] )
- cracklib? ( sys-libs/cracklib )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl:0 )
- tcpd? ( sys-apps/tcp-wrappers )
- utils? ( ${PYTHON_DEPS} )
- "
-RDEPEND="${DEPEND}
- utils? (
- dev-lang/perl
- dev-python/dbus-python[${PYTHON_USEDEP}]
- )"
-
-RESTRICT="test"
-
-REQUIRED_USE="
- ldap? ( acl )
- utils? ( ${PYTHON_REQUIRED_USE} )"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.0.1-gentoo.patch )
-
-src_prepare() {
- if ! use utils; then
- sed \
- -e "s:shell_utils::g" \
- -i contrib/Makefile.am || die
- fi
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=()
-
- append-flags -fno-strict-aliasing
-
- if use acl; then
- myeconfargs+=( --with-acls $(use_with ldap) )
- else
- myeconfargs+=( --without-acls --without-ldap )
- fi
-
- # Ignore --with-init-style=gentoo, we install the init.d by hand and we avoid having
- # to sed the Makefiles to not do rc-update.
- # TODO:
- # systemd : --with-init-style=systemd
- myeconfargs+=(
- --disable-silent-rules
- $(use_enable avahi zeroconf)
- $(use_enable debug)
- $(use_enable debug debugging)
- $(use_enable pgp pgp-uam)
- $(use_enable kerberos)
- $(use_enable kerberos krbV-uam)
- $(use_enable quota)
- $(use_enable tcpd tcp-wrappers)
- $(use_with cracklib)
- $(use_with pam)
- $(use_with samba smbsharemodes)
- $(use_with shadow)
- $(use_with ssl ssl-dir)
- --enable-overwrite
- --disable-krb4-uam
- --disable-afs
- --with-libevent-header=/usr/include
- --with-libevent-lib=/usr/$(get_libdir)
- --with-bdb=/usr
- --with-uams-path=/usr/$(get_libdir)/${PN}
- --disable-silent-rules
- --with-init-style=gentoo
- --with-lockfile=/run/lock/${PN}
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
-
- if use avahi; then
- sed -i -e '/avahi-daemon/s:use:need:g' "${D}"/etc/init.d/${PN} || die
- else
- sed -i -e '/avahi-daemon/d' "${D}"/etc/init.d/${PN} || die
- fi
-
- # The pamd file isn't what we need, use pamd_mimic_system
- rm -rf "${D}/etc/pam.d"
- pamd_mimic_system netatalk auth account password session
-
- sed \
- -e "s|:SBINDIR:|${EPREFIX}/usr/sbin|g" \
- -e "s|:PATH_NETATALK_LOCK:|/run/lock/netatalk|g" \
- distrib/initscripts/service.systemd.tmpl \
- > "${T}"/service.systemd || die
- systemd_newunit "${T}"/service.systemd ${PN}.service
-
- use utils && python_foreach_impl python_doscript contrib/shell_utils/afpstats
-}
-
-pkg_postinst() {
- local fle
- if [[ ${REPLACING_VERSIONS} < 3 ]]; then
- for fle in afp_signature.conf afp_voluuid.conf; do
- if [[ -f "${ROOT}"etc/netatalk/${fle} ]]; then
- if [[ ! -f "${ROOT}"var/lib/netatalk/${fle} ]]; then
- mv \
- "${ROOT}"etc/netatalk/${fle} \
- "${ROOT}"var/lib/netatalk/
- fi
- fi
- done
-
- echo ""
- elog "Starting from version 3.0 only uses a single init script again"
- elog "Please update your runlevels accordingly"
- echo ""
- elog "Dependencies should be resolved automatically depending on settings"
- elog "but please report issues with this on https://bugs.gentoo.org/ if"
- elog "you find any."
- echo ""
- elog "Following config files are obsolete now:"
- elog "afpd.conf, netatalk.conf, AppleVolumes.default and afp_ldap.conf"
- elog "in favour of"
- elog "/etc/afp.conf"
- echo ""
- elog "Please convert your existing configs before you restart your daemon"
- echo ""
- elog "The new AppleDouble default backend is appledouble = ea"
- elog "Existing entries will be updated on access, but can do an offline"
- elog "conversion with"
- elog "dbd -ruve /path/to/Volume"
- echo ""
- elog "For general notes on the upgrade, please visit"
- elog "http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html"
- echo ""
- fi
-}