summaryrefslogtreecommitdiff
path: root/sys-block/partimage
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/partimage')
-rw-r--r--sys-block/partimage/Manifest1
-rw-r--r--sys-block/partimage/partimage-0.6.9-r3.ebuild141
2 files changed, 0 insertions, 142 deletions
diff --git a/sys-block/partimage/Manifest b/sys-block/partimage/Manifest
index 65f66f2abf62..b517c1a33b88 100644
--- a/sys-block/partimage/Manifest
+++ b/sys-block/partimage/Manifest
@@ -9,6 +9,5 @@ AUX partimaged.init.2 628 BLAKE2B 872f72a4407ca0f923220e2c313779a0e52b6179b75356
AUX partimaged.pam.2 249 BLAKE2B e40a15c5fe4dc394cbcf9c478c3c764e67ec317f31c039738c87b90fec79577a191ae85ad0b774e8b415b79bd29460c929f094e4e3210660989a7bdb9939fe8a SHA512 ad55a61e574dc44cdda723bb5a46349d15e50353dcdb99474b9acafd56c93bc6ffdd75f5b0d9e80849d9bebf5c7b9a2f84c7cefc5f0a86f54f9477a0962794cd
AUX servercert.cnf 980 BLAKE2B 0660f9b92fe422754e36d6ce1889e8b8feb40954b36b3e00e58f5e534b85171ac42e66f74020a55dd1b14d56d7764c94427b8d1d112ca1a878dff388ac3ea787 SHA512 8aa0592ce0be3f08124880b823db59aa167e7d509ea1a9b48d9f895482f96e99a6e4df330c567b9ce331eed43cb4f1a70b1b7727878972a8b074265898b1e557
DIST partimage-0.6.9.tar.bz2 666522 BLAKE2B d9a240f82a7b6ae73997df46c964fdddf8dddea9e3bd9548252d9409a526358714908316c52864b60bc9fcc1113a5e1c6cf294faff6845a183c7ffe1012475a6 SHA512 252885921b23933fdcdf0bb6efa4b82066b08ca95cc653296912d384ae875b421c1d39f347a90115315139176d4eab4a930c24919c2d38cf00ed29c764cd14d9
-EBUILD partimage-0.6.9-r3.ebuild 3465 BLAKE2B 8709aa690f84530fb766292ec8b40916837a6c48b32bae1eb4b227257130c99c5991f854750ff0e8200d1effa23fbe17bd62c7cd3194ea0106a2048e0678e054 SHA512 2826ac37fc42da73d4a2af9152c5eba856c40f962dfe53437dd9d6f25a6fb42823f8670ae0c5930536b79ff87ada74108ad95c9500225c7a28826b44335afd51
EBUILD partimage-0.6.9-r4.ebuild 3519 BLAKE2B ac41fc9c7347af73404b0f85b8f8a86ffc02077964aaef5a5518c3997d50f92fb918293522e3b9863c47da432b751a6f0274871cb4b8e4039dc2a3be0a35195a SHA512 fd61f4efa0433013c2cb6e6f208f4387516633ac87a82737ea50bd80cc27dd5281d2f68e6d0bcf99b83df70f5baa5d18e53667cdb3ff445602cf5eb0ba77f791
MISC metadata.xml 505 BLAKE2B cdec044381791ad6f7503bb19acba3604cc49b4e3f49ad06658029ac5700566e25c0b6de37a4bbf1ecae898a92ab3cedc77a3e36f76a90f0731f68ffaff9e194 SHA512 652db70705956848e88316ef18bb5fce688565c47e6f0dfcaafb1fee2c4919e18eb00f1c4b8e58b9deb0412e2c3eb001a86dc59a49f5d4ebbfce7dcf4e6e9ef1
diff --git a/sys-block/partimage/partimage-0.6.9-r3.ebuild b/sys-block/partimage/partimage-0.6.9-r3.ebuild
deleted file mode 100644
index 9317babb3e28..000000000000
--- a/sys-block/partimage/partimage-0.6.9-r3.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic pam
-
-DESCRIPTION="Console-based application to efficiently save raw partition data to image file"
-HOMEPAGE="https://www.partimage.org/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ~riscv ~sparc x86"
-IUSE="nls nologin pam ssl static"
-REQUIRED_USE="static? ( !pam )"
-
-COMMON_DEPEND="
- acct-group/partimag
- acct-user/partimag
-"
-LIBS_DEPEND="
- app-arch/bzip2
- >=dev-libs/newt-0.52
- >=sys-libs/slang-2
- sys-libs/zlib:=
- !nologin? ( virtual/libcrypt:= )
- ssl? ( dev-libs/openssl:0= )
-"
-PAM_DEPEND="pam? ( sys-libs/pam )"
-RDEPEND="
- ${COMMON_DEPEND}
- ${PAM_DEPEND}
- !static? ( ${LIBS_DEPEND} )
-"
-DEPEND="
- ${PAM_DEPEND}
- ${LIBS_DEPEND}
-"
-BDEPEND="
- ${COMMON_DEPEND}
- nls? ( sys-devel/gettext )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.6.9-zlib-1.2.5.2-r1.patch #405323
- "${FILESDIR}"/${PN}-0.6.9-minor-typo.patch #580290
- "${FILESDIR}"/${PN}-0.6.9-openssl-1.1-compatibility.patch
- "${FILESDIR}"/${PN}-0.6.9-missing-includes.patch
- "${FILESDIR}"/${PN}-0.6.9-clang.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # XXX: Do we still need these?
- filter-flags -fno-exceptions
- use ppc && append-flags -fsigned-char
-
- local myeconfargs=(
- $(use_enable nls)
- $(usex nologin '--disable-login' '')
- $(use_enable pam)
- $(use_enable ssl)
- $(use_enable static all-static)
- --with-log-dir="${EPREFIX}"/var/log/partimage
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- keepdir /var/lib/partimage
- keepdir /var/log/partimage
-
- newinitd "${FILESDIR}"/partimaged.init.2 partimaged
- newconfd "${FILESDIR}"/partimaged.conf partimaged
-
- if use pam; then
- newpamd "${FILESDIR}"/partimaged.pam.2 partimaged
- fi
-
- if use ssl; then
- insinto /etc/partimaged
- doins "${FILESDIR}"/servercert.cnf
- fi
-
- fowners partimag:root /etc/partimaged/partimagedusers
-}
-
-pkg_config() {
- if use ssl; then
- local confdir="${EROOT}"/etc/partimaged
- local privkey="${confdir}"/partimaged.key
- local cnf="${confdir}"/servercert.cnf
- local csr="${confdir}"/partimaged.csr
- local cert="${confdir}"/partimaged.cert
-
- ewarn "Please customize /etc/partimaged/servercert.cnf before you continue!"
- ewarn "Press Ctrl-C to break now for it, or press enter to continue."
- read
- if [ ! -f "${privkey}" ]; then
- einfo "Generating unencrypted private key: ${privkey}"
- openssl genrsa -out "${privkey}" 2048 || die
- else
- einfo "Private key already exists: ${privkey}"
- fi
- if [ ! -f "${csr}" ]; then
- einfo "Generating certificate request: ${csr}"
- openssl req -new -x509 -outform PEM -out "${csr}" -key "${privkey}" -config "${cnf}" || die
- else
- einfo "Certificate request already exists: ${csr}"
- fi
- if [ ! -f "${cert}" ]; then
- einfo "Generating self-signed certificate: ${cert}"
- openssl x509 -in "${csr}" -out "${cert}" -signkey "${privkey}" || die
- else
- einfo "Self-signed certifcate already exists: ${cert}"
- fi
- einfo "Setting permissions"
- chmod 600 "${privkey}" || die
- chown partimag:root "${privkey}" || die
- chmod 644 "${cert}" "${csr}" || die
- chown root:root "${cert}" "${csr}" || die
- einfo "Done"
- else
- einfo "SSL is disabled, not building certificates"
- fi
-}
-
-pkg_postinst() {
- if use ssl; then
- einfo "To create the required SSL certificates, please do:"
- einfo "emerge --config =${PF}"
- fi
-}