summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/partimage/ChangeLog76
-rw-r--r--sys-apps/partimage/Manifest28
-rw-r--r--sys-apps/partimage/files/digest-partimage-0.6.21
-rw-r--r--sys-apps/partimage/files/digest-partimage-0.6.41
-rw-r--r--sys-apps/partimage/files/digest-partimage-0.6.4-r11
-rw-r--r--sys-apps/partimage/files/digest-partimage-0.6.4-r21
-rw-r--r--sys-apps/partimage/files/partimage-0.6.4-chown.patch38
-rw-r--r--sys-apps/partimage/files/partimage-0.6.4-fixserverargs.diff11
-rw-r--r--sys-apps/partimage/files/partimage-0.6.4-nodumbpermchecks.diff36
-rw-r--r--sys-apps/partimage/files/partimage-0.6.4-not_install_info.patch29
-rw-r--r--sys-apps/partimage/files/partimaged.conf10
-rw-r--r--sys-apps/partimage/files/partimaged.init29
-rw-r--r--sys-apps/partimage/files/partimagedusers.548
-rw-r--r--sys-apps/partimage/files/servercert.cnf37
-rw-r--r--sys-apps/partimage/metadata.xml10
-rw-r--r--sys-apps/partimage/partimage-0.6.2.ebuild62
-rw-r--r--sys-apps/partimage/partimage-0.6.4-r1.ebuild153
-rw-r--r--sys-apps/partimage/partimage-0.6.4-r2.ebuild138
-rw-r--r--sys-apps/partimage/partimage-0.6.4.ebuild136
19 files changed, 0 insertions, 845 deletions
diff --git a/sys-apps/partimage/ChangeLog b/sys-apps/partimage/ChangeLog
deleted file mode 100644
index 7cdc420b2b7c..000000000000
--- a/sys-apps/partimage/ChangeLog
+++ /dev/null
@@ -1,76 +0,0 @@
-# ChangeLog for sys-apps/partimage
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/ChangeLog,v 1.14 2005/01/16 15:30:56 xmerlin Exp $
-
-*partimage-0.6.4-r2 (16 Jan 2005)
-
- 16 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> metadata.xml,
- +files/partimage-0.6.4-chown.patch,
- +files/partimage-0.6.4-fixserverargs.diff,
- +files/partimage-0.6.4-not_install_info.patch, +files/partimaged.conf,
- +files/partimaged.init, +files/partimagedusers.5, partimage-0.6.2.ebuild,
- partimage-0.6.4-r1.ebuild, +partimage-0.6.4-r2.ebuild,
- partimage-0.6.4.ebuild:
- massive cleanup in partimage-0.6.4-r2.ebuild, merged swift@gentoo.org patch to
- fix -d flag in partimaged (bug #65717).
-
- 16 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> metadata.xml,
- +files/partimage.1, +files/partimaged.8, +files/partimaged.conf,
- +files/partimaged.init, +files/partimagedusers.5, partimage-0.6.2.ebuild,
- partimage-0.6.4-r1.ebuild, partimage-0.6.4.ebuild:
- added init script and conf file posted by Sven Vermeulen <swift@gentoo.org>
- (bug #59873). added man pages partimage.1 partimaged.8 partimagedusers.5
-
- 28 Oct 2004; Simon Stelling <blubb@gentoo.org> partimage-0.6.2.ebuild,
- partimage-0.6.4-r1.ebuild, partimage-0.6.4.ebuild:
- removing ~amd64, broken (see bug #69231)
-
- 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> partimage-0.6.2.ebuild,
- partimage-0.6.4-r1.ebuild, partimage-0.6.4.ebuild:
- glibc -> libc
-
-*partimage-0.6.4-r1 (14 May 2004)
-
- 14 May 2004; Robin H. Johnson <robbat2@gentoo.org>
- partimage-0.6.4-r1.ebuild, files/partimage-0.6.4-nodumbpermchecks.diff:
- fix bug #49048.
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> partimage-0.6.4.ebuild:
- Add inherit eutils
-
- 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> partimage-0.6.2.ebuild,
- partimage-0.6.4.ebuild:
- Add die following econf for bug 48950
-
- 26 Apr 2004; David Holm <dholm@gentoo.org> partimage-0.6.4.ebuild:
- Added to ~ppc.
-
- 26 Apr 2004; Robin H. Johnson <robbat2@gentoo.org> partimage-0.6.4.ebuild:
- fix thinko glitch, bug #49017, and put it back in ~x86 since it got in x86
- accidently.
-
-*partimage-0.6.4 (25 Apr 2004)
-
- 25 Apr 2004; Robin H. Johnson <robbat2@gentoo.org> partimage-0.6.4.ebuild,
- files/servercert.cnf:
- fix bugs #24727, #14687. massive new stuff for the new version to build
- properly, and a big pkg_config section for SSL certs.
-
- 28 Oct 2003; John Mylchreest <johnm@gentoo.org>; partimage-0.6.2.ebuild:
- fixing chown issue
-
-*partimage-0.6.2 (22 Dec 2002)
-
- 14 May 2003; Robin Johnson <robbat2@gentoo.org>: partimage-0.6.2.ebuild
- Updated ebuild to use SF mirrors and cleaned it up some.
- Also moved to stable after some testing.
-
- 22 Dec 2002; Daniel Robbins <drobbins@gentoo.org>: added initial release. The
- original version of this ebuild was submitted in bug #11804 by Derek Young
- (d@young.hostforweb.com.) Thank you Derek for submitting this ebuild. Several
- fixes were made to this ebuild but the basic approach remains intact. One
- thing that make not be fully functional is the creation of SSL certificates,
- which according to Derek requires the "partimag" user (hacked out of the
- Makefile) to exist. Files originally intended to be owned by "partimag" are
- owned by root in this ebuild.
-
diff --git a/sys-apps/partimage/Manifest b/sys-apps/partimage/Manifest
deleted file mode 100644
index c5d2ee0db632..000000000000
--- a/sys-apps/partimage/Manifest
+++ /dev/null
@@ -1,28 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 27408a9e0668010748bebef852e8824e partimage-0.6.4-r2.ebuild 3911
-MD5 2b233acc24b779d853f9ff395e523ca8 partimage-0.6.2.ebuild 1682
-MD5 8273e1c5e25099c464ff6c9165e44a68 partimage-0.6.4.ebuild 4162
-MD5 af9dc054f377124fc4dabd5f0d2cab84 partimage-0.6.4-r1.ebuild 4497
-MD5 b9140efc2e3e211e1e9a045f97033693 ChangeLog 3310
-MD5 6b4c83400b7b7a44afb53e1a7ac388af metadata.xml 300
-MD5 eb53aad37dc8ae6ed131a1502989446a files/partimage-0.6.4-fixserverargs.diff 366
-MD5 938ecb802f7e26ff8df88404f0648c7c files/partimagedusers.5 1263
-MD5 3bbd1e2fc0dd50034c600d01d08e8997 files/digest-partimage-0.6.4-r1 68
-MD5 3bbd1e2fc0dd50034c600d01d08e8997 files/digest-partimage-0.6.4-r2 68
-MD5 8fea14f38734fb0bbf6239671f5fff4b files/partimage-0.6.4-chown.patch 1660
-MD5 e723db4854081a8495b84f4b27ff813a files/servercert.cnf 1099
-MD5 58c44cd013afb15de340039a5de24b60 files/partimage-0.6.4-not_install_info.patch 1200
-MD5 7954fdb6067557fdd593a66ecae93ab3 files/partimage-0.6.4-nodumbpermchecks.diff 817
-MD5 6fd04332b7f640a2aa71f208d2bd2dc8 files/digest-partimage-0.6.2 68
-MD5 3bbd1e2fc0dd50034c600d01d08e8997 files/digest-partimage-0.6.4 68
-MD5 2c13eb13367bfb6ea193adb9215e565e files/partimaged.conf 423
-MD5 34dfbf851d81c1d467a4a438cacd21c1 files/partimaged.init 755
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFB6rf/I1lqEGTUzyQRAtsGAJkBIqnFLWHC+6bqgZZdERSArMpvxQCfQ5Z4
-j7QxWValqYw96dq+SElV8bk=
-=KNOx
------END PGP SIGNATURE-----
diff --git a/sys-apps/partimage/files/digest-partimage-0.6.2 b/sys-apps/partimage/files/digest-partimage-0.6.2
deleted file mode 100644
index 6d5fcacac91f..000000000000
--- a/sys-apps/partimage/files/digest-partimage-0.6.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c52ca81f23876cf9baa0dfcaa44d52ac partimage-0.6.2.tar.bz2 668265
diff --git a/sys-apps/partimage/files/digest-partimage-0.6.4 b/sys-apps/partimage/files/digest-partimage-0.6.4
deleted file mode 100644
index f525923985b4..000000000000
--- a/sys-apps/partimage/files/digest-partimage-0.6.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ee56df4a6be1f78f53dc48454655aa8a partimage-0.6.4.tar.bz2 654707
diff --git a/sys-apps/partimage/files/digest-partimage-0.6.4-r1 b/sys-apps/partimage/files/digest-partimage-0.6.4-r1
deleted file mode 100644
index f525923985b4..000000000000
--- a/sys-apps/partimage/files/digest-partimage-0.6.4-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ee56df4a6be1f78f53dc48454655aa8a partimage-0.6.4.tar.bz2 654707
diff --git a/sys-apps/partimage/files/digest-partimage-0.6.4-r2 b/sys-apps/partimage/files/digest-partimage-0.6.4-r2
deleted file mode 100644
index f525923985b4..000000000000
--- a/sys-apps/partimage/files/digest-partimage-0.6.4-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ee56df4a6be1f78f53dc48454655aa8a partimage-0.6.4.tar.bz2 654707
diff --git a/sys-apps/partimage/files/partimage-0.6.4-chown.patch b/sys-apps/partimage/files/partimage-0.6.4-chown.patch
deleted file mode 100644
index 49fa01483478..000000000000
--- a/sys-apps/partimage/files/partimage-0.6.4-chown.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- partimage-0.6.2/Makefile.am.orig 2002-11-25 06:08:36.000000000 -0500
-+++ partimage-0.6.2/Makefile.am 2002-11-25 06:08:58.000000000 -0500
-@@ -23,8 +23,6 @@
- rm ${sysconfdir}/partimaged/partimaged.csr ;\
- chmod 600 ${sysconfdir}/partimaged/partimaged.key ;\
- chmod 600 ${sysconfdir}/partimaged/partimaged.cert ;\
-- chown partimag.root ${sysconfdir}/partimaged/partimaged.key ;\
-- chown partimag.root ${sysconfdir}/partimaged/partimaged.cert ;\
- else \
- echo "SSL disabled, no certificate will be generated." ;\
- fi
-@@ -57,7 +55,6 @@
- echo "#sample # user 'sample' is allowed to connect partimaged" >> \
- ${sysconfdir}/partimaged/partimagedusers ;\
- chmod 600 ${sysconfdir}/partimaged/partimagedusers ;\
-- chown partimag.root ${sysconfdir}/partimaged/partimagedusers ;\
- fi
-
- $(mkinstalldirs) ${infodir}
---- partimage-0.6.2/Makefile.in.orig 2002-11-25 06:15:31.000000000 -0500
-+++ partimage-0.6.2/Makefile.in 2002-11-25 06:15:58.000000000 -0500
-@@ -651,8 +651,6 @@
- rm ${sysconfdir}/partimaged/partimaged.csr ;\
- chmod 600 ${sysconfdir}/partimaged/partimaged.key ;\
- chmod 600 ${sysconfdir}/partimaged/partimaged.cert ;\
-- chown partimag.root ${sysconfdir}/partimaged/partimaged.key ;\
-- chown partimag.root ${sysconfdir}/partimaged/partimaged.cert ;\
- else \
- echo "SSL disabled, no certificate will be generated." ;\
- fi
-@@ -684,7 +682,6 @@
- echo "#sample # user 'sample' is allowed to connect partimaged" >> \
- ${sysconfdir}/partimaged/partimagedusers ;\
- chmod 600 ${sysconfdir}/partimaged/partimagedusers ;\
-- chown partimag.root ${sysconfdir}/partimaged/partimagedusers ;\
- fi
-
- $(mkinstalldirs) ${infodir}
diff --git a/sys-apps/partimage/files/partimage-0.6.4-fixserverargs.diff b/sys-apps/partimage/files/partimage-0.6.4-fixserverargs.diff
deleted file mode 100644
index bd04502a93b3..000000000000
--- a/sys-apps/partimage/files/partimage-0.6.4-fixserverargs.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- partimage-0.6.4/src/server/partimaged-main.cpp.chris 2005-01-16 16:10:23.273973792 +0100
-+++ partimage-0.6.4/src/server/partimaged-main.cpp 2005-01-16 16:10:48.750100832 +0100
-@@ -78,7 +78,7 @@
- };
- #endif //HAVE_GETOPT_H
-
--static char optstring[]="ip:hvDdr:g:L";
-+static char optstring[]="ip:hvDd:r:g:L";
-
- bool g_bSigKill = false;
- bool g_bSigInt = false;
diff --git a/sys-apps/partimage/files/partimage-0.6.4-nodumbpermchecks.diff b/sys-apps/partimage/files/partimage-0.6.4-nodumbpermchecks.diff
deleted file mode 100644
index 5ca7971d23ca..000000000000
--- a/sys-apps/partimage/files/partimage-0.6.4-nodumbpermchecks.diff
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -urwb partimage-0.6.4.orig/src/shared/access.cpp partimage-0.6.4/src/shared/access.cpp
---- partimage-0.6.4.orig/src/shared/access.cpp 2004-02-03 16:57:36.000000000 -0800
-+++ partimage-0.6.4/src/shared/access.cpp 2004-05-13 21:38:38.000000000 -0700
-@@ -323,12 +323,14 @@
- return 1;
- }
- mode = status.st_mode;
-+ /*
- if (!S_ISREG(mode))
- {
- help(szFile);
- showDebug(0, "file %s is not a regular file\n", szFile);
- return 1;
- }
-+ */
- /*
- if (status.st_uid != 0 || status.st_gid != 0)
- {
-@@ -337,7 +339,7 @@
- return 1;
- }
- */
--
-+ /*
- if (mode != (S_IFREG | S_IRUSR | S_IWUSR))
- {
- help(szFile);
-@@ -346,7 +348,7 @@
- showDebug(0, "it's %o, see stat manpage for help\n");
- return 1;
- }
--
-+ */
- return 0;
- }
- #else // HAVE_PAM
diff --git a/sys-apps/partimage/files/partimage-0.6.4-not_install_info.patch b/sys-apps/partimage/files/partimage-0.6.4-not_install_info.patch
deleted file mode 100644
index 7abe47bbf43f..000000000000
--- a/sys-apps/partimage/files/partimage-0.6.4-not_install_info.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- partimage-0.6.4/Makefile.in.chris 2005-01-14 01:32:01.000000000 +0100
-+++ partimage-0.6.4/Makefile.in 2005-01-14 01:33:01.483820264 +0100
-@@ -685,16 +685,16 @@
- chmod 600 ${sysconfdir}/partimaged/partimagedusers ;\
- fi
-
-- $(mkinstalldirs) ${infodir}
-- $(INSTALL_DATA) AUTHORS ${infodir}/AUTHORS
-- $(INSTALL_DATA) BUGS ${infodir}/BUGS
-- $(INSTALL_DATA) COPYING ${infodir}/COPYING
-- $(INSTALL_DATA) ChangeLog ${infodir}/ChangeLog
-- $(INSTALL_DATA) INSTALL ${infodir}/INSTALL
-- $(INSTALL_DATA) README ${infodir}/README
-- $(INSTALL_DATA) README.partimaged ${infodir}/README.partimaged
-- $(INSTALL_DATA) TODO ${infodir}/TODO
-- $(INSTALL_DATA) partimage.lsm ${infodir}/partimage.lsm
-+ #$(mkinstalldirs) ${infodir}
-+ #$(INSTALL_DATA) AUTHORS ${infodir}/AUTHORS
-+ #$(INSTALL_DATA) BUGS ${infodir}/BUGS
-+ #$(INSTALL_DATA) COPYING ${infodir}/COPYING
-+ #$(INSTALL_DATA) ChangeLog ${infodir}/ChangeLog
-+ #$(INSTALL_DATA) INSTALL ${infodir}/INSTALL
-+ #$(INSTALL_DATA) README ${infodir}/README
-+ #$(INSTALL_DATA) README.partimaged ${infodir}/README.partimaged
-+ #$(INSTALL_DATA) TODO ${infodir}/TODO
-+ #$(INSTALL_DATA) partimage.lsm ${infodir}/partimage.lsm
-
- uninstall-local:
- -rm -f ${infodir}/AUTHORS
diff --git a/sys-apps/partimage/files/partimaged.conf b/sys-apps/partimage/files/partimaged.conf
deleted file mode 100644
index 898d1912501a..000000000000
--- a/sys-apps/partimage/files/partimaged.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/files/partimaged.conf,v 1.1 2005/01/16 15:30:56 xmerlin Exp $
-
-# You can define the following optional arguments:
-# -d <dest> Destination directory for the backup images
-# -pX Server port
-# -r <dest> Chroot directory for improved security
-
-#PARTIMAGED_OPTS=""
diff --git a/sys-apps/partimage/files/partimaged.init b/sys-apps/partimage/files/partimaged.init
deleted file mode 100644
index c1a160914f03..000000000000
--- a/sys-apps/partimage/files/partimaged.init
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/runscript
-# Copyright 2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/files/partimaged.init,v 1.1 2005/01/16 15:30:56 xmerlin Exp $
-
-PARTIMAGED="/usr/sbin/partimaged"
-
-failed_startup() {
- eerror "The PartImage daemon did not start up correctly."
- eerror "Perhaps you compiled it with SSL support but forgot to run the ebuild config?"
- return 1
-}
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting partimaged"
- start-stop-daemon --start --quiet --exec ${PARTIMAGED} \
- -- ${PARTIMAGED_OPTS} --daemon &> /dev/null
- eend $? || failed_startup
-}
-
-stop() {
- ebegin "Stopping partimaged"
- start-stop-daemon --stop --exec ${PARTIMAGED}
- eend $?
-}
diff --git a/sys-apps/partimage/files/partimagedusers.5 b/sys-apps/partimage/files/partimagedusers.5
deleted file mode 100644
index 502312506202..000000000000
--- a/sys-apps/partimage/files/partimagedusers.5
+++ /dev/null
@@ -1,48 +0,0 @@
-.\"
-.\" Copyright (c) 2001 Partition Image Team
-.\" All rights reserved.
-.\"
-.\" Permission is granted to copy, distribute and/or modify this
-.\" document under the terms of the GNU Free Documentation License,
-.\" Version 1.1 or any later version published by the Free Software
-.\" Foundation; with no Invariant Sections, with no Front-Cover Texts, and
-.\" with no Back-Cover Texts. A copy of the license is included in top of
-.\" package.
-.\"
-.TH partimagedusers 5 "23 June 2001"
-.UC 5
-.SH NAME
-partimagedusers \- list of allowed users.
-.SH DESCRIPTION
-The
-.B partimagedusers
-file
-lists all allowed users to connect partimaged. This file must belong to user \
- "partimag" and must have permissions -rw------- or -r-------.
-.PP
-The configuration file consists of a set of lines.
-All empty lines will be ignored.
-Comments begin with a #, and everything on the line after them are ignored.
-.PP
-Put all allowed to connect partimaged users on the remaining lines, one
-login per line.
-.SH EXAMPLE
-.LP
-.PD .1v
-.RS
-.nf
-#
-# Sample users list for partimaged
-# We only allow user2 and user6 to connect partimaged
-# from partimage
-user2
-user6
-# end of list
-.PD
-.SH "SEE ALSO"
-.BR partimage(1) ,
-.BR partimaged(8)
-.SH AUTHOR
-.nf
-Franck Ladurelle <ladurelf@partimage.org>
-
diff --git a/sys-apps/partimage/files/servercert.cnf b/sys-apps/partimage/files/servercert.cnf
deleted file mode 100644
index 63d4555cb8a5..000000000000
--- a/sys-apps/partimage/files/servercert.cnf
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/files/servercert.cnf,v 1.2 2004/07/18 04:35:41 dragonheart Exp $
-# Robin H. Johnson <robbat2@gentoo.org> - October 17, 2003
-# This is the openssl config file to generate keys for partimage
-# It is read by mkservercert
-
-[ req ]
-# you can increase this value, but be aware that it will make things much slower
-# this should be a power of 2!
-default_bits = 1024
-# leave the rest of these alone!
-encrypt_key = yes
-distinguished_name = req_dn
-x509_extensions = cert_type
-prompt = no
-
-[ req_dn ]
-# 2-Letter ISO country code
-C=US
-# FULL name of state/province/district
-# NO abbreviations!
-ST=Alabama
-# FULL name of city
-# NO abbreviations!
-L=Mobile
-# Full Name of your organization
-# NO abbreviations!
-O=Foobar Systems
-# Leave this alone unless specifically need to change it!
-OU=Automatically-generated PartImage SSL key
-# This should be a FQDN that resolves to the IP of your server
-CN=localhost
-# This should be the email address for the administrator of the server
-emailAddress=root@localhost
-
-# Leave this alone!
-[ cert_type ]
-nsCertType = server
diff --git a/sys-apps/partimage/metadata.xml b/sys-apps/partimage/metadata.xml
deleted file mode 100644
index 65335d039e66..000000000000
--- a/sys-apps/partimage/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>base-system</herd>
- <maintainer>
- <email>xmerlin@gentoo.org</email>
- <name>Christian Zoffoli</name>
- </maintainer>
- <longdescription></longdescription>
-</pkgmetadata>
diff --git a/sys-apps/partimage/partimage-0.6.2.ebuild b/sys-apps/partimage/partimage-0.6.2.ebuild
deleted file mode 100644
index 90cd13cd0a55..000000000000
--- a/sys-apps/partimage/partimage-0.6.2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.2.ebuild,v 1.17 2005/01/16 15:30:56 xmerlin Exp $
-
-inherit gnuconfig
-
-DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
-HOMEPAGE="http://www.partimage.org/"
-SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE="ssl"
-
-RDEPEND="virtual/libc
- >=sys-libs/zlib-1.1.4
- >=dev-libs/lzo-1.08
- >=dev-libs/newt-0.50.35-r1
- >=sys-libs/slang-1.4.5-r2
- app-arch/bzip2
- ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-DEPEND="${RDEPEND} sys-devel/autoconf"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # Patch Makefile.am so we can take over some of is install work
- #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
- autoconf
-
- gnuconfig_update
-}
-
-src_compile() {
- # SSL is optional
- local sslconf
- use ssl || sslconf="--disable-ssl"
- econf \
- ${sslconf} \
- --infodir=/usr/share/doc/${PF} || die "econf failed"
- cp Makefile Makefile.orig
- sed -e "s/partimag\.root/root:root/g" Makefile.orig > Makefile
- emake || die
-}
-
-src_install() {
- make \
- prefix=${D}/usr \
- sysconfdir=${D}/etc \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/doc/${PF} \
- localedir=${D}/usr/share/locale \
- gettextsrcdir=${D}/usr/share/gettext/po \
- install || die
-
- # init.d / conf.d
- exeinto /etc/init.d ; newexe ${FILESDIR}/${PN}d.init ${PN}d || die
- insinto /etc/conf.d ; newins ${FILESDIR}/${PN}d.conf ${PN}d || die
-
- doman debian/partimage.1 debian/partimaged.8 ${FILESDIR}/partimagedusers.5 || die
-}
diff --git a/sys-apps/partimage/partimage-0.6.4-r1.ebuild b/sys-apps/partimage/partimage-0.6.4-r1.ebuild
deleted file mode 100644
index d71d7220734c..000000000000
--- a/sys-apps/partimage/partimage-0.6.4-r1.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.4-r1.ebuild,v 1.7 2005/01/16 15:30:56 xmerlin Exp $
-
-inherit gnuconfig eutils
-
-DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
-HOMEPAGE="http://www.partimage.org/"
-SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE="ssl nologin"
-
-RDEPEND="virtual/libc
- >=sys-libs/zlib-1.1.4
- >=dev-libs/lzo-1.08
- >=dev-libs/newt-0.50.35-r1
- >=sys-libs/slang-1.4.5-r2
- app-arch/bzip2
- ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-DEPEND="${RDEPEND} sys-devel/autoconf"
-
-PARTIMAG_GROUP_GID=91
-PARTIMAG_USER_UID=91
-PARTIMAG_GROUP_NAME=partimag
-PARTIMAG_USER_NAME=partimag
-PARTIMAG_USER_SH=/bin/false
-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}-fixserverargs.diff || die
- # Patch Makefile.am so we can take over some of is install work
- #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
- sed '18d' -i configure.ac
- sed '1iACLOCAL_AMFLAGS = -I macros' -i Makefile.am
- for i in intl/Makefile.in po/Makefile.in.in; do
- sed 's/^mkinstalldirs =.*/mkinstalldirs = mkdir -p /g' -i ${i}
- done
- sed 's/chown partimag.root/chown partimag:root/g' -i Makefile.am
- gnuconfig_update
- automake
- aclocal
- autoconf
-}
-
-src_compile() {
- # SSL is optional
- local myconf
- myconf="--cache-file=${S}/config.cache"
- use ssl || myconf="${myconf} --disable-ssl"
- use nologin && myconf="${myconf} --disable-login"
- econf \
- ${myconf} \
- --infodir=/usr/share/doc/${PF} || die "econf failed"
- cp Makefile Makefile.orig
- sed -e "s/partimag\.root/root:root/g" Makefile.orig > Makefile
- emake || die
-}
-
-src_install() {
- make \
- prefix=${D}/usr \
- sysconfdir=${D}/etc \
- mandir=${D}/usr/share/man \
- datadir=${D}/usr/share \
- infodir=${D}/usr/share/doc/${PF} \
- localedir=${D}/usr/share/locale \
- gettextsrcdir=${D}/usr/share/gettext/po \
- install || die
- keepdir /var/log/partimage
- insinto /etc/partimaged
- doins ${FILESDIR}/servercert.cnf
-
- # init.d / conf.d
- exeinto /etc/init.d ; newexe ${FILESDIR}/${PN}d.init ${PN}d || die
- insinto /etc/conf.d ; newins ${FILESDIR}/${PN}d.conf ${PN}d || die
-
- doman debian/partimage.1 debian/partimaged.8 ${FILESDIR}/partimagedusers.5 || die
-}
-
-# 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:root ${privkey} 2>/dev/null
- ret=$((${ret}+$?))
- chmod 644 ${cert} ${csr} 2>/dev/null
- ret=$((${ret}+$?))
- chown root:root ${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 "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- # force a permmissions fixup
- partimagesslperms
- return 0
- fi
-}
diff --git a/sys-apps/partimage/partimage-0.6.4-r2.ebuild b/sys-apps/partimage/partimage-0.6.4-r2.ebuild
deleted file mode 100644
index 391f03a7477c..000000000000
--- a/sys-apps/partimage/partimage-0.6.4-r2.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.4-r2.ebuild,v 1.1 2005/01/16 15:30:56 xmerlin Exp $
-
-inherit gnuconfig eutils
-
-DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
-HOMEPAGE="http://www.partimage.org/"
-SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="ssl nologin nls"
-
-DEPEND="${RDEPEND} sys-devel/autoconf"
-
-RDEPEND="virtual/libc
- >=sys-libs/zlib-1.1.4
- >=dev-libs/lzo-1.08
- >=dev-libs/newt-0.50.35-r1
- app-arch/bzip2
- >=sys-libs/slang-1.4.5-r2
- nls? ( sys-devel/gettext )
- ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-PARTIMAG_GROUP_GID=91
-PARTIMAG_USER_UID=91
-PARTIMAG_GROUP_NAME=partimag
-PARTIMAG_USER_NAME=partimag
-PARTIMAG_USER_SH=/bin/false
-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
-}
-
-src_compile() {
- local myconf
- use nologin && myconf="${myconf} --disable-login"
-
- econf \
- ${myconf} \
- `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
-
- # init.d / conf.d
- exeinto /etc/init.d ; newexe ${FILESDIR}/${PN}d.init ${PN}d || die
- insinto /etc/conf.d ; newins ${FILESDIR}/${PN}d.conf ${PN}d || die
-
- doman debian/partimage.1 debian/partimaged.8 ${FILESDIR}/partimagedusers.5 || die
- dodoc AUTHORS BUGS COPYING 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:root ${privkey} 2>/dev/null
- ret=$((${ret}+$?))
- chmod 644 ${cert} ${csr} 2>/dev/null
- ret=$((${ret}+$?))
- chown root:root ${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 "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- # force a permmissions fixup
- partimagesslperms
- return 0
- fi
-} \ No newline at end of file
diff --git a/sys-apps/partimage/partimage-0.6.4.ebuild b/sys-apps/partimage/partimage-0.6.4.ebuild
deleted file mode 100644
index ac3b5756db2f..000000000000
--- a/sys-apps/partimage/partimage-0.6.4.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.4.ebuild,v 1.9 2005/01/16 15:30:56 xmerlin Exp $
-
-inherit gnuconfig eutils
-
-DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
-HOMEPAGE="http://www.partimage.org/"
-SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE="ssl nologin"
-
-RDEPEND="virtual/libc
- >=sys-libs/zlib-1.1.4
- >=dev-libs/lzo-1.08
- >=dev-libs/newt-0.50.35-r1
- >=sys-libs/slang-1.4.5-r2
- app-arch/bzip2
- ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-DEPEND="${RDEPEND} sys-devel/autoconf"
-
-PARTIMAG_GROUP_GID=91
-PARTIMAG_USER_UID=91
-PARTIMAG_GROUP_NAME=partimag
-PARTIMAG_USER_NAME=partimag
-PARTIMAG_USER_SH=/bin/false
-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}
- epatch ${FILESDIR}/${P}-fixserverargs.diff || die
- # Patch Makefile.am so we can take over some of is install work
- #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
- sed '18d' -i configure.ac
- sed '1iACLOCAL_AMFLAGS = -I macros' -i Makefile.am
- for i in intl/Makefile.in po/Makefile.in.in; do
- sed 's/^mkinstalldirs =.*/mkinstalldirs = mkdir -p /g' -i ${i}
- done
- sed 's/chown partimag.root/chown partimag:root/g' -i Makefile.am
- gnuconfig_update
- automake
- aclocal
- autoconf
-}
-
-src_compile() {
- # SSL is optional
- local myconf
- myconf="--cache-file=${S}/config.cache"
- use ssl || myconf="${myconf} --disable-ssl"
- use nologin && myconf="${myconf} --disable-login"
- econf \
- ${myconf} \
- --infodir=/usr/share/doc/${PF} || die "econf failed"
- cp Makefile Makefile.orig
- sed -e "s/partimag\.root/root:root/g" Makefile.orig > Makefile
- emake || die
-}
-
-src_install() {
- make \
- prefix=${D}/usr \
- sysconfdir=${D}/etc \
- mandir=${D}/usr/share/man \
- datadir=${D}/usr/share \
- infodir=${D}/usr/share/doc/${PF} \
- localedir=${D}/usr/share/locale \
- gettextsrcdir=${D}/usr/share/gettext/po \
- install || die
- keepdir /var/log/partimage
- insinto /etc/partimaged
- doins ${FILESDIR}/servercert.cnf
-
- # init.d / conf.d
- exeinto /etc/init.d ; newexe ${FILESDIR}/${PN}d.init ${PN}d || die
- insinto /etc/conf.d ; newins ${FILESDIR}/${PN}d.conf ${PN}d || die
-
- doman debian/partimage.1 debian/partimaged.8 ${FILESDIR}/partimagedusers.5 || die
-}
-
-pkg_config() {
- local dir=${ROOT}etc/partimaged
- privkey="${dir}/partimaged.key"
- cnf="${dir}/servercert.cnf"
- csr="${dir}/partimaged.csr"
- cert="${dir}/partimaged.cert"
- 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"
- chmod 600 ${privkey} || die "Failed!"
- chown partimag:root ${privkey} || die "Failed!"
- chmod 644 ${cert} ${csr} || die "Failed!"
- chown root:root ${cert} ${csr} || die "Failed!"
- 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 "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- fi
-}