summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-06-15 09:45:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-06-15 09:45:21 +0000
commitda89d71939bad461409c3cd8838d034d94da565f (patch)
treeaa2edcf4b59cf59ba094a8755586e47f2cd29df0 /sys-block/partimage
parentalpha/ia64/sparc stable wrt #225875 (diff)
downloadhistorical-da89d71939bad461409c3cd8838d034d94da565f.tar.gz
historical-da89d71939bad461409c3cd8838d034d94da565f.tar.bz2
historical-da89d71939bad461409c3cd8838d034d94da565f.zip
Remove tree-incompatible versions as slang-1 is no more.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'sys-block/partimage')
-rw-r--r--sys-block/partimage/ChangeLog6
-rw-r--r--sys-block/partimage/Manifest16
-rw-r--r--sys-block/partimage/partimage-0.6.4-r3.ebuild147
-rw-r--r--sys-block/partimage/partimage-0.6.4-r4.ebuild184
4 files changed, 6 insertions, 347 deletions
diff --git a/sys-block/partimage/ChangeLog b/sys-block/partimage/ChangeLog
index abe5e9024b14..704cba9d125d 100644
--- a/sys-block/partimage/ChangeLog
+++ b/sys-block/partimage/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-block/partimage
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/partimage/ChangeLog,v 1.35 2008/04/07 20:57:21 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/partimage/ChangeLog,v 1.36 2008/06/15 09:45:21 drac Exp $
+
+ 15 Jun 2008; Samuli Suominen <drac@gentoo.org> -partimage-0.6.4-r3.ebuild,
+ -partimage-0.6.4-r4.ebuild:
+ Remove tree-incompatible versions as slang-1 is no more.
07 Apr 2008; Markus Meier <maekke@gentoo.org> partimage-0.6.7.ebuild:
amd64/x86 stable, bug #216076
diff --git a/sys-block/partimage/Manifest b/sys-block/partimage/Manifest
index 001d50eb4a70..94b25f5b422d 100644
--- a/sys-block/partimage/Manifest
+++ b/sys-block/partimage/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX partimage-0.6.4-1-lib64.patch 2483 RMD160 20b936037e223a02237bbc45b4c037fc1e571c51 SHA1 219a6d4524908360722b25a7eb7e619238a562ff SHA256 22686caa9919b9c0f8f248d033cce400bdf004a7cbaa1773d9e4c20dc212dfb9
AUX partimage-0.6.4-LP64-fixes.patch 1773 RMD160 3a2e1d4d69794aaa4311b716c4a418350774707f SHA1 a76a3af0a0ca6b56e3ad58e8111cda88bf7757c3 SHA256 1f4ad532e1edc0c5772290fde3ed0285e5c09caecd786216c92f78fab2c4075b
AUX partimage-0.6.4-chown.patch 1660 RMD160 3fc66b6aa0b045a3d184f12c6347be5ef192e602 SHA1 1f77af2bc459b539b767915f19c48b880326b1c0 SHA256 34b851e54dbf4f713b7ecb0d626668556911f8240010b1b86bd3e9c924c0e079
@@ -38,20 +35,9 @@ AUX partimaged.init 760 RMD160 21e18889534c4714ae90db869fbae4c5774d2228 SHA1 8b8
AUX partimaged.pam 266 RMD160 07b472d4ffdf3f5c10e7b04ba0c1df87e3e1cf9d SHA1 8955da1485c3d15d6193a4a405bc841cf7698017 SHA256 6072116adb36c49a4a4c36a134355162bf215ec7b6716593de76de3123c5adbe
AUX partimagedusers.5 1263 RMD160 6416fd7f013e637b99f10c32607994e11728bdd0 SHA1 56afebd408dc14d3270a9a43702d335fa598998e SHA256 6037d086ddcdebd76b2f2477252173e8242ac528bc7025a391364a4da174f0f3
AUX servercert.cnf 1096 RMD160 8786b07466c5330254eb96e1de6f754e8a68e77f SHA1 64fc34b0fbb8a07dc90ea6be932c4e51a6839721 SHA256 9a9cae8cd6c7bbc6f71cd619829b7a6a47d6aae34831cc44a6cc3bf3e7917953
-DIST partimage-0.6.4-1.tar.bz2 706438 RMD160 cc452f064d7b26d10ffde7b196f6121ade2a619b SHA1 baf1b20a29d8f0977e16e4c559c2d8486357ab4c SHA256 180c443d85def5bbc02fe21fb31014799259d026c820633246c92c536397fba7
-DIST partimage-0.6.4.tar.bz2 654707 RMD160 9de0195c0bc2a83088b054be63102d6ac2350428 SHA1 3e451478a4ced960aa73048d3a19c2bd595ef890 SHA256 e4741d383edb59359b565f6623fc773c704735e65b85a5a378efc922205f14d3
DIST partimage-0.6.6.tar.bz2 524695 RMD160 8bad0dd706d88dee27531766daf7611d95bb0a04 SHA1 691a5bfe1637fce3d1af3a48a37b63d603c09b7f SHA256 0bf5d720094777ae0aa258a00f30cee6988c026558eea20087aa20d46b81b2bd
DIST partimage-0.6.7.tar.bz2 628214 RMD160 e01315fe6073653c89f2dea3c19483853960d59e SHA1 c02e0db728e72277a78a1fb4140171ba8a9336cf SHA256 0b3ed41ab71a73f83a41fc12e61cd874f5d2799cbfbd1db8e39730ba8a3d6d9e
-EBUILD partimage-0.6.4-r3.ebuild 4255 RMD160 2d0d6435281e71adb825524c790e6a1ad4509da1 SHA1 7608d6b6af1908500a00134e1ca9d21aade35563 SHA256 f17f43a18fc86b93f260b0ea771c03edbf7fe48307a62d59fcd992c1db6b9425
-EBUILD partimage-0.6.4-r4.ebuild 5292 RMD160 14221fc3b91ea051d219604eec312d96317c0d1f SHA1 f5658b9c85862640842a6c42db4cbec70c01b58c SHA256 03c6c6becbb7d2c57e25581cf90dac8b446045f60ded1b0becfdde1f42dd1e67
EBUILD partimage-0.6.6.ebuild 5128 RMD160 b5e7e41b8a6913b8b5fe245ee38f08d2bd87511f SHA1 9b2dbe3caf16719b18d673502daa6539742069c0 SHA256 9ab3fc0b5168fb6d9a510b2cf86a58e76107fe430659972317722c429763e693
EBUILD partimage-0.6.7.ebuild 4561 RMD160 e2e460e5868d98597539dc1fb32b22d4b6848626 SHA1 1b6b46f3365dc9de552953a082d9c1950ff48b01 SHA256 a0db05b0ca139581920c1e55fcf568b9e779a15dd8f979181b683343cfb34b76
-MISC ChangeLog 10823 RMD160 f6f0fb1c05095d9082b0160ed1a090a1d92e20a2 SHA1 0a76a4a0b4f4fb0168fa50ea0165ac34d56af5ac SHA256 a0f757b6f3e2b8bd1b0879d14b962825366b331866987acfe8cc186a887079d7
+MISC ChangeLog 10988 RMD160 7fd91bdd698f1ae21b4168fcc686bf0e2edcfc4a SHA1 83a8d5cd73e448443ee7899f9ab90cd28cf8b834 SHA256 e0f5972e90456ba8d23e1d68ec33dcb6aac4ba31e7fe31c5c8e49b7bee5b385a
MISC metadata.xml 300 RMD160 1b8d549b3e7475c26f605a1a36fcab59722f51ab SHA1 7a58ba664a8a3385b8c3a16d7f0168ed656aed67 SHA256 a7042ab513648c05514689f1c2b7c1e6cbf1d339ca3aaa1a45de08ea5cfb152c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkf6itkACgkQkKaRLQcq0GJh3gCdG7v2SEfXZG4msr1RfOA6CsWQ
-fgAAoJmHebodiOZQjFqYIwlqGirtY7Xy
-=DHf9
------END PGP SIGNATURE-----
diff --git a/sys-block/partimage/partimage-0.6.4-r3.ebuild b/sys-block/partimage/partimage-0.6.4-r3.ebuild
deleted file mode 100644
index f451d9235490..000000000000
--- a/sys-block/partimage/partimage-0.6.4-r3.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/partimage/partimage-0.6.4-r3.ebuild,v 1.23 2008/02/26 19:08:06 xmerlin Exp $
-
-WANT_AUTOMAKE="1.8"
-
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="Console-based application to efficiently save raw partition data to an image file."
-HOMEPAGE="http://www.partimage.org/"
-SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc -ppc64 ~sparc x86"
-IUSE="ssl nologin nls"
-
-RDEPEND="virtual/libc
- >=sys-libs/zlib-1.1.4
- >=dev-libs/newt-0.51.6
- app-arch/bzip2
- =sys-libs/slang-1*
- nls? ( sys-devel/gettext )
- ssl? ( >=dev-libs/openssl-0.9.6g )"
-DEPEND="${RDEPEND}"
-
-PARTIMAG_GROUP_GID=91
-PARTIMAG_USER_UID=91
-PARTIMAG_GROUP_NAME=partimag
-PARTIMAG_USER_NAME=partimag
-PARTIMAG_USER_SH=-1
-PARTIMAG_USER_HOMEDIR=/var/log/partimage
-PARTIMAG_USER_GROUPS=partimag
-
-pkg_setup() {
- # Now add users if needed
- enewgroup ${PARTIMAG_GROUP_NAME} ${PARTIMAG_GROUP_GID}
- enewuser ${PARTIMAG_USER_NAME} ${PARTIMAG_USER_UID} ${PARTIMAG_USER_SH} ${PARTIMAG_USER_HOMEDIR} ${PARTIMAG_USER_GROUPS}
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # we can do better security ourselves
- epatch "${FILESDIR}"/${P}-nodumbpermchecks.diff || die
- epatch "${FILESDIR}"/${P}-chown.patch || die
- epatch "${FILESDIR}"/${P}-not_install_info.patch || die
- epatch "${FILESDIR}"/${P}-fixserverargs.diff || die
- epatch "${FILESDIR}"/${P}-lib64.patch || die
- epatch "${FILESDIR}"/${P}-fflush-before-re-read-partition-table.patch || die
- epatch "${FILESDIR}"/${P}-LP64-fixes.patch || die
- epatch "${FILESDIR}"/${P}-save_all_and_rest_all_actions.patch || die
- epatch "${FILESDIR}"/${P}-datadir-path.patch || die
- epatch "${FILESDIR}"/${P}-gui.diff || die
-}
-
-src_compile() {
- filter-flags -fno-exceptions
- use ppc && append-flags -fsigned-char
-
- local myconf
- use nologin && myconf="${myconf} --disable-login"
-
- econf \
- ${myconf} \
- --sysconfdir=/etc \
- `use_enable ssl` \
- `use_enable nls`|| die "econf failed"
-
- emake || die
-}
-
-src_install() {
- einstall \
- MKINSTALLDIRS=/usr/share/automake-1.8/mkinstalldirs || die
-
- keepdir /var/log/partimage
-
- insinto /etc/partimaged; doins "${FILESDIR}"/servercert.cnf || die
-
- newinitd "${FILESDIR}"/${PN}d.init ${PN}d || die
- newconfd "${FILESDIR}"/${PN}d.conf ${PN}d || die
-
- doman debian/partimage.1 debian/partimaged.8 "${FILESDIR}"/partimagedusers.5 || die
- dodoc AUTHORS BUGS ChangeLog INSTALL README* TODO partimage.lsm
-}
-
-# vars for SSL stuff
-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}"
- # force a permmissions fixup
- partimagesslperms
- fi
- chown partimag:0 /etc/partimaged/partimagedusers || die
-}
diff --git a/sys-block/partimage/partimage-0.6.4-r4.ebuild b/sys-block/partimage/partimage-0.6.4-r4.ebuild
deleted file mode 100644
index 859ee985860f..000000000000
--- a/sys-block/partimage/partimage-0.6.4-r4.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/partimage/partimage-0.6.4-r4.ebuild,v 1.17 2008/02/26 19:08:06 xmerlin Exp $
-
-WANT_AUTOMAKE="1.8"
-
-inherit eutils flag-o-matic pam autotools
-
-MY_P="${PN}-${PV}-1"
-DESCRIPTION="Console-based application to efficiently save raw partition data to an image file."
-HOMEPAGE="http://www.partimage.org/"
-SRC_URI="mirror://sourceforge/partimage/${MY_P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc"
-IUSE="ssl nologin nls pam static"
-
-DEPEND="virtual/libc
- >=sys-libs/zlib-1.1.4
- >=dev-libs/newt-0.51.6
- app-arch/bzip2
- =sys-libs/slang-1*
- nls? ( sys-devel/gettext )
- ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-RDEPEND="!static? ( virtual/libc
- >=sys-libs/zlib-1.1.4
- >=dev-libs/lzo-1.08
- >=dev-libs/newt-0.51.6
- app-arch/bzip2
- >=sys-libs/slang-1.4.5-r2
- nls? ( sys-devel/gettext )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- pam? ( virtual/pam )
- )"
-
-PARTIMAG_GROUP_GID=91
-PARTIMAG_USER_UID=91
-PARTIMAG_GROUP_NAME=partimag
-PARTIMAG_USER_NAME=partimag
-PARTIMAG_USER_SH=-1
-PARTIMAG_USER_HOMEDIR=/var/log/partimage
-PARTIMAG_USER_GROUPS=partimag
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- # Now add users if needed
- enewgroup ${PARTIMAG_GROUP_NAME} ${PARTIMAG_GROUP_GID}
- enewuser ${PARTIMAG_USER_NAME} ${PARTIMAG_USER_UID} ${PARTIMAG_USER_SH} ${PARTIMAG_USER_HOMEDIR} ${PARTIMAG_USER_GROUPS}
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # we can do better security ourselves
- epatch "${FILESDIR}"/${P}-nodumbpermchecks.diff || die
- epatch "${FILESDIR}"/${P}-chown.patch || die
- epatch "${FILESDIR}"/${P}-not_install_info.patch || die
- epatch "${FILESDIR}"/${P}-fixserverargs.diff || die
- epatch "${FILESDIR}"/${P}-1-lib64.patch
- epatch "${FILESDIR}"/${P}-fflush-before-re-read-partition-table.patch || die
- epatch "${FILESDIR}"/${P}-save_all_and_rest_all_actions.patch || die
- epatch "${FILESDIR}"/${P}-datadir-path.patch || die
- epatch "${FILESDIR}"/${P}-dont-discard-error-message-in-batch-mode.patch || die
- epatch "${FILESDIR}"/${P}-save_file_and_rest_file_actions.patch || die
- epatch "${FILESDIR}"/${P}-varargs.patch || die
- epatch "${FILESDIR}"/${P}-gui.diff || die
- epatch "${FILESDIR}"/${P}-empty-salt.patch || die
- epatch "${FILESDIR}"/${P}-help.patch || die
- epatch "${FILESDIR}"/${P}-xfs.patch || die
- epatch "${FILESDIR}"/${P}-port.patch || die
-}
-
-src_compile() {
- filter-flags -fno-exceptions
- use ppc && append-flags -fsigned-char
-
- local myconf
- use nologin && myconf="${myconf} --disable-login"
- if use static
- then
- use pam && ewarn "pam and static compilation are mutually exclusive - using static and ignoring pam"
- else
- myconf="${myconf} `use_enable pam`"
- fi
- econf \
- ${myconf} \
- --sysconfdir=/etc \
- `use_enable ssl` \
- `use_enable nls` \
- `use_enable static all-static` \
- || die "econf failed"
-
- emake || die "make failed"
- #if use pam
- #then
- # make pamfile || die "couldn't create pam file"
- #fi
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- MKINSTALLDIRS=/usr/share/automake-1.8/mkinstalldirs install || die
-
- keepdir /var/log/partimage
-
- insinto /etc/partimaged; doins "${FILESDIR}"/servercert.cnf || die
-
- # init.d / conf.d
- newinitd "${FILESDIR}"/${PN}d.init ${PN}d || die
- newconfd "${FILESDIR}"/${PN}d.conf ${PN}d || die
-
- doman debian/partimage.1 debian/partimaged.8 "${FILESDIR}"/partimagedusers.5 || die
- dodoc AUTHORS BUGS ChangeLog INSTALL README* TODO partimage.lsm
-
- # pam
- if use pam
- then
- newpamd "${FILESDIR}"/partimaged.pam partimaged || die
- fi
-}
-
-# vars for SSL stuff
-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}"
- # force a permmissions fixup
- partimagesslperms
- fi
- chown partimag:0 /etc/partimaged/partimagedusers || die
-}