diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2015-05-03 14:35:58 +0000 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2015-05-03 14:35:58 +0000 |
commit | 9f8a329301d0143e16094a6861922d19ec8037e8 (patch) | |
tree | b29f55a5caecb49c123e095289f23ab291085e20 /net-fs | |
parent | Version bump (diff) | |
download | historical-9f8a329301d0143e16094a6861922d19ec8037e8.tar.gz historical-9f8a329301d0143e16094a6861922d19ec8037e8.tar.bz2 historical-9f8a329301d0143e16094a6861922d19ec8037e8.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 | 8 | ||||
-rw-r--r-- | net-fs/openafs-kernel/Manifest | 32 | ||||
-rw-r--r-- | net-fs/openafs-kernel/openafs-kernel-1.6.11.1.ebuild | 117 | ||||
-rw-r--r-- | net-fs/openafs/ChangeLog | 7 | ||||
-rw-r--r-- | net-fs/openafs/Manifest | 32 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.6.11.1.ebuild | 176 |
6 files changed, 342 insertions, 30 deletions
diff --git a/net-fs/openafs-kernel/ChangeLog b/net-fs/openafs-kernel/ChangeLog index cb1d74725f06..672b46ae3a2e 100644 --- a/net-fs/openafs-kernel/ChangeLog +++ b/net-fs/openafs-kernel/ChangeLog @@ -1,6 +1,12 @@ # 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.170 2015/05/01 15:35:54 bircoph Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.171 2015/05/03 14:34:58 bircoph Exp $ + +*openafs-kernel-1.6.11.1 (03 May 2015) + + 03 May 2015; Andrew Savchenko <bircoph@gentoo.org> + +openafs-kernel-1.6.11.1.ebuild: + Version bump. 01 May 2015; Andrew Savchenko <bircoph@gentoo.org> metadata.xml: Remove inactive maintainer. diff --git a/net-fs/openafs-kernel/Manifest b/net-fs/openafs-kernel/Manifest index 7a32bc65b7db..5df05a08ad2f 100644 --- a/net-fs/openafs-kernel/Manifest +++ b/net-fs/openafs-kernel/Manifest @@ -4,23 +4,27 @@ 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.11.1-doc.tar.bz2 3530413 SHA256 cb398583931e7f0edf17b2321a858afc62cffa3c48cf69021eccc198d3e764f9 SHA512 bcf48ae1e4f12a758adf3f64b60738cce6853501d66dce594df75d28687e939b2f369b485e27fbe116bd14816277c39ebe213f65f20c9ca6ab76946742ee18f8 WHIRLPOOL 6d8f5a2e602d4388dfca8634b7f5a8545bb39e5859b012700e0a361b4d7151eb8a6493e7a18f408a1ab54f083dfc4b0e8ca310c7772f5144dd0083af5b7488af +DIST openafs-1.6.11.1-src.tar.bz2 14603197 SHA256 ae1a87faec8ee273f7d4baa69d1346f798415b38de72888decde011405423dc7 SHA512 43238d16d52498c62f6de944e030edeafdce9373074f961820d383bf82034511a484e79f1f655d5152f39abb38dfb744a9d02c47bb762c59e505de165bcc5579 WHIRLPOOL eb56015aaec4aa8c2a0d5aa901f4291a043e373d533bed5a48620e3b3a472226599dd083a4837ecc5a8763e7448ed1fb8c08aeec7ca53cf82db8be39d63dc522 +DIST openafs-patches-20150503.tar.xz 9736 SHA256 066f61fe795e2cb3235a0a991abe8c5e876758bae7ea9bec61e98a3f601c9d7d SHA512 c687be78c7a6442b81c1362cab6ba215301911bdefcf39d2758ffeddecfa3efaa67990ea8277bbc1dedc14ad70a33213a37dbc45c43cd53871eec089759596c6 WHIRLPOOL 0935946c9a535f8e9ce6dd292801c671aef1c40f2a3f51aa4a85e5f4181fb46c3b2df55be56eec56c7fcab0eaf27d97cc6cef98c1b70178ba8cd7258174036cf +EBUILD openafs-kernel-1.6.11.1.ebuild 3529 SHA256 8c4d649a0d72b582767810fbd16a70914a68e89f272a06572794ac8e3a418f25 SHA512 e87c8ee4ec79b3c1cb3d110c6eca7a567f47ddddc3849675a84e64ba75a0b808a3494bae4430c73073463e61a2c7d8ec68fa0264d68f258e82aeef454072c22a WHIRLPOOL f8d9113f4aa36cc734184f24af2962460f4541c8551fccd3d8975a5c2c30aa09a7ae8abd4ec6ed532a337fc19f88a95ae52f41790d2f8322fb7ba01a79cac6af EBUILD openafs-kernel-1.6.11.ebuild 3503 SHA256 2add102530d410f40b9db4a29bfb45d6cbc1a8eecf75820a5299cd38c56e5f5e SHA512 55d798144a5956355fc884bb3791f9ba6729ac7773a528d800b72c34e02d34877f97762f485c15cf9ce09cd8565c40c69fa07242b81f314dcce174175e932d79 WHIRLPOOL 65b0be8227bcbc438049e0833cf5e0aa9111a1b180dc162e21f529cb9199f7fbc3547db6fe2602140b96986920d26d48a2793cbea59144bcde872e1aa2ee07d8 -MISC ChangeLog 28722 SHA256 3f0a808df1ba7b95b8ae22019e9398fc2cff8c05f54fbd3798e28e2883534842 SHA512 b21aab7bb3855fd55a78233abce7b43e8571e705615ab6fac592113e17037997b6e0e59d409d43981fd854219cb73883786ca53c6efa64f5670541cee8231c09 WHIRLPOOL 6a1390fe70225effbfc07199ee81c301194ff7849fc14d4a8699f89c5960ea3aeb3f35534188c3871992cdfcefa0acf144a659b7980900a1c30dffb6c3bc462a +MISC ChangeLog 28867 SHA256 6ddcc1c0dc8c2c8a1e07147491d9f8fb6e9a7a7864773cd0b6e8e61ef3d6353b SHA512 76b1e1a133a9aed64bd8bfbc8a33264d12a7cfb7ff0217ee53b32cd0cb83d3de5f99f8e69df82e61f865899fae28fafa955f4c7255b3cec73efa64d23a1c6bdd WHIRLPOOL 3bd3a835eea55bd206a10029d585637a61efb5526f4d3eb96096014b4a3db728ef202b254d0ef1a71e315581fca075d955f486b0a930fe591e3041e7d20ac60b MISC metadata.xml 633 SHA256 442bb9cf1629f19c8bfc8ad6248563a76f233be7fe96d3ff4f1eadcda47f0a3d SHA512 d8ddd9400c4f0032905cf5888d87bfdc527c5ce5adff87a64227465146256b9d9969d6fe69dc9dac728ebdb145becde0daf7f290df15bbeaf083ae94b95caff0 WHIRLPOOL b821ce56f3d82d7ef161cca489bc2dc1f8cfe55783eb4c7370edf9f8bd7f674f9fbc4c763e4c633ac0d34fc505dd20d6401e9512ca0d2f04dbae5a7cab602c97 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJ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BdWaozt98DcnrZVlwazLfJkv64BYy3vClXvpbXBnuFSCyshmDshv +7uuqARWZyHgEQT1kPNgj6FQPLIqYCxYdC683EcVZY17ic8P62i7UEG7KUTrciW46 +AYHVmWRh9wUHICq0P3CmwNlvL6sDSgh/cCgyYX35wyRaytcq92jQlwEqTOQtB1Cc +z2Q2X30dBwbElmlmUEpaDrjzwpyf+uZ1+OrHpoLXxm5E9dmwmB58YYOMYBWkoBDD +9oOu6dQdyo2yaN2YlpdgW+kjY13unrHn9Gdp+pgK+VtyXGvMnMzCLuX1V+CqqxCt +mheLjkUM6VARo31xINzyb5DuPu48FWWtl7AcJnZhZcxG4whWOKDlP0Y2F4jl9sKE +Iz/xuDeToKz0nxOGVALV +=FXkM -----END PGP SIGNATURE----- diff --git a/net-fs/openafs-kernel/openafs-kernel-1.6.11.1.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.6.11.1.ebuild new file mode 100644 index 000000000000..b7ab692485a7 --- /dev/null +++ b/net-fs/openafs-kernel/openafs-kernel-1.6.11.1.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.1.ebuild,v 1.1 2015/05/03 14:34:58 bircoph Exp $ + +EAPI="5" + +inherit autotools eutils linux-mod multilib toolchain-funcs versionator + +MY_PV=$(delete_version_separator '_') +MY_PN="${PN/-kernel}" +MY_P="${MY_PN}-${MY_PV}" +PVER="20150503" + +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_PN}-patches-${PVER}.tar.xz +" + +LICENSE="IBM BSD openafs-krb5-a APSL-2" +SLOT="0" +KEYWORDS="~amd64 ~amd64-fbsd ~amd64-linux ~sparc ~x86 ~x86-fbsd ~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 1 ; then + ewarn "Gentoo supports kernels which are supported by OpenAFS" + ewarn "which are limited to the kernel versions: <4.1" + 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 087eb537c854..683f2dd084d9 100644 --- a/net-fs/openafs/ChangeLog +++ b/net-fs/openafs/ChangeLog @@ -1,6 +1,11 @@ # 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.207 2015/05/01 15:34:04 bircoph Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.208 2015/05/03 14:35:52 bircoph Exp $ + +*openafs-1.6.11.1 (03 May 2015) + + 03 May 2015; Andrew Savchenko <bircoph@gentoo.org> +openafs-1.6.11.1.ebuild: + Version bump. 01 May 2015; Andrew Savchenko <bircoph@gentoo.org> metadata.xml: Remove inactive maintainer. diff --git a/net-fs/openafs/Manifest b/net-fs/openafs/Manifest index 92efb90ee132..9d6e1c0cf23a 100644 --- a/net-fs/openafs/Manifest +++ b/net-fs/openafs/Manifest @@ -4,23 +4,27 @@ 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.11.1-doc.tar.bz2 3530413 SHA256 cb398583931e7f0edf17b2321a858afc62cffa3c48cf69021eccc198d3e764f9 SHA512 bcf48ae1e4f12a758adf3f64b60738cce6853501d66dce594df75d28687e939b2f369b485e27fbe116bd14816277c39ebe213f65f20c9ca6ab76946742ee18f8 WHIRLPOOL 6d8f5a2e602d4388dfca8634b7f5a8545bb39e5859b012700e0a361b4d7151eb8a6493e7a18f408a1ab54f083dfc4b0e8ca310c7772f5144dd0083af5b7488af +DIST openafs-1.6.11.1-src.tar.bz2 14603197 SHA256 ae1a87faec8ee273f7d4baa69d1346f798415b38de72888decde011405423dc7 SHA512 43238d16d52498c62f6de944e030edeafdce9373074f961820d383bf82034511a484e79f1f655d5152f39abb38dfb744a9d02c47bb762c59e505de165bcc5579 WHIRLPOOL eb56015aaec4aa8c2a0d5aa901f4291a043e373d533bed5a48620e3b3a472226599dd083a4837ecc5a8763e7448ed1fb8c08aeec7ca53cf82db8be39d63dc522 +DIST openafs-patches-20150503.tar.xz 9736 SHA256 066f61fe795e2cb3235a0a991abe8c5e876758bae7ea9bec61e98a3f601c9d7d SHA512 c687be78c7a6442b81c1362cab6ba215301911bdefcf39d2758ffeddecfa3efaa67990ea8277bbc1dedc14ad70a33213a37dbc45c43cd53871eec089759596c6 WHIRLPOOL 0935946c9a535f8e9ce6dd292801c671aef1c40f2a3f51aa4a85e5f4181fb46c3b2df55be56eec56c7fcab0eaf27d97cc6cef98c1b70178ba8cd7258174036cf +EBUILD openafs-1.6.11.1.ebuild 5177 SHA256 d3d5604b9f8896e7f2e52cd7441f32428242e975a4d261d3bac02728cf7630f9 SHA512 1533d553354ca0b13ba2e2e20192eeeb8449ed1bf9d81b20385c151ded0945b83caa1a782611af77e70ca551f5b757f442758b671ad54c2900b97f240ac25602 WHIRLPOOL 17e124f6c17729271ea152d28573c4699b94e44aa071e26174dea61c1a6bd21a8be5b0eb86d6ccf878215a8c919fdf0d4411f72ae20192127fb989bdde910179 EBUILD openafs-1.6.11.ebuild 5143 SHA256 592aa193c882491a2d51f6195c8b86d80fddc15bd32d3bfe3f4d30154ba25362 SHA512 c00925fdd1bfb923bc5511b2ae0bd7ad9db2698cb71e314e36afd544ab688a67b89ef03790d42d2aead3e673cbfc61656e153db68d38e7bbfe43e56bc6d4f61f WHIRLPOOL 88792845290212e932b263b20cf86dface2295f80b679c7bb1685f9ff885524d6dfd83bd9b8e4f6d01fa244fe6d5b25716eba1c7893172b6452410f043320ba3 -MISC ChangeLog 33298 SHA256 078d169b399fbf40ea08e712e67ce68aaa745cdd05bdf50fd2e010b4da960559 SHA512 28f2f18bbce11d4c84f824ef4abcd899fcca3a626348baaed06e1c85917ec993a8a60ab4d0ad3455bbf05c5933c189a06215d0126be50a57f1ebe38d7603aaa5 WHIRLPOOL 0e2f0a4a585db33613fe7d1b1ed2362013db2cf1ef2703645bf71fd47e31e2e88d43268ec0f1f5b07c0de59770f717abd071d216dfb04c2b742d7e35c8f35a93 +MISC ChangeLog 33427 SHA256 5f70727f99d792fea049522e86c69f44240fd671b2f7caecb2ef44cbcaae2b53 SHA512 6ef5175828d6721654aeff24e7bc2707b476a49b1a659d229df0dc836f2ac36a61099dde48b218947529e11ee7c227099cd098ae76a4f74456197a814141e588 WHIRLPOOL f13ed96c960bfa7d5c376362ef3b969e52d1eeb52b7634efe59bd352436e1e73cfa00499b1b0b9df5a9e2da3ad54f726eb8e24238c6df7c0a70de5cbabe4aea1 MISC metadata.xml 798 SHA256 5cfd52d185fab0f797f7540a1a735145e048fac8580c0980c8f42f57f1b0980a SHA512 0cc8e8045221de543915002564a221d06971f385637cec33b97ccb263ac225830bf304e7056c684293f01c4f4a2a203ebc43d46fc2e91af943402317e61a933b WHIRLPOOL ab6a8ee10061ef9c30aa717191bc792d5c54a0aec3feb727a85dd6e8fb99b9c09377366d0adc215077edf5deeec50c69213ece76645e548832f6eff2bbd79458 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVQ5ztAAoJEPZTWjO6HuSNzAkQALhF2/VcRPd3qRu/TrQAeJ2k -SDTD8PwUZ1dzIz5XxUHHvfs1kMAeYoPVOoBZ4SeLEotZ+Zdfv7mwAv5zTmP+cmRy -8kqFEF7u2VR6kUEqA1gJEs64mmMsL1M5baVyI6BpfJQaUGHFDO9WeBbjP7gr7O/c -Qmp/Yd5GwL7LHibW9RZLcoHutC3vRF3F4yb9kkCJGZo/Vl2lY+OdUTMsJkS7Voj9 -rkqVSJIvnK37jyzi9VwDnxfynbWIqCx09SDua7M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1xELy+DY8cnc6YwmIgl7TMk2IlM +GPGmKzzrko98Twth5N0ILWbEYteysDsB0rSf6hdwNds170L7Zhg8rruhcAYgs83s +0K0GcS/HYErX0qRje+Je +=7Xvf -----END PGP SIGNATURE----- diff --git a/net-fs/openafs/openafs-1.6.11.1.ebuild b/net-fs/openafs/openafs-1.6.11.1.ebuild new file mode 100644 index 000000000000..37e01a946e07 --- /dev/null +++ b/net-fs/openafs/openafs-1.6.11.1.ebuild @@ -0,0 +1,176 @@ +# 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.1.ebuild,v 1.1 2015/05/03 14:35:52 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}" +PVER="20150503" + +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/${PN}-patches-${PVER}.tar.xz +" + +LICENSE="IBM BSD openafs-krb5-a APSL-2" +SLOT="0" +KEYWORDS="~amd64 ~amd64-linux ~sparc ~x86 ~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" +} |