diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2015-03-22 21:01:46 +0000 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2015-03-22 21:01:46 +0000 |
commit | fa92131bffb5ee646318f4603d632534410bcacc (patch) | |
tree | 56eb966b5ec0858f658345a675ddb9f2958eda1d /net-fs | |
parent | Version bump. Switch to ruby 2.0. (diff) | |
download | historical-fa92131bffb5ee646318f4603d632534410bcacc.tar.gz historical-fa92131bffb5ee646318f4603d632534410bcacc.tar.bz2 historical-fa92131bffb5ee646318f4603d632534410bcacc.zip |
version bump
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Package-Manager: portage-2.2.18/cvs/Linux i686
Manifest-Sign-Key: 0x565953B95372756C
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/openafs-kernel/ChangeLog | 9 | ||||
-rw-r--r-- | net-fs/openafs-kernel/Manifest | 32 | ||||
-rw-r--r-- | net-fs/openafs-kernel/openafs-kernel-1.6.11.ebuild | 117 | ||||
-rw-r--r-- | net-fs/openafs/ChangeLog | 9 | ||||
-rw-r--r-- | net-fs/openafs/Manifest | 32 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.6.11.ebuild | 175 |
6 files changed, 344 insertions, 30 deletions
diff --git a/net-fs/openafs-kernel/ChangeLog b/net-fs/openafs-kernel/ChangeLog index d699b02c4ca5..e9054078c58c 100644 --- a/net-fs/openafs-kernel/ChangeLog +++ b/net-fs/openafs-kernel/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-fs/openafs-kernel # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.163 2015/03/17 18:47:57 bircoph Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.164 2015/03/22 21:00:47 bircoph Exp $ + +*openafs-kernel-1.6.11 (22 Mar 2015) + + 22 Mar 2015; Andrew Savchenko <bircoph@gentoo.org> + +openafs-kernel-1.6.11.ebuild: + Version bump based on proxied maintainer commit from NP-hardass + <np.hardass@gmail.com>. Fixes bugs 476332, 497006, 500378. 17 Mar 2015; Andrew Savchenko <bircoph@gentoo.org> metadata.xml: Update maintainers information. diff --git a/net-fs/openafs-kernel/Manifest b/net-fs/openafs-kernel/Manifest index b69acba8d5fd..682b8a59b890 100644 --- a/net-fs/openafs-kernel/Manifest +++ b/net-fs/openafs-kernel/Manifest @@ -8,29 +8,33 @@ AUX openafs-1.6.2-kernel-3.8-4.patch 1300 SHA256 3604174099c3a98a0596b86ed083c60 AUX openafs-1.6.2-kernel-3.8-5.patch 2463 SHA256 745bdd7e75f65ca7af3caf5bf0a85fcba1ff17a2336adc4fc286d843f7af89db SHA512 3f11aed22890ab679cfa245b19af76267b0047fa4279914b5f7616646f455485cb67191abb5eab0aeecd845e65eca43f16761a5288492c5dd91be9a9e38399ae WHIRLPOOL c1dcd37946e053fa85b1ee9592c69beee7e01ee4d5b29545145d2d8f12f2a40efee94ac5e658f5cc9199ac1d3cb5168918c53b205f2ce959aa4de28ff9fb8468 AUX openafs-1.6.5-kernel-3.11-1.patch 3702 SHA256 ef1b1f1859e7b4e62ade92f07846e126c05525a55f3e6e0ce5ae8f0b7abc9b39 SHA512 0123a1b62605bc2b89385367bea51c59d29d83d6b92ccfe3edf65896ead9874d6b9f127e003c637448897114c8a2709d6d9d212af8f090a930959462d78aa277 WHIRLPOOL d50db673cecb3bf37f90923d0eb3eb4fa045f5111ed6e6e4de1ad2c41122c66a697b7132df1c01cacba1d8e846a6e46d82d74e8a49b34dc24149d56e5c26bde1 AUX openafs-1.6.5-kernel-3.11-2.patch 3083 SHA256 a76ee1d2494ff48ecb73983ee7aec7aa3cd4cbb564b2443a7106aa2a4ebfeb0c SHA512 2957ef5885ab3cb2ab5250748521314091efb2df1fe432ae5fa90112c911cb49ebd819ce510b13bed7ffd36602adb58db4109edb958a38732f6cef91f0bde551 WHIRLPOOL e65e5e7c7bcf0b5c47f5fc3ae7695065568ecf2129379045bfec186d90a00e96859a0c79aebf900ed59d69d10ae8e991e9990bbcdd0234dc487f3d3472dcf1af +DIST openafs-1.6.11-doc.tar.bz2 3530829 SHA256 d5cfa17ec06812a9961960bfdf54c1a753f512826fbbb41e3fdbb2310b5b5a59 SHA512 9bd792eae719c6cfa3d250ae31fcc2cd47e40d0b78f5e3453a5b242255bc64d88b9943ac5a7ab2565509904499d6b11a94d27e9c9b48b515aa51bd8f0670ec67 WHIRLPOOL 1a6bdc5d0920eb046c6b975b4f17caca2e30295d0b26993edda17bec09adffa9254bfb5897979beb92ccafe4e1fbfc36d82ed715d46e967a6a0b1cb4bf4e05f8 +DIST openafs-1.6.11-patches.tar.xz 9628 SHA256 16fdf63d81bd986aea4112f43f4005912dd62175aeb355e7b729b309842c970c SHA512 8227cb156f7498afa70e3086f4bfd26672576229a8f847d24a85b495942270e4964aa715536d43c2e63bbd3f4ced7cd19971c76007cb8e2e5aef17fe0ceb9d1d WHIRLPOOL 9ae675c36ec5fe07b7d095705dc6ee02f4a4ac227d9396e29299d94cde10f18e217c06e3c62f73d3d2b07a43410b35e464e7b328e25710e6c497d093381ce158 +DIST openafs-1.6.11-src.tar.bz2 14605284 SHA256 cc42da08ef750a2363f7ea291e2264a9334c6ecf1400a75f5dabc170205bd01d SHA512 4e82553443009f899dfbd3eed0b9ed63c55aff5d5ce02f31657277385f0dfdef7e724b81a25fabb962d03b5a622d8d3fa9eca04879d1b84f4b253a52ea4ab90c WHIRLPOOL fbf188144643a71f7e505251033ed68c3d684dabd6647b4096c7a4010a76285db46c0cd586c5481635eb7da8406b5adee72c02528e59c4f89c6d923640cc93fb DIST openafs-1.6.2-patches-1.tar.bz2 10880 SHA256 bde25a4ec9ab38cb9864deb38d4d3f4b3affc44969c072a3329844dbbebd1c5c SHA512 f6cd5916bc072cb855a0edfb640cf53cfdc5fb7d3b9ed0e23e9c739ea4f046653ac60b731cb469838085c92286485fafa00807b857f89ca2c90fea3dce2c9a56 WHIRLPOOL 93a6648ddc8e35c05c176a9d835fefcd97afc217bbf80547895e5da40ac4e0a85842dd89c5b3074986045db67548f766a72cd5a2c05eb24c62ae04f26a490e04 DIST openafs-1.6.2-src.tar.bz2 14378378 SHA256 0db0877cd42131a744472ad0abfa26a4402a5bad94adb4d1eada75c8b6895bc9 SHA512 769b82d4ba8fe391f7dacc1f422d0bca564450ee3e05da34296aa461fecab825956e2bea4849af65af8592ffe50853e725ee0a700c1afaea67652adf8a93c01c WHIRLPOOL 61947ee3f0e3d7107f3611add14bd90ca1f5744986f75a92a28f6ccda8936f16441ec819640eebbd0cfaffaaa716c3077980b28512a84e9be770a4320a19997a DIST openafs-1.6.5-patches-1.tar.bz2 10880 SHA256 bde25a4ec9ab38cb9864deb38d4d3f4b3affc44969c072a3329844dbbebd1c5c SHA512 f6cd5916bc072cb855a0edfb640cf53cfdc5fb7d3b9ed0e23e9c739ea4f046653ac60b731cb469838085c92286485fafa00807b857f89ca2c90fea3dce2c9a56 WHIRLPOOL 93a6648ddc8e35c05c176a9d835fefcd97afc217bbf80547895e5da40ac4e0a85842dd89c5b3074986045db67548f766a72cd5a2c05eb24c62ae04f26a490e04 DIST openafs-1.6.5-src.tar.bz2 14400420 SHA256 176fab2d710d8dcf566f5aa229fd796dd8165561d57590e32790a3034a195ef2 SHA512 2a03b87499f3304c85664787602f1e2f1988a5baa34bc7754e28f8ead6a1b70d826e63cd6ce4b4c5a97ae48fff6255a51be973c098f8a176369ae557b18830f1 WHIRLPOOL 66c058a09396054dc675351b1b27628144a7f29b2255e7192906290bd0b76ea8c08a398d773031a9835edbdd2452990cc6e3273c02e4d25560d62ddcd7318c97 +EBUILD openafs-kernel-1.6.11.ebuild 3510 SHA256 590df68b6ac302c9b39462cdebc63f20443df63cf914ee687951735ac06ded36 SHA512 4f92d3e2057e423f4ca0f91100fdedef03457492d811d907f4cfa4abd8a69b9f6d36c154dbe7e90e0982cae78d0bbff3e6ffb6e5d19eeb59fe176ac777e9a439 WHIRLPOOL f860a0fdc1e22db8d257c47196d76b4471e79f0ecf077866ff213b18888bae12b411ef83d6a6fb73fe6c9f7d3bc03f249bda656eaef1bf4bd2c4d654e6633edb EBUILD openafs-kernel-1.6.2-r1.ebuild 2675 SHA256 45010f6f5b72240ba37711fa25ad0edd0294ad2cb15279d761e6a18ceefdccd0 SHA512 f068c378fadbe66cf48dd01127a4007c6c89919bc857ac68d26d729eceec2b2e3e1325ec58f7438ffbf3b3b7e083a66ade2d87d2738622099263fc1c95af394a WHIRLPOOL 463ad4c98cad71651bad2384011c509290cc939b409ed86cbad7bf773c8552033d7f50536e793a75413d0f5425353ddfd956aa60329e38fdcaf089606f11d88b EBUILD openafs-kernel-1.6.5-r1.ebuild 2636 SHA256 ddc0e3bf1869de3567b671c8b50781bfc2b8244f06bfd9b827fc909bace12aba SHA512 b30afc2a4c295b68f92a3871f3f1588ea2eacdb1b2b54ab693a898b7da66a8d73392e17dd6d184536414f6f2fd6cea2aeddf1cee25d40b4e7d0c175ba8abe4db WHIRLPOOL 47f71450cd913d5022111974b623ddb8f9e1b47ba4184017ec8a965955bf7206beaa506c70f7c8ada47ee50edbc96c1a9687d3578627e949cfa52c0c47732a72 EBUILD openafs-kernel-1.6.5-r2.ebuild 2718 SHA256 2b2e04f3eb22d1e32cefc26e7c81b5abc351bb6e90336dd9a5bfde96ba2df632 SHA512 16e0cd54faaf993ffd123b374615d4c86a5a00dd802651050a3730db8778fb73c7aef77360e1c2885090e1982fb88e99a45cd739f499d7551927e8844125196a WHIRLPOOL 6bff1e8adf12cdf9253334785420e7957bffb565e6bfea7c7e933f16d47d0c7665e761decdf909cc4c297aaccb4db05fd06dc7879c0b9964c89a85e634d158ee -MISC ChangeLog 27456 SHA256 a007968bb807bd43b57552bf7fb3c0c10bf5724eb56b7e5f5d5de787be9408b0 SHA512 f8982a0c1be4ba49b1ec3a218cbab1df7494bd37665ccb194859486d5562feef85465498c4a02f983ce2a1f09b07bc6700cc7594f9ece053a75bd4ee0700adb2 WHIRLPOOL 399eb26cd762839426489570b76d64c641ec6bca838665aef501358be2f5f012810097107ca32ae0a2e3dea2a5169b22e641139b3a0c18db4b4ebca1b0d28054 +MISC ChangeLog 27708 SHA256 6d852c10dd8c4e8478f05da496db94c38ff13ae553b155fe17f7f92070717400 SHA512 00cb83bb6ae259f5a3df2987e52d00010eea2af343a6f44ceec885504c5202e57f55b3df0159ae0cfcaac0281d560ac9876ed41e434b2d0660f884056222cd81 WHIRLPOOL 65ab6ddbed85524215ad8eef95f51df76ba4af161909fdc3e2947cfba613d32fc8267def2f69cff42a215b9b4a17c315cf598cf6d744582f0f03f2f78d05d2b1 MISC metadata.xml 777 SHA256 ec3cab4f468a8af1770926801c13d31ba46aba22cacc231eb40510b811c07c2f SHA512 4641468811b7c6cad2111a1b21a890c082e1449ba68ae0703cf5096c7dbbd6b22715f9476d4b714048c9fb0630f651b5f68b10be4da867cbd7f8adcff1a2cfb4 WHIRLPOOL 4b5ebfaefa3631c6eb3ed7bf03278f85d4b95b0c7e7469d55f3603ae26829c210d31b5ca99d0db2392acbb75406ed2108420ecb5444fcbc9dc9575ad017fd3a5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVCHbeAAoJEPZTWjO6HuSNnGMQAK+t/TWVVt0pBZaMIv8wdYu5 -FggoVk0cBs7xCG1GunvmtrvRebxl2gohijuhNfNdWEopBSGvpDUc9k+1zgrLrOO0 -bYphFHL8Ckz5WaMxLy5Ve40QZ4f0gznasv/aci5yDdxPEqJdjWso9ccZK9I++0TC -+Rb+DtpLJJHHYfkfdBIWZOYi3ggzR3sexiin38AF3es2S2imkrcEJOIszp2yfO3j -fdHcgKB/fESzbWvO1Y3Y4jutdQMJDXvbzbjpWbaEdUMpMILfR/lJZ37tV5DyfwyY -VcKwWpQmTfmxHX/HWaWb8aYb7xI4WdyUGMYLcECPvmWCqb8kjv77Lfp3pcpGWUa3 -dnLXcQZ2DPOftjjMGGgoHCOdlP+fTYpCxF6ghAKBy/n2zP3a3U7RLvotXD5OJhPd -4hwEgeh482ibp+txnaNoEqw7jeiUAnsr7pLMsKGO5BhyZ0mdUqMq35HKIDtviUn7 -Z2mvX+LT5NwZKtrWLsrMBdK02ntluuh3iwpFhCFNmbHRlpdta8zVTgCQx84CsP4u -/FcM/SBsQZB/lrZLbr4BN3BB1wg3uNI1ZK61OBFBpkqlzHwkdWhf98Kr2xfa8F6k -ttiYOdAmU+dyHPP6inPWbVZFM1NfJ47UZujlQUARSTNy6wA9z3l9u/9kF59AVCg7 -quQ2dAWhNCZ2UFWSRtHf -=+3DV +iQIcBAEBCAAGBQJVDy2BAAoJEPZTWjO6HuSNFnMQAIFhP/GhOj7ZqluEOoSOspMo +lb7TkUJMrAe89j7TsxCQ4E5ZTicczj3Jkc9VSoAsHvGOp3DfDE0pweC0eSUXn6aC +sDaTjwUjGNZq7Mzo2aSiTP6W1YPmjjCu4r18xWzDqV1snAlodL23JQNi+KG1pTFY +JqweJBxC0pi1PGiT13nD0mfbksDGflHUcXLQFtLCsxB8yrK2CItRjpAw7iov2/Sn +pwTK66wq4FmsetxJpQ/UKoB6RcSrKvY63ItZ3X5hMyZkoLDuFw6gcwT6KL4RVjct +wcogBwHmZIn4qCEk9kVxbWCfzxMeI7dtH9F9vZip9rr8fjk49ein+FtkdUd8BiaM +cMyvpjWpVCdwPg4tA1/P7PHIH8jggKCaXJmlAYEtlELNKrGwKvpFpRAIWeBwH5Le +utyG4q0iw+4ImxnvhpyI6Z5d5fR3LAaMLfwyGURty8MxHNTrxn9vKzNhdPVLm7QL +qfC80zd+n+aBbWuKqYIf4Dlhe+ajWra++umPkHmMbJGn5AMptOeTgZ/5X7lU/1b7 +VZc7bsLAvE+SLer1DP3by1faQch0KcjtMEsExTExz2MNqSiS7fHWVOzpNTQkFKtw +RH9rZKjq1c+wJeiFC7f3/OFX9LjKRnWZwVvkyLVnnlCcrKW2AfuGpqoN4mgSZZPn +F6R4SjhmZiXtnS2fQ4/6 +=rz8V -----END PGP SIGNATURE----- diff --git a/net-fs/openafs-kernel/openafs-kernel-1.6.11.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.6.11.ebuild new file mode 100644 index 000000000000..258d48ab34f5 --- /dev/null +++ b/net-fs/openafs-kernel/openafs-kernel-1.6.11.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.11.ebuild,v 1.1 2015/03/22 21:00:47 bircoph Exp $ + +EAPI="5" + +inherit autotools eutils linux-mod multilib toolchain-funcs versionator + +MY_PV=$(delete_version_separator '_') +MY_P="${PN/-kernel}-${MY_PV}" +PVER="1" +OAFS_PVER="1.6.5" + +DESCRIPTION="The OpenAFS distributed file system kernel module" +HOMEPAGE="http://www.openafs.org/" +# We always d/l the doc tarball as man pages are not USE=doc material +[[ ${PV} == *_pre* ]] && MY_PRE="candidate/" || MY_PRE="" +SRC_URI=" + http://openafs.org/dl/openafs/${MY_PRE}${MY_PV}/${MY_P}-src.tar.bz2 + http://openafs.org/dl/openafs/${MY_PV}/${MY_P}-doc.tar.bz2 + http://dev.gentoo.org/~bircoph/patches/${MY_P}-patches.tar.xz +" + +LICENSE="IBM BSD openafs-krb5-a APSL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="" + +S=${WORKDIR}/${MY_P} + +CONFIG_CHECK="!DEBUG_RODATA ~!AFS_FS KEYS" +ERROR_DEBUG_RODATA="OpenAFS is incompatible with linux' CONFIG_DEBUG_RODATA option" +ERROR_AFS_FS="OpenAFS conflicts with the in-kernel AFS-support. Make sure not to load both at the same time!" +ERROR_KEYS="OpenAFS needs CONFIG_KEYS option enabled" + +QA_TEXTRELS_x86_fbsd="/boot/modules/libafs.ko" +QA_TEXTRELS_amd64_fbsd="/boot/modules/libafs.ko" + +pkg_pretend() { + if use kernel_linux && kernel_is ge 4 ; then + ewarn "Gentoo supports kernels which are supported by OpenAFS" + ewarn "which are limited to the kernel versions: <4.0" + ewarn "" + ewarn "You are free to utilize epatch_user to provide whatever" + ewarn "support you feel is appropriate, but will not receive" + ewarn "support as a result of those changes." + ewarn "" + ewarn "Please do not file a bug report about this." + fi +} + +pkg_setup() { + if use kernel_linux; then + linux-mod_pkg_setup + fi +} + +src_prepare() { + # do not tamper with CFLAGS for the kernel module + EPATCH_EXCLUDE="040_all_flags.patch" \ + EPATCH_SUFFIX="patch" \ + epatch "${WORKDIR}"/gentoo/patches + epatch_user + + # packaging is f-ed up, so we can't run eautoreconf + # run autotools commands based on what is listed in regen.sh + eaclocal -I src/cf + eautoconf + eautoconf -o configure-libafs configure-libafs.ac + eautoheader + einfo "Deleting autom4te.cache directory" + rm -rf autom4te.cache +} + +src_configure() { + local myconf="" + # OpenAFS 1.6.11 has a bug with kernels 3.17-3.17.2 that requires a config option + if use kernel_linux && kernel_is -ge 3 17 && kernel_is -le 3 17 2; then + myconf="--enable-linux-d_splice_alias-extra-iput" + fi + + ARCH="$(tc-arch-kernel)" \ + econf \ + --with-linux-kernel-headers=${KV_DIR} \ + --with-linux-kernel-build=${KV_OUT_DIR} \ + ${myconf} +} + +src_compile() { + ARCH="$(tc-arch-kernel)" AR="$(tc-getAR)" emake V=1 -j1 only_libafs +} + +src_install() { + if use kernel_linux; then + local srcdir=$(expr "${S}"/src/libafs/MODLOAD-*) + [[ -f ${srcdir}/libafs.${KV_OBJ} ]] || die "Couldn't find compiled kernel module" + + MODULE_NAMES="libafs(fs/openafs:${srcdir})" + + linux-mod_src_install + elif use kernel_FreeBSD; then + insinto /boot/modules + doins "${S}"/src/libafs/MODLOAD/libafs.ko + fi +} + +pkg_postinst() { + # Update linker.hints file + use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" + use kernel_linux && linux-mod_pkg_postinst +} + +pkg_postrm() { + # Update linker.hints file + use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" + use kernel_linux && linux-mod_pkg_postrm +} diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog index aa6e9de53d98..66443031c08a 100644 --- a/net-fs/openafs/ChangeLog +++ b/net-fs/openafs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-fs/openafs # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.199 2015/03/17 18:44:55 bircoph Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.200 2015/03/22 21:01:39 bircoph Exp $ + +*openafs-1.6.11 (22 Mar 2015) + + 22 Mar 2015; Andrew Savchenko <bircoph@gentoo.org> +openafs-1.6.11.ebuild: + Version bump based on proxied maintainer commit from NP-hardass + <np.hardass@gmail.com>. Fixes bugs 239369, 334413, 412119, 436596, + 500378, 534488. 17 Mar 2015; Andrew Savchenko <bircoph@gentoo.org> metadata.xml: Update maintainers information. diff --git a/net-fs/openafs/Manifest b/net-fs/openafs/Manifest index 41c56ad1267f..516a60c53703 100644 --- a/net-fs/openafs/Manifest +++ b/net-fs/openafs/Manifest @@ -1,30 +1,34 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +DIST openafs-1.6.11-doc.tar.bz2 3530829 SHA256 d5cfa17ec06812a9961960bfdf54c1a753f512826fbbb41e3fdbb2310b5b5a59 SHA512 9bd792eae719c6cfa3d250ae31fcc2cd47e40d0b78f5e3453a5b242255bc64d88b9943ac5a7ab2565509904499d6b11a94d27e9c9b48b515aa51bd8f0670ec67 WHIRLPOOL 1a6bdc5d0920eb046c6b975b4f17caca2e30295d0b26993edda17bec09adffa9254bfb5897979beb92ccafe4e1fbfc36d82ed715d46e967a6a0b1cb4bf4e05f8 +DIST openafs-1.6.11-patches.tar.xz 9628 SHA256 16fdf63d81bd986aea4112f43f4005912dd62175aeb355e7b729b309842c970c SHA512 8227cb156f7498afa70e3086f4bfd26672576229a8f847d24a85b495942270e4964aa715536d43c2e63bbd3f4ced7cd19971c76007cb8e2e5aef17fe0ceb9d1d WHIRLPOOL 9ae675c36ec5fe07b7d095705dc6ee02f4a4ac227d9396e29299d94cde10f18e217c06e3c62f73d3d2b07a43410b35e464e7b328e25710e6c497d093381ce158 +DIST openafs-1.6.11-src.tar.bz2 14605284 SHA256 cc42da08ef750a2363f7ea291e2264a9334c6ecf1400a75f5dabc170205bd01d SHA512 4e82553443009f899dfbd3eed0b9ed63c55aff5d5ce02f31657277385f0dfdef7e724b81a25fabb962d03b5a622d8d3fa9eca04879d1b84f4b253a52ea4ab90c WHIRLPOOL fbf188144643a71f7e505251033ed68c3d684dabd6647b4096c7a4010a76285db46c0cd586c5481635eb7da8406b5adee72c02528e59c4f89c6d923640cc93fb DIST openafs-1.6.2-doc.tar.bz2 3483994 SHA256 3b1fecde4cea104d62fde9d4ac78bc4f28c64bc2c4f527bfefd27789facaae1e SHA512 0fcee6fbc46f4df53f8abd875346e9a52bb07d539096b666a06c99b9194800eb44ef2358a8637c94154545fb2f7719ecf8a410c6fb6020b97bbb8d231b31a7a4 WHIRLPOOL d30a1b371ddaa88531d6f5ceccff9f80b23b9ddf4538be794772eb5b7e91044757fcb0ccbd1a7f4b05d60b37bde351319d676901eb5198f04fb12b37b4f575ba DIST openafs-1.6.2-patches-1.tar.bz2 10880 SHA256 bde25a4ec9ab38cb9864deb38d4d3f4b3affc44969c072a3329844dbbebd1c5c SHA512 f6cd5916bc072cb855a0edfb640cf53cfdc5fb7d3b9ed0e23e9c739ea4f046653ac60b731cb469838085c92286485fafa00807b857f89ca2c90fea3dce2c9a56 WHIRLPOOL 93a6648ddc8e35c05c176a9d835fefcd97afc217bbf80547895e5da40ac4e0a85842dd89c5b3074986045db67548f766a72cd5a2c05eb24c62ae04f26a490e04 DIST openafs-1.6.2-src.tar.bz2 14378378 SHA256 0db0877cd42131a744472ad0abfa26a4402a5bad94adb4d1eada75c8b6895bc9 SHA512 769b82d4ba8fe391f7dacc1f422d0bca564450ee3e05da34296aa461fecab825956e2bea4849af65af8592ffe50853e725ee0a700c1afaea67652adf8a93c01c WHIRLPOOL 61947ee3f0e3d7107f3611add14bd90ca1f5744986f75a92a28f6ccda8936f16441ec819640eebbd0cfaffaaa716c3077980b28512a84e9be770a4320a19997a DIST openafs-1.6.5-doc.tar.bz2 3488188 SHA256 754ce1fd1c3b9026883453d5cde1705452568f4e54e86fbf02a75debf8f57f2f SHA512 e58ebf61970dcf083cb8b5f6ae43930e3f0f680df0dfafaa852a5cf44bcaa47fefe3ee3a62d2e73a4f484314e4e09669e049d939a69dcf0d5b3aec5e0c31b34a WHIRLPOOL 6b3c9a0262d0bbd2c603451990ddf98c92f8bc3ade69eb6ac289c9d0dcfad7b78b0ee6d311efe5810f006640f5eeb8b3ef508f28da95b892187aceba400dfbf0 DIST openafs-1.6.5-patches-1.tar.bz2 10880 SHA256 bde25a4ec9ab38cb9864deb38d4d3f4b3affc44969c072a3329844dbbebd1c5c SHA512 f6cd5916bc072cb855a0edfb640cf53cfdc5fb7d3b9ed0e23e9c739ea4f046653ac60b731cb469838085c92286485fafa00807b857f89ca2c90fea3dce2c9a56 WHIRLPOOL 93a6648ddc8e35c05c176a9d835fefcd97afc217bbf80547895e5da40ac4e0a85842dd89c5b3074986045db67548f766a72cd5a2c05eb24c62ae04f26a490e04 DIST openafs-1.6.5-src.tar.bz2 14400420 SHA256 176fab2d710d8dcf566f5aa229fd796dd8165561d57590e32790a3034a195ef2 SHA512 2a03b87499f3304c85664787602f1e2f1988a5baa34bc7754e28f8ead6a1b70d826e63cd6ce4b4c5a97ae48fff6255a51be973c098f8a176369ae557b18830f1 WHIRLPOOL 66c058a09396054dc675351b1b27628144a7f29b2255e7192906290bd0b76ea8c08a398d773031a9835edbdd2452990cc6e3273c02e4d25560d62ddcd7318c97 +EBUILD openafs-1.6.11.ebuild 5150 SHA256 cc82b969c931e1d30ae0d3b57aab33d1771021a908432f66ba41b1595943e6e9 SHA512 b46824fe4a316a066f8f78e04d8a2d6b4e17b58ee0b555d55bc70bce8ece2259e415e255f3ab048b4f61662b504a454b5a946f6624286a05095cc313c71f26a0 WHIRLPOOL 373a81fdbfc9032ba5806a9197967aba726003b62a41d9ffad01b1d67a42f90841eb6d3479afc371a2e181c3eb50cfbdd937043249a44ddcf66942ad92720f90 EBUILD openafs-1.6.2-r1.ebuild 4506 SHA256 f70a6878ccf5ff0a5870416e90e5a6edbf45a88e8e79f652fb322da7df1d6852 SHA512 102ba706eb805ec88dcbb49f4056e01fc2a1d6e052e5edf3d6027331edfd93ab7666f004ad2b56e653c38b26a9d0ad7d837363dc2f9160246b7efe3ea72fc3ad WHIRLPOOL 00b822b06c7687f1f260b4e3d394929e554e89bd663aa5774ad87e09e53ff34435f67e3159a10dec4e7a904aa0683393053b2f5a78438edbd02bfb672ecf396e EBUILD openafs-1.6.5-r1.ebuild 4524 SHA256 aa0362916b80e313f16d048a46c44c4b915d4fd7dd1c52100e058a77ac109b47 SHA512 3e14e0e439e73a2f255d4ea9e6dc41ab5fc157affedf9c9540ece75eba8f24bd0bc8ef7853910fd9264402fc4995afc581335b300b0b0ad45a0c4e5c8a51c8f7 WHIRLPOOL e307e0a260607c4ad0c93dcabc06bd2781bd0b88b290fd73c02ed7d135226c06fe03f833a16746f6e337d1385493b9ee54dde6422422790b69706005197063dc -MISC ChangeLog 32208 SHA256 d60a626da52deca400e0127993098d84d53b43776ea7b979d0cbb193506e875e SHA512 6da1946bd75013ac8330ebc7ae336bc293918e43a5f20611b440a5e925f4d6d99838a52565788dba167c30a4e7bd18d76b4b8aa040a347dce02458745fd2062d WHIRLPOOL 1dd2536264568151d517ab7fec5ea72189144ccfcf409234baee6b68de2b3495ac46845d9b1d9feca9e2783f0887148af9cbe96d28c4cbeb8254a41cbd72a380 +MISC ChangeLog 32470 SHA256 645771e15c7436f7a279632d221a182ced29ad66d21a824f847bc3334ca9844f SHA512 8cdec6223a8ce3111ae98ca598358eed89665d90b5ad2cde2a503ebbf7a9e288d5d4fc09a60ae91e2a19f3e9893155018a964c588487c19a5e602515912c8f93 WHIRLPOOL 5b2452ddad949d30e4391e2f5dcbb5b9e34f922e8a71a4f83a57b2a3590d66ef401762ba249f4647831bcf1e3893bbf64d40dd318ff1b9a25c3ec4c460f814cd MISC metadata.xml 777 SHA256 ec3cab4f468a8af1770926801c13d31ba46aba22cacc231eb40510b811c07c2f SHA512 4641468811b7c6cad2111a1b21a890c082e1449ba68ae0703cf5096c7dbbd6b22715f9476d4b714048c9fb0630f651b5f68b10be4da867cbd7f8adcff1a2cfb4 WHIRLPOOL 4b5ebfaefa3631c6eb3ed7bf03278f85d4b95b0c7e7469d55f3603ae26829c210d31b5ca99d0db2392acbb75406ed2108420ecb5444fcbc9dc9575ad017fd3a5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVCHY2AAoJEPZTWjO6HuSN18AP/iOh+//0QX6lZb7adCjcSHUr -IrKLohngV7Cve1dzE7pY2nyYWcKkIYDcSno4wIgo917oqMF0yXwdZxZoLqhG2y0I -QZ12AFjLXI9Zwilpzlw3ztlUae50YgBOtAliZZWQpaH6AsP06An+2Oubm98thE2R -HNApFm2FyOnkjCgGWJd7fkVU0LXJ4EffB61rL3ZcJu9JlvhDcP0iaGN+/d6huTrn -ZCgCbDQlUsqrYKJRFglzALTcxYZ8i3jcIzTW3CAhVcZ3sHegM4RqLa2/WslVdavk -E1NQPzFUO2q9AiFzSuhHYNNH31giaoP204bFKK4OQz1jk4KZbjCvcsGkUvGnQSqi -KIrgjm/vDkPW/arYL73CmWUZFGNB6Y/FhmogP7XRNc267/xsHkgLR7O4nPsHoOWM -vLhXAhw5zSDS+4kDS7YeBxqrXaS+YOxOfWc0H0kfqVfqbh+10SbnJN7gMb6c4+jO -rjvT5XQ/jyT/qZxJmtoI4FTk1SeqO+EPdYccob7rNtFV29g9U01LHgJu+xxhTOZV -jpwb/YPn2ujI0VmA1/Agoqzq9uySfe0960FdD2iYMwD685sKKNjMa2hQelzbcvU5 -LT65WGjzHqZ9yigUJ2RLXvy1YOHQ3aAG0BFSlz8/yfvdGWiAPSVb6t1xKSc1+/LQ -HoC4fcqk+6ofrIaKBXif -=uoW8 +iQIcBAEBCAAGBQJVDy20AAoJEPZTWjO6HuSNGWcP/RfGRweHAezCkCmFJAX621q3 +viO9CsVKSg5ytMK2Grg971pJJdFWhNEdT6MgLyQ4MYqybu2ZhtegnHDDB0V1nMcc +CSZu9fbgVKpEZqhfc6tS256moAiTsyU8tegfxMZYL/UqKIuaYkFnqGWVHyEecZLs +8OeIK9CU7KDUERMNtpNrhNkmBNXMYnp/xMNMF9O1lZSlFAfR5MwFgyIP+0rjzTJf +5t2Y3bx5l6u0Tk1n2WR8zX17oyDGALSYOrpOB+y8Ck4yjUuA9lLChGuvc+DFLHCu +KpWN5scvbJDH2Sj8rIH4/Vsuuz+YsgwmJ9GbF2Er7FEYUUOXbJ0ouX3DMTtz/et/ +4wn8apRcCU7vf32KpTmNSZYIvbncvvEIw7Ph9XYSvrbrz/1oh0UP6nqkfczpqSCQ +b7KKpbqA3SNUaJhVh4abaqtBhC72mFbcun6RLPZj1DRfkaW/KaVTXnzBY0JrVWFd ++HMqTR4MK3lmLThdoTi1bULi4aVZZuJJdOCV9coGhrxRL6qBUoDl7Cif3Qxq3iUn +ccv344Ir3R1X6M80vW453Yx5lGUpSfJx7TResae4Gd90KTdPlnSDIYy7I5Pkp0/T +wWcVpBTp/Ruvqjdek1XWSyrRTczFSM51bWRBJzORvnaCwgGzfqQ8O4uVVjHIovG7 +CWXPxcVybJ8EYg07ZKrS +=L0dD -----END PGP SIGNATURE----- diff --git a/net-fs/openafs/openafs-1.6.11.ebuild b/net-fs/openafs/openafs-1.6.11.ebuild new file mode 100644 index 000000000000..e28a52c3f30e --- /dev/null +++ b/net-fs/openafs/openafs-1.6.11.ebuild @@ -0,0 +1,175 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.6.11.ebuild,v 1.1 2015/03/22 21:01:39 bircoph Exp $ + +EAPI="5" + +inherit autotools eutils flag-o-matic multilib pam systemd toolchain-funcs versionator + +MY_PV=$(delete_version_separator '_') +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="The OpenAFS distributed file system" +HOMEPAGE="http://www.openafs.org/" +# We always d/l the doc tarball as man pages are not USE=doc material +[[ ${PV} == *_pre* ]] && MY_PRE="candidate/" || MY_PRE="" +SRC_URI=" + http://openafs.org/dl/openafs/${MY_PRE}${MY_PV}/${MY_P}-src.tar.bz2 + http://openafs.org/dl/openafs/${MY_PV}/${MY_P}-doc.tar.bz2 + http://dev.gentoo.org/~bircoph/patches/${P}-patches.tar.xz +" + +LICENSE="IBM BSD openafs-krb5-a APSL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc kerberos +modules pam" + +CDEPEND=" + sys-libs/ncurses + pam? ( sys-libs/pam ) + kerberos? ( virtual/krb5 )" + +DEPEND="${CDEPEND} + doc? ( + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + )" + +RDEPEND="${CDEPEND} + modules? ( ~net-fs/openafs-kernel-${PV} )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + EPATCH_EXCLUDE="050_all_job_server.patch" \ + EPATCH_SUFFIX="patch" \ + epatch "${WORKDIR}"/gentoo/patches + epatch_user + + # fixing 2-nd level makefiles to honor flags + sed -i -r 's/\<CFLAGS[[:space:]]*=/CFLAGS+=/; s/\<LDFLAGS[[:space:]]*=/LDFLAGS+=/' \ + src/*/Makefile.in || die '*/Makefile.in sed failed' + + # packaging is f-ed up, so we can't run eautoreconf + # run autotools commands based on what is listed in regen.sh + eaclocal -I src/cf + eautoconf + eautoconf -o configure-libafs configure-libafs.ac + eautoheader + einfo "Deleting autom4te.cache directory" + rm -rf autom4te.cache +} + +src_configure() { + AFS_SYSKVERS=26 \ + econf \ + --disable-kernel-module \ + --disable-strip-binaries \ + --enable-supergroups \ + $(use_enable pam) \ + $(use_with doc html-xsl /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl) \ + $(use_with kerberos krb5) +} + +src_compile() { + emake all_nolibafs + local d + if use doc; then + for d in doc/xml/{AdminGuide,QuickStartUnix,UserGuide}; do + emake -C "${d}" html; + done + fi +} + +src_install() { + local OPENRCDIR="${WORKDIR}/gentoo/openrc" + local SYSTEMDDIR="${WORKDIR}/gentoo/systemd" + + emake DESTDIR="${ED}" install_nolibafs + + insinto /etc/openafs + doins src/afsd/CellServDB + echo "/afs:/var/cache/openafs:200000" > "${ED}"/etc/openafs/cacheinfo + echo "openafs.org" > "${ED}"/etc/openafs/ThisCell + + # pam_afs and pam_afs.krb have been installed in irregular locations, fix + if use pam ; then + dopammod "${ED}"/usr/$(get_libdir)/pam_afs* + fi + rm -f "${ED}"/usr/$(get_libdir)/pam_afs* || die + + # remove kdump stuff provided by kexec-tools #222455 + rm -rf "${ED}"/usr/sbin/kdump* + + # avoid collision with mit_krb5's version of kpasswd + mv "${ED}"/usr/bin/kpasswd{,_afs} || die + mv "${ED}"/usr/share/man/man1/kpasswd{,_afs}.1 || die + + # move lwp stuff around #200674 #330061 + mv "${ED}"/usr/include/{lwp,lock,timer}.h "${ED}"/usr/include/afs/ || die + mv "${ED}"/usr/$(get_libdir)/liblwp* "${ED}"/usr/$(get_libdir)/afs/ || die + # update paths to the relocated lwp headers + sed -ri \ + -e '/^#include <(lwp|lock|timer).h>/s:<([^>]*)>:<afs/\1>:' \ + "${ED}"/usr/include/*.h \ + "${ED}"/usr/include/*/*.h \ + || die + + # minimal documentation + use pam && doman src/pam/pam_afs.5 + dodoc "${WORKDIR}/gentoo/README" src/afsd/CellServDB + + # documentation package + if use doc ; then + dodoc -r doc/{arch,examples,protocol,txt} + dohtml -r doc/xml/* + fi + + # Gentoo related scripts + newinitd "${OPENRCDIR}"/openafs-client.initd openafs-client + newconfd "${OPENRCDIR}"/openafs-client.confd openafs-client + newinitd "${OPENRCDIR}"/openafs-server.initd openafs-server + newconfd "${OPENRCDIR}"/openafs-server.confd openafs-server + systemd_dotmpfilesd "${SYSTEMDDIR}"/tmpfiles.d/openafs-client.conf + systemd_dounit "${SYSTEMDDIR}"/openafs-client.service + systemd_dounit "${SYSTEMDDIR}"/openafs-server.service + + # used directories: client + keepdir /etc/openafs + keepdir /var/cache/openafs + + # used directories: server + keepdir /etc/openafs/server + diropts -m0700 + keepdir /var/lib/openafs + keepdir /var/lib/openafs/db + diropts -m0755 + keepdir /var/lib/openafs/logs + + # link logfiles to /var/log + dosym ../lib/openafs/logs /var/log/openafs +} + +pkg_preinst() { + ## Somewhat intelligently install default configuration files + ## (when they are not present) + local x + for x in cacheinfo CellServDB ThisCell ; do + if [ -e "${EROOT}"/etc/openafs/${x} ] ; then + cp "${EROOT}"/etc/openafs/${x} "${ED}"/etc/openafs/ + fi + done +} + +pkg_postinst() { + elog "This installation should work out of the box (at least the" + elog "client part doing global afs-cell browsing, unless you had" + elog "a previous and different configuration). If you want to" + elog "set up your own cell or modify the standard config," + elog "please have a look at the Gentoo OpenAFS documentation" + elog "(warning: it is not yet up to date wrt the new file locations)" + elog + elog "The documentation can be found at:" + elog " https://wiki.gentoo.org/wiki/OpenAFS" +} |