diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-10-14 22:45:43 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-10-14 22:45:43 +0000 |
commit | 6c863ca859410d85d9e6c698ebce99c8d9a25429 (patch) | |
tree | ca4ac79eed610f3c88a7b7d80f21ba4b86489b97 /sys-block/partimage | |
parent | Cleanup. (diff) | |
download | historical-6c863ca859410d85d9e6c698ebce99c8d9a25429.tar.gz historical-6c863ca859410d85d9e6c698ebce99c8d9a25429.tar.bz2 historical-6c863ca859410d85d9e6c698ebce99c8d9a25429.zip |
Improved 64bit support, fixed doc/help, fixed misc bugs.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'sys-block/partimage')
-rw-r--r-- | sys-block/partimage/ChangeLog | 10 | ||||
-rw-r--r-- | sys-block/partimage/Manifest | 53 | ||||
-rw-r--r-- | sys-block/partimage/files/digest-partimage-0.6.4-r4 | 6 | ||||
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.4-1-lib64.patch | 48 | ||||
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.4-empty-salt.patch | 13 | ||||
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.4-help.patch | 113 | ||||
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.4-port.patch | 11 | ||||
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.4-xfs.patch | 28 | ||||
-rw-r--r-- | sys-block/partimage/files/partimaged.pam | 12 | ||||
-rw-r--r-- | sys-block/partimage/partimage-0.6.4-r4.ebuild | 27 |
10 files changed, 294 insertions, 27 deletions
diff --git a/sys-block/partimage/ChangeLog b/sys-block/partimage/ChangeLog index 22bc3c7ee38d..3d876a7de488 100644 --- a/sys-block/partimage/ChangeLog +++ b/sys-block/partimage/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-block/partimage # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/partimage/ChangeLog,v 1.25 2006/10/14 17:07:41 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/partimage/ChangeLog,v 1.26 2006/10/14 22:45:43 xmerlin Exp $ + + 14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> + +files/partimage-0.6.4-1-lib64.patch, + +files/partimage-0.6.4-empty-salt.patch, + +files/partimage-0.6.4-help.patch, +files/partimage-0.6.4-port.patch, + +files/partimage-0.6.4-xfs.patch, +files/partimaged.pam, + partimage-0.6.4-r4.ebuild: + Improved 64bit support, fixed doc/help, fixed misc bugs. 14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> +files/partimage-0.6.4-gui.diff, partimage-0.6.4-r3.ebuild, diff --git a/sys-block/partimage/Manifest b/sys-block/partimage/Manifest index 3fcaf5d42999..a109f332d487 100644 --- a/sys-block/partimage/Manifest +++ b/sys-block/partimage/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX partimage-0.6.4-1-lib64.patch 2483 RMD160 20b936037e223a02237bbc45b4c037fc1e571c51 SHA1 219a6d4524908360722b25a7eb7e619238a562ff SHA256 22686caa9919b9c0f8f248d033cce400bdf004a7cbaa1773d9e4c20dc212dfb9 +MD5 27e5eab922ca9f2874d5b0684b81ac4d files/partimage-0.6.4-1-lib64.patch 2483 +RMD160 20b936037e223a02237bbc45b4c037fc1e571c51 files/partimage-0.6.4-1-lib64.patch 2483 +SHA256 22686caa9919b9c0f8f248d033cce400bdf004a7cbaa1773d9e4c20dc212dfb9 files/partimage-0.6.4-1-lib64.patch 2483 AUX partimage-0.6.4-LP64-fixes.patch 1773 RMD160 3a2e1d4d69794aaa4311b716c4a418350774707f SHA1 a76a3af0a0ca6b56e3ad58e8111cda88bf7757c3 SHA256 1f4ad532e1edc0c5772290fde3ed0285e5c09caecd786216c92f78fab2c4075b MD5 60b6a720fc1d32cb9325428d7aeb49c2 files/partimage-0.6.4-LP64-fixes.patch 1773 RMD160 3a2e1d4d69794aaa4311b716c4a418350774707f files/partimage-0.6.4-LP64-fixes.patch 1773 @@ -17,6 +21,10 @@ AUX partimage-0.6.4-dont-discard-error-message-in-batch-mode.patch 1938 RMD160 e MD5 c4184ad934f74caf3c4eaae3dac0a44e files/partimage-0.6.4-dont-discard-error-message-in-batch-mode.patch 1938 RMD160 e74457b05ec899ca4a5c485bd2b1535f3a99385e files/partimage-0.6.4-dont-discard-error-message-in-batch-mode.patch 1938 SHA256 b260d2c2b81d1d9ec60acd770965c995a98cceb97d468ded3607e276b9d43759 files/partimage-0.6.4-dont-discard-error-message-in-batch-mode.patch 1938 +AUX partimage-0.6.4-empty-salt.patch 295 RMD160 391020c2abb56a370674cb5394a43da8a56a4b12 SHA1 320082297b7a17bf92f7fa042adc9c882cd2b8c1 SHA256 abbfe5dd900c07026cf1057d1cac04dd9bc4d5610e631b2d707fd8306295419d +MD5 95fb2bbbacf6b5540cf2b5336002becb files/partimage-0.6.4-empty-salt.patch 295 +RMD160 391020c2abb56a370674cb5394a43da8a56a4b12 files/partimage-0.6.4-empty-salt.patch 295 +SHA256 abbfe5dd900c07026cf1057d1cac04dd9bc4d5610e631b2d707fd8306295419d files/partimage-0.6.4-empty-salt.patch 295 AUX partimage-0.6.4-fflush-before-re-read-partition-table.patch 401 RMD160 d1a05f322beeee0265a8cd250fe0d70cc7a0f6b2 SHA1 c63534bc0876c1f496c2055311eacc66883b9c66 SHA256 cd94016ba2cdd4002b451f575c6e1c8308f520c0dc03c5ba6dceb63f937a156b MD5 d4ac3ff2ae9e3225c14bbb1fc1373df9 files/partimage-0.6.4-fflush-before-re-read-partition-table.patch 401 RMD160 d1a05f322beeee0265a8cd250fe0d70cc7a0f6b2 files/partimage-0.6.4-fflush-before-re-read-partition-table.patch 401 @@ -29,6 +37,10 @@ AUX partimage-0.6.4-gui.diff 2549 RMD160 9a0fd1c05ccb9eed2a10e19bd7de6f17409a15c MD5 c83273ab53bc1a367a0ac3f34ce448d2 files/partimage-0.6.4-gui.diff 2549 RMD160 9a0fd1c05ccb9eed2a10e19bd7de6f17409a15ce files/partimage-0.6.4-gui.diff 2549 SHA256 a77815b3ab58b9e7a60a5615201754c13e727990172d357dcf70a9436a67ceef files/partimage-0.6.4-gui.diff 2549 +AUX partimage-0.6.4-help.patch 7736 RMD160 a12d2e9ac058795f7c4ba15d488e41d3348f31a9 SHA1 a577ff05d95189254b765fe7fe3c26b2038c3cfa SHA256 445deb8aca835eafaee2ced6f7a96e4aaf9ceeb778bbf6cca8e22b53dea12689 +MD5 5621ce0e5a39610471447145bec9095c files/partimage-0.6.4-help.patch 7736 +RMD160 a12d2e9ac058795f7c4ba15d488e41d3348f31a9 files/partimage-0.6.4-help.patch 7736 +SHA256 445deb8aca835eafaee2ced6f7a96e4aaf9ceeb778bbf6cca8e22b53dea12689 files/partimage-0.6.4-help.patch 7736 AUX partimage-0.6.4-lib64.patch 2102 RMD160 a5a6aefcc2d204de65a6f779bcb25fc5ee1a7bca SHA1 344aca0b2f1323d0b1a54413cc94ef26a2a568a9 SHA256 32dde7f5e0bfe8c53557a27b2e36450c7b391fdb63ea7479c0dd10c0b88387f3 MD5 a4cd05177b2b00d6e1b2d426ff9736eb files/partimage-0.6.4-lib64.patch 2102 RMD160 a5a6aefcc2d204de65a6f779bcb25fc5ee1a7bca files/partimage-0.6.4-lib64.patch 2102 @@ -41,6 +53,10 @@ AUX partimage-0.6.4-not_install_info.patch 1200 RMD160 1b41c778c718f4e8be2b465b2 MD5 58c44cd013afb15de340039a5de24b60 files/partimage-0.6.4-not_install_info.patch 1200 RMD160 1b41c778c718f4e8be2b465b20fe28b004a1a12a files/partimage-0.6.4-not_install_info.patch 1200 SHA256 12f8a09d473fbf827d2423c41e499620a6f3b6fa49368f132f1a2f1eff7d1469 files/partimage-0.6.4-not_install_info.patch 1200 +AUX partimage-0.6.4-port.patch 490 RMD160 f6c9df5e3a96546b48304b13a27fd867bd52a480 SHA1 ccb444fba47bc5da534c61d6b07cd6a53057aff6 SHA256 cb20cbc743ab74390c8294a0394165d3980690bed4439425fa0735e6a27729e2 +MD5 e8c1c33a2432ab162e11b7c3397aa75d files/partimage-0.6.4-port.patch 490 +RMD160 f6c9df5e3a96546b48304b13a27fd867bd52a480 files/partimage-0.6.4-port.patch 490 +SHA256 cb20cbc743ab74390c8294a0394165d3980690bed4439425fa0735e6a27729e2 files/partimage-0.6.4-port.patch 490 AUX partimage-0.6.4-save_all_and_rest_all_actions.patch 10301 RMD160 ef483644116534aedf3e1a79ba84cd8b7f7aef1c SHA1 ceae737467f92f6288e1e57d270228a518ee0530 SHA256 1ba5e5b2949b6328c9745c40eaf9909fbe3a166b2df47e4b7e9974b5337d5b37 MD5 5e328f1bb041b6b49957186d5598f3c1 files/partimage-0.6.4-save_all_and_rest_all_actions.patch 10301 RMD160 ef483644116534aedf3e1a79ba84cd8b7f7aef1c files/partimage-0.6.4-save_all_and_rest_all_actions.patch 10301 @@ -53,6 +69,10 @@ AUX partimage-0.6.4-varargs.patch 570 RMD160 94916f2ad7535d37d49e1d439babd9253ca MD5 5e59bf081562ba14d674604aec33323c files/partimage-0.6.4-varargs.patch 570 RMD160 94916f2ad7535d37d49e1d439babd9253ca9d8ec files/partimage-0.6.4-varargs.patch 570 SHA256 99ccf7696c0c14cb603f5ba2d95c051989cb3226cd7490d00bb26469b08a6099 files/partimage-0.6.4-varargs.patch 570 +AUX partimage-0.6.4-xfs.patch 1022 RMD160 ea6c7649aa2afc40b4bf0279ebc017f8a8d97b3e SHA1 09936d6a766b082871ebe29f7a4bdf17eceaeb6e SHA256 77c7571f31bf6897ce8d0547150a5c48ce6cd56d8cabcb3b5617bf617566e823 +MD5 fae3903b7b55d99152f68626bbd601e7 files/partimage-0.6.4-xfs.patch 1022 +RMD160 ea6c7649aa2afc40b4bf0279ebc017f8a8d97b3e files/partimage-0.6.4-xfs.patch 1022 +SHA256 77c7571f31bf6897ce8d0547150a5c48ce6cd56d8cabcb3b5617bf617566e823 files/partimage-0.6.4-xfs.patch 1022 AUX partimaged.conf 424 RMD160 e1dbe5dd5a3eec01b3061cce992f1fbee4bec167 SHA1 f571f19bf872f43df9c086162aed96992a073db3 SHA256 f794f539051e0f2e5f3ce357c4683c4a22a9e87b31f1ae113fcf58cd8bda43cf MD5 724ac3895dc01f277b34dab251ec47bb files/partimaged.conf 424 RMD160 e1dbe5dd5a3eec01b3061cce992f1fbee4bec167 files/partimaged.conf 424 @@ -61,6 +81,10 @@ AUX partimaged.init 756 RMD160 472783083226aa837f7ff6c0645c67407706233f SHA1 d6d MD5 86ccd8a7d116f22182ae60e01da1bfff files/partimaged.init 756 RMD160 472783083226aa837f7ff6c0645c67407706233f files/partimaged.init 756 SHA256 5605a652a0520217f928984a6bd7cda97002b71deba54684ad5a6d9dd66b5420 files/partimaged.init 756 +AUX partimaged.pam 322 RMD160 90c118f4083bac0e06e0a19a2f29774c35a47fe7 SHA1 ac27ffffd8337c3fe10038ac5d1c7fcfdf95f158 SHA256 4a157eeea7c470c8d1629a31c1497c28cf294731366481d70f9321f71b1dc364 +MD5 153971a4195062378ac01df720248b71 files/partimaged.pam 322 +RMD160 90c118f4083bac0e06e0a19a2f29774c35a47fe7 files/partimaged.pam 322 +SHA256 4a157eeea7c470c8d1629a31c1497c28cf294731366481d70f9321f71b1dc364 files/partimaged.pam 322 AUX partimagedusers.5 1263 RMD160 6416fd7f013e637b99f10c32607994e11728bdd0 SHA1 56afebd408dc14d3270a9a43702d335fa598998e SHA256 6037d086ddcdebd76b2f2477252173e8242ac528bc7025a391364a4da174f0f3 MD5 938ecb802f7e26ff8df88404f0648c7c files/partimagedusers.5 1263 RMD160 6416fd7f013e637b99f10c32607994e11728bdd0 files/partimagedusers.5 1263 @@ -69,19 +93,20 @@ AUX servercert.cnf 1096 RMD160 8786b07466c5330254eb96e1de6f754e8a68e77f SHA1 64f MD5 b854c74900be1967b69b5997a434897c files/servercert.cnf 1096 RMD160 8786b07466c5330254eb96e1de6f754e8a68e77f files/servercert.cnf 1096 SHA256 9a9cae8cd6c7bbc6f71cd619829b7a6a47d6aae34831cc44a6cc3bf3e7917953 files/servercert.cnf 1096 +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 EBUILD partimage-0.6.4-r3.ebuild 4343 RMD160 2832af89fb4c31bae8e705ed68c4d8188829f98a SHA1 3ace3d7691ff254e63286fc49444e1a2d353041d SHA256 b9f97ab95955ef576e2aadb64ae9edc41f8a8f87d4f2647ea814dadde6ea7e5f MD5 b93d98a5dfa07be7ef669e0ba906a154 partimage-0.6.4-r3.ebuild 4343 RMD160 2832af89fb4c31bae8e705ed68c4d8188829f98a partimage-0.6.4-r3.ebuild 4343 SHA256 b9f97ab95955ef576e2aadb64ae9edc41f8a8f87d4f2647ea814dadde6ea7e5f partimage-0.6.4-r3.ebuild 4343 -EBUILD partimage-0.6.4-r4.ebuild 5118 RMD160 e9eeacfa9eea79be5299088dd31302559dbaa5e0 SHA1 72cccce5352ed43ffed77bc0c6d83fc3b28deb01 SHA256 f65c88b5d52646e800a1cfc1b55fa26712ad9996ed85ba3b52c693ee76d40c6f -MD5 d0c51658af6e57903196ff031f8502f4 partimage-0.6.4-r4.ebuild 5118 -RMD160 e9eeacfa9eea79be5299088dd31302559dbaa5e0 partimage-0.6.4-r4.ebuild 5118 -SHA256 f65c88b5d52646e800a1cfc1b55fa26712ad9996ed85ba3b52c693ee76d40c6f partimage-0.6.4-r4.ebuild 5118 -MISC ChangeLog 8536 RMD160 85601ce932d0b0d4c1e60e1638e620071d5bd9a0 SHA1 89b84c03d82f120763d34b7899504536b8bfeeea SHA256 1324e58061790a6a517fb023b33997060de4b51e18caa2a0f5a0e6e55d24c91d -MD5 2733a5d7810dd34f67ae1f79c3b39000 ChangeLog 8536 -RMD160 85601ce932d0b0d4c1e60e1638e620071d5bd9a0 ChangeLog 8536 -SHA256 1324e58061790a6a517fb023b33997060de4b51e18caa2a0f5a0e6e55d24c91d ChangeLog 8536 +EBUILD partimage-0.6.4-r4.ebuild 5335 RMD160 3e10417fbb85bad04b44a2945115b8ef577dc9b1 SHA1 9fe49ae8f9b10e485a2b126e796541fc84a1bee0 SHA256 cd1ed24e39c9979a126400253ac2703a5bdf3642a01143c93f8e8ec8b8fb6e19 +MD5 ce1e2d049f16b9f6b20ac2374e9dde1e partimage-0.6.4-r4.ebuild 5335 +RMD160 3e10417fbb85bad04b44a2945115b8ef577dc9b1 partimage-0.6.4-r4.ebuild 5335 +SHA256 cd1ed24e39c9979a126400253ac2703a5bdf3642a01143c93f8e8ec8b8fb6e19 partimage-0.6.4-r4.ebuild 5335 +MISC ChangeLog 8893 RMD160 c9a319de6e9a8bfcb8034edb942c5999aad46bde SHA1 6d36dfaf7dce1f44992083b72e3465ff76248eaf SHA256 74ba439d9c097a614660a25033bc65f72647ce189d53fc89e27cae323aa28864 +MD5 2acf8e587f965f1388d548421fd582af ChangeLog 8893 +RMD160 c9a319de6e9a8bfcb8034edb942c5999aad46bde ChangeLog 8893 +SHA256 74ba439d9c097a614660a25033bc65f72647ce189d53fc89e27cae323aa28864 ChangeLog 8893 MISC metadata.xml 300 RMD160 1b8d549b3e7475c26f605a1a36fcab59722f51ab SHA1 7a58ba664a8a3385b8c3a16d7f0168ed656aed67 SHA256 a7042ab513648c05514689f1c2b7c1e6cbf1d339ca3aaa1a45de08ea5cfb152c MD5 6b4c83400b7b7a44afb53e1a7ac388af metadata.xml 300 RMD160 1b8d549b3e7475c26f605a1a36fcab59722f51ab metadata.xml 300 @@ -89,13 +114,13 @@ SHA256 a7042ab513648c05514689f1c2b7c1e6cbf1d339ca3aaa1a45de08ea5cfb152c metadata MD5 fcdaf20ed63fabe194aab14326dd09dc files/digest-partimage-0.6.4-r3 250 RMD160 c94f8b2bf848c148ef7cecdc9ef0b7e3b0c33fd2 files/digest-partimage-0.6.4-r3 250 SHA256 a0f2fcdd9dc1fb168a7ac6df7b43e9ef0cf7e53bf649d1c9d904fc2159950cf0 files/digest-partimage-0.6.4-r3 250 -MD5 fcdaf20ed63fabe194aab14326dd09dc files/digest-partimage-0.6.4-r4 250 -RMD160 c94f8b2bf848c148ef7cecdc9ef0b7e3b0c33fd2 files/digest-partimage-0.6.4-r4 250 -SHA256 a0f2fcdd9dc1fb168a7ac6df7b43e9ef0cf7e53bf649d1c9d904fc2159950cf0 files/digest-partimage-0.6.4-r4 250 +MD5 ed4863df9e68fc649231a53a1c50f1cc files/digest-partimage-0.6.4-r4 256 +RMD160 cb6567c9350bb74968dd46d64bf27575c37dff72 files/digest-partimage-0.6.4-r4 256 +SHA256 146cc2a404bd7b52e0a99bb3bd1bdbca10c3a139780cf2a2eb3cb7c8557b83d3 files/digest-partimage-0.6.4-r4 256 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) -iD8DBQFFMSjvgMUyd/cdjWsRAoUMAJ9E46Vn8XkA+1CEH5bcuqUCPltHnQCfYR6v -d/55g9UtoIDYSsOY9I+Tvrk= -=dWBs +iD8DBQFFMXgsgMUyd/cdjWsRAseJAJwKAL1MZkjTqnzuTao5KbvuqWzP/ACbBSnA +sQeMOkUUMYQzQ53I8KxYhUQ= +=Ejsj -----END PGP SIGNATURE----- diff --git a/sys-block/partimage/files/digest-partimage-0.6.4-r4 b/sys-block/partimage/files/digest-partimage-0.6.4-r4 index d519787e7018..351641a2a9a9 100644 --- a/sys-block/partimage/files/digest-partimage-0.6.4-r4 +++ b/sys-block/partimage/files/digest-partimage-0.6.4-r4 @@ -1,3 +1,3 @@ -MD5 ee56df4a6be1f78f53dc48454655aa8a partimage-0.6.4.tar.bz2 654707 -RMD160 9de0195c0bc2a83088b054be63102d6ac2350428 partimage-0.6.4.tar.bz2 654707 -SHA256 e4741d383edb59359b565f6623fc773c704735e65b85a5a378efc922205f14d3 partimage-0.6.4.tar.bz2 654707 +MD5 9f804b417b23c3951302468aca308679 partimage-0.6.4-1.tar.bz2 706438 +RMD160 cc452f064d7b26d10ffde7b196f6121ade2a619b partimage-0.6.4-1.tar.bz2 706438 +SHA256 180c443d85def5bbc02fe21fb31014799259d026c820633246c92c536397fba7 partimage-0.6.4-1.tar.bz2 706438 diff --git a/sys-block/partimage/files/partimage-0.6.4-1-lib64.patch b/sys-block/partimage/files/partimage-0.6.4-1-lib64.patch new file mode 100644 index 000000000000..2e754b5f334f --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.4-1-lib64.patch @@ -0,0 +1,48 @@ +diff -uNr partimage-0.6.4-1.orig/src/client/Makefile.am partimage-0.6.4-1/src/client/Makefile.am +--- partimage-0.6.4-1.orig/src/client/Makefile.am 2004-02-04 01:57:36.000000000 +0100 ++++ partimage-0.6.4-1/src/client/Makefile.am 2006-10-15 00:41:34.000000000 +0200 +@@ -33,7 +33,7 @@ + mbr_backup.cpp + + # all libs are added in LIBS, we needn't add them to partimage_LDADD +-partimage_LDADD = -L/usr/lib -lslang fs/libfs.a ../shared/libshared.a ++partimage_LDADD = -L$(libdir) -lslang fs/libfs.a ../shared/libshared.a + partimage_LDFLAGS = @PARTIMAGE_LDFLAGS@ + + DEFS=@DEFS@ -DLOCALEDIR=\"${localedir}\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 +diff -uNr partimage-0.6.4-1.orig/src/client/Makefile.in partimage-0.6.4-1/src/client/Makefile.in +--- partimage-0.6.4-1.orig/src/client/Makefile.in 2004-04-29 22:08:53.000000000 +0200 ++++ partimage-0.6.4-1/src/client/Makefile.in 2006-10-15 00:42:11.000000000 +0200 +@@ -271,7 +271,7 @@ + + + # all libs are added in LIBS, we needn't add them to partimage_LDADD +-partimage_LDADD = -L/usr/lib -lslang fs/libfs.a ../shared/libshared.a ++partimage_LDADD = -L$(libdir) -lslang fs/libfs.a ../shared/libshared.a + partimage_LDFLAGS = @PARTIMAGE_LDFLAGS@ + + DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 +diff -uNr partimage-0.6.4-1.orig/src/server/Makefile.am partimage-0.6.4-1/src/server/Makefile.am +--- partimage-0.6.4-1.orig/src/server/Makefile.am 2004-02-04 01:57:36.000000000 +0100 ++++ partimage-0.6.4-1/src/server/Makefile.am 2006-10-15 00:42:52.000000000 +0200 +@@ -21,7 +21,7 @@ + partimaged-gui_dummy.h partimaged-gui_newt.h partimaged.h + + #partimaged_LDADD = -L/usr/lib -lz -lbz2 -lnewt -lpthread -lcrypt -lslang -lcom_err -lext2fs ../shared/libshared.a +-partimaged_LDADD = -L/usr/lib -lslang ../shared/libshared.a ++partimaged_LDADD = -L$(libdir) -lslang ../shared/libshared.a + + partimaged_LDFLAGS = @PARTIMAGE_LDFLAGS@ + +diff -uNr partimage-0.6.4-1.orig/src/server/Makefile.in partimage-0.6.4-1/src/server/Makefile.in +--- partimage-0.6.4-1.orig/src/server/Makefile.in 2004-04-29 22:08:53.000000000 +0200 ++++ partimage-0.6.4-1/src/server/Makefile.in 2006-10-15 00:43:38.000000000 +0200 +@@ -269,7 +269,7 @@ + + + #partimaged_LDADD = -L/usr/lib -lz -lbz2 -lnewt -lpthread -lcrypt -lslang -lcom_err -lext2fs ../shared/libshared.a +-partimaged_LDADD = -L/usr/lib -lslang ../shared/libshared.a ++partimaged_LDADD = -L$(libdir) -lslang ../shared/libshared.a + + partimaged_LDFLAGS = @PARTIMAGE_LDFLAGS@ + diff --git a/sys-block/partimage/files/partimage-0.6.4-empty-salt.patch b/sys-block/partimage/files/partimage-0.6.4-empty-salt.patch new file mode 100644 index 000000000000..4c5b1a7ffc9e --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.4-empty-salt.patch @@ -0,0 +1,13 @@ +Index: src/shared/access.cpp +=================================================================== +--- src/shared/access.cpp (Revision 73) ++++ src/shared/access.cpp (Arbeitskopie) +@@ -105,7 +105,7 @@ + #else // HAVE_PAM + char * GetSalt(char * szLogin) + { +- return ""; ++ return NULL; + } + #endif + diff --git a/sys-block/partimage/files/partimage-0.6.4-help.patch b/sys-block/partimage/files/partimage-0.6.4-help.patch new file mode 100644 index 000000000000..45e202617e8a --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.4-help.patch @@ -0,0 +1,113 @@ +Index: src/client/main.cpp +=================================================================== +--- src/client/main.cpp (Revision 76) ++++ src/client/main.cpp (Arbeitskopie) +@@ -842,7 +842,8 @@ + printf("===============================================================================\n"); + printf(i18n("Partition Image (http://www.partimage.org/) version %s [%s]\n" + "---- distributed under the GPL 2 license (GNU General Public License) ----\n\n" +- "Supported file systems:....ext2fs, reiserfs, fat16, fat32, ntfs(exp), hpfs\n\n" ++ "Supported file systems: Ext2/3, Reiser3, FAT16/32, HPFS, JFS, XFS, \n" ++ " UFS(beta), HFS(beta), NTFS(experimental)\n\n" + "usage: partimage [options] <action> <device> <image_file>\n" + " partimage <imginfo/restmbr> <image_file>\n\n" + "ex: partimage -z1 -o -d save /dev/hda12 /mnt/backup/redhat-6.2.partimg.gz\n" +@@ -858,39 +859,42 @@ + " - restmbr: restore a MBR of the image file to an hard disk\n" + " - imginfo: show informations about the image file\n" + "* <device>: partition to save/restore (example: /dev/hda1)\n" +- "* <image_file>: file where data will be read/written. can be very big\n\n" ++ "* <image_file>: file where data will be read/written. Can be very big.\n" ++ " For restore, <image_file> can have the value 'stdin'. This allows\n" ++ " for providing image files through a pipe.\n\n" + "Options:\n" +- "* -z, --compress (image file compression level):\n" +- " -z0, --compress=0 don't compress: very fast but very big image file\n" +- " -z1, --compress=1 compress using gzip: fast and small image file (default)\n" +- " -z2, --compress=2 (compress using bzip2: very slow and very small image file):\n" +- "* -c, --nocheck don't check the partition before saving\n" +- "* -o, --overwrite overwrite the existing image file without confirmation\n" +- "* -d, --nodesc don't ask any description for the image file\n" +- "* -V, --volume (split image into multiple volumes files)\n" +- " -VX, --volume=X create volumes with a size of X KB\n" +- "* -w, --waitvol wait for a confirmation after each volume change\n" +- "* -e, --erase erase empty blocks on restore with zero bytes\n" +- "* -m, --allowmnt don't fail if the partition is mounted. Dangerous !\n" +- "* -M, --nombr don't create a backup of the MBR (Mast Boot Record) in the image file\n" +- "* -h, --help show help\n" +- "* -v, --version show version\n" +- "* -i, --compilinfo show compilation options used\n" +- "* -f, --finish (action to do if finished successfully):\n" +- " -f0, --finish=0 wait: don't make anything\n" +- " -f1, --finish=1 halt (power off) the computer\n" +- " -f2, --finish=2 reboot (restart the computer):\n" +- " -f3, --finish=3 quit\n" +- "* -b, --batch batch mode: the GUI won't wait for an user action\n" +- "* -y, --nosync don't synchronize the disks at the end of the operation (dangerous)\n" +- "* -sX, --server=X give partimaged server's ip address\n" +- "* -pX, --port=X give partimaged server's listening port\n" +- "* -g, --debug=X set the debug level to X (default: 1):\n" +- "* -n, --nossl disable SSL in network mode\n" +- "* -S, --simulate simulation of restoration mode\n" +- "* -aX, --automnt=X Automatic mount with X options. Read the doc for more details\n" +- "* -UX --username=X Username to authenticate to server\n" +- "* -PX --Password=X Password for authentication of user to server\n"), ++ "* -z, --compress (image file compression level):\n" ++ " -z0, --compress=0 don't compress: very fast but very big image file\n" ++ " -z1, --compress=1 compress using gzip: fast and small image file (default)\n" ++ " -z2, --compress=2 (compress using bzip2: very slow and very small image file):\n" ++ "* -c, --nocheck don't check the partition before saving\n" ++ "* -o, --overwrite overwrite the existing image file without confirmation\n" ++ "* -d, --nodesc don't ask any description for the image file\n" ++ "* -V, --volume (split image into multiple volumes files)\n" ++ " -VX, --volume=X create volumes with a size of X MB\n" ++ "* -w, --waitvol wait for a confirmation after each volume change\n" ++ "* -e, --erase erase empty blocks on restore with zero bytes\n" ++ "* -m, --allowmnt don't fail if the partition is mounted. Dangerous !\n" ++ "* -M, --nombr don't create a backup of the MBR (Mast Boot Record) in the image file\n" ++ "* -h, --help show help\n" ++ "* -v, --version show version\n" ++ "* -i, --compilinfo show compilation options used\n" ++ "* -f, --finish (action to do if finished successfully):\n" ++ " -f0, --finish=0 wait: don't make anything\n" ++ " -f1, --finish=1 halt (power off) the computer\n" ++ " -f2, --finish=2 reboot (restart the computer):\n" ++ " -f3, --finish=3 quit\n" ++ "* -b, --batch batch mode: the GUI won't wait for an user action\n" ++ "* -BX, --fully-batch=X batch mode without GUI, X is a challenge response string\n" ++ "* -y, --nosync don't synchronize the disks at the end of the operation (dangerous)\n" ++ "* -sX, --server=X give partimaged server's ip address\n" ++ "* -pX, --port=X give partimaged server's listening port\n" ++ "* -g, --debug=X set the debug level to X (default: 1):\n" ++ "* -n, --nossl disable SSL in network mode\n" ++ "* -S, --simulate simulation of restoration mode\n" ++ "* -aX, --automnt=X automatic mount with X options. Read the doc for more details\n" ++ "* -UX --username=X username to authenticate to server\n" ++ "* -PX --password=X password for authentication of user to server\n"), + PACKAGE_VERSION, isVersionStable(PACKAGE_VERSION) ? i18n("stable") : i18n("unstable")); + printf("===============================================================================\n"); + } +Index: README +=================================================================== +--- README (Revision 73) ++++ README (Arbeitskopie) +@@ -12,8 +12,17 @@ + the Free Software Foundation; either version 2 of the License, or + at your option) any later version. + +-Partition Image is a Linux utility which saves partitions in the ext2fs, reiserfs, fat16, and fat32 +-formats an image file. Only used blocks are copied to save the space and to increase the speed. ++Partition Image is a partition imaging utility which has support for the following file systems: ++ * Ext2/3, the linux standard ++ * Reiser3, 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 to save the space and to increase the speed. + The image file can be compressed, in gzip, or bzip2 formats, and can be splitted into + small files to be copied on floppies (1,44 MB, ZIP, ...). + Then, the partition can be restored if there is a problem on the partition (file system error, diff --git a/sys-block/partimage/files/partimage-0.6.4-port.patch b/sys-block/partimage/files/partimage-0.6.4-port.patch new file mode 100644 index 000000000000..ee5fb94b59fe --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.4-port.patch @@ -0,0 +1,11 @@ +--- README.partimaged 2005-09-06 15:48:52.000000000 +0200 ++++ README.partimaged 2005-08-12 02:44:26.000000000 +0200 +@@ -24,7 +24,7 @@ + It can be a serious hole in your network if not used behind a firewall since + it can access ANY file with root rigths. + +-To use, your just need to run it. By default, it listens on port 13000. ++To use, your just need to run it. By default, it listens on port 4025. + + To use SSL, you need a certificate file and a private key file for this + certificate. diff --git a/sys-block/partimage/files/partimage-0.6.4-xfs.patch b/sys-block/partimage/files/partimage-0.6.4-xfs.patch new file mode 100644 index 000000000000..82f801f5468e --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.4-xfs.patch @@ -0,0 +1,28 @@ +--- src/client/fs/fs_xfs.h 2005-09-06 15:48:52.000000000 +0200 ++++ src/client/fs/fs_xfs.h 2005-08-10 05:08:28.000000000 +0200 +@@ -105,12 +105,9 @@ + typedef unsigned short int __uint16_t; + typedef signed int __int32_t; + typedef unsigned int __uint32_t; +-#ifdef __ia64__ ++#if defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__x86_64__) + typedef signed long int __int64_t; + typedef unsigned long int __uint64_t; +-#elif __alpha__ +-typedef signed long int __int64_t; +-typedef unsigned long int __uint64_t; + #else + typedef signed long long int __int64_t; + typedef unsigned long long int __uint64_t; +@@ -157,10 +154,7 @@ + typedef __uint64_t xfs_dfiloff_t; // block number in a file + typedef __uint64_t xfs_dfilblks_t; // number of blocks in a file + +-#ifdef __ia64__ +-typedef unsigned long __u64; +-typedef signed long __s64; +-#elif __alpha__ ++#if defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) + typedef unsigned long __u64; + typedef signed long __s64; + #else diff --git a/sys-block/partimage/files/partimaged.pam b/sys-block/partimage/files/partimaged.pam new file mode 100644 index 000000000000..de21a2d035b1 --- /dev/null +++ b/sys-block/partimage/files/partimaged.pam @@ -0,0 +1,12 @@ +# PAM config file for Partimaged + +auth required pam_unix.so +auth required pam.warn.so +auth sufficient pam_userdb.so \ + db=/etc/partimaged/passwd +auth required pam_listfile.so \ + onerr=fail item=user sense=allow \ + file=/etc/partimaged/partimagedusers + +account sufficient pam_userdb.so \ + debug db=/etc/partimaged/passwd diff --git a/sys-block/partimage/partimage-0.6.4-r4.ebuild b/sys-block/partimage/partimage-0.6.4-r4.ebuild index ea31d4cc762a..bc503d4be93a 100644 --- a/sys-block/partimage/partimage-0.6.4-r4.ebuild +++ b/sys-block/partimage/partimage-0.6.4-r4.ebuild @@ -1,14 +1,15 @@ # Copyright 1999-2006 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.13 2006/10/14 17:07:41 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/partimage/partimage-0.6.4-r4.ebuild,v 1.14 2006/10/14 22:45:43 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. Optional encryption/compression support." HOMEPAGE="http://www.partimage.org/" -SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2" +SRC_URI="mirror://sourceforge/partimage/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc" @@ -41,6 +42,8 @@ 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} @@ -56,15 +59,18 @@ src_unpack() { 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}-1-lib64.patch 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}-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() { @@ -88,10 +94,10 @@ src_compile() { || die "econf failed" emake || die "make failed" - if use pam - then - make pamfile || die "couldn't create pam file" - fi + #if use pam + #then + # make pamfile || die "couldn't create pam file" + #fi } src_install() { @@ -110,7 +116,10 @@ src_install() { dodoc AUTHORS BUGS COPYING ChangeLog INSTALL README* TODO partimage.lsm # pam - newpamd partimaged.pam partimaged + if use pam + then + newpamd ${FILESDIR}/partimaged.pam partimaged || die + fi } # vars for SSL stuff |