aboutsummaryrefslogtreecommitdiffstats
path: root/sys-apps
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-01-13 15:59:49 +0100
committerWynn Wolf Arbor2020-01-13 15:59:49 +0100
commit90b60b5044587535e792ed5410acbf10a76963e7 (patch)
tree316d681581cb2b3a4218f31e72cab376e70b8252 /sys-apps
downloadpramantha-90b60b5044587535e792ed5410acbf10a76963e7.tar.gz
Initial import
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/mandoc/Manifest6
-rw-r--r--sys-apps/mandoc/files/configure.local12
-rw-r--r--sys-apps/mandoc/files/mandoc.cron6
-rw-r--r--sys-apps/mandoc/mandoc-1.14.5-r2.ebuild69
-rw-r--r--sys-apps/mandoc/mandoc-1.14.5.ebuild51
-rw-r--r--sys-apps/mandoc/metadata.xml10
-rw-r--r--sys-apps/rw/Manifest3
-rw-r--r--sys-apps/rw/metadata.xml7
-rw-r--r--sys-apps/rw/rw-1.0.ebuild27
-rw-r--r--sys-apps/shepherd/Manifest3
-rw-r--r--sys-apps/shepherd/metadata.xml7
-rw-r--r--sys-apps/shepherd/shepherd-0.6.1.ebuild23
12 files changed, 224 insertions, 0 deletions
diff --git a/sys-apps/mandoc/Manifest b/sys-apps/mandoc/Manifest
new file mode 100644
index 0000000..380e473
--- /dev/null
+++ b/sys-apps/mandoc/Manifest
@@ -0,0 +1,6 @@
+AUX configure.local 232 BLAKE2B c6f8982c10029aa9e40b2bec2de53fdcf9aff08a363f089e11996c8d32e94b757d4e4884192a8d24fc165ae657a5ce1c61855542ad176bb6bb97b89e7a094211 SHA512 db661887bcbec6abb7cfb4164b4ab5a592a87e7e6be28ecfcdb204bf961361ce214207e80f5adb9f14ccaa077b5142fa65cda21ee9fd969973f060c2a08ae1fc
+AUX mandoc.cron 93 BLAKE2B 9b89161f32f608d5eb2d867d4edba09bbcccae10ae486c81c8c2cfc65961abbf460b75b5d44253e3e7951c01aef9000063209c7699afd94e776647d7ab356828 SHA512 3dabb2f513129aca96cc9c176053f4ffd64daae41b627c9fb657344b8e97f054e5a8fd3d662de50e6901de1b62231df009cef3896fcdf9ad8af04b0e893a7540
+DIST mandoc-1.14.5.tar.gz 651846 BLAKE2B 27aaf97e7226e989b33861d2a255304bb64a7cd43ca026568f4b044035241c3315a0d73673b023d9ca5b80575b8c584889832bbd86b80aaa49bb785b37559367 SHA512 848f290847f3095757f25647e6d73eb7044018b145bf6f9dc8b5db164b1421911efdc5b3b9022ec3a2c5af9687a84d5acedee810f2bd2f7caaa9242dadb2cc52
+EBUILD mandoc-1.14.5-r2.ebuild 1835 BLAKE2B 8cfac8010d91cc4c0b1039dc0d474c6928ef80f0014908a9bcf35945a93fc7af5a21ac98e80d1c1bff0cdd808f3c4d7690fe03bd53e30057d76e98741199c683 SHA512 c92904572b372a65ec9ed59e87d08b80ed878d3012a4c95742d2b39431c3b604c89370f5f2a47a676923454348940afd654d854866441f00696a753864740cda
+EBUILD mandoc-1.14.5.ebuild 1175 BLAKE2B fc716c848d9a4ee5a2bdcce156465f18a94218c3afa739ab1812142ac820f73163761932179831e4d19d01bd29fd977a82194adec4cabaf5497bda502fe048fe SHA512 bcf0cdd6d25bbcc6f40635ec02de9c83ccc9173d27a4dd445e2f436a3045891ada9b88f962b04b9e59527d0761bab91201fca5947429970e6d469a52484aee58
+MISC metadata.xml 332 BLAKE2B ea9f4015785ffc75c7708ee5a563f6ac2c2f34a630f973b7826a8086983730256adc71eceb447ca3af9391a1aacbd0107b061e97e2ce8ae1e7afb85bb92deed9 SHA512 edc2d04d705f45b21b7db90c41e2d6a3065f264663cfa039d69438a9296189f9628284abb467ca9ba2f17f1cdb055a2a85b0108ee9a2a543315c3def2db2f635
diff --git a/sys-apps/mandoc/files/configure.local b/sys-apps/mandoc/files/configure.local
new file mode 100644
index 0000000..e7729b3
--- /dev/null
+++ b/sys-apps/mandoc/files/configure.local
@@ -0,0 +1,12 @@
+PREFIX=/usr
+MANDIR=$PREFIX/share/man
+
+BINM_SOELIM=msoelim
+
+# These conflict with man(7) and mdoc(7) from man-pages.
+MANM_MAN=mandoc_man
+MANM_MDOC=mandoc_mdoc
+MANM_ROFF=mandoc_roff
+
+# catman(8) is disabled by default.
+BUILD_CATMAN=1
diff --git a/sys-apps/mandoc/files/mandoc.cron b/sys-apps/mandoc/files/mandoc.cron
new file mode 100644
index 0000000..20e6007
--- /dev/null
+++ b/sys-apps/mandoc/files/mandoc.cron
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# we need this to have the right MANPATH set
+. /etc/profile
+
+exec nice makewhatis
diff --git a/sys-apps/mandoc/mandoc-1.14.5-r2.ebuild b/sys-apps/mandoc/mandoc-1.14.5-r2.ebuild
new file mode 100644
index 0000000..1382e71
--- /dev/null
+++ b/sys-apps/mandoc/mandoc-1.14.5-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Suite of tools compiling mdoc and man"
+HOMEPAGE="http://mdocml.bsd.lv/"
+SRC_URI="http://mdocml.bsd.lv/snapshots/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+cron static"
+
+LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ !sys-apps/man-db !sys-apps/man"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+src_prepare() {
+ default
+
+ sed -i -e '/ar rs/s:ar:$(AR):' Makefile || die
+
+ cat <<-EOF > "configure.local"
+ PREFIX="${EPREFIX}/usr"
+ BINDIR="${EPREFIX}/usr/bin"
+ SBINDIR="${EPREFIX}/usr/sbin"
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ MANDIR="${EPREFIX}/usr/share/man"
+ INCLUDEDIR="${EPREFIX}/usr/include/mandoc"
+ EXAMPLEDIR="${EPREFIX}/usr/share/examples/mandoc"
+ MANPATH_DEFAULT="${EPREFIX}/usr/man:${EPREFIX}/usr/share/man:${EPREFIX}/usr/local/man:${EPREFIX}/usr/local/share/man"
+
+ BINM_SOELIM=msoelim
+ MANM_MAN=mandoc_man
+ MANM_ROFF=mandoc_roff
+
+ CFLAGS="${CFLAGS} ${CPPFLAGS}"
+ LDFLAGS="${LDFLAGS} $(usex static -static '')"
+ AR="$(tc-getAR)"
+ CC="$(tc-getCC)"
+ # The STATIC variable is only used by man.cgi.
+ STATIC=
+ EOF
+}
+
+src_install() {
+ default
+
+ if use cron; then
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/mandoc.cron mandoc
+ fi
+}
+
+pkg_postinst() {
+ elog "In order to enable mandoc's apropos and man -k functionality,"
+ elog "the appropriate mandoc.db files need to be created. This can"
+ elog "be achieved by running makewhatis as root (Note: sudo will not"
+ elog "work, as it does not preserve the MANPATH environment variable"
+ elog "by default)."
+ elog
+ elog "If the cron use-flag is enabled, a cron.daily entry that calls"
+ elog "makewhatis will be installed."
+}
diff --git a/sys-apps/mandoc/mandoc-1.14.5.ebuild b/sys-apps/mandoc/mandoc-1.14.5.ebuild
new file mode 100644
index 0000000..f8d78a7
--- /dev/null
+++ b/sys-apps/mandoc/mandoc-1.14.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A suite of tools compiling mdoc from the OpenBSD project"
+HOMEPAGE="http://mdocml.bsd.lv/"
+SRC_URI="http://mdocml.bsd.lv/snapshots/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 x86"
+RESTRICT="mirror"
+
+IUSE="+cron static"
+
+RDEPEND="static? ( sys-libs/zlib[static-libs(+)] )
+ !sys-apps/man-db !sys-apps/man"
+
+DEPEND="static? ( sys-libs/zlib )"
+
+src_configure() {
+ cp "${FILESDIR}/configure.local" . || die
+
+ # Add Gentoo CFLAGS
+ echo 'CFLAGS="$CFLAGS' ${CFLAGS}\" >> configure.local
+
+ if use static; then
+ echo 'LDFLAGS="$LDFLAGS -static"' >> configure.local
+ fi
+
+ default
+}
+
+src_install() {
+ default
+
+ if use cron; then
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/mandoc.cron mandoc
+ fi
+}
+
+pkg_postinst() {
+ elog "In order to enable mandoc's apropos and man -k functionality,"
+ elog "the appropriate mandoc.db files need to be created. This can be"
+ elog "achieved by running makewhatis as root (sudo will not work)."
+ elog
+ elog "If the cron use-flag is enabled, a cron.daily entry that calls"
+ elog "makewhatis will be installed."
+}
diff --git a/sys-apps/mandoc/metadata.xml b/sys-apps/mandoc/metadata.xml
new file mode 100644
index 0000000..078004b
--- /dev/null
+++ b/sys-apps/mandoc/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wolf@oriole.systems</email>
+ </maintainer>
+ <use>
+ <flag name="cron">Set up a cron script that updates mandoc.db files for apropos support.</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-apps/rw/Manifest b/sys-apps/rw/Manifest
new file mode 100644
index 0000000..5292cae
--- /dev/null
+++ b/sys-apps/rw/Manifest
@@ -0,0 +1,3 @@
+DIST rw-portable-1.0.tar.gz 12993 BLAKE2B a24bc3e79fc74235f211a187d660472cc567967b473763ffc47fda14dfe18d41b07db7ab6d5cf5c795b0e718c44c2b82de04c0f5d883c0c1343f31b433266b2d SHA512 b4358a8caad594dbfe7795008017c2ebaca498c9f843336cdb1d7e122e1c9be78b5c01a4ecf8c37f4238cb0ddbdacb1ba5e4281797113fa34b122e4ab3894a97
+EBUILD rw-1.0.ebuild 518 BLAKE2B 17e10a565ad438b23aadcd992a80cde880562d4be562f67a02f6f1845872189de5584b1a640f735a6f6c532fa98c625e497f160493d29e30ec6a50e4a8c52756 SHA512 9237f90acdc5b3fd7f39aae42449d8b8d1c0faaecec02cad0ae642c4967c096d42ef3672fdff6c72b496b30ffe23fecbc13581654fe8a905c39b51d75a6a779a
+MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
diff --git a/sys-apps/rw/metadata.xml b/sys-apps/rw/metadata.xml
new file mode 100644
index 0000000..c544433
--- /dev/null
+++ b/sys-apps/rw/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wolf@oriole.systems</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-apps/rw/rw-1.0.ebuild b/sys-apps/rw/rw-1.0.ebuild
new file mode 100644
index 0000000..f7fddc2
--- /dev/null
+++ b/sys-apps/rw/rw-1.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A dd replacement from the Sortix operating system"
+HOMEPAGE="https://sortix.org/rw/"
+SRC_URI="https://sortix.org/rw/release/${PN}-portable-${PV}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror"
+
+src_unpack() {
+ default
+ mv "${WORKDIR}/${PN}-portable-${PV}" "${S}"
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+}
diff --git a/sys-apps/shepherd/Manifest b/sys-apps/shepherd/Manifest
new file mode 100644
index 0000000..8fcca45
--- /dev/null
+++ b/sys-apps/shepherd/Manifest
@@ -0,0 +1,3 @@
+DIST shepherd-0.6.1.tar.gz 613158 BLAKE2B b8d25c8bf1476a8833204d36da1cd854358d69acb0e788004a1a1b05d31fdf8f1f694bb1fd57579fdf935fd10b5c24b1665d6a2c4e25fd600ec994143201213e SHA512 4e611475033686a0ce2946a4f9ac95e5807cd4f14fe3474b15a57ad14f35542a8251d2afcbc42e3393859aa7401582d19df4f481388399a60d2a04a181a1dc04
+EBUILD shepherd-0.6.1.ebuild 492 BLAKE2B df2dbb7920018de14dcc8bb45b4b3ce8d416cde49a043fb735b2a37ada98a6890515605bd193554e851b57eef3fdc81d41d19a7235ca471ec45547676a9849d2 SHA512 e7e293fc75127ac419f66f87819ec54ec2ac3d9ac47e33baa22cfc8b592819efc209c30dab0defac7a47cbc2deb112ecbd0b7e6c74d3e5e8c44cbd2fe0481f70
+MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
diff --git a/sys-apps/shepherd/metadata.xml b/sys-apps/shepherd/metadata.xml
new file mode 100644
index 0000000..c544433
--- /dev/null
+++ b/sys-apps/shepherd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wolf@oriole.systems</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-apps/shepherd/shepherd-0.6.1.ebuild b/sys-apps/shepherd/shepherd-0.6.1.ebuild
new file mode 100644
index 0000000..2cb6cd8
--- /dev/null
+++ b/sys-apps/shepherd/shepherd-0.6.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A service manager that looks after the herd of system services"
+HOMEPAGE="https://www.gnu.org/software/shepherd/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="dev-scheme/guile"
+RDEPEND="$DEPEND"
+
+src_install() {
+ default
+
+ rm -r "${D}/usr/sbin" || die
+ rm -r "${D}/usr/share/man/man8" || die
+ rm -r "${D}/var" || die
+}