app-backup/minisnap: new package, add 0_p20240904
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
2
app-backup/minisnap/Manifest
Normal file
2
app-backup/minisnap/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST minisnap-358aae69-vendor.tar.xz 81860 BLAKE2B 0e7a9cb60554956884a3ba909d32e55ebf16d02d7026e3dab8501d5d0f5f0c49ac41791ba81455264b4c6a4869c50d42e5e8e02b8d51046d821af7beb5b963ab SHA512 4a5151a71f50651a3a2d68b5994d324a9377e78dfcf48fb10f38acf90eb0bea5196e1b1bc75f032c2d37c14525c9149d55438b470bba7e44eeafc760e431d583
|
||||||
|
DIST minisnap-358aae69.tar.gz 32088 BLAKE2B cc887e0450169a002979eb51ba0fa1b0bd074224a8a49f65ae95ab6a120f2d45a7cc433608610daa3be57f2e84eedcb5a3a4a5b3725977633dc3a49e36e6130d SHA512 8b2288f55372cbec6ee758f4fd91068b339f8c67017fc3c4903b9298942311a8ce9bdb3dcd317be6b4c160030b514127a90f6968ffa9bab8f3d4cc8732adf562
|
||||||
36
app-backup/minisnap/minisnap-0_p20240904.ebuild
Normal file
36
app-backup/minisnap/minisnap-0_p20240904.ebuild
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
EGIT_COMMIT=358aae69
|
||||||
|
DESCRIPTION="Fast and secure initramfs generator"
|
||||||
|
HOMEPAGE="https://git.sr.ht/~adrian-blx/minisnap"
|
||||||
|
SRC_URI="https://git.sr.ht/~adrian-blx/minisnap/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz
|
||||||
|
https://git.millerson.name/alex/gentoo-artifacts/releases/download/${PN}-${EGIT_COMMIT}-vendor/${PN}-${EGIT_COMMIT}-vendor.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
ego build cmd/msnap.go cmd/conf.go
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc *.conf
|
||||||
|
dobin msnap
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "To configure schedule for each volume define them in the /etc/minisnap.conf configuration file"
|
||||||
|
elog "See /usr/share/doc/${P}-${EGIT_COMMIT}/ for examples"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user