public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/partimage/
Date: Sat, 16 Apr 2016 13:30:05 +0000 (UTC)	[thread overview]
Message-ID: <1460813393.1be2c2aec3431058f787a20e999e3ae56417932c.mrueg@gentoo> (raw)

commit:     1be2c2aec3431058f787a20e999e3ae56417932c
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 13:29:53 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Apr 16 13:29:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be2c2ae

sys-block/partimage: Remove old

Package-Manager: portage-2.2.28

 sys-block/partimage/Manifest               |   1 -
 sys-block/partimage/partimage-0.6.8.ebuild | 142 -----------------------------
 2 files changed, 143 deletions(-)

diff --git a/sys-block/partimage/Manifest b/sys-block/partimage/Manifest
index c576326..4d387ce 100644
--- a/sys-block/partimage/Manifest
+++ b/sys-block/partimage/Manifest
@@ -1,2 +1 @@
-DIST partimage-0.6.8.tar.bz2 631193 SHA256 98f91bf6baa108e390989ce963f75bc30f40ba9c6eb4e953abeedca9a6e6e4b4 SHA512 51fcfc81890b4091102b7a2f665bfba66ac15260f9ae79c45104cd5c525f6805a6f31e20e852532df3d9d9203a6f0f7e5d256e75dac8ee060dc4f1c846168cdb WHIRLPOOL f07b3e76f615c9fd889fde055c4720da5ff4fb952721a120463e7c5db56500c6bd9e20c5ebe1a4c51012e5f119929164486cb6a72d7a36e0620cb6361e0a4f19
 DIST partimage-0.6.9.tar.bz2 666522 SHA256 753a6c81f4be18033faed365320dc540fe5e58183eaadcd7a5b69b096fec6635 SHA512 252885921b23933fdcdf0bb6efa4b82066b08ca95cc653296912d384ae875b421c1d39f347a90115315139176d4eab4a930c24919c2d38cf00ed29c764cd14d9 WHIRLPOOL a4e30ea6240c89b568fd5959f4d72130e3737a409270d9336e45f2c4f85c2e6c1c66b5b60abdf47aa238ec4159010cbbcc75c02c6e5a1cb309e2fceee1df7750

diff --git a/sys-block/partimage/partimage-0.6.8.ebuild b/sys-block/partimage/partimage-0.6.8.ebuild
deleted file mode 100644
index 6577a82..0000000
--- a/sys-block/partimage/partimage-0.6.8.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=3
-inherit autotools eutils flag-o-matic pam user
-
-DESCRIPTION="Console-based application to efficiently save raw partition data to an image file"
-HOMEPAGE="http://www.partimage.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
-IUSE="nls nologin pam ssl static"
-
-LIBS_DEPEND="app-arch/bzip2
-	>=dev-libs/newt-0.52
-	>=sys-libs/slang-2
-	sys-libs/zlib
-	ssl? ( dev-libs/openssl )"
-PAM_DEPEND="!static? ( pam? ( virtual/pam ) )"
-RDEPEND="${PAM_DEPEND}
-	!static? ( ${LIBS_DEPEND} )"
-DEPEND="${PAM_DEPEND}
-	${LIBS_DEPEND}
-	nls? ( sys-devel/gettext )"
-
-pkg_setup() {
-	enewgroup partimag 91
-	enewuser partimag 91 -1 /var/lib/partimage partimag
-}
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-destdir.patch \
-		"${FILESDIR}"/${P}-openssl-1.patch
-	eautoreconf
-}
-
-src_configure() {
-	# XXX: Do we still need these?
-	filter-flags -fno-exceptions
-	use ppc && append-flags -fsigned-char
-
-	local myconf
-
-	use nologin && myconf="${myconf} --disable-login"
-
-	if use pam && ! use static; then
-		myconf="${myconf} --enable-pam"
-	fi
-
-	econf \
-		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
-		--sysconfdir="${EPREFIX}"/etc \
-		$(use_enable nls) \
-		--disable-dependency-tracking \
-		$(use_enable ssl) \
-		--disable-pam \
-		$(use_enable static all-static) \
-		--with-log-dir="${EPREFIX}"/var/log/partimage \
-		${myconf}
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die
-	dodoc BOOT-ROOT.txt FORMAT FUTURE THANKS
-	prepalldocs
-
-	keepdir /var/lib/partimage
-	keepdir /var/log/partimage
-
-	insinto /etc/partimaged
-	doins "${FILESDIR}"/servercert.cnf || die
-
-	newinitd "${FILESDIR}"/partimaged.init partimaged || die
-	newconfd "${FILESDIR}"/partimaged.conf partimaged || die
-
-	if use pam; then
-		newpamd "${FILESDIR}"/partimaged.pam partimaged || die
-	fi
-}
-
-confdir=${ROOT}etc/partimaged
-privkey=${confdir}/partimaged.key
-cnf=${confdir}/servercert.cnf
-csr=${confdir}/partimaged.csr
-cert=${confdir}/partimaged.cert
-
-pkg_config() {
-	if use ssl; then
-		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} 1024  || die "Failed!"
-		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 "Failed!"
-		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 "Failed!"
-		else
-			einfo "Self-signed certifcate already exists: ${cert}"
-		fi
-		einfo "Setting permissions"
-		partimagesslperms || die "Failed!"
-		einfo "Done"
-	else
-		einfo "SSL is disabled, not building certificates"
-	fi
-}
-
-partimagesslperms() {
-	local ret=0
-	chmod 600 ${privkey} 2>/dev/null
-	ret=$((${ret}+$?))
-	chown partimag:0 ${privkey} 2>/dev/null
-	ret=$((${ret}+$?))
-	chmod 644 ${cert} ${csr} 2>/dev/null
-	ret=$((${ret}+$?))
-	chown root:0 ${cert} ${csr} 2>/dev/null
-	ret=$((${ret}+$?))
-	return $ret
-}
-
-pkg_postinst() {
-	if use ssl; then
-		einfo "To create the required SSL certificates, please do:"
-		einfo "emerge  --config =${PF}"
-		partimagesslperms
-		return 0
-	fi
-	chown partimag:0 "${ROOT}"etc/partimaged/partimagedusers || die
-}


             reply	other threads:[~2016-04-16 13:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-16 13:30 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-01 22:19 [gentoo-commits] repo/gentoo:master commit in: sys-block/partimage/ David Seifert
2019-05-15 17:49 Mikle Kolyada
2019-10-12 18:47 Mikle Kolyada
2020-02-08 16:53 David Seifert
2021-07-27  3:21 Sam James
2021-07-27  3:27 Sam James
2022-04-07 20:58 Jakov Smolić
2022-05-14 21:49 Jakov Smolić
2022-05-14 22:27 Jakov Smolić
2022-05-17  9:19 Agostino Sarubbo
2022-05-26  5:06 WANG Xuerui
2022-08-06  3:59 Sam James
2022-12-10  2:51 Sam James
2022-12-10  2:51 Sam James
2022-12-10  2:51 Sam James
2024-04-24 10:33 Sam James
2024-04-24 10:34 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460813393.1be2c2aec3431058f787a20e999e3ae56417932c.mrueg@gentoo \
    --to=mrueg@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox