summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-04-23 16:04:30 +0200
committerDavid Seifert <soap@gentoo.org>2023-04-23 16:04:30 +0200
commit054b9ce7b4047e76b55e86a9396d1405367b475d (patch)
tree16fa46dcd25071bba21ecb4207dbf019fe69fe91 /net-fs/minio
parentdev-java/tomcat-jsp-api: treeclean (diff)
downloadgentoo-054b9ce7b4047e76b55e86a9396d1405367b475d.tar.gz
gentoo-054b9ce7b4047e76b55e86a9396d1405367b475d.tar.bz2
gentoo-054b9ce7b4047e76b55e86a9396d1405367b475d.zip
net-fs/minio: treeclean
Closes: https://bugs.gentoo.org/782037 Bug: https://bugs.gentoo.org/850547 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-fs/minio')
-rw-r--r--net-fs/minio/Manifest2
-rw-r--r--net-fs/minio/files/minio.default4
-rw-r--r--net-fs/minio/files/minio.initd11
-rw-r--r--net-fs/minio/files/minio.service30
-rw-r--r--net-fs/minio/metadata.xml8
-rw-r--r--net-fs/minio/minio-2021.04.18.19.26.29-r2.ebuild61
6 files changed, 0 insertions, 116 deletions
diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest
deleted file mode 100644
index 4b9c78720c19..000000000000
--- a/net-fs/minio/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST minio-2021.04.18.19.26.29-deps.tar.xz 379591164 BLAKE2B 6ed22351a7372a34fe67c38fdb10802308c3b5e68df8d6666d5e3400fcc6b5f892df44e8f9299638a7b21a21416ce96a97c3a13378eac21cfb85c6c069a38403 SHA512 90fdbdc313b570ecb12e2a1a2eb1ef0bf26f6f4b7848896faf9af90f56daff7610e17b5f9ae67d956aab0ec4479a1ada1adef2d8ff557ad9e19e9eb73a2f6912
-DIST minio-2021.04.18.19.26.29.tar.gz 10628301 BLAKE2B c641607b8610104699910c4ee549b0e355c7e116b9b2c6debcf4b69b2d00dd41a8d1b5dbf8319c9dbccf56bfa51dcea900958f80e4506b82851db1c5810586b3 SHA512 954b060bc499d34d09ce395d5ef96858280eed89c1f63ce4a1635b259289451ea7c3849f8fc62169a935b7a81037f42995ceb46927ba4e531486f947f603092d
diff --git a/net-fs/minio/files/minio.default b/net-fs/minio/files/minio.default
deleted file mode 100644
index 769e01950b22..000000000000
--- a/net-fs/minio/files/minio.default
+++ /dev/null
@@ -1,4 +0,0 @@
-MINIO_ACCESS_KEY="minio"
-MINIO_VOLUMES="/var/lib/minio"
-MINIO_OPTS="-C /etc/minio --address 127.0.0.1:9000"
-MINIO_SECRET_KEY="miniostorage"
diff --git a/net-fs/minio/files/minio.initd b/net-fs/minio/files/minio.initd
deleted file mode 100644
index 3e64ba16f75e..000000000000
--- a/net-fs/minio/files/minio.initd
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Minio Object Storage Server"
-pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
-command="/usr/bin/minio"
-command_args="${command_args:-server /var/lib/minio}"
-command_background="true"
-start_stop_daemon_args="--stdout /var/log/${SVCNAME}.log \
- --stderr /var/log/${SVCNAME}.log"
diff --git a/net-fs/minio/files/minio.service b/net-fs/minio/files/minio.service
deleted file mode 100644
index 21ee9f4768fd..000000000000
--- a/net-fs/minio/files/minio.service
+++ /dev/null
@@ -1,30 +0,0 @@
-[Unit]
-Description=MinIO
-Documentation=https://docs.min.io
-Wants=network-online.target
-After=network-online.target
-AssertFileIsExecutable=/usr/bin/minio
-
-[Service]
-User=minio
-Group=minio
-
-EnvironmentFile=/etc/default/minio
-ExecStartPre=/bin/sh -c "if [ -z \"${MINIO_VOLUMES}\" ]; then echo \"Variable MINIO_VOLUMES not set in /etc/default/minio\"; exit 1; fi"
-
-ExecStart=/usr/bin/minio server $MINIO_OPTS $MINIO_VOLUMES
-
-# Let systemd restart this service always
-Restart=always
-
-# Specifies the maximum file descriptor number that can be opened by this process
-LimitNOFILE=65536
-
-# Disable timeout logic and wait until process is stopped
-TimeoutStopSec=infinity
-SendSIGKILL=no
-
-[Install]
-WantedBy=multi-user.target
-
-# Built for ${project.name}-${project.version} (${project.name})
diff --git a/net-fs/minio/metadata.xml b/net-fs/minio/metadata.xml
deleted file mode 100644
index 54dc5dd343ea..000000000000
--- a/net-fs/minio/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">minio/minio</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-fs/minio/minio-2021.04.18.19.26.29-r2.ebuild b/net-fs/minio/minio-2021.04.18.19.26.29-r2.ebuild
deleted file mode 100644
index 137fdec411ae..000000000000
--- a/net-fs/minio/minio-2021.04.18.19.26.29-r2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit go-module systemd
-
-MY_PV="$(ver_cut 1-3)T$(ver_cut 4-7)Z"
-MY_PV=${MY_PV//./-}
-EGIT_COMMIT=feafccf0072a9b5fbddc33553890ff56cb2f83b6
-
-DESCRIPTION="An Amazon S3 compatible object storage server"
-HOMEPAGE="https://github.com/minio/minio"
-SRC_URI="https://github.com/minio/minio/archive/RELEASE.${MY_PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~amd64-linux"
-
-RESTRICT="test"
-
-DEPEND="
- acct-user/minio
- acct-group/minio
-"
-
-S="${WORKDIR}/${PN}-RELEASE.${MY_PV}"
-
-src_prepare() {
- default
-
- sed -i \
- -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/" \
- -e "s/-s //" \
- -e "/time/d" \
- -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/" \
- buildscripts/gen-ldflags.go || die
-}
-
-src_compile() {
- MINIO_RELEASE="${MY_PV}"
- go run buildscripts/gen-ldflags.go || die
- go build \
- --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die
-}
-
-src_install() {
- dobin minio
-
- insinto /etc/default
- doins "${FILESDIR}"/minio.default
-
- dodoc -r README.md CONTRIBUTING.md docs
-
- systemd_dounit "${FILESDIR}"/minio.service
- newinitd "${FILESDIR}"/minio.initd minio
-
- keepdir /var/{lib,log}/minio
- fowners minio:minio /var/{lib,log}/minio
-}