summaryrefslogtreecommitdiff
path: root/net-fs/openafs-legacy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-fs/openafs-legacy
reinit the tree, so we can have metadata
Diffstat (limited to 'net-fs/openafs-legacy')
-rw-r--r--net-fs/openafs-legacy/Manifest4
-rw-r--r--net-fs/openafs-legacy/metadata.xml5
-rw-r--r--net-fs/openafs-legacy/openafs-legacy-0.1.ebuild70
3 files changed, 79 insertions, 0 deletions
diff --git a/net-fs/openafs-legacy/Manifest b/net-fs/openafs-legacy/Manifest
new file mode 100644
index 000000000000..19c96f0e7793
--- /dev/null
+++ b/net-fs/openafs-legacy/Manifest
@@ -0,0 +1,4 @@
+EBUILD openafs-legacy-0.1.ebuild 1664 SHA256 d189cfe577e9ae3afb84b7ff08c4de1f2f6bbaaa849bcdcfaf9dbdfd180dc1da SHA512 cf234b6d1bdaec912e8e17114dc83966d9bc6a20b4f4fb79a121b6a144e3bda9eb28a17019ba667a6e5fbb2389434220d70be6a4354890b7b5a2eb3819a02e6e WHIRLPOOL c998939a4381f3390d8066e85ade44defa2b52fabac57e61b4853304b71f12d48b8c7f16934905bbf89678559e31a500fa5e4af203b8a472e5fd28b2010c6834
+MISC ChangeLog 2471 SHA256 000963ab8ba3551f9adf4483c1c8f2f9c6ec49516f0cad4b221ee93ad7252187 SHA512 ecbe8d24d73b210a438589f3d35227b0ea0fcbc3f1f3a01d1368ae37599c87178063a2253cef420c216a5866f9058ab48fdb9610cbb296c532f5d4d163321a65 WHIRLPOOL c169aba67e0fa0fef535ef6fe1d38c3928683752d215e474c3730669b4eba3b75d11855af59f417f2ae2c1238493dd7044dd8508535712760659895143d66cb7
+MISC ChangeLog-2015 2113 SHA256 572eb2cda14a2a7b46374319d93bfc34c353cd3f1906b0890c41350d6dbd7cfc SHA512 5ffae9041a00fba488921ec29c4623a63c0e0c1efe720d198431509e5a86ca87f547f86fcafe138b3a96a28f2ef6406180525dd7a22c28ef14af82d0722c9269 WHIRLPOOL 522a2eabfae9dcb4f0e0469694ad5975cba50c9cf74e1907c43548ec82f9e7d713e61b8acb07378f29735818de9ba1e627e47d8e2392f5a5c4aad52fc271afc1
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/net-fs/openafs-legacy/metadata.xml b/net-fs/openafs-legacy/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/net-fs/openafs-legacy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</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..5ad939b711b2
--- /dev/null
+++ b/net-fs/openafs-legacy/openafs-legacy-0.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Legacy path symlinks to access FHS-compliant OpenAFS installation"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-apps/baselayout"
+RDEPEND="${DEPEND}"
+PDEPEND="net-fs/openafs"
+
+S="${WORKDIR}"
+
+# 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_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"
+}