debian/0000775000000000000000000000000012245514154007173 5ustar debian/source/0000775000000000000000000000000011546117245010476 5ustar debian/source/format0000664000000000000000000000001411546107736011710 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000353110751445225011132 0ustar This package was debianized by Sergio Rua on Thu, 17 May 2001 12:30:19 +0200. It was downloaded from http://partimage.sourceforge.net Upstream Authors: Francois Dupoux Franck Ladurelle Copyright: Copyright (C) 2000-2001 Francois Dupoux , Franck Ladurelle This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fith Floor, Boston, MA 02110-1301 USA. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL'. ======================================================================== The manpages partimage.1, partimaged.8 and partimagedusers.5 are distributed under the terms of the GFDL. 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. On Debian systems, the complete text of the GNU Free Documentation License can be found in `/usr/share/common-licenses/GFDL'. debian/partimage-server.manpages0000664000000000000000000000012410434420343014154 0ustar debian/man/partimaged.8 debian/man/partimagedusers.5 debian/man/partimaged-passwd.8 debian/partimage.install0000664000000000000000000000011511514153042012522 0ustar debian/tmp/usr/share/locale/*/LC_MESSAGES/*.mo debian/tmp/usr/sbin/partimage debian/partimage-certs.cnf0000664000000000000000000000052610276550240012753 0ustar RANDFILE = /etc/partimaged/partimaged.rand [ req ] default_bits = 1024 encrypt_key = yes distinguished_name = req_dn x509_extensions = cert_type prompt = no [ req_dn ] C=US ST=NY L=New York O=Partimage Server OU=Automatically-generated Partimage SSL key CN=localhost emailAddress=postmaster@example.com [ cert_type ] nsCertType = server debian/changelog0000664000000000000000000007474712245514154011070 0ustar partimage (0.6.8-2.2ubuntu1) trusty; urgency=low * Recommend a default db-util, instead of db5.1-util. -- Dmitrijs Ledkovs Thu, 28 Nov 2013 01:11:49 +0000 partimage (0.6.8-2.2) unstable; urgency=low * Non-maintainer upload. * debian/patches/03-ftbfs-zlib.patch: Fix FTBFS errors: "cannot convert 'gzFile_s**' to 'gzFile' for argument '1'". (Closes: #662596) -- Mònica Ramírez Arceda Tue, 27 Mar 2012 00:26:40 +0200 partimage (0.6.8-2.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS -Werror=format-security (Closes: #643453) -- Simon Paillard Fri, 18 Nov 2011 23:05:47 +0100 partimage (0.6.8-2) unstable; urgency=low * Bump debhelper compatibility level to 8. * Switch to dpkg source format 3.0 (quilt) - Add debian/source/format. - Drop Build-Depends on quilt. - Remove /usr/share/cdbs/1/rules/patchsys-quilt.mk from debian/rules. * Bump Standards-Version to 3.9.1. No further changes. * debian/patches/01-openssl.patch - Fix build failure when compiling against libssl-dev (>= 1.0.0). The Debian openssl package has dropped SSL2 support. * Update db-utils versions for partimaged-passwd, current default is 5.1. -- Michael Biebl Sun, 03 Apr 2011 17:42:22 +0200 partimage (0.6.8-1) unstable; urgency=low * New upstream release. * Use set -e instead of #!/bin/sh -e for all maintainer scripts. * debian/patches/01-gcc4.3-includes.patch - Removed, merged upstream. * Bump Standards-Version to 3.8.3. Add README.source which refers to the quilt patch management documentation. * Update list of db-util versions, make db4.7-util the recommended one. -- Michael Biebl Fri, 25 Sep 2009 06:21:20 +0200 partimage (0.6.7-2) unstable; urgency=low * debian/control - Add {misc:Depends} to all binary packages. - Wrap Build-Depends. - Remove -1 revision from e2fslibs-dev Build-Depends. - Bump Build-Depends on debhelper to (>= 7). - Bump Depends on lsb-base to (>= 3.2-14) for status_of_proc. - Bump Standards-Version to 3.8.1. No further changes. * debian/compat - Bump debhelper compat level to 7. * debian/rules - Include debhelper.mk before any other files as recommended by the cdbs documentation. * Switch patch management system to quilt. * debian/partimage-server.partimaged.init - Add "status" action using status_of_proc. - Track the daemon using a pid file. Pass -m and -b to s-s-d for that to work and remove -D from OPTS - Print more useful messages if daemon is already running or stopped. -- Michael Biebl Wed, 08 Apr 2009 00:19:43 +0200 partimage (0.6.7-1) unstable; urgency=low * New upstream release. Closes: #443572 * Removed patches - debian/patches/disable_header_check.diff (fixed upstream) - debian/patches/empty_salt.diff (merged upstream) - debian/patches/help.diff (merged upstream) - debian/patches/makefile_ssl_fix.diff (obsolete) - debian/patches/partimaged_gui.diff (merged upstream) - debian/patches/port.diff (merged upstream) - debian/patches/xfs.diff (fixed upstream) * debian/patches/01-gcc4.3-includes.patch - Fix FTBFS with GCC 4.3 by using the iso C++ headers. Closes: #461716 * debian/control - Use new Homepage field to specify the upstream URL. - Bump Standards-Version to 3.7.3 after removing the complete copy of the GFDL from debian/copyright. - Make db4.6-util the only recommended version. - Fix a few spelling errors in the long description. * debian/partimage-server.partimaged.init - Fix LSB init header. Use $remote_fs instead of $local_fs as the daemon requires /usr to be mounted. - Remove S from Should-Stop. * debian/partimage-server.partimaged.default - Remove LAUNCH option. To disable the service use a runlevel editor like sysv-rc-conf instead. * debian/copyright - Remove the complete copy of the GFDL and add a pointer to /usr/share/common-licenses/GFDL instead. * debian/partimaged-passwd - Add support for db4.6-util. * debian/rules - Remove hacks which are no longer necessary. -- Michael Biebl Mon, 04 Feb 2008 00:42:54 +0100 partimage (0.6.4-17) unstable; urgency=low * Update maintainer email address to biebl@debian.org. * Switch debian/partimaged-passwd to /bin/bash, it uses bash only features, like read -s. * debian/patches/disable_header_check.diff - Added. Disable header check for amd64. Closes: #391046 This patch is a workaround. A proper fix is expected in the next upstream release. -- Michael Biebl Wed, 25 Oct 2006 02:41:43 +0200 partimage (0.6.4-16) unstable; urgency=medium * Updated xfs.diff to fix a FTBFS on amd64. Closes: #374633 Thanks to Andreas Jochens for the patch. * Fixed small typo in package description and README file. Closes: #390249 * Added a Recommends: db4-util | db4.3-util | db4.2-util. Closes: #376040 * Added LSB header to init script. -- Michael Biebl Sat, 30 Sep 2006 01:47:17 +0200 partimage (0.6.4-15) unstable; urgency=low * Bumped debhelper compatibility to 5. * Bumped Standards-Version to 3.7.2, no further changes required. * Added homepage URL to package description. * Added versioned dependency on lsb-base. Closes: #335953 * Updated patch xfs.diff to make partimage compile on ppc64. Closes: #361075 Thanks to Andreas Jochens. * Do not recommend the usage of update-rc.d in /etc/default/partimaged but suggest better alternatives. Closes: #367598 * Set the default debug level to 1. * PAM support is back. Added empty_salt.diff to fix the crash related to PAM. Also install a pam configuration file into /etc/pam.d/partimaged. Because of security reasons an alternative authentication scheme was implemented using its own password file in /etc/partimaged/passwd.db. Wrote a small tool called partimage-passwd to simplify the management of this user database. Closes: #339745 Updated instructions in README.Debian and added a manpage for partimaged-passwd. * Synced the list of supported file systems in package description, manpage, README, help and compile time info. Closes: 338735 -- Michael Biebl Mon, 22 May 2006 22:25:02 +0200 partimage (0.6.4-14) unstable; urgency=low * Removed dependency to debconf for partimage-server (forgot to do that in 0.6.4-12). -- Michael Biebl Mon, 26 Sep 2005 21:56:35 +0200 partimage (0.6.4-13) unstable; urgency=low * Added status line to partimaged gui and hooks so that partimaged can be stopped from keyboard. Closes: #179775 * Switched build system to cdbs. * Extracted Debian specific modifications and moved them to separate patches in debian/patches. * Updated FSF address in copyright file. -- Michael Biebl Tue, 6 Sep 2005 19:29:14 +0200 partimage (0.6.4-12) unstable; urgency=low * Updated to Debian Policy Standards Version 3.6.2. * Reworked maintainer scripts. Removed bashisms and improved the creation of the system user/group partimag. * Added dependency to adduser and lsb-base for partimage-server. * Rebuild against libslang2. Closes: #316000, #321547 * Changed architecture back to any. Added some notes about possible problems in README.Debian. Closes: #321557 * Removed pam support for partimage-server. Seems to be broken by the GCC4 transition. * Enabled cheuid for partimage-server. partimaged now drops its privileges on startup and runs as uid "partimag". The default behaviour now is to start partimaged on system startup. Closes: #297935 * Removed debconf questions. Providing sane defaults and giving instructions in README.Debian how to change the defaults instead. Closes: #311099, #316699, #315146, #316698 * Revised man pages. Closes: #211204 * Directory /var/log/partimage is created for partimage package. Closes: #301244 -- Michael Biebl Fri, 12 Aug 2005 02:26:57 +0200 partimage (0.6.4-11) unstable; urgency=high * New maintainer. Closes: #301562 * Revised German translation, switched German po files to UTF-8 encoding. * Changed the description of the package. * Removed build dependencies to automake, autoconf and autotools-dev * Thanks to Anibal for sponsoring this package. -- Michael Biebl Tue, 10 May 2005 00:23:14 +0200 partimage (0.6.4-10.2) unstable; urgency=high * NMU by Anibal Monsalve Salazar. * Fixed RC bug #294953 "refuses to restore image on i386 which is created on s390". Changed architecture from any to i386, closes: #294953. -- Anibal Monsalve Salazar Mon, 09 May 2005 10:58:06 +1000 partimage (0.6.4-10.1) unstable; urgency=low * NMU * Added complete GFDL text to debian/copyright and correct license location to debian/man/*. Closes: #292240, #292241 * Removed configure call from debian/rules:clean -- Paul Brossier Sat, 5 Feb 2005 03:40:46 +0000 partimage (0.6.4-10) unstable; urgency=low * Change to i386 only! Closes: #268248 -- Sergio Rua Wed, 13 Oct 2004 12:16:25 +0100 partimage (0.6.4-9) unstable; urgency=low * Added portuguese po debconf. -- Sergio Rua Tue, 28 Sep 2004 05:03:46 +0100 partimage (0.6.4-8) unstable; urgency=low * I am sorry to say that ia64 will not be supported anymore. Closes: #259523 -- Sergio Rua Wed, 22 Sep 2004 11:39:17 +0100 partimage (0.6.4-7) unstable; urgency=low * Added patchs to document restoring from stdin. Thanks to Andree Leidenfrost. Closes: #248076 -- Sergio Rua Tue, 15 Jun 2004 16:44:40 +0100 partimage (0.6.4-6) unstable; urgency=low * Added patch for compilation in amd64. Thanks to Andreas Jochens Closes: #254014 -- Sergio Rua Sat, 12 Jun 2004 16:36:24 +0100 partimage (0.6.4-5) unstable; urgency=low * Fixed wrong file size units on help. Closes: #243888 * Added "-B" option into man page. Thanks to Andree Leidenfrost. Closes: #246316 -- Sergio Rua Wed, 5 May 2004 16:25:11 +0100 partimage (0.6.4-4) unstable; urgency=low * Added debconf translation to Catalan. Closes: #236650 * Fixed problem with the "-d" option. Closes: #236583 -- Sergio Rua Mon, 8 Mar 2004 10:00:31 +0000 partimage (0.6.4-3) unstable; urgency=low * Changed user creation order. Closes: #211366 * Decreased autoconf version. Closes: #234008 * Added japaneses debconf translation. Closes: #233941 * Updated french debconf translation. Closes: #235512 -- Sergio Rua Mon, 1 Mar 2004 09:34:03 +0000 partimage (0.6.4-2) unstable; urgency=low * Added Danish debconf translation. Closes: #233577 * Fixed typo in template. Closes: #214704 * Revised Spanish and Galician translations -- Sergio Rua Thu, 19 Feb 2004 09:22:43 +0000 partimage (0.6.4-1) unstable; urgency=low * New upstream release * Corrected template mistype. Closes: #230603 * Updated Debian Policy Version. * Updated config.* files -- Sergio Rua Mon, 9 Feb 2004 10:03:27 +0000 partimage (0.6.3-1) unstable; urgency=low * Updated spanish debconf po file. Closes: #228103 * Added french debconf translation. Closes: #214863 * Updated libssl dependencies. Closes: #191502 -- Sergio Rua Tue, 3 Feb 2004 15:30:54 +0000 partimage (0.6.2.final-9) unstable; urgency=low * Added patch to migrate debconf templates to gettext. Closes: #214388 * Removed not translated file br.po Closes: #200863 -- Sergio Rua Mon, 6 Oct 2003 11:26:58 +0100 partimage (0.6.2.final-8) unstable; urgency=low * Closes: #203702: Error at package installation. Replaced "user.group" by "user:group" in the chown syntax * Upgraded german translation -- Sergio Rua Fri, 8 Aug 2003 10:26:05 +0100 partimage (0.6.2.final-7) unstable; urgency=low * Added man pages from partimage-doc. Closes: #200600 -- Sergio Rua Wed, 9 Jul 2003 13:40:52 +0100 partimage (0.6.2.final-6) unstable; urgency=low * Fixed restart problem with partimage-server. Closes: #198631 * This rebuild using the last libnewt should Closes: #197084 -- Sergio Rua Thu, 26 Jun 2003 09:02:45 +0100 partimage (0.6.2.final-5) unstable; urgency=low * Added option "-d" to select a target directory for the images. Closes: #195081 * Update man page. Closes: #195077 * Applied 'really_batchmode' patch from Ian Jackson. Closes: #187898 -- Sergio Rua Thu, 29 May 2003 15:09:10 +0100 partimage (0.6.2.final-4) unstable; urgency=low * Fixed some problems in the postinst and postrm script in partimage-server. Closes: #195026 -- Sergio Rua Wed, 28 May 2003 10:02:36 +0100 partimage (0.6.2.final-3) unstable; urgency=medium * Fixed bug on PPC thanks to Matthias Urlichs. Closes: #193391 * Removed slang1-dev from Build-depends. libnewt contains the dependency in slang or slang-utf8 * Changed build-depends on newt to use the new version 0.51. Closes: #194087 * Moved to main -- Sergio Rua Tue, 20 May 2003 14:41:08 +0100 partimage (0.6.2.final-2) unstable; urgency=low * Updated config.sub and config.guess Closes: #173798 -- Sergio Rua Fri, 20 Dec 2002 23:27:25 +0000 partimage (0.6.2.final-1) unstable; urgency=low * New upstream release * Removed g++ from build-depends according with the section 2.4.2 of the Debian Policy and suggested by Adrian Bunk. Closes: #168011 * Closes upload wishlist. Closes: #172167 -- Sergio Rua Sun, 8 Dec 2002 14:33:16 +0000 partimage (0.6.2rc11-1) unstable; urgency=low * New upstream release -- Sergio Rua Thu, 14 Nov 2002 18:26:13 +0000 partimage (0.6.2rc5-6) unstable; urgency=low * Added a patch to allow compatibility between 0.6.x. Closes: #166083 -- Sergio Rua Thu, 24 Oct 2002 17:33:58 +0100 partimage (0.6.2rc5-5) unstable; urgency=low * Fixed 'make clean' entry from rules file. Closes: #165620 -- Sergio Rua Mon, 21 Oct 2002 13:49:02 +0100 partimage (0.6.2rc5-4) unstable; urgency=low * Added libtool to Build-Depends. Closes: #165266 -- Sergio Rua Fri, 18 Oct 2002 10:50:13 +0100 partimage (0.6.2rc5-3) unstable; urgency=low * Fixed an entry on debian/rules to execute a script that correct wrong paths. Closes: #165102 -- Sergio Rua Wed, 16 Oct 2002 23:44:29 +0100 partimage (0.6.2rc5-2) unstable; urgency=low * Updated config.sub and config.guess -- Sergio Rua Wed, 16 Oct 2002 10:40:18 +0100 partimage (0.6.2rc5-1) unstable; urgency=low * New upstream release. * Changed auth module to libpam. * Fixed syntax on init script. Closes: #164580 * New 'change uid' feature to allow authentication when you runs partimaged as partimag user. Closes: #159834 -- Sergio Rua Tue, 15 Oct 2002 00:03:12 +0100 partimage (0.6.1-27) unstable; urgency=low * Removed install-doc call and usr-doc-link not longer requiered. Changed --disabled-login to --disbled-password on adduser call. Closes: #162051 -- Sergio Rua Tue, 8 Oct 2002 11:51:19 +0100 partimage (0.6.1-26) unstable; urgency=low * Removed doc-base. Documentation is now in partimage-doc. Closes: #163103 -- Sergio Rua Wed, 2 Oct 2002 20:02:40 +0200 partimage (0.6.1-25) unstable; urgency=low * Added 'g++' to build-depends. Closes: #163066 -- Sergio Rua Wed, 2 Oct 2002 12:39:50 +0200 partimage (0.6.1-24) unstable; urgency=medium * Remove ./autogen.sh call from rules file. Not needed and fails with the new autoconf package. -- Sergio Rua Mon, 2 Sep 2002 10:43:39 +0200 partimage (0.6.1-23) unstable; urgency=low * This package doesn't contains documentation so, the call to install-docs fails. Now, install-docs it's only called if there are something in /usr/share/doc-base. Close: #155023 -- Sergio Rua Thu, 1 Aug 2002 16:28:47 +0200 partimage (0.6.1-22) unstable; urgency=low * Suggested by Robert Bihlmeyer, I changed the openssl command in postinst to be non-interactive. Now, it doesn't ask for password. Close: #153837 -- Sergio Rua Wed, 31 Jul 2002 10:23:48 +0200 partimage (0.6.1-21) unstable; urgency=low * Added a /etc/default/partimage-server configuration file. There, you can define is partimage-server is executed at boot time -- Sergio Rua Thu, 13 Jun 2002 10:31:14 +0200 partimage (0.6.1-20) unstable; urgency=low * Removed doc-base. Close bug #148018 -- Sergio Rua Fri, 24 May 2002 15:43:25 +0200 partimage (0.6.1-19) unstable; urgency=low * Added a authors patch to fix some bugs. Added too a warning about devfs. This version can't be used on a system with a non mounted devfs -- Sergio Rua Fri, 10 May 2002 11:17:58 +0200 partimage (0.6.1-18) unstable; urgency=low * More macro additions to reopened bug #144693 Close bug #145562 about not existent file /var/run/partimaged -- Sergio Rua Mon, 6 May 2002 10:06:01 +0200 partimage (0.6.1-17) unstable; urgency=low * Patched some files because on hppa it can't locate a defined macro. Now, macro is defined inside files with errors. Close bug #144693 -- Sergio Rua Tue, 30 Apr 2002 10:01:50 +0200 partimage (0.6.1-16) unstable; urgency=low * Patch over alpha and ia64 doesn't was completed. This new release must be compile in both. -- Sergio Rua Fri, 26 Apr 2002 10:56:54 +0200 partimage (0.6.1-15) unstable; urgency=low * Added the same patch to support alpha. -- Sergio Rua Wed, 24 Apr 2002 12:23:14 +0200 partimage (0.6.1-14) unstable; urgency=low * Close bug #142624. Patched file fs_xfs.h adding a compiler directive to use 'unsigned long int' in ia64 instead 'unsigned long long int' -- Sergio Rua Wed, 24 Apr 2002 11:36:00 +0200 partimage (0.6.1-13) unstable; urgency=low * Updated Galician translation. Close #138917 -- Sergio Rua Tue, 26 Mar 2002 10:39:56 +0100 partimage (0.6.1-12) unstable; urgency=low * Added German template to partimage-server. (#138599) -- Sergio Rua Mon, 18 Mar 2002 10:34:59 +0100 partimage (0.6.1-11) unstable; urgency=low * Changed /etc/init.d/partimaged to provide and efective way to start and stop partimaged as daemon. * Updated man pages with a new version provided by partimage users. -- Sergio Rua Wed, 27 Feb 2002 09:43:25 +0100 partimage (0.6.1-10) unstable; urgency=low * Actualiced Readme.Debian. Closes bug #135916 -- Sergio Rua Tue, 26 Feb 2002 17:40:23 +0100 partimage (0.6.1-9) unstable; urgency=low * More bugs fixed. Last release on a unfortuned day. Closes #135725, #135769, #135777, #135786, #135791, #135829 * Added partimaged man page -- Sergio Rua Tue, 26 Feb 2002 09:47:52 +0100 partimage (0.6.1-8) unstable; urgency=low * Minor bug on a manpage. Closes bugs #135596, #135602, #135636, #135639, #135595 -- Sergio Rua Thu, 14 Feb 2002 13:20:10 +0100 partimage (0.6.1-7) unstable; urgency=low * Matthew Wilcox suggest (#133848) back to arch=any on control file. I'm don't know if is possible to build partimage in all architectures. Added call to ./autogen.sh to update config.sub and config.guess -- Sergio Rua Thu, 14 Feb 2002 09:02:31 +0100 partimage (0.6.1-6) unstable; urgency=low * Close bug #131095. Changed /dev/nul for /dev/null -- Sergio Rua Mon, 28 Jan 2002 09:26:34 +0100 partimage (0.6.1-5) unstable; urgency=low * Closes bug #129112. Two error messages are reversed. -- Sergio Rua Mon, 14 Jan 2002 16:39:12 +0100 partimage (0.6.1-4) unstable; urgency=low * Spelling error in description. Close bugs #125218 and #125386 -- Sergio Rua Wed, 19 Dec 2001 11:24:49 +0100 partimage (0.6.1-3) unstable; urgency=low * Restricted archs to close bug #121692 -- Sergio Rua Fri, 14 Dec 2001 10:30:34 +0100 partimage (0.6.1-2) unstable; urgency=low * Added autoconf and automake to Build-Depends. It should be close bug #120967 Now, checks if openssl already exists because before, on a upgrade, it trieds to make it. -- Sergio Rua Mon, 26 Nov 2001 15:29:30 +0100 partimage (0.6.1-1) unstable; urgency=low * New upstream release. -- Sergio Rua Thu, 22 Nov 2001 09:43:13 +0100 partimage (0.6.0-3) unstable; urgency=low * Fixed bug #120062. Missed /var/log/partimage dir. Added partimag user and group creation in partimage-server postinst -- Sergio Rua Mon, 19 Nov 2001 16:13:05 +0100 partimage (0.6.0-2) unstable; urgency=low * Fixed bugs #115436, #118338 and #118340. Some corrections in package description, changed conflict from partimage << 6.0 to partimage << 0.6.0 and added openssl to buid-depends. -- Sergio Rua Mon, 5 Nov 2001 10:30:36 +0100 partimage (0.6.0-1) unstable; urgency=low * New upstream release. Divided in two packages: client and server. Also, it uses SSL encryption. -- Sergio Rua Mon, 22 Oct 2001 15:43:49 +0200 partimage (0.3.6-5) unstable; urgency=low * Bug #113884 fixed in -3 release, it's not fixed in -4. So, I was added debhelper in build-depends to fix it. -- Sergio Rua Thu, 11 Oct 2001 09:41:47 +0200 partimage (0.3.6-4) unstable; urgency=low * Fixed bug. When I changed DH_COMPAT=1 to DH_COMPAT=3 in the previous release, I forgot to move "make install" from debin/tmp to debian/partimage -- Sergio Rua Wed, 10 Oct 2001 11:30:13 +0200 partimage (0.3.6-3) unstable; urgency=low * Changed DH_COMPAT=1 to DH_COMPAT=3 fixing build-depends -- Sergio Rua Thu, 4 Oct 2001 15:38:55 +0200 partimage (0.3.6-2) unstable; urgency=low * Fixing build-depends -- Sergio Rua Sat, 11 Aug 2001 20:22:41 +0200 partimage (0.3.6-1) unstable; urgency=low * New upstream release -- Sergio Rua Thu, 17 May 2001 11:44:21 +0200 partimage (0.3.5-1) unstable; urgency=low * New path to log file * Deleted REDME.Debian and INSTALL files from doc directory * New upstream release -- Sergio Rua Sat, 18 Nov 2000 19:36:23 +0100 partimage (0.3.2-1) unstable; urgency=low * Initial Release. -- Sergio Rua Thu, 2 Oct 2000 23:30:19 +0200 Local variables: mode: debian-changelog End: partimage (0.6.1-27) unstable; urgency=low * Removed install-doc call and usr-doc-link not longer requiered. Changed --disabled-login to --disbled-password on adduser call. Closes: #162051 -- Sergio Rua Tue, 8 Oct 2002 11:51:19 +0100 partimage (0.6.1-26) unstable; urgency=low * Removed doc-base. Documentation is now in partimage-doc. Closes: #163103 -- Sergio Rua Wed, 2 Oct 2002 20:02:40 +0200 partimage (0.6.1-25) unstable; urgency=low * Added 'g++' to build-depends. Closes: #163066 -- Sergio Rua Wed, 2 Oct 2002 12:39:50 +0200 partimage (0.6.1-24) unstable; urgency=medium * Remove ./autogen.sh call from rules file. Not needed and fails with the new autoconf package. -- Sergio Rua Mon, 2 Sep 2002 10:43:39 +0200 partimage (0.6.1-23) unstable; urgency=low * This package doesn't contains documentation so, the call to install-docs fails. Now, install-docs it's only called if there are something in /usr/share/doc-base. Close: #155023 -- Sergio Rua Thu, 1 Aug 2002 16:28:47 +0200 partimage (0.6.1-22) unstable; urgency=low * Suggested by Robert Bihlmeyer, I changed the openssl command in postinst to be non-interactive. Now, it doesn't ask for password. Close: #153837 -- Sergio Rua Wed, 31 Jul 2002 10:23:48 +0200 partimage (0.6.1-21) unstable; urgency=low * Added a /etc/default/partimage-server configuration file. There, you can define is partimage-server is executed at boot time -- Sergio Rua Thu, 13 Jun 2002 10:31:14 +0200 partimage (0.6.1-20) unstable; urgency=low * Removed doc-base. Close bug #148018 -- Sergio Rua Fri, 24 May 2002 15:43:25 +0200 partimage (0.6.1-19) unstable; urgency=low * Added a authors patch to fix some bugs. Added too a warning about devfs. This version can't be used on a system with a non mounted devfs -- Sergio Rua Fri, 10 May 2002 11:17:58 +0200 partimage (0.6.1-18) unstable; urgency=low * More macro additions to reopened bug #144693 Close bug #145562 about not existent file /var/run/partimaged -- Sergio Rua Mon, 6 May 2002 10:06:01 +0200 partimage (0.6.1-17) unstable; urgency=low * Patched some files because on hppa it can't locate a defined macro. Now, macro is defined inside files with errors. Close bug #144693 -- Sergio Rua Tue, 30 Apr 2002 10:01:50 +0200 partimage (0.6.1-16) unstable; urgency=low * Patch over alpha and ia64 doesn't was completed. This new release must be compile in both. -- Sergio Rua Fri, 26 Apr 2002 10:56:54 +0200 partimage (0.6.1-15) unstable; urgency=low * Added the same patch to support alpha. -- Sergio Rua Wed, 24 Apr 2002 12:23:14 +0200 partimage (0.6.1-14) unstable; urgency=low * Close bug #142624. Patched file fs_xfs.h adding a compiler directive to use 'unsigned long int' in ia64 instead 'unsigned long long int' -- Sergio Rua Wed, 24 Apr 2002 11:36:00 +0200 partimage (0.6.1-13) unstable; urgency=low * Updated Galician translation. Close #138917 -- Sergio Rua Tue, 26 Mar 2002 10:39:56 +0100 partimage (0.6.1-12) unstable; urgency=low * Added German template to partimage-server. (#138599) -- Sergio Rua Mon, 18 Mar 2002 10:34:59 +0100 partimage (0.6.1-11) unstable; urgency=low * Changed /etc/init.d/partimaged to provide and efective way to start and stop partimaged as daemon. * Updated man pages with a new version provided by partimage users. -- Sergio Rua Wed, 27 Feb 2002 09:43:25 +0100 partimage (0.6.1-10) unstable; urgency=low * Actualiced Readme.Debian. Closes bug #135916 -- Sergio Rua Tue, 26 Feb 2002 17:40:23 +0100 partimage (0.6.1-9) unstable; urgency=low * More bugs fixed. Last release on a unfortuned day. Closes #135725, #135769, #135777, #135786, #135791, #135829 * Added partimaged man page -- Sergio Rua Tue, 26 Feb 2002 09:47:52 +0100 partimage (0.6.1-8) unstable; urgency=low * Minor bug on a manpage. Closes bugs #135596, #135602, #135636, #135639, #135595 -- Sergio Rua Thu, 14 Feb 2002 13:20:10 +0100 partimage (0.6.1-7) unstable; urgency=low * Matthew Wilcox suggest (#133848) back to arch=any on control file. I'm don't know if is possible to build partimage in all architectures. Added call to ./autogen.sh to update config.sub and config.guess -- Sergio Rua Thu, 14 Feb 2002 09:02:31 +0100 partimage (0.6.1-6) unstable; urgency=low * Close bug #131095. Changed /dev/nul for /dev/null -- Sergio Rua Mon, 28 Jan 2002 09:26:34 +0100 partimage (0.6.1-5) unstable; urgency=low * Closes bug #129112. Two error messages are reversed. -- Sergio Rua Mon, 14 Jan 2002 16:39:12 +0100 partimage (0.6.1-4) unstable; urgency=low * Spelling error in description. Close bugs #125218 and #125386 -- Sergio Rua Wed, 19 Dec 2001 11:24:49 +0100 partimage (0.6.1-3) unstable; urgency=low * Restricted archs to close bug #121692 -- Sergio Rua Fri, 14 Dec 2001 10:30:34 +0100 partimage (0.6.1-2) unstable; urgency=low * Added autoconf and automake to Build-Depends. It should be close bug #120967 Now, checks if openssl already exists because before, on a upgrade, it trieds to make it. -- Sergio Rua Mon, 26 Nov 2001 15:29:30 +0100 partimage (0.6.1-1) unstable; urgency=low * New upstream release. -- Sergio Rua Thu, 22 Nov 2001 09:43:13 +0100 partimage (0.6.0-3) unstable; urgency=low * Fixed bug #120062. Missed /var/log/partimage dir. Added partimag user and group creation in partimage-server postinst -- Sergio Rua Mon, 19 Nov 2001 16:13:05 +0100 partimage (0.6.0-2) unstable; urgency=low * Fixed bugs #115436, #118338 and #118340. Some corrections in package description, changed conflict from partimage << 6.0 to partimage << 0.6.0 and added openssl to buid-depends. -- Sergio Rua Mon, 5 Nov 2001 10:30:36 +0100 partimage (0.6.0-1) unstable; urgency=low * New upstream release. Divided in two packages: client and server. Also, it uses SSL encryption. -- Sergio Rua Mon, 22 Oct 2001 15:43:49 +0200 partimage (0.3.6-5) unstable; urgency=low * Bug #113884 fixed in -3 release, it's not fixed in -4. So, I was added debhelper in build-depends to fix it. -- Sergio Rua Thu, 11 Oct 2001 09:41:47 +0200 partimage (0.3.6-4) unstable; urgency=low * Fixed bug. When I changed DH_COMPAT=1 to DH_COMPAT=3 in the previous release, I forgot to move "make install" from debin/tmp to debian/partimage -- Sergio Rua Wed, 10 Oct 2001 11:30:13 +0200 partimage (0.3.6-3) unstable; urgency=low * Changed DH_COMPAT=1 to DH_COMPAT=3 fixing build-depends -- Sergio Rua Thu, 4 Oct 2001 15:38:55 +0200 partimage (0.3.6-2) unstable; urgency=low * Fixing build-depends -- Sergio Rua Sat, 11 Aug 2001 20:22:41 +0200 partimage (0.3.6-1) unstable; urgency=low * New upstream release -- Sergio Rua Thu, 17 May 2001 11:44:21 +0200 partimage (0.3.5-1) unstable; urgency=low * New path to log file * Deleted REDME.Debian and INSTALL files from doc directory * New upstream release -- Sergio Rua Sat, 18 Nov 2000 19:36:23 +0100 partimage (0.3.2-1) unstable; urgency=low * Initial Release. -- Sergio Rua Thu, 2 Oct 2000 23:30:19 +0200 Local variables: mode: debian-changelog End: debian/partimage-server.partimaged.default0000664000000000000000000000045610751443632016141 0ustar # /etc/default/partimaged # Location where the image files created by partimaged are stored. # If you run partimaged as user "partimag" und you change this directory # you have to give the user "partimag" write access for this directory. # Otherwise partimaged will fail. TARGET=/var/lib/partimaged/ debian/partimagedusers0000664000000000000000000000022010433627024012305 0ustar # Add all users which shall be allowed to connect to the partimage server. # One user per line. See "man partimagedusers" for more information. debian/partimage.manpages0000664000000000000000000000002710276550240012656 0ustar debian/man/partimage.1 debian/control0000664000000000000000000000430512245514162010577 0ustar Source: partimage Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Michael Biebl Build-Depends: cdbs, debhelper (>= 8), autotools-dev, libbz2-dev, libnewt-dev, zlib1g-dev, comerr-dev, e2fslibs-dev (>= 1.25), libssl-dev, libpam0g-dev, gettext Standards-Version: 3.9.1 Homepage: http://www.partimage.org Package: partimage-server Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, openssl, adduser, lsb-base (>= 3.2-14) Conflicts: partimage (<< 0.6.0), partimage-doc (<= 20020126-6) Recommends: db-util Description: server to use partimage across a network Partition Image is a partition imaging utility. It let's you backup up your partitions from a client to a server. . All data will be transferred encrypted using SSL. Package: partimage Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: partimage-server (<< 0.6.0), partimage-doc (<= 20020126-6) Description: backup partitions into a compressed image file Partition Image is a partition imaging utility. It has support for the following file systems: * Ext2/3, the Linux standard * ReiserFS, a journalised and powerful file system * FAT16/32, DOS and Windows file systems * HPFS, IBM OS/2 file system * JFS, journalised file system, from IBM, used on AIX * XFS, another journalised and efficient file system, from SGI, used on Irix * UFS (beta), Unix file system * HFS (beta), MacOS File system * NTFS (experimental), Windows NT, 2000 and XP Only used blocks are copied and stored into an image file. The image file can be compressed in the GZIP/BZIP2 formats to save disk space, and split into multiple files to be copied onto removable media (ZIP for example), burned on a CD-R, etc. . This makes it possible to save a full Linux/Windows system with a single operation. In case of a problem (virus, crash, error, etc.), you just have to restore, and after several minutes, your entire system is restored (boot, files, etc.), and fully working. . This is very useful when installing the same software on many machines: just install one of them, create an image, and restore the image on all other machines. debian/partimage.README.Debian0000664000000000000000000000076510276775505013227 0ustar Notes for running partimage on other platforms than i386 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Officially partimage doesn't support other architectures than i386. Please see http://sourceforge.net/docman/display_doc.php?docid=15091&group_id=6212 Section 2.5 for more details. You may be lucky and partimage works on your platform. You should test this with unimportant data first. You should also try to avoid to create image files on one architecture and restore it on another. debian/partimaged-passwd0000775000000000000000000000421211546111237012532 0ustar #!/bin/bash #################################################### # partimaged-passwd # Copyright (C) 2006 Michael Bieb #################################################### DB_LOAD="" DB_DUMP="" PASSWD_FILE="/etc/partimaged/passwd.db" if [ $UID -ne 0 ] ; then : echo "This program has to be run as root!" exit 1 fi # Check for a version of db_load/db_dump check_db_utils() { for i in 5.1 4.8 4.7; do if [ -x /usr/bin/db${i}_load ] ; then DB_LOAD=/usr/bin/db${i}_load DB_DUMP=/usr/bin/db${i}_dump return 0 fi done return 1 } help() { echo "Manage partimaged user database." echo echo "Usage:" echo " $0 [-Dhl] username password" echo " $0 [-Dhl] username" echo echo " -D Delete user." echo " -h Display this help message." echo " -l List existing users." echo } delete_user() { echo "Deleting user $1..." $DB_DUMP -p $PASSWD_FILE | sed -e '1,/HEADER=END/d' -e '/DATA=END/,$d' | sed 's/^[ \t]*//' | sed "/^$1$/{n;d}" | sed "/^$1$/d" | $DB_LOAD -T -t hash ${PASSWD_FILE}.new mv ${PASSWD_FILE}.new $PASSWD_FILE fix_rights } add_user() { echo "Adding user $1..." echo -e "$1\n$2" | $DB_LOAD -T -t hash $PASSWD_FILE fix_rights } list_users() { [ -f $PASSWD_FILE ] || exit 0 echo "Users:" $DB_DUMP -p $PASSWD_FILE | sed -e '1,/HEADER=END/d' -e '/DATA=END/,$d' | sed 's/^[ \t]*//' | sed -n '1~2p' } fix_rights() { chmod 640 $PASSWD_FILE chown partimag:partimag $PASSWD_FILE } if ! check_db_utils ; then echo "Could not find db_load/db_dump!" echo "Please install the db5.1-util package." exit 1 fi while getopts D:hl opt do case "$opt" in D) delete_user $OPTARG exit 0 ;; h) help exit 0 ;; l) list_users exit 0 ;; [?]) help exit 1 ;; esac done shift $((${OPTIND}-1)) if [ $# -eq 1 ] ; then echo -n "New password: " read -s passwd1 echo echo -n "Re-type new password: " read -s passwd2 echo if [ "$passwd1" != "$passwd2" ] ; then echo "Passwords do not match!" exit 1 elif [ -z $passwd1 ] ; then echo "Please supply a valid password!" exit 1 else add_user $1 $passwd1 fi elif [ $# -eq 2 ] ; then add_user $1 $2 else help exit 1 fi exit 0 debian/partimage-server.install0000664000000000000000000000022711514153042014032 0ustar debian/tmp/usr/sbin/partimaged debian/partimage-certs.cnf /etc/partimaged/ debian/partimagedusers /etc/partimaged/ debian/partimaged-passwd /usr/sbin/ debian/partimage-server.partimaged.pam0000664000000000000000000000100610434412006015247 0ustar # Log access to partimaged auth required pam_warn.so # partimaged user database auth sufficient pam_userdb.so db=/etc/partimaged/passwd # Only allow local users listed in partimagedusers to connect to partimaged auth required pam_listfile.so onerr=fail item=user sense=allow file=/etc/partimaged/partimagedusers # Standard Un*x authentication. @include common-auth # partimaged user database account sufficient pam_userdb.so debug db=/etc/partimaged/passwd # Standard Un*x authorization. @include common-account # debian/rules0000775000000000000000000000063511546107770010264 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk DEB_CONFIGURE_EXTRA_FLAGS := --with-log-dir=/var/log/partimage \ --with-debug-level=1 \ --enable-pam DEB_INSTALL_DOCS_ALL := BUGS AUTHORS README THANKS DEB_DH_INSTALLINIT_ARGS := --name=partimaged DEB_DH_INSTALLPAM_ARGS := --name=partimaged debian/partimage-server.README.Debian0000664000000000000000000000353310434422101014500 0ustar partimaged for Debian ~~~~~~~~~~~~~~~~~~~~~ Configuration ~~~~~~~~~~~~~ The partimage server uses SSL to encrypt the traffic between server and client. A default SSL certificate is created during package install. If you want to use your own certificate you just have to copy it to /etc/partimaged and name it like the given certificate. In addition you have to set the owner to partimag:partimag and set the access rights to 600. If you want to create your own certificate you can adapt /etc/partimaged/partimage-certs.cnf and use openssl like this: openssl req -new -x509 -nodes -config \ /etc/partimaged/partimage-certs.cnf \ -out /etc/partimaged/partimaged.cert -keyout \ /etc/partimaged/partimaged.key Please read the openssl man page for more information. partimaged drops its privileges on startup and runs as user partimag. So if you change the default location /var/lib/partimaged, where the image files are stored, you have to give the user partimag write access to this directory. You also have to change the value TARGET in /etc/default/partimaged to the new location. Authentication ~~~~~~~~~~~~~~ partimaged can either authenticate clients against local user accounts or its own user database. For the former method partimaged needs to access the password file /etc/shadow. As partimaged runs under as user "partimag" you have to add the user "partimag" to the group "shadow". In addition the users have to be added to the file /etc/partimaged/partimagedusers. This method is not recommended because adding "partimag" to group "shadow" is a potential security risk. The recommended method is to use partimaged's own password file /etc/partimaged/passwd.db. All users listed there have access to the partimaged server. The management of this user database can easily be done with the tool partimaged-passwd. See it's man page for further details. debian/man/0000775000000000000000000000000011546117245007751 5ustar debian/man/partimaged-passwd.80000664000000000000000000000220010516002342013433 0ustar .TH "partimaged-passwd" "8" "0.1" "Michael Biebl " "Partition Image Server Configuration" .SH "NAME" .LP partimaged\-passwd \- Manage partimaged user accounts .SH "SYNTAX" .LP partimaged\-passwd [\-Dhl] \fIusername\fP \fIpassword\fR .br partimaged\-passwd [\-Dhl] \fIusername\fP .SH "DESCRIPTION" .LP partimaged can either authenticate against local user accounts (This needs access to /etc/shadow. As this is a potential security risk this method is not recommended) or its own password database in \fI/etc/partimaged/passwd.db\fR. To simplify the management of the partimaged user database this tool was written. It allows to easily add and remove users or list the users in the database. All users in this database are allowed to access the partimaged server. .SH "OPTIONS" .LP .TP \fB\-D\fR username Delete the specified user from the password file. .TP \fB\-l\fR List users in password file and exit. .TP \fB\-h\fR Output help information and exit. .SH "FILES" .LP \fI/etc/partimaged/passwd.db\fP .SH "AUTHORS" .LP Michael Biebl .SH "SEE ALSO" .LP partimaged(8), partimagedusers(5), partimage(1) debian/man/partimaged.80000664000000000000000000000371710434416114012157 0ustar .\" .\" 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. .\" .ig A copy of the GNU Free Documentation License is available in the Debian package in the file /usr/share/doc/m17n-docs/copyright. .. .ig A copy of the GNU Free Documentation License is available in the Debian source package in the file debian/copyright. .. .TH partimaged 8 "30 May, 2002" partimaged "Partition Image Server Manual" .UC 1 .SH NAME partimaged \- backup/restore partitions server .SH SYNOPSIS .B partimaged .RB [ " \-DhLv " ] .RB [ \-r\ directory ] .RB [ \-p\ port ] .RB [ \-g\ loglevel ] .SH DESCRIPTION .B partimaged can be used to use partimage over the network. Run partimaged on the computer where you want to save image files and run partimage on stations you want to backup. .SH OPTIONS .TP .B \-D --daemon Start server in daemon mode. .TP .B \-h --help Show help .TP .B \-L --nologin Accept only clients with login support disabled. Clients with login support enabled will be refused. This option should be used only if clients ask it. .TP .B \-v --version Show version .TP .B \-p port --port port Give server's listening port. .TP .B \-d directory --dest directory Directory where the images will be stored. .TP .B \-g debuglevel --debug debuglevel Set the debug level to debuglevel (defaults to 1). .TP .B \-r dir --chroot dir Use chroot to improve security. .SH SEE ALSO .BR partimage(1) , .BR partimagedusers(5), .BR partimaged-passwd(8) .SH DIAGNOSTICS You can read options set at compile time running 'partimage -i'. .SH BUGS Refer to BUGS file to read them. .SH AUTHOR .nf Franck Ladurelle Francois Dupoux debian/man/partimagedusers.50000664000000000000000000000272210434412767013243 0ustar .\" .\" 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. .\" .ig A copy of the GNU Free Documentation License is available in the Debian package in the file /usr/share/doc/m17n-docs/copyright. .. .ig A copy of the GNU Free Documentation License is available in the Debian source package in the file debian/copyright. .. .TH partimagedusers 5 "23 June 2001" .UC 5 .SH NAME partimagedusers \- list of allowed users. .SH DESCRIPTION The .B partimagedusers This file lists all local users that are allowed to connect to 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 afterwards is ignored. .PP Put all allowed 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), .BR partimaged-passwd(5) .SH AUTHOR .nf Franck Ladurelle debian/man/partimage.10000664000000000000000000001177210434424336012011 0ustar .\" .\" 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. .\" .ig A copy of the GNU Free Documentation License is available in the Debian package in the file /usr/share/doc/m17n-docs/copyright. .. .ig A copy of the GNU Free Documentation License is available in the Debian source package in the file debian/copyright. .. .TH partimage 1 "30 May, 2002" partimage "Partition Image Manual" .UC 1 .SH NAME partimage \- back up and restore disk partitions .SH SYNOPSIS .B partimage .RB [ " \-bcdehimMnoSvwy " ] .RB [ \-B\ 'pattern\ response\ string' ] .RB [ \-z\ compresslevel ] .RB [ \-V\ volumesize ] .RB [ \-f\ actionatend ] .RB [ \-s\ server ] .RB [ \-p\ port ] .RB [ \-a\ mountoptions ] .RB [ \-U\ username ] .RB [ \-P\ password ] .RB [ \-g\ loglevel ] [ .I "save" .I "device" .I "image_file" ] .br .B partimage .RB [ " \-bcdehimMnoSvwy " ] .RB [ \-B\ 'pattern\ response\ string' ] .RB [ \-z\ compresslevel ] .RB [ \-V\ volumesize ] .RB [ \-f\ actionatend ] .RB [ \-s\ server ] .RB [ \-p\ port ] .RB [ \-a\ mountoptions ] .RB [ \-U\ username ] .RB [ \-P\ password ] .RB [ \-g\ loglevel ] [ .I "restore" .I "device" .I "image_file/'stdin'" ] .br .B partimage [ .I "restmbr" .I "image_file" ] .br .B partimage [ .I "imginfo" .I "image_file" ] .SH DESCRIPTION \fIpartimage\fR backs up disk partitions into image files and restores them. .SH OPTIONS .TP .B \-z val, --compress val Set image file compression level: .br val=0: don't compress: very fast but very big image file .br val=1: compress using gzip: fast and small image file (default) .br val=2: compress using bzip2: very slow and very small image file .TP .B \-c, --nocheck Don't check the partition before saving. .TP .B \-o, --overwrite Overwrite the existing image file without confirmation. .TP .B \-d, --nodesc Don't ask any description for the image file. .TP .B \-V vol, --volume vol Split image into multiple volumes files. vol will be the size in KB of volumes. .TP .B \-w, --waitvol Wait for a confirmation after each volume change. .TP .B \-e, --erase Erase empty blocks on restore with zero bytes. .TP .B \-m, --allowmnt Don't fail if the partition is mounted. Dangerous! .TP .B \-M, --nombr Don't create a backup of the MBR (Mast Boot Record) in the image file. .TP .B \-h, --help Show help. .TP .B \-v, --version Show version. .TP .B \-f action, --finish action Action to do if finished successfully: .br action=0: wait (do nothing) .br action=1: halt (power off the computer) .br action=2: reboot (restart the computer) .br action=3: quit .TP .B \-b, --batch batch mode: the GUI won't wait for an user action. .TP .B \-B 'pattern response string', --fully-batch 'pattern response string' full batch mode: the GUI is not being displayed. Rather status messages are displayed as normal text. The pattern response string has the following format: .br .B \'=;...\' .br where the glob pattern is matched against the string .B / of the message dialogue box to be displayed. For dialog boxes with buttons in the window, the must be the exact button text. The pattern response string usually needs to be quoted as above. .TP .B \-y, --nosync Don't synchronize the disks at the end of the operation. Dangerous! .TP .B \-s addr, --server addr Give partimaged server's ip address. .TP .B \-p port, --port port Give partimaged server's listening port. .TP .B \-g debuglevel, --debug debuglevel Set the debug level to debuglevel (defaults to 1). .TP .B \-n, --nossl Disable SSL in network mode. .TP .B \-S, --simulate Simulation of restoration mode. .TP .B \-a str, --automnt str Automatic mount with X options. Read the doc for more details. .TP .B \-U name, --username=name Username to authenticate to partimage server. .TP .B \-P pass, --password=pass Password for authentication of user to partimage server. .SH EXAMPLE partimage -z1 -o -d save /dev/hda12 /mnt/backup/redhat-6.2.partimg.gz .br partimage -z1 -om save /dev/hda9 /mnt/backup/win95-osr2.partimg.gz .br partimage restore /dev/hda13 /mnt/backup/suse-6.4.partimg .br cat debian.partimg.000 debian.partimg.001 | partimage restore /dev/hda1 stdin .br partimage restmbr /mnt/backup/debian-potato-2.2.partimg.bz2 .br partimage imginfo /mnt/backup/debian-potato-2.2.partimg.bz2 .SH SEE ALSO .BR partimaged(8) .SH DIAGNOSTICS You can read options set at compile time running 'partimage -i'. .PP When using batchmode, exit status is normaly 0. .SH CAVEATS Supported file systems: Ext2/3, Reiser3, FAT16/32, HPFS, JFS, XFS, UFS(beta), HFS(beta), NTFS(experimental) .PP FAT12 will never be supported. .SH BUGS Refer to BUGS file to read them. .SH AUTHOR .nf Franck Ladurelle .nf Francois Dupoux debian/partimage-server.docs0000664000000000000000000000002210307011141013275 0ustar README.partimaged debian/partimage.dirs0000664000000000000000000000002310276766262012035 0ustar /var/log/partimage debian/patches/0000775000000000000000000000000011737636202010626 5ustar debian/patches/01-openssl.patch0000664000000000000000000000373511546110236013550 0ustar Index: partimage-0.6.8/src/client/netclient.cpp =================================================================== --- partimage-0.6.8.orig/src/client/netclient.cpp 2009-09-24 21:21:42.000000000 +0200 +++ partimage-0.6.8/src/client/netclient.cpp 2011-04-03 16:55:38.379221262 +0200 @@ -43,9 +43,8 @@ { showDebug(3, "initializing client ssl\n"); SSLeay_add_ssl_algorithms(); - meth = SSLv2_client_method(); SSL_load_error_strings(); - ctx = SSL_CTX_new(meth); + ctx = SSL_CTX_new(SSLv23_client_method()); if (!ctx) THROW(ERR_SSL_CTX); m_bUseSSL = (ctx != NULL); Index: partimage-0.6.8/src/client/netclient.h =================================================================== --- partimage-0.6.8.orig/src/client/netclient.h 2009-09-24 21:21:42.000000000 +0200 +++ partimage-0.6.8/src/client/netclient.h 2011-04-03 16:56:42.858410648 +0200 @@ -35,7 +35,6 @@ #ifdef HAVE_SSL SSL_CTX * ctx; X509 * server_cert; - SSL_METHOD * meth; #endif bool m_bUseSSL; bool m_bMustLogin; Index: partimage-0.6.8/src/server/netserver.h =================================================================== --- partimage-0.6.8.orig/src/server/netserver.h 2009-09-12 10:06:22.000000000 +0200 +++ partimage-0.6.8/src/server/netserver.h 2011-04-03 16:56:33.614526858 +0200 @@ -41,7 +41,6 @@ #ifdef HAVE_SSL SSL_CTX * ctx; X509 * client_cert; - SSL_METHOD * meth; int err; #endif Index: partimage-0.6.8/src/server/netserver.cpp =================================================================== --- partimage-0.6.8.orig/src/server/netserver.cpp 2011-04-03 16:55:48.707091421 +0200 +++ partimage-0.6.8/src/server/netserver.cpp 2011-04-03 16:56:18.462717343 +0200 @@ -39,8 +39,7 @@ { SSL_load_error_strings(); SSLeay_add_ssl_algorithms(); - meth = SSLv23_server_method(); - ctx = SSL_CTX_new(meth); + ctx = SSL_CTX_new(SSLv23_server_method()); if (!ctx) { ERR_print_errors_fp(stderr); debian/patches/03-ftbfs-zlib.patch0000664000000000000000000000224311737636202014132 0ustar Description: Fix FTBFS errors: cannot convert 'gzFile_s**' to 'gzFile' for argument '1'. Author: Mònica Ramírez Arceda Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662596 Last-Update: 2012-03-27 --- a/src/client/imagefile.h +++ b/src/client/imagefile.h @@ -41,7 +41,7 @@ COptions m_options; FILE *m_fImageFile; - gzFile *m_gzImageFile; + gzFile m_gzImageFile; BZFILE *m_bzImageFile; int m_nFdImage; --- a/src/client/imagefile.cpp +++ b/src/client/imagefile.cpp @@ -783,7 +783,7 @@ else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression { showDebug(1, "open gzip\n"); - m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "wb"); //"wb1h"); + m_gzImageFile = gzdopen(m_nFdImage, "wb"); //"wb1h"); if (m_gzImageFile == NULL) { showDebug(1, "error:%d %s\n", errno, strerror(errno)); @@ -1098,7 +1098,7 @@ } else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression { - m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "rb"); + m_gzImageFile = gzdopen(m_nFdImage, "rb"); if (m_gzImageFile == NULL) THROW(ERR_ERRNO, errno); else debian/patches/02-format-security.patch0000664000000000000000000000102711661553123015217 0ustar diff -Nur partimage-0.6.8/src/shared/common.cpp partimage-0.6.8-nmu//src/shared/common.cpp --- partimage-0.6.8/src/shared/common.cpp 2009-09-12 10:06:22.000000000 +0200 +++ partimage-0.6.8-nmu//src/shared/common.cpp 2011-11-18 23:03:31.278838500 +0100 @@ -79,7 +79,7 @@ addText(i18n("\n* Version is %s [%s].\n"), PACKAGE_VERSION, __VERSION__); addText(i18n("\n* Supported file systems:\n - ")); - addText(g_szSupportedFileSystems); + addText("%s", g_szSupportedFileSystems); addText(i18n("\n")); #ifdef LIBRARY_EXT2FS debian/patches/series0000664000000000000000000000013511737636202012042 0ustar # Debian patches for partimage 01-openssl.patch 02-format-security.patch 03-ftbfs-zlib.patch debian/README.source0000664000000000000000000000020211257041136011341 0ustar This package uses the quilt patch management system. Please refer to /usr/share/doc/quilt/README.source for further information. debian/compat0000664000000000000000000000000211546107647010401 0ustar 8 debian/partimage-server.dirs0000664000000000000000000000006710276770015013340 0ustar /etc/partimaged /var/log/partimage /var/lib/partimaged debian/partimage-server.postinst0000664000000000000000000000351111167240106014250 0ustar #!/bin/sh set -e [ ! "$1" = "configure" ] && exit 0 opensslpath=/usr/bin/openssl target=/var/lib/partimaged clean() { rm -f /etc/partimaged/privkey.pem rm -f /etc/partimaged/partimaged.rand } create_user() { if ! getent group partimag >/dev/null; then addgroup --system partimag >/dev/null fi if ! getent passwd partimag >/dev/null; then adduser --system \ --disabled-password \ --shell /bin/false \ --gecos "Partimage Server" \ --ingroup partimag \ --no-create-home \ --home /var/lib/partimaged/ \ partimag >/dev/null fi } create_certificates() { $opensslpath req -new -x509 -nodes -config \ /etc/partimaged/partimage-certs.cnf \ -out /etc/partimaged/partimaged.cert -keyout \ /etc/partimaged/partimaged.key rm -f /etc/partimaged/partimaged.csr chmod 750 /etc/partimaged chown partimag:partimag /etc/partimaged chmod 600 /etc/partimaged/partimaged.key chmod 600 /etc/partimaged/partimaged.cert chown partimag:partimag /etc/partimaged/partimaged.key chown partimag:partimag /etc/partimaged/partimaged.cert } fix_permissions() { chown partimag:partimag $target chmod 750 $target chown partimag:partimag /etc/partimaged/partimagedusers chmod 0600 /etc/partimaged/partimagedusers chown partimag:partimag /var/log/partimage } # Create a system user/group partimag create_user # Now that we have a user/group partimag set the appropriate access rights fix_permissions # SSL Certs if [ -s "/etc/partimaged/partimaged.key" ]; then echo "OpenSSL certificate already exists. Leaving..." else if [ ! -s "/etc/partimaged/partimage-certs.cnf" ]; then echo "I cannot find the /etc/partimaged/partimage-certs.cnf file." echo "SSL certificate will not be created!" else echo "Creating certificates for partimage-server" create_certificates fi fi #DEBHELPER# exit 0 debian/partimage-server.partimaged.init0000664000000000000000000000351711166751002015453 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: partimaged # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Partition Image Server # Description: Partition Image Server let's you backup partitions from # a client to a server. # All data is transferred encrypted using SSL. ### END INIT INFO # Author: Michael Biebl DAEMON=/usr/sbin/partimaged OPTS="" NAME=partimaged DESC="Partition Image Server" PIDFILE=/var/run/partimaged.pid test -x $DAEMON || exit 0 . /lib/lsb/init-functions # Default configuration TARGET=/var/lib/partimaged/ # Overwrite default configuration if available if [ -f /etc/default/partimaged ]; then . /etc/default/partimaged fi do_start() { start-stop-daemon --start --quiet --exec $DAEMON -m --pidfile $PIDFILE -b -- $OPTS -d $TARGET } do_stop() { start-stop-daemon --stop --quiet --exec $DAEMON --pidfile $PIDFILE RETVAL="$?" # Cleanup stale pid file rm -f $PIDFILE return "$RETVAL" } case "$1" in start) log_daemon_msg "Starting $DESC" $NAME do_start case "$?" in 0) log_end_msg 0 ;; 1) log_progress_msg "already started" log_end_msg 0 ;; *) log_end_msg $? ;; esac ;; stop) log_daemon_msg "Stopping $DESC" $NAME do_stop case "$?" in 0) log_end_msg 0 ;; 1) log_progress_msg "already stopped" log_end_msg 0 ;; *) log_end_msg $? ;; esac ;; restart|force-reload) $0 stop $0 start ;; status) status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/partimage-server.postrm0000664000000000000000000000074411167240135013720 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then rm -f /etc/partimaged/partimaged.cert \ /etc/partimaged/partimaged.key \ /etc/partimaged/privkey.pem \ /etc/partimaged/partimagedusers \ /etc/partimaged/partimaged.rand \ /etc/partimaged/passwd.db # I'm not using "rm -rf" due the user could have additional data rmdir /etc/partimaged || true fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. ##DEBHELPER## exit 0