diff options
author | Stefaan De Roeck <stefaan@gentoo.org> | 2011-03-19 13:07:05 +0000 |
---|---|---|
committer | Stefaan De Roeck <stefaan@gentoo.org> | 2011-03-19 13:07:05 +0000 |
commit | 385edd89dc2284154bfc7122a00e7f3362f49fb3 (patch) | |
tree | d438c7f5d50b92742fd611ed589266495b3936ae /net-fs | |
parent | Add new 1.6 release candidate (diff) | |
download | historical-385edd89dc2284154bfc7122a00e7f3362f49fb3.tar.gz historical-385edd89dc2284154bfc7122a00e7f3362f49fb3.tar.bz2 historical-385edd89dc2284154bfc7122a00e7f3362f49fb3.zip |
Add new 1.6 release candidate
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/openafs/ChangeLog | 7 | ||||
-rw-r--r-- | net-fs/openafs/Manifest | 16 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.6.0_pre2.ebuild | 148 |
3 files changed, 159 insertions, 12 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog index 461577aeeb14..58cff3b81ecd 100644 --- a/net-fs/openafs/ChangeLog +++ b/net-fs/openafs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-fs/openafs # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.169 2011/01/25 21:07:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.170 2011/03/19 13:07:05 stefaan Exp $ + +*openafs-1.6.0_pre2 (19 Mar 2011) + + 19 Mar 2011; <stefaan@gentoo.org> +openafs-1.6.0_pre2.ebuild: + Add new 1.6 release candidate *openafs-1.4.14-r1 (25 Jan 2011) diff --git a/net-fs/openafs/Manifest b/net-fs/openafs/Manifest index d51455b6541b..a0f3e1057565 100644 --- a/net-fs/openafs/Manifest +++ b/net-fs/openafs/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - DIST openafs-1.4.12.1-doc.tar.bz2 3721359 RMD160 ea16d4aa03e87e2d0b4f1ad98a955cf07e561261 SHA1 1c9dcc41de19470953fa339e4cfea1b0e780b9fd SHA256 297e7e70fac13505843afcbf48f2d49a9c9c07ff8cfcdb698fe256b565919c91 DIST openafs-1.4.12.1-patches-2.tar.bz2 12632 RMD160 93f910ba4806d83bd3f9da870d54b6557ad40054 SHA1 f9a208be0f79dcda407bec1466d340530d9d1994 SHA256 488ae2cc366ba600f8a1ef10459c662abd076683c9ea34694276e873caaf54a0 DIST openafs-1.4.12.1-src.tar.bz2 11797335 RMD160 5c0d370a52faa2f7787b9c321cbfe733ae212be1 SHA1 b91a4d6213af1b31311b089a85e729b52980c18b SHA256 2335542deba8e1c1751d0586f88adf7fdc642305241c0ebb896f4d264dd6298e @@ -12,6 +9,9 @@ DIST openafs-1.4.9-doc.tar.bz2 2983594 RMD160 d0e1bfae41d4b6e3591cc32b438a4c9edc DIST openafs-1.4.9-src.tar.bz2 11537589 RMD160 f5652e5576fd67a058dece1eff7481f7a9ced080 SHA1 b1816b45f09a8009a1fa19860c27aa7abdf5ee4d SHA256 e190a1b22d23cb549aa61b7dcdf2e19b1b3904c1d9a286749aca18660bc200de DIST openafs-1.5.34-doc.tar.bz2 3268687 RMD160 c7824edf73b4cd8f0929cf7d4fab5b4c17aebb80 SHA1 f449554f6419106cd679238ee2a7211777ae638e SHA256 ab5da4a359e61ef9b81e5059e470ea066c67e6bd8bc2a898f704aff2c42cfef3 DIST openafs-1.5.34-src.tar.bz2 12151866 RMD160 188f79e90de1eaa8457f2c5612cb2512a2e996e5 SHA1 11d9526b46395397a15ea83654584aaf61c7e594 SHA256 015f448bbc05e2b774858a6adfad1a37ce4d4aa402c6f63325c638d0153912b9 +DIST openafs-1.6.0_pre2-patches-1.tar.bz2 9782 RMD160 334688e56c54c47e91014b01f34204049f899dee SHA1 52b5adb06ca1c576282803f27cd0340afd3f7df8 SHA256 01a5cb8b1dd6ab3fdb7e509a91911e0b13723ba1074b2eed90dcfc46df877036 +DIST openafs-1.6.0pre2-doc.tar.bz2 3472280 RMD160 4013ef2a2d9a626ce221f88e3402e273ad4f71f2 SHA1 77804f962b37d7c7d552abb9d6cfe77c6b3c791e SHA256 c3ed34578e02ae4a7bc99f8b006a4ab2b2cd67e35616489d5f0c6ebe7a2f2ea7 +DIST openafs-1.6.0pre2-src.tar.bz2 14261701 RMD160 a1b147a16aaedd7c32e0c6ab62b30b740a4c0446 SHA1 6a086331da64189fdc23cf5da75ff847e942a7c7 SHA256 a221f9fa2b18645d6799adb1ba838a3bfac7e5d444f5823b2c374d7fea02c481 DIST openafs-gentoo-0.14.tar.bz2 18293 RMD160 2a7ed8a40395d402de2f972fe0f96154d811e2b6 SHA1 dbff67178e7eae1bdbd5af43f6bedaeb747bd25a SHA256 e27918d395d656659b6f0d288d8a4d2501bd4ca6582824b8f3bbd420b06e6f6c DIST openafs-gentoo-0.15.tar.bz2 20155 RMD160 40270539fe8992f76953b6ab5f133ec23b017316 SHA1 8f985eb753786c9289721cc7818d96112a5310fc SHA256 3448b50e839826f3fe09ae95a593030a8029c5a769744e74b6d8f3f52f03f940 EBUILD openafs-1.4.12.1-r2.ebuild 4324 RMD160 cfef537ff1b69dcf7efd8fbba0598b07b0b207d9 SHA1 d0dbe727221a592f8f52afc7b714ec9ead05f7ad SHA256 1bd27c0cd2949deee2c79f16cf099b5370c87e946cd745553012aff6fd9168e7 @@ -19,12 +19,6 @@ EBUILD openafs-1.4.14-r1.ebuild 4322 RMD160 fce4e9c41bf4eca58b519527376cc5b62e6a EBUILD openafs-1.4.14.ebuild 4319 RMD160 3e7743a678bef5434972b09e80c89860b533e80d SHA1 a9ef5797e351ce81085499a09a27bf56c1fa7f27 SHA256 25b7d8a87b8bec757b459c63c2c5f63fbcdaa31f04236ad1a43dedd31321aec2 EBUILD openafs-1.4.9.ebuild 4588 RMD160 b9f2cad932b3d8fe39ae2e86268b6f6d201132a8 SHA1 ee4483d117f6d458fe119333d955d7fe373afb8e SHA256 0351b7c9e0e2c9b5d0c5d878fb0c2b4a29d7aa111666fc7f545245c107c16229 EBUILD openafs-1.5.34.ebuild 4260 RMD160 70b62797335398fa841121589299d84808160a6d SHA1 d17fb635c824096a8a5ccd7f534af7918abb92f8 SHA256 1deb70901d5d3daacb6e4823618d8b87ee25d2a16963fd21850ce3c5482b56ba -MISC ChangeLog 27127 RMD160 ea258e4ae6c6979e9e04c88147ab84f4fb018644 SHA1 6449db71796f89831a4ff111dad94064265d7b55 SHA256 25eb6890884743204b00883e01c11d7c80a83b7920352d11b6e272223d3d5f97 +EBUILD openafs-1.6.0_pre2.ebuild 4339 RMD160 ea3f2afa352cf8be1899d8ea733ebf163026f4bf SHA1 beea920794f9fea52316950984c45eb8d298496d SHA256 73fe85a532e6bf41bfe0c8ca98f7fad461c71796f220d1bd0b78a1f2ba794a1e +MISC ChangeLog 27260 RMD160 f2f52a18a60f457bdc61be34b4bf47644b367191 SHA1 f6057ae651ab9c7121c95bb92554e32f340a0643 SHA256 0630d25151008e870ce99e9001d9aa4e82f827749db9643f126d5044d0498d34 MISC metadata.xml 348 RMD160 4ad6baa2e922d8ab7a2ceb6587d98203c4693d3b SHA1 e4c2d8e5cadb6a474828228d5d34331eb41ba25f SHA256 173c0aaaba2d44913bbb77a69c9821b86450e76990f7b2c3a2af7798afcd12d6 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iF4EAREIAAYFAk0/O4oACgkQaC/OocHi7JYp5wD/Wr0xw4lg7QysXkRCshLn9jGg -15raM++p1Gmh7s8wFfEBAIPdvqaZWBLvyMxEkomiVS13uAP/NNjWA3etx0yZcd6n -=9Jzj ------END PGP SIGNATURE----- diff --git a/net-fs/openafs/openafs-1.6.0_pre2.ebuild b/net-fs/openafs/openafs-1.6.0_pre2.ebuild new file mode 100644 index 000000000000..718fde28ef04 --- /dev/null +++ b/net-fs/openafs/openafs-1.6.0_pre2.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.6.0_pre2.ebuild,v 1.1 2011/03/19 13:07:05 stefaan Exp $ + +EAPI="2" + +inherit flag-o-matic eutils toolchain-funcs versionator pam + +MY_PV=$(delete_version_separator '_') +MY_P="${PN}-${MY_PV}" +S="${WORKDIR}/${MY_P}" +PVER="1" +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 +SRC_URI="http://openafs.org/dl/candidate/${MY_PV}/${MY_P}-src.tar.bz2 + http://openafs.org/dl/candidate/${MY_PV}/${MY_P}-doc.tar.bz2 + mirror://gentoo/${P}-patches-${PVER}.tar.bz2" + +LICENSE="IBM BSD openafs-krb5-a APSL-2 sun-rpc" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="doc kerberos pam" + +RDEPEND="~net-fs/openafs-kernel-${PV} +pam? ( sys-libs/pam ) + kerberos? ( virtual/krb5 )" + +src_prepare() { + EPATCH_EXCLUDE="012_all_kbuild.patch" \ + EPATCH_SUFFIX="patch" \ + epatch "${WORKDIR}"/gentoo/patches + + # packaging is f-ed up, so we can't run automake (i.e. eautoreconf) + sed -i '/^a/s:^:e:' regen.sh + skipman=1 + . regen.sh +} + +src_configure() { + # cannot use "use_with" macro, as --without-krb5-config crashes the econf + local myconf="" + if use kerberos; then + myconf="--with-krb5-conf=$(type -p krb5-config)" + fi + + AFS_SYSKVERS=26 \ + XCFLAGS="${CFLAGS}" \ + econf \ + $(use_enable pam) \ + --enable-supergroups \ + --disable-kernel-module \ + --disable-strip-binaries \ + ${myconf} +} + +src_compile() { + emake all_nolibafs || die +} + +src_install() { + local CONFDIR=${WORKDIR}/gentoo/configs + local SCRIPTDIR=${WORKDIR}/gentoo/scripts + + emake DESTDIR="${D}" install_nolibafs || die + + insinto /etc/openafs + doins src/afsd/CellServDB || die + echo "/afs:/var/cache/openafs:200000" > "${D}"/etc/openafs/cacheinfo + echo "openafs.org" > "${D}"/etc/openafs/ThisCell + + # pam_afs and pam_afs.krb have been installed in irregular locations, fix + if use pam ; then + dopammod "${D}"/usr/$(get_libdir)/pam_afs* || die + fi + rm -f "${D}"/usr/$(get_libdir)/pam_afs* || die + + # remove kdump stuff provided by kexec-tools #222455 + rm -rf "${D}"/usr/sbin/kdump* + + # avoid collision with mit_krb5's version of kpasswd + mv "${D}"/usr/bin/kpasswd{,_afs} || die + mv "${D}"/usr/share/man/man1/kpasswd{,_afs}.1 || die + + # move lwp stuff around #200674 #330061 + mv "${D}"/usr/include/{lwp,lock,timer}.h "${D}"/usr/include/afs/ || die + mv "${D}"/usr/$(get_libdir)/liblwp* "${D}"/usr/$(get_libdir)/afs/ || die + # update paths to the relocated lwp headers + sed -ri \ + -e '/^#include <(lwp|lock|timer).h>/s:<([^>]*)>:<afs/\1>:' \ + "${D}"/usr/include/*.h \ + "${D}"/usr/include/*/*.h \ + || die + + # minimal documentation + use pam && doman src/pam/pam_afs.5 + dodoc "${CONFDIR}"/README src/afsd/CellServDB + + # documentation package + if use doc ; then + dodoc doc/{arch,examples,pdf,protocol,txt}/* + dohtml -A xml -r doc/{html,xml}/* + fi + + # Gentoo related scripts + newinitd "${SCRIPTDIR}"/openafs-client openafs-client || die + newconfd "${CONFDIR}"/openafs-client openafs-client || die + newinitd "${SCRIPTDIR}"/openafs-server openafs-server || die + newconfd "${CONFDIR}"/openafs-server openafs-server || die + + # 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 "${ROOT}"/etc/openafs/${x} ] ; then + cp "${ROOT}"/etc/openafs/${x} "${D}"/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 " http://www.gentoo.org/doc/en/openafs.xml" +} |