diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2005-07-27 20:15:58 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2005-07-27 20:15:58 +0000 |
commit | 68202eb6c983b03931cf16a2ed1ad510c1b9ae84 (patch) | |
tree | dc8402837cbf7e73d657b78bdd45d1554de83fd9 /net-fs/openafs-legacy | |
parent | Stable on sparc (diff) | |
download | historical-68202eb6c983b03931cf16a2ed1ad510c1b9ae84.tar.gz historical-68202eb6c983b03931cf16a2ed1ad510c1b9ae84.tar.bz2 historical-68202eb6c983b03931cf16a2ed1ad510c1b9ae84.zip |
new package for creating symlinks for legacy openafs locations
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-fs/openafs-legacy')
-rw-r--r-- | net-fs/openafs-legacy/ChangeLog | 15 | ||||
-rw-r--r-- | net-fs/openafs-legacy/Manifest | 4 | ||||
-rw-r--r-- | net-fs/openafs-legacy/files/digest-openafs-legacy-0.1 | 0 | ||||
-rw-r--r-- | net-fs/openafs-legacy/metadata.xml | 14 | ||||
-rw-r--r-- | net-fs/openafs-legacy/openafs-legacy-0.1.ebuild | 71 |
5 files changed, 104 insertions, 0 deletions
diff --git a/net-fs/openafs-legacy/ChangeLog b/net-fs/openafs-legacy/ChangeLog new file mode 100644 index 000000000000..f19fd5e49e54 --- /dev/null +++ b/net-fs/openafs-legacy/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for net-fs/openafs-legacy +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-legacy/ChangeLog,v 1.1 2005/07/27 20:15:58 seemant Exp $ + +*openafs-legacy-0.1 (27 Jul 2005) + + 27 Jul 2005; Seemant Kulleen <seemant@gentoo.org> +metadata.xml, + +openafs-legacy-0.1.ebuild: + New package, created by: Stefaan Deroeck <stefaan.deroeck@gmail.com> + As a guide for these links, acinclude.m4 from the openafs package was + used. A README file exists as well, but at the time of writing, the + afsbosserver-variable was inaccurately described. The idea here is that the + new openafs ebuilds install into FHS correct locations, despite the + protestations of one Martin Mokrejs <mmokrejs@ribosome.natur.cuni.cz>. + Please do not use this, as it is only useful with openafs-1.2.13 and openafs-1.3.85 and up. diff --git a/net-fs/openafs-legacy/Manifest b/net-fs/openafs-legacy/Manifest new file mode 100644 index 000000000000..9de5409995f3 --- /dev/null +++ b/net-fs/openafs-legacy/Manifest @@ -0,0 +1,4 @@ +MD5 79b0b4097fd5f63ee27e9bd403223ac3 metadata.xml 397 +MD5 66567f419260a0719b7b595e77ea4049 openafs-legacy-0.1.ebuild 1850 +MD5 9e18ce25c6875e05771472755bc816ac ChangeLog 880 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-openafs-legacy-0.1 0 diff --git a/net-fs/openafs-legacy/files/digest-openafs-legacy-0.1 b/net-fs/openafs-legacy/files/digest-openafs-legacy-0.1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/net-fs/openafs-legacy/files/digest-openafs-legacy-0.1 diff --git a/net-fs/openafs-legacy/metadata.xml b/net-fs/openafs-legacy/metadata.xml new file mode 100644 index 000000000000..588c67f1e7c7 --- /dev/null +++ b/net-fs/openafs-legacy/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-fs</herd> +<maintainer> + <email>stefaan.deroeck@gmail.com</email> + <name>Stefaan Deroeck</name> +</maintainer> +<maintainer> + <email>seemant@gentoo.org</email> + <name>Seemant Kulleen</name> + <description>Proxy Maintainer</description> +</maintainer> +</pkgmetadata> diff --git a/net-fs/openafs-legacy/openafs-legacy-0.1.ebuild b/net-fs/openafs-legacy/openafs-legacy-0.1.ebuild new file mode 100644 index 000000000000..ecf9a92dced7 --- /dev/null +++ b/net-fs/openafs-legacy/openafs-legacy-0.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-legacy/openafs-legacy-0.1.ebuild,v 1.1 2005/07/27 20:15:58 seemant Exp $ + +DESCRIPTION="Package that provides access to a FHS compliant OpenAFS installation through soft-links at legacy paths" +HOMEPAGE="http://www.gentoo.org/ http://www.openafs.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ia64 ~alpha" + +DEPEND="sys-apps/baselayout" +PDEPEND="net-fs/openafs" + +# As a guide for these links, acinclude.m4 from the openafs package was +# used. A README file exists as well, but at the time of writing, the +# afsbosserver-variable was inaccurately described. + +src_compile() { + ebegin "Nothing to compile" + eend $? +} + +src_install() { + # some basenames for FHS paths + sysconfdir=/etc + libexecdir=/usr/libexec + localstatedir=/var/lib + sbindir=/usr/sbin + + # create parent directories for Transarc mode + dodir /usr/{vice,afs} + + # viceetcdir + viceetcdir=${sysconfdir}/openafs + dosym ${viceetcdir} /usr/vice/etc + + # afssrvdir + afssrvbindir=${libexecdir}/openafs + dosym ${afssrvbindir} /usr/afs/bin + + # afsconfdir + afsconfdir=${sysconfdir}/openafs/server + dosym ${afsconfdir} /usr/afs/etc + + # afslocaldir + afslocaldir=${localstatedir}/openafs + dosym ${afslocaldir} /usr/afs/local + + # afsdbdir + afsdbdir=${localstatedir}/openafs/db + dosym ${afsdbdir} /usr/afs/db + + # afslogdir + afslogdir=${localstatedir}/openafs/logs + dosym ${afslogdir} /usr/afs/logs + + # afsbosconfig + dodir ${afslocaldir} + dosym ${viceetcdir}/BosConfig ${afslocaldir}/BosConfig + + # afsbosserver + dodir ${afssrvbindir} + dosym ${sbindir}/bosserver ${afssrvbindir}/bosserver +} + +pkg_prerm() { + ewarn "It is recommended to remove this package AFTER removing openafs" + ewarn "This way there will be no dead links left lying around" +} + |