diff options
author | 2006-11-04 07:15:19 +0000 | |
---|---|---|
committer | 2006-11-04 07:15:19 +0000 | |
commit | 1d335eb22831fe39632431e20ed61ab3241f3439 (patch) | |
tree | 16bb24fdc25067d329088063c9109530d3b09563 | |
parent | Don't inherit the mount-boot eclass, as we don't put anything in /boot (diff) | |
download | aross-1d335eb22831fe39632431e20ed61ab3241f3439.tar.gz aross-1d335eb22831fe39632431e20ed61ab3241f3439.tar.bz2 aross-1d335eb22831fe39632431e20ed61ab3241f3439.zip |
Import app-backup/bacula from mainline portage tree.
svn path=/; revision=36
34 files changed, 2359 insertions, 0 deletions
diff --git a/app-backup/bacula/Manifest b/app-backup/bacula/Manifest new file mode 100644 index 0000000..180d74e --- /dev/null +++ b/app-backup/bacula/Manifest @@ -0,0 +1,142 @@ +AUX 1.36.3/bacula-all-conf 845 RMD160 fbe0623dc841daee5c29589665d83e7f23410e05 SHA1 cb5e523f2bd2b2765eb95ad6c10ac890755cd68a SHA256 ef9b29f9d85fd4964ac1ed53a78b56a58c996395c1a9348348a7872c63dcb822 +MD5 8aeb126baf57b2829748c84a252c4c3d files/1.36.3/bacula-all-conf 845 +RMD160 fbe0623dc841daee5c29589665d83e7f23410e05 files/1.36.3/bacula-all-conf 845 +SHA256 ef9b29f9d85fd4964ac1ed53a78b56a58c996395c1a9348348a7872c63dcb822 files/1.36.3/bacula-all-conf 845 +AUX 1.36.3/bacula-all-init 1542 RMD160 f566ae28a644d73b108827d3780587f1b2a13f15 SHA1 56bd138f0635190523f35ad7a156e7d41e7589bf SHA256 bd9b8752a86c5db19fd5d808f726662f5d8605c9f9defdb1cc6e52e4a60cf487 +MD5 0fb1f0e62884ac14b5cc4a1169f55e9e files/1.36.3/bacula-all-init 1542 +RMD160 f566ae28a644d73b108827d3780587f1b2a13f15 files/1.36.3/bacula-all-init 1542 +SHA256 bd9b8752a86c5db19fd5d808f726662f5d8605c9f9defdb1cc6e52e4a60cf487 files/1.36.3/bacula-all-init 1542 +AUX 1.36.3/bacula-dir-conf 635 RMD160 5147dbac743ca8c174841f9db42ae1f78964d726 SHA1 1eea89bc1857bc472e3bd9b8af26555e23409b59 SHA256 e5641f20a02f4741b5ec918666a5f1293eeba89dac64c4d4c6fe11990f387dd0 +MD5 b10bc5151115f4f1944bbb1e86429c11 files/1.36.3/bacula-dir-conf 635 +RMD160 5147dbac743ca8c174841f9db42ae1f78964d726 files/1.36.3/bacula-dir-conf 635 +SHA256 e5641f20a02f4741b5ec918666a5f1293eeba89dac64c4d4c6fe11990f387dd0 files/1.36.3/bacula-dir-conf 635 +AUX 1.36.3/bacula-dir-init 704 RMD160 5524d7101d479e5c3ccffe761fe5ab6035ec6287 SHA1 18b590aa5964bcdd998488cf1c87cefb8fa9d019 SHA256 503393fb593b0c79bbfa5f16060781fc695980da22c6029883cbd1e47dd78774 +MD5 54b16944ec06a6954354d4bf64286695 files/1.36.3/bacula-dir-init 704 +RMD160 5524d7101d479e5c3ccffe761fe5ab6035ec6287 files/1.36.3/bacula-dir-init 704 +SHA256 503393fb593b0c79bbfa5f16060781fc695980da22c6029883cbd1e47dd78774 files/1.36.3/bacula-dir-init 704 +AUX 1.36.3/bacula-fd-conf 359 RMD160 970601bf0fe129a8baf79a150172b239e70442e0 SHA1 0913adb19ad0bb3c9c63e56cb393a573181178be SHA256 2c262ab0f4cf0fb8b7f174529610dda727047f99d530434bb2ec4cf153cc9c70 +MD5 fcf0749a0e5515fa80ef83b569989105 files/1.36.3/bacula-fd-conf 359 +RMD160 970601bf0fe129a8baf79a150172b239e70442e0 files/1.36.3/bacula-fd-conf 359 +SHA256 2c262ab0f4cf0fb8b7f174529610dda727047f99d530434bb2ec4cf153cc9c70 files/1.36.3/bacula-fd-conf 359 +AUX 1.36.3/bacula-fd-init 650 RMD160 7e81039af0fbaec1ad2eb43f7244cc2686791c21 SHA1 0989afadca6fe3ebd53152bd1143b69255090680 SHA256 7a86d0ce4b301c6c6f075fb2c351c13852e9fe207521ff81fec131ed1f8dec5a +MD5 1d736c811c0089e39327609b47bcdca5 files/1.36.3/bacula-fd-init 650 +RMD160 7e81039af0fbaec1ad2eb43f7244cc2686791c21 files/1.36.3/bacula-fd-init 650 +SHA256 7a86d0ce4b301c6c6f075fb2c351c13852e9fe207521ff81fec131ed1f8dec5a files/1.36.3/bacula-fd-init 650 +AUX 1.36.3/bacula-sd-conf 505 RMD160 8de8855138a512daaf96ce54096bce4ace4d7168 SHA1 6f3ff0724e389656e960c7ad936d7a1e88fb8381 SHA256 f5277c014d0d008139ee26a42abb9527a8113d19b3524f1619835e481f7605f1 +MD5 4515de369eb098c801d7420a623cd52a files/1.36.3/bacula-sd-conf 505 +RMD160 8de8855138a512daaf96ce54096bce4ace4d7168 files/1.36.3/bacula-sd-conf 505 +SHA256 f5277c014d0d008139ee26a42abb9527a8113d19b3524f1619835e481f7605f1 files/1.36.3/bacula-sd-conf 505 +AUX 1.36.3/bacula-sd-init 657 RMD160 ce862b3d662abcac66c9bf6ae7f4dd09f72e22ad SHA1 7176817ab574d6fe111ff571d085cfba2dc8416c SHA256 305aeca6d8377a9c4d6ce19e88e79eafbf5cb3c0468427d88204be4cc8d4e0b5 +MD5 8bc1773c7e6176c8810fe91752855228 files/1.36.3/bacula-sd-init 657 +RMD160 ce862b3d662abcac66c9bf6ae7f4dd09f72e22ad files/1.36.3/bacula-sd-init 657 +SHA256 305aeca6d8377a9c4d6ce19e88e79eafbf5cb3c0468427d88204be4cc8d4e0b5 files/1.36.3/bacula-sd-init 657 +AUX 1.38.5/bacula-all-conf 838 RMD160 824b0fbed5fb05a9a53bc940965dfa17526af8ae SHA1 279da603a1803ef8c629806d238eac3a42839e4a SHA256 40f2df2bd6ba99a0cb9326bd002c3842a065a2b482eaeac28dc1502b83b10db2 +MD5 aa2fa89d0a72349229a3d610284226c2 files/1.38.5/bacula-all-conf 838 +RMD160 824b0fbed5fb05a9a53bc940965dfa17526af8ae files/1.38.5/bacula-all-conf 838 +SHA256 40f2df2bd6ba99a0cb9326bd002c3842a065a2b482eaeac28dc1502b83b10db2 files/1.38.5/bacula-all-conf 838 +AUX 1.38.5/bacula-all-init 1542 RMD160 f3e10092e674fe6432b5718866822962231f9079 SHA1 8f68928ea6ca780f5523c95f5ca46a1ab5bb2fb6 SHA256 92735c61ac9a7def291c1e6acb5e17081739286b6c966785e962ce8ace6aec96 +MD5 c5eddef5dcc078a2aa5c7a33156006c3 files/1.38.5/bacula-all-init 1542 +RMD160 f3e10092e674fe6432b5718866822962231f9079 files/1.38.5/bacula-all-init 1542 +SHA256 92735c61ac9a7def291c1e6acb5e17081739286b6c966785e962ce8ace6aec96 files/1.38.5/bacula-all-init 1542 +AUX 1.38.5/bacula-dir-conf 628 RMD160 d53426219f853c550c48f3340cea699166c7763e SHA1 154d29a463c3a03f19970fb3010e4b69ae2ef409 SHA256 5365f63b1123c049389bcf49ff16c5156b670eede0bf87d569f58e843ef8f420 +MD5 bf3c344802dd54f2c48fdc031acf6b3c files/1.38.5/bacula-dir-conf 628 +RMD160 d53426219f853c550c48f3340cea699166c7763e files/1.38.5/bacula-dir-conf 628 +SHA256 5365f63b1123c049389bcf49ff16c5156b670eede0bf87d569f58e843ef8f420 files/1.38.5/bacula-dir-conf 628 +AUX 1.38.5/bacula-dir-init 704 RMD160 ffb4c4d9559468eb3ccf1594899a91c4e4862c5d SHA1 21b13ad84eb6e14eb56bda6d17544f06c5f46413 SHA256 492cd931db8bb6938ab9ffc963a120afb5da29dd49abb4d6c7a022a3e7cea437 +MD5 cea987f7358b00f2feafb8bd749dbaa9 files/1.38.5/bacula-dir-init 704 +RMD160 ffb4c4d9559468eb3ccf1594899a91c4e4862c5d files/1.38.5/bacula-dir-init 704 +SHA256 492cd931db8bb6938ab9ffc963a120afb5da29dd49abb4d6c7a022a3e7cea437 files/1.38.5/bacula-dir-init 704 +AUX 1.38.5/bacula-fd-conf 359 RMD160 aeb1bc1a2284e565ada5dbf4792bd4979666c9b4 SHA1 266ca562568faf0407abe7b3dac1008802cbfd5b SHA256 298512ea07ceb4638d405fd8605317a9be52db959a9fbbf408f058be404f3aa2 +MD5 9d560ce34efa76c8ef14edb2a75c6b38 files/1.38.5/bacula-fd-conf 359 +RMD160 aeb1bc1a2284e565ada5dbf4792bd4979666c9b4 files/1.38.5/bacula-fd-conf 359 +SHA256 298512ea07ceb4638d405fd8605317a9be52db959a9fbbf408f058be404f3aa2 files/1.38.5/bacula-fd-conf 359 +AUX 1.38.5/bacula-fd-init 650 RMD160 1384fc25fb1c60e2b6847421dfadddbd554c5a2c SHA1 163a2b01290ac7e1aa28001a41840abc19d7233d SHA256 31846a32d51701357c3a56e881afac0faf2e3425da3f37106ac5a91d7b6810da +MD5 9514030cfb59d3117b59b99dcbdce75d files/1.38.5/bacula-fd-init 650 +RMD160 1384fc25fb1c60e2b6847421dfadddbd554c5a2c files/1.38.5/bacula-fd-init 650 +SHA256 31846a32d51701357c3a56e881afac0faf2e3425da3f37106ac5a91d7b6810da files/1.38.5/bacula-fd-init 650 +AUX 1.38.5/bacula-sd-conf 505 RMD160 d9bd3e8b3885e3236a1d5bdf83b07a159f70d32d SHA1 8cdd05e7d94828d33a11367e050ae080d9794ad2 SHA256 688ddae89665bb70a246c9997109defba5836068a2b8bf54b84be3e8a9ec4321 +MD5 6f6ff995409fde9ed06a7958c1dbd1d8 files/1.38.5/bacula-sd-conf 505 +RMD160 d9bd3e8b3885e3236a1d5bdf83b07a159f70d32d files/1.38.5/bacula-sd-conf 505 +SHA256 688ddae89665bb70a246c9997109defba5836068a2b8bf54b84be3e8a9ec4321 files/1.38.5/bacula-sd-conf 505 +AUX 1.38.5/bacula-sd-init 657 RMD160 12bd7d23702bceb409c8744cf55607c4f226271a SHA1 d750a8fbb192c047a1ef446441c66ad7bae0e6e8 SHA256 9aa4f53f9127984fde9f2ea0dc4426d43269c2e720b65de1696c9ea734f00304 +MD5 4eacdd9655d27c138e17f0e7821540be files/1.38.5/bacula-sd-init 657 +RMD160 12bd7d23702bceb409c8744cf55607c4f226271a files/1.38.5/bacula-sd-init 657 +SHA256 9aa4f53f9127984fde9f2ea0dc4426d43269c2e720b65de1696c9ea734f00304 files/1.38.5/bacula-sd-init 657 +AUX bacula-1.36.3-cdrecord-configure.patch 616 RMD160 6fdb1abe4ff84a87b71b8b7acb041a5cd1647ca4 SHA1 349ccccd46ecf4a77531a4da601b64f1e20b9951 SHA256 463e4292378f75dfa65d35efe1a180912a7ec887c81091972be26a30c5e5b8c4 +MD5 42374b055f69dd5eb5eebe2b17542c03 files/bacula-1.36.3-cdrecord-configure.patch 616 +RMD160 6fdb1abe4ff84a87b71b8b7acb041a5cd1647ca4 files/bacula-1.36.3-cdrecord-configure.patch 616 +SHA256 463e4292378f75dfa65d35efe1a180912a7ec887c81091972be26a30c5e5b8c4 files/bacula-1.36.3-cdrecord-configure.patch 616 +AUX bacula-1.36.3-default-configs.patch 5373 RMD160 f54fb729a4bc1fafacf3cc5de94806270c72b934 SHA1 a05af24e9fc7c4d8bc7c8f9122d7a042839c0318 SHA256 1b175cbb85f48e5d6af682c390cd089aa40a6d53c6095b5190f0573bfbe44069 +MD5 4d5de2bae25b3042d9e9fe5586376b6e files/bacula-1.36.3-default-configs.patch 5373 +RMD160 f54fb729a4bc1fafacf3cc5de94806270c72b934 files/bacula-1.36.3-default-configs.patch 5373 +SHA256 1b175cbb85f48e5d6af682c390cd089aa40a6d53c6095b5190f0573bfbe44069 files/bacula-1.36.3-default-configs.patch 5373 +AUX bacula-1.36.3-mtxtmpfile.patch 3994 RMD160 ff2028c40c4f5d05c564bd84c74ed17d658ee3dd SHA1 f19b271128147904fc792d7da18911873b3f3c8b SHA256 6195c83668d1f360255aa7c7354332cd80ae8c421b8b5c580ecb8c4060008557 +MD5 fb24badd7d80c46f5bdb1dd2c8ee249b files/bacula-1.36.3-mtxtmpfile.patch 3994 +RMD160 ff2028c40c4f5d05c564bd84c74ed17d658ee3dd files/bacula-1.36.3-mtxtmpfile.patch 3994 +SHA256 6195c83668d1f360255aa7c7354332cd80ae8c421b8b5c580ecb8c4060008557 files/bacula-1.36.3-mtxtmpfile.patch 3994 +AUX bacula-1.38.5-default-configs.patch 5350 RMD160 bdf9501f6c72af40b52ac94509396587c8c24b26 SHA1 93a1d318dba9fc6e1826894128205760262bf7ab SHA256 9c3ecc77a6de2d6e46daafffa69bfedc42fd87abc2ca187d7a4e6605d5cdaadb +MD5 d7bebba8761a1a2c72c370bf25cfbf71 files/bacula-1.38.5-default-configs.patch 5350 +RMD160 bdf9501f6c72af40b52ac94509396587c8c24b26 files/bacula-1.38.5-default-configs.patch 5350 +SHA256 9c3ecc77a6de2d6e46daafffa69bfedc42fd87abc2ca187d7a4e6605d5cdaadb files/bacula-1.38.5-default-configs.patch 5350 +AUX bacula-1.38.9-default-configs.patch 5350 RMD160 bdf9501f6c72af40b52ac94509396587c8c24b26 SHA1 93a1d318dba9fc6e1826894128205760262bf7ab SHA256 9c3ecc77a6de2d6e46daafffa69bfedc42fd87abc2ca187d7a4e6605d5cdaadb +MD5 d7bebba8761a1a2c72c370bf25cfbf71 files/bacula-1.38.9-default-configs.patch 5350 +RMD160 bdf9501f6c72af40b52ac94509396587c8c24b26 files/bacula-1.38.9-default-configs.patch 5350 +SHA256 9c3ecc77a6de2d6e46daafffa69bfedc42fd87abc2ca187d7a4e6605d5cdaadb files/bacula-1.38.9-default-configs.patch 5350 +AUX bacula-conf 562 RMD160 74d1a54ca2099811d1e99130482ecc6774beb2d4 SHA1 9449025ffbf5f5d238095ec07e96f6853e1fe4ae SHA256 94464978719e512a9fdb08523b80656e1935dae2b37dcee689b40482bd2bef72 +MD5 c8ead9a2d0974cccce147e7c1780dc60 files/bacula-conf 562 +RMD160 74d1a54ca2099811d1e99130482ecc6774beb2d4 files/bacula-conf 562 +SHA256 94464978719e512a9fdb08523b80656e1935dae2b37dcee689b40482bd2bef72 files/bacula-conf 562 +AUX bacula-doc-1.36.3-latex-icons.patch 1284 RMD160 7b082a36705366bdb5cebd77f6fb7dc40567a2ef SHA1 98db557b051f7f1156dd30167c227d39001e7a9e SHA256 da788b6db7bdd50f8140cff1b864c7ba1264ff1c0ae694c5a55fc2a1f99d5a7e +MD5 de819ab74a17fa1a652ab8dcae49f9d2 files/bacula-doc-1.36.3-latex-icons.patch 1284 +RMD160 7b082a36705366bdb5cebd77f6fb7dc40567a2ef files/bacula-doc-1.36.3-latex-icons.patch 1284 +SHA256 da788b6db7bdd50f8140cff1b864c7ba1264ff1c0ae694c5a55fc2a1f99d5a7e files/bacula-doc-1.36.3-latex-icons.patch 1284 +AUX bacula-init3 1479 RMD160 4bfab5329a00ff77fa66ee55b2544ce8323338e7 SHA1 2d9e5f34eae70c7c80ed0a141e26b25967a4cd7f SHA256 b312efb3c1706a9c00d577d013dcd413fc759abd58a609767419bb3dab8cfa7e +MD5 03ffd8d0949fd8fd22690ecfbadce1df files/bacula-init3 1479 +RMD160 4bfab5329a00ff77fa66ee55b2544ce8323338e7 files/bacula-init3 1479 +SHA256 b312efb3c1706a9c00d577d013dcd413fc759abd58a609767419bb3dab8cfa7e files/bacula-init3 1479 +AUX randpass-1.37.40 682 RMD160 197dec023db60914c02514c8557b676d01c36476 SHA1 bef60a84c5c2c522dd3f1626372b790dcbd46b7a SHA256 72cc7aa12cecdb6835d1a11b63cf09517c4d9a34617fcdc87b3532934865bfe4 +MD5 48a955f044c868aefad5bf4ff3991deb files/randpass-1.37.40 682 +RMD160 197dec023db60914c02514c8557b676d01c36476 files/randpass-1.37.40 682 +SHA256 72cc7aa12cecdb6835d1a11b63cf09517c4d9a34617fcdc87b3532934865bfe4 files/randpass-1.37.40 682 +DIST bacula-1.36.3.tar.gz 11153154 RMD160 e8fb6eee221e261ac5b927019f9e69256cfb1732 SHA1 4b3366e43fd4a8b6cbdc23e86ea20da6933d0f75 SHA256 5bae12451094b399df62dd8e325cba075a3e803f2e60658d28b7ed814161fbd6 +DIST bacula-1.38.5.tar.gz 1911024 RMD160 0ea7136ecaf0f30860e8d88216db68dde82276ee SHA1 225e91b31b8ed23b0bac4bb3aa3de38e7823fd13 SHA256 df760f15ba4667fbc1ac2d985b982920eb3a1d25c17ba744bc688f0f10fe47c7 +DIST bacula-1.38.9.tar.gz 2063063 RMD160 c735210438993e6bc656bdab5610e037112b573f SHA1 20a477af1c63adc9a90be9d241bd462b627dc074 SHA256 b8f4c3df6b030712c7a9ffd04af0b948021dd6399420c18d918088e4f7105a77 +DIST bacula-doc-1.36.3.tar.gz 4506465 +DIST bacula-docs-1.38.5.tar.gz 23183760 +DIST bacula-docs-1.38.9.tar.gz 22727098 RMD160 a781602f70722a60f628ee890cef67cf270d5c1e SHA1 91134af141575f5deeb9f04af30c7260483b47d4 SHA256 71c8a2950a55fd2a952e5d2f3b4777d0b7d29652dfdbd7a27e6c73034a22e32a +EBUILD bacula-1.36.3-r2.ebuild 5517 RMD160 d2f9f1d3581296377a6b690714700c9d25109a1f SHA1 bd4d191e91056199d01191910809955b3eb95425 SHA256 9b7b8097289d30968456ff1cb975d22cd43e78d1a8fe0930b0fbda66aaad1c60 +MD5 2fd075e208e701faeb0251554efb785f bacula-1.36.3-r2.ebuild 5517 +RMD160 d2f9f1d3581296377a6b690714700c9d25109a1f bacula-1.36.3-r2.ebuild 5517 +SHA256 9b7b8097289d30968456ff1cb975d22cd43e78d1a8fe0930b0fbda66aaad1c60 bacula-1.36.3-r2.ebuild 5517 +EBUILD bacula-1.36.3-r3.ebuild 8154 RMD160 3de49777a82f816ad7df688e1f435de61228faf5 SHA1 09c3a2adef7c917e819660455f0709260c7ab8cb SHA256 ab2dab51c0a1de16ec54a4e77bfa722e637b93ab3ec7fee6946f12771716c8bc +MD5 8a081abba94132196f643ff6bc4e358a bacula-1.36.3-r3.ebuild 8154 +RMD160 3de49777a82f816ad7df688e1f435de61228faf5 bacula-1.36.3-r3.ebuild 8154 +SHA256 ab2dab51c0a1de16ec54a4e77bfa722e637b93ab3ec7fee6946f12771716c8bc bacula-1.36.3-r3.ebuild 8154 +EBUILD bacula-1.38.5.ebuild 8021 RMD160 25166fd5aaa8f9c5e37ef043ec885c553ce05d7f SHA1 be3830974fa83c2143209b73a618674183362721 SHA256 67963a5737f6c8de27d6c3fa209d9a1901e47b688b05e917d4454033a44dab04 +MD5 798fea8f94992e01ff9e5d91f1a60929 bacula-1.38.5.ebuild 8021 +RMD160 25166fd5aaa8f9c5e37ef043ec885c553ce05d7f bacula-1.38.5.ebuild 8021 +SHA256 67963a5737f6c8de27d6c3fa209d9a1901e47b688b05e917d4454033a44dab04 bacula-1.38.5.ebuild 8021 +EBUILD bacula-1.38.9.ebuild 8779 RMD160 2b9205a8df0c9caf839af84ec725abc87ad73507 SHA1 7a1f762d829d0c5b873c159ef99de3874cc53bd6 SHA256 16a33c90a5804e73c4069e8ff4c41fca45336f093a33cae98d726843bcea2840 +MD5 b315bcb4386c94751e3c21d26f4c5aed bacula-1.38.9.ebuild 8779 +RMD160 2b9205a8df0c9caf839af84ec725abc87ad73507 bacula-1.38.9.ebuild 8779 +SHA256 16a33c90a5804e73c4069e8ff4c41fca45336f093a33cae98d726843bcea2840 bacula-1.38.9.ebuild 8779 +MISC ChangeLog 11751 RMD160 a196d71c0f157d1a16c9f48ec0e087ea1565e138 SHA1 5911530022dedae95bc2fc45a40dc55821f302e7 SHA256 7aea6de043d39450011f2c921c0919ac310d3c62eba4f73e453a0d6398353077 +MD5 8618ac573afc0ae2ac2e04c11f8d487f ChangeLog 11751 +RMD160 a196d71c0f157d1a16c9f48ec0e087ea1565e138 ChangeLog 11751 +SHA256 7aea6de043d39450011f2c921c0919ac310d3c62eba4f73e453a0d6398353077 ChangeLog 11751 +MISC metadata.xml 231 RMD160 19e976de9dd6edf79a58e350be4c2dea93dd5509 SHA1 3c484b1dfbc392364a06ef0be12ea19758456ea8 SHA256 adbdfd485ca752584b38e864d1e153ab40f2254b239c384c96519156133ac699 +MD5 60588f35f6dd9ba53f0b06f43e6a069b metadata.xml 231 +RMD160 19e976de9dd6edf79a58e350be4c2dea93dd5509 metadata.xml 231 +SHA256 adbdfd485ca752584b38e864d1e153ab40f2254b239c384c96519156133ac699 metadata.xml 231 +MD5 22c9ef4c20c39c98f4371aa58a86dca2 files/digest-bacula-1.36.3-r2 247 +RMD160 cceec701504be3ae58a1bacfd6d47cc4f8aa00cd files/digest-bacula-1.36.3-r2 247 +SHA256 cfb5c72f3986738a4824166c4e098c51e39b9ca66de98c108155ddeb2ea03bd1 files/digest-bacula-1.36.3-r2 247 +MD5 a95d66949f7ca97b2879fff1b96ce938 files/digest-bacula-1.36.3-r3 317 +RMD160 261c0c390a23d53ab1f1873d92b4213b003b1e44 files/digest-bacula-1.36.3-r3 317 +SHA256 36c1a104f6e7439dc7bf17932ff6129a001163ca38d762cbf07dfead561ef800 files/digest-bacula-1.36.3-r3 317 +MD5 54ea5575f839e823d338103349b9fa1d files/digest-bacula-1.38.5 316 +RMD160 48c1685cec505852f7359ca115564dcc159f9e9c files/digest-bacula-1.38.5 316 +SHA256 d9f0a80c213d49b801f966522dd054c839e86196ff9f7bf0e81b1c19f3a16470 files/digest-bacula-1.38.5 316 +MD5 d58e66d4cfd1ae9d563e84d00b0c1249 files/digest-bacula-1.38.9 506 +RMD160 db53ad06ae2b1e5ec89e15b1c214ce61b0e8e5da files/digest-bacula-1.38.9 506 +SHA256 9a6e53da344f895bb9b77ac6f31046ca452e0f82117e5b7f5d06c423804ca7f7 files/digest-bacula-1.38.9 506 diff --git a/app-backup/bacula/bacula-1.36.3-r2.ebuild b/app-backup/bacula/bacula-1.36.3-r2.ebuild new file mode 100644 index 0000000..e98c795 --- /dev/null +++ b/app-backup/bacula/bacula-1.36.3-r2.ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-1.36.3-r2.ebuild,v 1.6 2006/03/27 00:48:26 labmonkey Exp $ + +inherit eutils + +DESCRIPTION="featureful client/server network backup suite" +HOMEPAGE="http://www.bacula.org/" +SRC_URI="mirror://sourceforge/bacula/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 hppa ppc sparc x86" +IUSE="readline ncurses tcpd gnome mysql sqlite X static postgres client-only" + +DEPEND=">=sys-libs/zlib-1.1.4 + sys-block/mtx + readline? ( >=sys-libs/readline-4.1 ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + gnome? ( gnome-base/libgnome ) + gnome? ( app-admin/gnomesu ) + sqlite? ( =dev-db/sqlite-2* ) + mysql? ( >=dev-db/mysql-3.23 ) + postgres? ( >=dev-db/postgresql-7.4.0 ) + X? ( virtual/x11 ) + ncurses? ( sys-libs/ncurses ) + virtual/mta + dev-libs/gmp" + +RDEPEND="${DEPEND} + sys-block/mtx + app-arch/mt-st" + +pkg_setup() { + if ! use mysql && ! use postgres && ! use sqlite && ! use client-only; then + einfo "Bacula must compile with one database or client only." + einfo "Please add mysql, postgres, sqlite or client-only to your USE flags." + einfo "You may add the right USE flags on /etc/portage/package.use if you want to." + die "Invalid USE flags" + fi + + if ( use mysql && use sqlite ) || + ( use mysql && use postgres ) || + ( use sqlite && use postgres ) ; then + einfo "For this ebuild to work, only one database may be selected." + einfo "Please select mysql, postgres OR sqlite only on the USE flags." + einfo "You may add the right USE flags on /etc/portage/package.use if you want to." + die "Invalid USE flags" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-cdrecord-configure.patch + epatch ${FILESDIR}/${P}-mtxtmpfile.patch + cp ${FILESDIR}/randpass-1.37.40 ${S}/autoconf/randpass + + # This changes the default conf files to /etc/bacula files + sed -i -e 's:"./gnome-console.conf":"/etc/bacula/gnome-console.conf":' \ + src/gnome-console/console.c src/gnome2-console/console.c + sed -i -e 's:"./tray-monitor.conf":"/etc/bacula/tray-monitor.conf":' \ + src/tray-monitor/tray-monitor.c + sed -i -e 's:"bacula-sd.conf":"/etc/bacula/bacula-sd.conf":' src/stored/bls.c \ + src/stored/bextract.c src/stored/bcopy.c src/stored/bscan.c src/stored/btape.c \ + src/stored/stored.c + sed -i -e 's:"./bacula-fd.conf":"/etc/bacula/bacula-fd.conf":' src/filed/filed.c + sed -i -e 's:"./bacula-dir.conf":"/etc/bacula/bacula-dir.conf":' src/dird/dird.c + sed -i -e 's:"./bconsole.conf":"/etc/bacula/bconsole.conf":' src/console/console.c +} + +src_compile() { + echo $TMPDIR + econf --enable-smartalloc \ + --with-dir-user=root \ + --with-dir-group=bacula \ + --with-sd-user=root \ + --with-sd-group=bacula \ + --with-fd-user=root \ + --with-fd-group=bacula \ + --sysconfdir=/etc/bacula \ + --with-subsys-dir=/var/lock/subsys \ + --with-working-dir=/var/bacula \ + --with-scriptdir=/var/lib/bacula \ + $(use_enable readline) \ + $(use_enable gnome) \ + $(use_enable static static-tools) \ + $(use_enable static static-fd) \ + $(use_enable static static-sd) \ + $(use_enable static static-dir) \ + $(use_enable static static-cons) \ + $(use_enable gnome tray-monitor) \ + $(use_enable tcpd tcp-wrappers) \ + $(use_enable X x) \ + $(use_enable readline) \ + $(use_enable client-only) \ + $(use_with mysql) \ + $(use_with postgres postgresql) \ + $(use_with sqlite) \ + $(use_enable ncurses conio) \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + + if use static ; then + cd ${D}/usr/sbin + mv static-bacula-fd bacula-fd + mv static-bconsole bconsole + if ! use client-only ; then + mv static-bacula-dir bacula-dir + mv static-bacula-sd bacula-sd + fi + if use gnome ; then + mv static-gnome-console gnome-console + fi + cd ${S} + fi + + if use gnome ; then + make_desktop_entry \ + "gnome-console -c /etc/bacula/gnome-console.conf" \ + "Bacula Console" /usr/share/pixmaps/bacula.png "app-admin" \ + "/usr/sbin" + fi + + insinto /usr/share/pixmaps + doins scripts/bacula.png + + insinto /var/lib/bacula/update + doins updatedb/update* + + dodoc ChangeLog README ReleaseNotes + + exeinto /etc/init.d + newexe ${FILESDIR}/bacula-init3 bacula + + # fix init script + if use mysql ; then + USEDB='use mysql' + elif use postgres ; then + USEDB='use postgres' + else + USEDB='' + fi + sed -i -e "s:%%USE_DB%%:${USEDB}:" ${D}/etc/init.d/bacula + + insinto /etc/conf.d + newins ${FILESDIR}/bacula-conf bacula + if use client-only ; then + SERVICES='fd' + else + SERVICES='sd fd dir' + fi + sed -i -e "s:%%SERVICES%%:${SERVICES}:" ${D}/etc/conf.d/bacula + + chgrp bacula ${D}/usr/sbin/* + chgrp -R bacula ${D}/etc/bacula +} + +pkg_preinst() { + enewgroup bacula || die "problem adding group bacula" +} + +pkg_postinst() { + # the working directory + install -m0750 -o root -g bacula -d ${ROOT}/var/bacula + + if use mysql ; then DB="mysql" ; fi + if use postgres ; then DB="postgresql" ; fi + if use sqlite ; then DB="sqlite" ; fi + + if ! use client-only ; then + einfo "If this is a new install, you must create the ${DB} databases with:" + einfo " /var/lib/bacula/create_${DB}_database" + einfo " /var/lib/bacula/make_${DB}_tables" + einfo " /var/lib/bacula/grant_${DB}_privileges" + einfo + einfo "If you're upgrading from a major release, you must upgrade your bacula database." + einfo "Please read the manual chapter for how to upgrade your database." + einfo "You can find database upgrade scripts on /var/lib/bacula." + einfo + fi +} diff --git a/app-backup/bacula/bacula-1.36.3-r3.ebuild b/app-backup/bacula/bacula-1.36.3-r3.ebuild new file mode 100644 index 0000000..1301392 --- /dev/null +++ b/app-backup/bacula/bacula-1.36.3-r3.ebuild @@ -0,0 +1,301 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-1.36.3-r3.ebuild,v 1.2 2006/03/27 00:48:26 labmonkey Exp $ + +inherit eutils + +IUSE="bacula-clientonly bacula-console bacula-split-init doc gnome logrotate logwatch mysql postgres readline sqlite static tcpd wxwindows X" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" + +DESCRIPTION="Featureful client/server network backup suite" +HOMEPAGE="http://www.bacula.org/" + +DOC_VER="1.36.3" +SRC_URI="mirror://sourceforge/bacula/${P}.tar.gz + doc? ( mirror://sourceforge/bacula/${PN}-doc-${DOC_VER}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=" + >=sys-libs/zlib-1.1.4 + dev-libs/gmp + !bacula-clientonly? ( + mysql? ( >=dev-db/mysql-3.23 ) + !mysql? ( + postgres? ( >=dev-db/postgresql-7.4.0 ) + !postgres? ( + sqlite? ( =dev-db/sqlite-2* ) + !sqlite? ( >=dev-db/mysql-3.23 ) + ) + ) + virtual/mta + ) + bacula-console? ( + wxwindows? ( >=x11-libs/wxGTK-2.4.2 ) + gnome? ( + >=gnome-base/gnome-2 + >=gnome-base/libgnome-2 + app-admin/gnomesu + ) + ) + logrotate? ( app-admin/logrotate ) + !hppa? ( + logwatch? ( sys-apps/logwatch ) + ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + readline? ( >=sys-libs/readline-4.1 )" +RDEPEND="${DEPEND} + !bacula-clientonly? ( + sys-block/mtx + app-arch/mt-st + )" + +pkg_setup() { + export mydb="" + if ! use bacula-clientonly ; then + if use mysql ; then + mydb="mysql" + elif use postgres ; then + mydb="postgresql" + elif use sqlite ; then + mydb="sqlite" + else + mydb="mysql" + fi + export mydb="${mydb}" + fi + + # create the daemon group and user + HAVE_BACULA_GROUP="`cat /etc/group | grep bacula\: 2>/dev/null`" + if [ -z "${HAVE_BACULA_GROUP}" ]; then + enewgroup bacula + einfo "The group bacula has been created. Any users you add to this" + einfo "group have access to files created by the daemons." + einfo "" + fi + if ! use bacula-clientonly ; then + HAVE_BACULA_USER="`id -u bacula 2>/dev/null`" + if [ -z "${HAVE_BACULA_USER}" ] ; then + enewuser "bacula" -1 -1 "/var/lib/bacula" "bacula,disk,tape,cdrom,cdrw" + einfo "The user bacula has been created. Please see the bacula manual" + einfo "for information about running bacula as a non-root user." + einfo "" + fi + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + # this resolves bacula bug #181 + epatch ${FILESDIR}/${P}-cdrecord-configure.patch + # adjusts default configuration files for several binaries + # to /etc/bacula/<config> instead of ./<config> + epatch ${FILESDIR}/${P}-default-configs.patch + # secures temp file for mtx output + epatch ${FILESDIR}/${P}-mtxtmpfile.patch + # resolves security issue with random password generation + cp ${FILESDIR}/randpass-1.37.40 ${S}/autoconf/randpass + # removes tags for non-existant images from html docs + if use doc ; then + cd ${WORKDIR}/${PN}-doc-${DOC_VER} + epatch ${FILESDIR}/${PN}-doc-${DOC_VER}-latex-icons.patch + cd ${S} + fi + + # autoconf + cd ${S}/autoconf + autoconf ${S}/autoconf/configure.in > ${S}/configure + cd ${S} + chmod 0750 ${S}/configure +} + +src_compile() { + local myconf="" + if use bacula-clientonly ; then + myconf="${myconf} \ + `use_enable bacula-clientonly client-only` \ + `use_enable static static-fd`" + fi + if use bacula-console ; then + myconf="${myconf} \ + `use_with X x` \ + `use_enable gnome` \ + `use_enable gnome tray-monitor` \ + `use_enable wxwindows wx-console` \ + `use_enable static static-cons`" + fi + myconf="${myconf} \ + `use_with readline` \ + `use_with tcpd tcp-wrappers`" + + if ! use bacula-clientonly; then + # select database support + if [ ${mydb} == "postgresql" ]; then + myconf="${myconf} \ + `use_with postgres postgresql`" + else + myconf="${myconf} \ + `use_with ${mydb}`" + fi + myconf="${myconf} \ + `use_enable static static-tools` \ + `use_enable static static-fd` \ + `use_enable static static-sd` \ + `use_enable static static-dir`" + fi + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-pid-dir=/var/run \ + --sysconfdir=/etc/bacula \ + --infodir=/usr/share/info \ + --with-subsys-dir=/var/lock/subsys \ + --with-working-dir=/var/lib/bacula \ + --with-scriptdir=/usr/libexec/bacula \ + --with-dir-user=bacula \ + --with-dir-group=bacula \ + --with-sd-user=root \ + --with-sd-group=bacula \ + --with-fd-user=root \ + --with-fd-group=bacula \ + --enable-smartalloc \ + --host=${CHOST} ${myconf} || die "Configure failed!" + + emake || die "Failed primary build!" +} + +src_install() { + emake DESTDIR=${D} install || die "Failed install to ${D} !" + + if use static ; then + cd ${D}/usr/sbin + mv static-bacula-fd bacula-fd + mv static-bconsole bconsole + if ! use bacula-clientonly ; then + mv static-bacula-dir bacula-dir + mv static-bacula-sd bacula-sd + fi + if use gnome ; then + mv static-gnome-console gnome-console + fi + cd ${S} + fi + + if use bacula-console ; then + if use gnome ; then + emake DESTDIR=${D} \ + install-menu \ + install-menu-xsu || die "Failed to install gnome menu files to ${D}" \ + make_desktop_entry \ + "gnome-console -c /etc/bacula/gnome-console.conf" \ + "Bacula Console" /usr/share/pixmaps/bacula.png "app-admin" \ + "/usr/sbin" + fi + fi + + # extra files which 'make install' doesn't cover + if ! use bacula-clientonly ; then + # the database update scripts + diropts -m0750 + dodir /usr/libexec/bacula/updatedb + insinto /usr/libexec/bacula/updatedb/ + insopts -m0754 + doins ${S}/updatedb/* + fperms 0640 /usr/libexec/bacula/updatedb/README + + # the logrotate configuration + if use logrotate ; then + diropts -m0755 + dodir /etc/logrotate.d + insinto /etc/logrotate.d + insopts -m0644 + newins ${S}/scripts/logrotate bacula + fi + + # the logwatch scripts + if use logwatch ; then + diropts -m0750 + dodir /etc/log.d/scripts/services + dodir /etc/log.d/conf/logfiles + dodir /etc/log.d/conf/services + cd ${S}/scripts/logwatch + emake DESTDIR=${D} install || die "Failed to install logwatch scripts to ${D} !" + cd ${S} + fi + fi + + # documentation + for my_doc in ${S}/{ChangeLog,LICENSE,README,ReleaseNotes,kernstodo,doc/BaculaRoadMap_*.pdf} + do + dodoc ${my_doc} + done + if use doc ; then + dodoc ${WORKDIR}/${PN}-doc-${DOC_VER}/{bacula.pdf,developers.pdf} + diropts -m0755 + dodir /usr/share/doc/${PF}/html-manual + dodir /usr/share/doc/${PF}/web-manual + insopts -m0644 + insinto /usr/share/doc/${PF}/html-manual + doins ${WORKDIR}/${PN}-doc-${DOC_VER}/html-manual/* + insinto /usr/share/doc/${PF}/web-manual + doins ${WORKDIR}/${PN}-doc-${DOC_VER}/web-manual/* + fi + + # clean up permissions left broken by install + fperms 0644 ${D}/usr/libexec/bacula/query.sql + prepall + + # setup init scripts + if ! use bacula-clientonly ; then + my_services="bacula-fd bacula-sd bacula-dir" + else + my_services="bacula-fd" + fi + exeinto /etc/init.d/ + insinto /etc/conf.d/ + if use bacula-split-init ; then + my_scripts="" + for service in ${my_services} ; do + my_scripts="${my_scripts} ${service}" + done + else + my_scripts="bacula-all" + fi + for script in ${my_scripts}; do + cp ${FILESDIR}/${PV}/${script}-conf ${T}/${script}.conf + cp ${FILESDIR}/${PV}/${script}-init ${T}/${script}.init + if [ "${mydb}" == "sqlite" ]; then + sed -i -e "s:%database%::" ${T}/${script}.init + else + sed -i -e "s:%database%:${mydb}:" ${T}/${script}.init + fi + sed -i -e "s:%services%:${my_services}:" ${T}/${script}.conf + newexe ${T}/${script}.init ${script} + newins ${T}/${script}.conf ${script} + done +} + +pkg_postinst() { + diropts -m0750 + dodir /var/lib/bacula + if use bacula-clientonly ; then + fowners root:bacula /var/lib/bacula + else + fowners bacula:bacula /var/lib/bacula + fi + + if ! use bacula-clientonly ; then + einfo "If this is a new install, you must create the ${mydb} databases with:" + einfo " /usr/libexec/bacula/create_${mydb}_database" + einfo " /usr/libexec/bacula/make_${mydb}_tables" + einfo " /usr/libexec/bacula/grant_${mydb}_privileges" + einfo "" + einfo "If you're upgrading from a major release, you must upgrade your bacula catalog database." + einfo "Please read the manual chapter for how to upgrade your database." + einfo "You can find database upgrade scripts in /usr/libexec/bacula/updatedb." + einfo "" + fi +} diff --git a/app-backup/bacula/bacula-1.38.5.ebuild b/app-backup/bacula/bacula-1.38.5.ebuild new file mode 100644 index 0000000..678ff85 --- /dev/null +++ b/app-backup/bacula/bacula-1.38.5.ebuild @@ -0,0 +1,294 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-1.38.5.ebuild,v 1.3 2006/03/27 00:48:26 labmonkey Exp $ + +inherit eutils + +IUSE="bacula-clientonly bacula-console bacula-nodir bacula-nosd bacula-split-init doc gnome logrotate logwatch mysql postgres python readline sqlite ssl static tcpd wxwindows X" +KEYWORDS="~sparc ~x86" + +DESCRIPTION="Featureful client/server network backup suite" +HOMEPAGE="http://www.bacula.org/" + +DOC_VER="1.38.5" +SRC_URI="mirror://sourceforge/bacula/${P}.tar.gz + doc? ( mirror://sourceforge/bacula/${PN}-docs-${DOC_VER}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=" + >=sys-libs/zlib-1.1.4 + dev-libs/gmp + !bacula-clientonly? ( + mysql? ( >=dev-db/mysql-3.23 ) + !mysql? ( + postgres? ( >=dev-db/postgresql-7.4.0 ) + !postgres? ( + sqlite? ( =dev-db/sqlite-2* ) + !sqlite? ( >=dev-db/mysql-3.23 ) + ) + ) + virtual/mta + ) + bacula-console? ( + wxwindows? ( >=x11-libs/wxGTK-2.4.2 ) + gnome? ( + >=gnome-base/gnome-2 + >=gnome-base/libgnome-2 + app-admin/gnomesu + ) + ) + ssl? ( dev-libs/openssl ) + logrotate? ( app-admin/logrotate ) + logwatch? ( sys-apps/logwatch ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + readline? ( >=sys-libs/readline-4.1 )" +RDEPEND="${DEPEND} + !bacula-clientonly? ( + sys-block/mtx + app-arch/mt-st + )" + +pkg_setup() { + export mydb="" + if ! use bacula-clientonly ; then + if use mysql ; then + mydb="mysql" + elif use postgres ; then + mydb="postgresql" + elif use sqlite ; then + mydb="sqlite" + else + mydb="mysql" + fi + export mydb="${mydb}" + fi + + # create the daemon group and user + HAVE_BACULA_GROUP="`cat /etc/group | grep bacula\: 2>/dev/null`" + if [ -z "${HAVE_BACULA_GROUP}" ]; then + enewgroup bacula + einfo "The group bacula has been created. Any users you add to this" + einfo "group have access to files created by the daemons." + einfo "" + fi + if ! use bacula-clientonly ; then + HAVE_BACULA_USER="`id -u bacula 2>/dev/null`" + if [ -z "${HAVE_BACULA_USER}" ] ; then + enewuser "bacula" -1 -1 "/var/lib/bacula" "bacula,disk,tape,cdrom,cdrw" + einfo "The user bacula has been created. Please see the bacula manual" + einfo "for information about running bacula as a non-root user." + einfo "" + fi + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + # adjusts default configuration files for several binaries + # to /etc/bacula/<config> instead of ./<config> + epatch ${FILESDIR}/${P}-default-configs.patch +} + +src_compile() { + local myconf="" + if use bacula-clientonly ; then + myconf="${myconf} \ + `use_enable bacula-clientonly client-only` \ + `use_enable static static-fd`" + fi + if use bacula-console ; then + myconf="${myconf} \ + `use_with X x` \ + `use_enable gnome` \ + `use_enable gnome tray-monitor` \ + `use_enable wxwindows wx-console` \ + `use_enable static static-cons`" + fi + myconf="${myconf} \ + `use_with python` \ + `use_with readline` \ + `use_with ssl openssl` \ + `use_with tcpd tcp-wrappers`" + + if ! use bacula-clientonly; then + # select database support + if [ ${mydb} == "postgresql" ]; then + myconf="${myconf} `use_with postgres postgresql`" + else + myconf="${myconf} `use_with ${mydb}`" + fi + myconf="${myconf} \ + `use_enable static static-tools` \ + `use_enable static static-fd` \ + `use_enable !bacula-nodir build-dird` \ + `use_enable !bacula-nosd build-stored`" + if ! use bacula-nodir ; then + myconf="${myconf} `use_enable static static-dir`" + fi + if ! use bacula-nosd ; then + myconf="${myconf} `use_enable static static-sd`" + fi + + fi + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-pid-dir=/var/run \ + --sysconfdir=/etc/bacula \ + --infodir=/usr/share/info \ + --with-subsys-dir=/var/lock/subsys \ + --with-working-dir=/var/lib/bacula \ + --with-scriptdir=/usr/libexec/bacula \ + --with-dir-user=bacula \ + --with-dir-group=bacula \ + --with-sd-user=root \ + --with-sd-group=bacula \ + --with-fd-user=root \ + --with-fd-group=bacula \ + --enable-smartalloc \ + --host=${CHOST} ${myconf} || die "Configure failed!" + + emake || die "Failed primary build!" +} + +src_install() { + emake DESTDIR=${D} install || die "Failed install to ${D} !" + + if use static ; then + cd ${D}/usr/sbin + mv static-bacula-fd bacula-fd + mv static-bconsole bconsole + if ! use bacula-clientonly ; then + mv static-bacula-dir bacula-dir + mv static-bacula-sd bacula-sd + fi + if use gnome ; then + mv static-gnome-console gnome-console + fi + cd ${S} + fi + + if use bacula-console ; then + if use gnome ; then + emake DESTDIR=${D} \ + install-menu \ + install-menu-xsu || die "Failed to install gnome menu files to ${D}" \ + make_desktop_entry \ + "gnome-console -c /etc/bacula/gnome-console.conf" \ + "Bacula Console" /usr/share/pixmaps/bacula.png "app-admin" \ + "/usr/sbin" + fi + fi + + # extra files which 'make install' doesn't cover + if ! use bacula-clientonly ; then + # the database update scripts + diropts -m0750 + dodir /usr/libexec/bacula/updatedb + insinto /usr/libexec/bacula/updatedb/ + insopts -m0754 + doins ${S}/updatedb/* + fperms 0640 /usr/libexec/bacula/updatedb/README + + # the logrotate configuration + if use logrotate ; then + diropts -m0755 + dodir /etc/logrotate.d + insinto /etc/logrotate.d + insopts -m0644 + newins ${S}/scripts/logrotate bacula + fi + + # the logwatch scripts + if use logwatch ; then + diropts -m0750 + dodir /etc/log.d/scripts/services + dodir /etc/log.d/conf/logfiles + dodir /etc/log.d/conf/services + cd ${S}/scripts/logwatch + emake DESTDIR=${D} install || die "Failed to install logwatch scripts to ${D} !" + cd ${S} + fi + fi + + # documentation + for my_doc in ${S}/{ChangeLog,LICENSE,README,ReleaseNotes,kernstodo,doc/BaculaRoadMap_*.pdf} + do + dodoc ${my_doc} + done + if use doc ; then + dodoc ${WORKDIR}/${PN}-docs-${DOC_VER}/developers/developers.pdf + dodoc ${WORKDIR}/${PN}-docs-${DOC_VER}/manual/bacula.pdf + diropts -m0755 + dodir /usr/share/doc/${PF}/developers + dodir /usr/share/doc/${PF}/manual + insopts -m0644 + insinto /usr/share/doc/${PF}/developers + doins ${WORKDIR}/${PN}-docs-${DOC_VER}/developers/developers/* + insinto /usr/share/doc/${PF}/manual + doins ${WORKDIR}/${PN}-docs-${DOC_VER}/manual/bacula/* + fi + + # clean up permissions left broken by install + fperms 0644 ${D}/usr/libexec/bacula/query.sql + prepall + + # setup init scripts + my_services="bacula-fd" + if ! use bacula-clientonly ; then + if ! use bacula-no-dir ; then + my_services="${my_services} bacula-dir" + fi + if ! use bacula-no-sd ; then + my_services="${my_services} bacula-sd" + fi + fi + exeinto /etc/init.d/ + insinto /etc/conf.d/ + if use bacula-split-init ; then + my_scripts="" + for service in ${my_services} ; do + my_scripts="${my_scripts} ${service}" + done + else + my_scripts="bacula-all" + fi + for script in ${my_scripts}; do + cp ${FILESDIR}/${PV}/${script}-conf ${T}/${script}.conf + cp ${FILESDIR}/${PV}/${script}-init ${T}/${script}.init + if [ "${mydb}" == "sqlite" ]; then + sed -i -e "s:%database%::" ${T}/${script}.init + else + sed -i -e "s:%database%:${mydb}:" ${T}/${script}.init + fi + sed -i -e "s:%services%:${my_services}:" ${T}/${script}.conf + newexe ${T}/${script}.init ${script} + newins ${T}/${script}.conf ${script} + done +} + +pkg_postinst() { + diropts -m0750 + dodir /var/lib/bacula + if use bacula-clientonly ; then + fowners root:bacula /var/lib/bacula + else + fowners bacula:bacula /var/lib/bacula + fi + + if ! use bacula-clientonly && ! use bacula-no-dir ; then + einfo "If this is a new install, you must create the ${mydb} databases with:" + einfo " /usr/libexec/bacula/create_${mydb}_database" + einfo " /usr/libexec/bacula/make_${mydb}_tables" + einfo " /usr/libexec/bacula/grant_${mydb}_privileges" + einfo "" + einfo "If you're upgrading from a major release, you must upgrade your bacula catalog database." + einfo "Please read the manual chapter for how to upgrade your database." + einfo "You can find database upgrade scripts in /usr/libexec/bacula/updatedb." + einfo "" + fi +} diff --git a/app-backup/bacula/bacula-1.38.9.ebuild b/app-backup/bacula/bacula-1.38.9.ebuild new file mode 100644 index 0000000..818501a --- /dev/null +++ b/app-backup/bacula/bacula-1.38.9.ebuild @@ -0,0 +1,314 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-1.38.9.ebuild,v 1.2 2006/09/21 22:22:11 blubb Exp $ + +inherit eutils + +IUSE="bacula-clientonly bacula-console bacula-nodir bacula-nosd bacula-split-init doc gnome logrotate logwatch mysql postgres python readline sqlite sqlite3 ssl static tcpd wxwindows X" +KEYWORDS="~amd64 ~sparc ~x86" + +DESCRIPTION="Featureful client/server network backup suite" +HOMEPAGE="http://www.bacula.org/" + +DOC_VER="1.38.9" +SRC_URI="mirror://sourceforge/bacula/${P}.tar.gz + doc? ( mirror://sourceforge/bacula/${PN}-docs-${DOC_VER}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=" + >=sys-libs/zlib-1.1.4 + dev-libs/gmp + !bacula-clientonly? ( + postgres? ( >=dev-db/postgresql-7.4.0 ) + mysql? ( >=dev-db/mysql-3.23 ) + sqlite? ( =dev-db/sqlite-2* ) + sqlite3? ( >=dev-db/sqlite-3.0.0 ) + virtual/mta + ) + bacula-console? ( + wxwindows? ( >=x11-libs/wxGTK-2.4.2 ) + gnome? ( + >=gnome-base/libgnome-2 + app-admin/gnomesu + ) + ) + ssl? ( dev-libs/openssl ) + logrotate? ( app-admin/logrotate ) + logwatch? ( sys-apps/logwatch ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + readline? ( >=sys-libs/readline-4.1 )" +RDEPEND="${DEPEND} + !bacula-clientonly? ( + sys-block/mtx + app-arch/mt-st + )" + +pkg_setup() { + export mydb="" + dbcnt=0 + if ! use bacula-clientonly ; then + if use mysql ; then + mydb="mysql" + dbcnt="$((${dbcnt} + 1))" + fi + if use postgres ; then + mydb="postgresql" + dbcnt="$((${dbcnt} + 1))" + fi + if use sqlite ; then + mydb="sqlite" + dbcnt="$((${dbcnt} + 1))" + fi + if use sqlite3 ; then + mydb="sqlite3" + dbcnt="$((${dbcnt} + 1))" + fi + export mydb="${mydb}" + + if [[ "${dbcnt}" -eq 0 ]] ; then + eerror "To use ${P} it is required to set a database in the USE flags." + eerror "Supported databases are mysql, postgresql, sqlite, sqlite3" + die "You must set a supported database type." + fi + fi + if ! use bacula-clientonly ; then + if [[ "${dbcnt}" -gt 1 ]] ; then + eerror "You have set ${P} to use multiple database types." + eerror "I don't know which to set as the default!" + eerror "You can use /etc/portage/package.use to set per-package USE flags" + eerror "Set it so only one database type, mysql, postgres, sqlite, sqlite3" + die "Please set only one database type" + fi + fi + + # create the daemon group and user + HAVE_BACULA_GROUP="`grep bacula\: /etc/group 2>/dev/null`" + if [ -z "${HAVE_BACULA_GROUP}" ]; then + enewgroup bacula + einfo "The group bacula has been created. Any users you add to this" + einfo "group have access to files created by the daemons." + einfo "" + fi + if ! use bacula-clientonly ; then + HAVE_BACULA_USER="`id -u bacula 2>/dev/null`" + if [ -z "${HAVE_BACULA_USER}" ] ; then + enewuser "bacula" -1 -1 "/var/lib/bacula" "bacula,disk,tape,cdrom,cdrw" + einfo "The user bacula has been created. Please see the bacula manual" + einfo "for information about running bacula as a non-root user." + einfo "" + fi + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + # adjusts default configuration files for several binaries + # to /etc/bacula/<config> instead of ./<config> + epatch ${FILESDIR}/${P}-default-configs.patch +} + +src_compile() { + local myconf="" + if use bacula-clientonly ; then + myconf="${myconf} \ + `use_enable bacula-clientonly client-only` \ + `use_enable static static-fd`" + fi + if use bacula-console ; then + myconf="${myconf} \ + `use_with X x` \ + `use_enable gnome` \ + `use_enable gnome tray-monitor` \ + `use_enable wxwindows wx-console` \ + `use_enable static static-cons`" + fi + myconf="${myconf} \ + `use_with python` \ + `use_with readline` \ + `use_with ssl openssl` \ + `use_with tcpd tcp-wrappers`" + + if ! use bacula-clientonly; then + # select database support + if [ ${mydb} == "postgresql" ]; then + myconf="${myconf} `use_with postgres postgresql`" + else + myconf="${myconf} `use_with ${mydb}`" + fi + myconf="${myconf} \ + `use_enable static static-tools` \ + `use_enable static static-fd` \ + `use_enable !bacula-nodir build-dird` \ + `use_enable !bacula-nosd build-stored`" + if ! use bacula-nodir ; then + myconf="${myconf} `use_enable static static-dir`" + fi + if ! use bacula-nosd ; then + myconf="${myconf} `use_enable static static-sd`" + fi + + fi + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-pid-dir=/var/run \ + --sysconfdir=/etc/bacula \ + --infodir=/usr/share/info \ + --with-subsys-dir=/var/lock/subsys \ + --with-working-dir=/var/lib/bacula \ + --with-scriptdir=/usr/libexec/bacula \ + --with-dir-user=bacula \ + --with-dir-group=bacula \ + --with-sd-user=root \ + --with-sd-group=bacula \ + --with-fd-user=root \ + --with-fd-group=bacula \ + --enable-smartalloc \ + --host=${CHOST} ${myconf} || die "Configure failed!" + + emake || die "Failed primary build!" +} + +src_install() { + emake DESTDIR=${D} install || die "Failed install to ${D} !" + + if use static ; then + cd ${D}/usr/sbin + mv static-bacula-fd bacula-fd + mv static-bconsole bconsole + if ! use bacula-clientonly ; then + mv static-bacula-dir bacula-dir + mv static-bacula-sd bacula-sd + fi + if use gnome ; then + mv static-gnome-console gnome-console + fi + cd ${S} + fi + + if use bacula-console ; then + if use gnome ; then + emake DESTDIR=${D} \ + install-menu \ + install-menu-xsu || die "Failed to install gnome menu files to ${D}" \ + make_desktop_entry \ + "gnome-console -c /etc/bacula/gnome-console.conf" \ + "Bacula Console" /usr/share/pixmaps/bacula.png "app-admin" \ + "/usr/sbin" + fi + fi + + # extra files which 'make install' doesn't cover + if ! use bacula-clientonly ; then + # the database update scripts + diropts -m0750 + dodir /usr/libexec/bacula/updatedb + insinto /usr/libexec/bacula/updatedb/ + insopts -m0754 + doins ${S}/updatedb/* + fperms 0640 /usr/libexec/bacula/updatedb/README + + # the logrotate configuration + if use logrotate ; then + diropts -m0755 + dodir /etc/logrotate.d + insinto /etc/logrotate.d + insopts -m0644 + newins ${S}/scripts/logrotate bacula + fi + + # the logwatch scripts + if use logwatch ; then + diropts -m0750 + dodir /etc/log.d/scripts/services + dodir /etc/log.d/conf/logfiles + dodir /etc/log.d/conf/services + cd ${S}/scripts/logwatch + emake DESTDIR=${D} install || die "Failed to install logwatch scripts to ${D} !" + cd ${S} + fi + fi + + # documentation + for my_doc in ${S}/{ChangeLog,LICENSE,README,ReleaseNotes,kernstodo,doc/BaculaRoadMap_*.pdf} + do + dodoc ${my_doc} + done + if use doc ; then + dodoc ${WORKDIR}/${PN}-docs-${DOC_VER}/developers/developers.pdf + dodoc ${WORKDIR}/${PN}-docs-${DOC_VER}/manual/bacula.pdf + diropts -m0755 + dodir /usr/share/doc/${PF}/developers + dodir /usr/share/doc/${PF}/manual + insopts -m0644 + insinto /usr/share/doc/${PF}/developers + doins ${WORKDIR}/${PN}-docs-${DOC_VER}/developers/developers/* + insinto /usr/share/doc/${PF}/manual + doins ${WORKDIR}/${PN}-docs-${DOC_VER}/manual/bacula/* + fi + + # clean up permissions left broken by install + fperms 0644 ${D}/usr/libexec/bacula/query.sql + prepall + + # setup init scripts + my_services="fd" + if ! use bacula-clientonly ; then + if ! use bacula-no-dir ; then + my_services="${my_services} dir" + fi + if ! use bacula-no-sd ; then + my_services="${my_services} sd" + fi + fi + exeinto /etc/init.d/ + insinto /etc/conf.d/ + if use bacula-split-init ; then + my_scripts="" + for service in ${my_services} ; do + my_scripts="${my_scripts} bacula-${service}" + done + else + my_scripts="bacula-all" + fi + for script in ${my_scripts}; do + cp ${FILESDIR}/${PV}/${script}-conf ${T}/${script}.conf + cp ${FILESDIR}/${PV}/${script}-init ${T}/${script}.init + if [ "${mydb}" == "sqlite" ]; then + sed -i -e "s:%database%::" ${T}/${script}.init + else + sed -i -e "s:%database%:${mydb}:" ${T}/${script}.init + fi + sed -i -e "s:%services%:${my_services}:" ${T}/${script}.conf + newexe ${T}/${script}.init ${script} + newins ${T}/${script}.conf ${script} + done + + # make sure the working directory exists + diropts -m0750 + keepdir /var/lib/bacula +} + +pkg_postinst() { + if use bacula-clientonly ; then + fowners root:bacula /var/lib/bacula + else + fowners bacula:bacula /var/lib/bacula + fi + + if ! use bacula-clientonly && ! use bacula-no-dir ; then + einfo "If this is a new install, you must create the ${mydb} databases with:" + einfo " /usr/libexec/bacula/create_${mydb}_database" + einfo " /usr/libexec/bacula/make_${mydb}_tables" + einfo " /usr/libexec/bacula/grant_${mydb}_privileges" + einfo "" + einfo "If you're upgrading from a major release, you must upgrade your bacula catalog database." + einfo "Please read the manual chapter for how to upgrade your database." + einfo "You can find database upgrade scripts in /usr/libexec/bacula/updatedb." + einfo "" + fi +} diff --git a/app-backup/bacula/files/1.36.3/bacula-all-conf b/app-backup/bacula/files/1.36.3/bacula-all-conf new file mode 100644 index 0000000..8f918c3 --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-all-conf @@ -0,0 +1,23 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-all-conf,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +# Config file for /etc/init.d/bacula + +# Add on SERVICES the daemons you want to run +# sd - +# fd - +# dir - +SERVICES="%services%" + +# If the database server where you store your bacula catalog +# is on a different machine, please set this to 0. +LOCAL_DB=1 + +# Options for each daemon +# The DIR and SD can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +SD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-sd.conf" +FD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-fd.conf" +DIR_OPTIONS="-u bacula -g bacula -c /etc/bacula/bacula-dir.conf" diff --git a/app-backup/bacula/files/1.36.3/bacula-all-init b/app-backup/bacula/files/1.36.3/bacula-all-init new file mode 100644 index 0000000..f7489cf --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-all-init @@ -0,0 +1,63 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-all-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + if [ ${LOCAL_DB} -eq 1 ]; then + need "%database%" + fi + use dns +} + +start() { + local retval=0 + for s in ${SERVICES} ; do + case ${s} in + sd) + ebegin "Starting bacula storage daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ + -- ${SD_OPTIONS} + retval=$(( $retval + $? )) + ;; + fd) + ebegin "Starting bacula file daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ + -- ${FD_OPTIONS} + retval=$(( $retval + $? )) + ;; + dir) + ebegin "Starting bacula director" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ + -- ${DIR_OPTIONS} + retval=$(( $retval + $? )) + ;; + esac + done + eend $retval +} + +stop() { + local retval=0 + for s in ${SERVICES} ; do + case ${s} in + sd) + ebegin "Stopping bacula storage daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.*.pid + retval=$(( $retval + $? )) + ;; + fd) + ebegin "Stopping bacula file daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.*.pid + retval=$(( $retval + $? )) + ;; + dir) + ebegin "Stopping bacula director" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid + retval=$(( $retval + $? )) + ;; + esac + done + eend $retval +} diff --git a/app-backup/bacula/files/1.36.3/bacula-dir-conf b/app-backup/bacula/files/1.36.3/bacula-dir-conf new file mode 100644 index 0000000..f931ec7 --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-dir-conf @@ -0,0 +1,15 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-dir-conf,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +# Config file for /etc/init.d/bacula-dir + +# If the database server where you store your bacula catalog +# is on a different machine, please set this to 0. +LOCAL_DB=1 + +# Options for each daemon +# The DIR and SD can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +DIR_OPTIONS="-u bacula -g bacula -c /etc/bacula/bacula-dir.conf" diff --git a/app-backup/bacula/files/1.36.3/bacula-dir-init b/app-backup/bacula/files/1.36.3/bacula-dir-init new file mode 100644 index 0000000..d45152e --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-dir-init @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-dir-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + if [ ${LOCAL_DB} -eq 1 ]; then + need "%database%" + fi + use dns +} + +start() { + local retval=0 + ebegin "Starting bacula director" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ + -- ${DIR_OPTIONS} + retval=$(( $retval + $? )) + eend $retval +} + +stop() { + local retval=0 + ebegin "Stopping bacula director" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid + retval=$(( $retval + $? )) + eend $retval +} diff --git a/app-backup/bacula/files/1.36.3/bacula-fd-conf b/app-backup/bacula/files/1.36.3/bacula-fd-conf new file mode 100644 index 0000000..651b0df --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-fd-conf @@ -0,0 +1,8 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-fd-conf,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +# Config file for /etc/init.d/bacula-fd + +# Options for each daemon +FD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-fd.conf" diff --git a/app-backup/bacula/files/1.36.3/bacula-fd-init b/app-backup/bacula/files/1.36.3/bacula-fd-init new file mode 100644 index 0000000..74d25ec --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-fd-init @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-fd-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + use dns +} + +start() { + local retval=0 + ebegin "Starting bacula file daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ + -- ${FD_OPTIONS} + retval=$(( $retval + $? )) + eend $retval +} + +stop() { + local retval=0 + ebegin "Stopping bacula file daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.*.pid + retval=$(( $retval + $? )) + eend $retval +} diff --git a/app-backup/bacula/files/1.36.3/bacula-sd-conf b/app-backup/bacula/files/1.36.3/bacula-sd-conf new file mode 100644 index 0000000..5820942 --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-sd-conf @@ -0,0 +1,11 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-sd-conf,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +# Config file for /etc/init.d/bacula-sd + +# Options for each daemon +# The DIR and SD can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +SD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-sd.conf" diff --git a/app-backup/bacula/files/1.36.3/bacula-sd-init b/app-backup/bacula/files/1.36.3/bacula-sd-init new file mode 100644 index 0000000..63c9982 --- /dev/null +++ b/app-backup/bacula/files/1.36.3/bacula-sd-init @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.36.3/bacula-sd-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + use dns +} + +start() { + local retval=0 + ebegin "Starting bacula storage daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ + -- ${SD_OPTIONS} + retval=$(( $retval + $? )) + eend $retval +} + +stop() { + local retval=0 + ebegin "Stopping bacula storage daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.*.pid + retval=$(( $retval + $? )) + eend $retval +} diff --git a/app-backup/bacula/files/1.38.5/bacula-all-conf b/app-backup/bacula/files/1.38.5/bacula-all-conf new file mode 100644 index 0000000..b3f5e42 --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-all-conf @@ -0,0 +1,23 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-all-conf,v 1.2 2006/06/14 15:57:07 lisa Exp $ + +# Config file for /etc/init.d/bacula + +# Add on SERVICES the daemons you want to run +# sd - +# fd - +# dir - +SERVICES="%services%" + +# If the database server where you store your bacula catalog +# is on a different machine, please set this to 0. +LOCAL_DB=1 + +# Options for each daemon +# The DIR and SD can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +SD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-sd.conf" +FD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-fd.conf" +DIR_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-dir.conf" diff --git a/app-backup/bacula/files/1.38.5/bacula-all-init b/app-backup/bacula/files/1.38.5/bacula-all-init new file mode 100644 index 0000000..5f1a2b5 --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-all-init @@ -0,0 +1,63 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-all-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + if [ ${LOCAL_DB} -eq 1 ]; then + need "%database%" + fi + use dns +} + +start() { + local retval=0 + for s in ${SERVICES} ; do + case ${s} in + sd) + ebegin "Starting bacula storage daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ + -- ${SD_OPTIONS} + retval=$(( $retval + $? )) + ;; + fd) + ebegin "Starting bacula file daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ + -- ${FD_OPTIONS} + retval=$(( $retval + $? )) + ;; + dir) + ebegin "Starting bacula director" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ + -- ${DIR_OPTIONS} + retval=$(( $retval + $? )) + ;; + esac + done + eend $retval +} + +stop() { + local retval=0 + for s in ${SERVICES} ; do + case ${s} in + sd) + ebegin "Stopping bacula storage daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.*.pid + retval=$(( $retval + $? )) + ;; + fd) + ebegin "Stopping bacula file daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.*.pid + retval=$(( $retval + $? )) + ;; + dir) + ebegin "Stopping bacula director" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid + retval=$(( $retval + $? )) + ;; + esac + done + eend $retval +} diff --git a/app-backup/bacula/files/1.38.5/bacula-dir-conf b/app-backup/bacula/files/1.38.5/bacula-dir-conf new file mode 100644 index 0000000..398f6e7 --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-dir-conf @@ -0,0 +1,15 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-dir-conf,v 1.2 2006/06/14 15:57:07 lisa Exp $ + +# Config file for /etc/init.d/bacula-dir + +# If the database server where you store your bacula catalog +# is on a different machine, please set this to 0. +LOCAL_DB=1 + +# Options for each daemon +# The DIR and SD can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +DIR_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-dir.conf" diff --git a/app-backup/bacula/files/1.38.5/bacula-dir-init b/app-backup/bacula/files/1.38.5/bacula-dir-init new file mode 100644 index 0000000..2cd905e --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-dir-init @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-dir-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + if [ ${LOCAL_DB} -eq 1 ]; then + need "%database%" + fi + use dns +} + +start() { + local retval=0 + ebegin "Starting bacula director" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ + -- ${DIR_OPTIONS} + retval=$(( $retval + $? )) + eend $retval +} + +stop() { + local retval=0 + ebegin "Stopping bacula director" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid + retval=$(( $retval + $? )) + eend $retval +} diff --git a/app-backup/bacula/files/1.38.5/bacula-fd-conf b/app-backup/bacula/files/1.38.5/bacula-fd-conf new file mode 100644 index 0000000..f857b93 --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-fd-conf @@ -0,0 +1,8 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-fd-conf,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +# Config file for /etc/init.d/bacula-fd + +# Options for each daemon +FD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-fd.conf" diff --git a/app-backup/bacula/files/1.38.5/bacula-fd-init b/app-backup/bacula/files/1.38.5/bacula-fd-init new file mode 100644 index 0000000..73046f4 --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-fd-init @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-fd-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + use dns +} + +start() { + local retval=0 + ebegin "Starting bacula file daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ + -- ${FD_OPTIONS} + retval=$(( $retval + $? )) + eend $retval +} + +stop() { + local retval=0 + ebegin "Stopping bacula file daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.*.pid + retval=$(( $retval + $? )) + eend $retval +} diff --git a/app-backup/bacula/files/1.38.5/bacula-sd-conf b/app-backup/bacula/files/1.38.5/bacula-sd-conf new file mode 100644 index 0000000..fbfc0fa --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-sd-conf @@ -0,0 +1,11 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-sd-conf,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +# Config file for /etc/init.d/bacula-sd + +# Options for each daemon +# The DIR and SD can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +SD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-sd.conf" diff --git a/app-backup/bacula/files/1.38.5/bacula-sd-init b/app-backup/bacula/files/1.38.5/bacula-sd-init new file mode 100644 index 0000000..ee2bbc3 --- /dev/null +++ b/app-backup/bacula/files/1.38.5/bacula-sd-init @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/1.38.5/bacula-sd-init,v 1.1 2006/02/17 04:20:48 labmonkey Exp $ + +depend() { + need net + use dns +} + +start() { + local retval=0 + ebegin "Starting bacula storage daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ + -- ${SD_OPTIONS} + retval=$(( $retval + $? )) + eend $retval +} + +stop() { + local retval=0 + ebegin "Stopping bacula storage daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.*.pid + retval=$(( $retval + $? )) + eend $retval +} diff --git a/app-backup/bacula/files/bacula-1.36.3-cdrecord-configure.patch b/app-backup/bacula/files/bacula-1.36.3-cdrecord-configure.patch new file mode 100644 index 0000000..6fa8511 --- /dev/null +++ b/app-backup/bacula/files/bacula-1.36.3-cdrecord-configure.patch @@ -0,0 +1,19 @@ +diff -uNr bacula-1.36.2/configure bacula-1.36.2-fixed/configure +--- bacula-1.36.2/configure 2005-02-25 04:46:49.000000000 -0500 ++++ bacula-1.36.2-fixed/configure 2005-03-06 10:11:23.905848861 -0500 +@@ -7301,15 +7301,6 @@ + # get scsibus,target,lun + # ------------------------------------------- + CDSTL="3,0,0" +-if test ! x$CDRECORD = x ; then +- CDSTL=`${CDRECORD} -scanbus 2>/dev/null | grep CD-RW | ${AWK} '{print $1}'` +- if test x${CDSTL} = x ; then +- CDSTL=`${CDRECORD} -scanbus 2>/dev/null | grep CD+RW | ${AWK} '{print $1}'` +- fi +- if test x${CDSTL} = x ; then +- CDSTL="3,0,0" +- fi +-fi + + + diff --git a/app-backup/bacula/files/bacula-1.36.3-default-configs.patch b/app-backup/bacula/files/bacula-1.36.3-default-configs.patch new file mode 100644 index 0000000..ad1f84f --- /dev/null +++ b/app-backup/bacula/files/bacula-1.36.3-default-configs.patch @@ -0,0 +1,144 @@ +diff -uNr ../bacula-1.36.3/src/console/console.c ./src/console/console.c +--- ../bacula-1.36.3/src/console/console.c 2005-04-05 12:23:51.000000000 -0500 ++++ ./src/console/console.c 2005-08-05 00:01:57.000000000 -0500 +@@ -97,7 +97,7 @@ + static int sleepcmd(FILE *input, BSOCK *UA_sock); + + +-#define CONFIG_FILE "./bconsole.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/bconsole.conf" /* default configuration file */ + + static void usage() + { +diff -uNr ../bacula-1.36.3/src/dird/dird.c ./src/dird/dird.c +--- ../bacula-1.36.3/src/dird/dird.c 2005-02-14 04:02:19.000000000 -0600 ++++ ./src/dird/dird.c 2005-08-05 00:01:32.000000000 -0500 +@@ -69,7 +69,7 @@ + extern URES res_all; + + +-#define CONFIG_FILE "./bacula-dir.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/bacula-dir.conf" /* default configuration file */ + + static void usage() + { +diff -uNr ../bacula-1.36.3/src/filed/filed.c ./src/filed/filed.c +--- ../bacula-1.36.3/src/filed/filed.c 2005-02-14 04:02:23.000000000 -0600 ++++ ./src/filed/filed.c 2005-08-05 00:01:06.000000000 -0500 +@@ -51,7 +51,7 @@ + #endif + + +-#define CONFIG_FILE "./bacula-fd.conf" /* default config file */ ++#define CONFIG_FILE "/etc/bacula/bacula-fd.conf" /* default config file */ + + static char *configfile = NULL; + static bool foreground = false; +diff -uNr ../bacula-1.36.3/src/gnome-console/console.c ./src/gnome-console/console.c +--- ../bacula-1.36.3/src/gnome-console/console.c 2004-07-28 04:42:49.000000000 -0500 ++++ ./src/gnome-console/console.c 2005-08-04 23:55:32.000000000 -0500 +@@ -75,7 +75,7 @@ + static bool quit = FALSE; + static guint initial; + +-#define CONFIG_FILE "./gnome-console.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/gnome-console.conf" /* default configuration file */ + + static void usage() + { +diff -uNr ../bacula-1.36.3/src/gnome2-console/console.c ./src/gnome2-console/console.c +--- ../bacula-1.36.3/src/gnome2-console/console.c 2005-02-25 03:47:07.000000000 -0600 ++++ ./src/gnome2-console/console.c 2005-08-04 23:56:00.000000000 -0500 +@@ -80,7 +80,7 @@ + static bool quit = false; + static guint initial; + +-#define CONFIG_FILE "./gnome-console.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/gnome-console.conf" /* default configuration file */ + + static void usage() + { +diff -uNr ../bacula-1.36.3/src/stored/bcopy.c ./src/stored/bcopy.c +--- ../bacula-1.36.3/src/stored/bcopy.c 2004-09-19 13:56:27.000000000 -0500 ++++ ./src/stored/bcopy.c 2005-08-04 23:58:40.000000000 -0500 +@@ -46,7 +46,7 @@ + static uint32_t jobs = 0; + static DEV_BLOCK *out_block; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile; + bool forge_on = true; + +diff -uNr ../bacula-1.36.3/src/stored/bextract.c ./src/stored/bextract.c +--- ../bacula-1.36.3/src/stored/bextract.c 2005-02-15 05:51:04.000000000 -0600 ++++ ./src/stored/bextract.c 2005-08-04 23:57:57.000000000 -0500 +@@ -63,7 +63,7 @@ + static uint32_t wsize; /* write size */ + static uint64_t fileAddr = 0; /* file write address */ + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile; + bool forge_on = false; + +diff -uNr ../bacula-1.36.3/src/stored/bls.c ./src/stored/bls.c +--- ../bacula-1.36.3/src/stored/bls.c 2005-02-15 05:51:04.000000000 -0600 ++++ ./src/stored/bls.c 2005-08-04 23:57:32.000000000 -0500 +@@ -53,7 +53,7 @@ + static uint32_t num_files = 0; + static ATTR *attr; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile; + bool forge_on = false; + +diff -uNr ../bacula-1.36.3/src/stored/bscan.c ./src/stored/bscan.c +--- ../bacula-1.36.3/src/stored/bscan.c 2005-02-14 04:02:27.000000000 -0600 ++++ ./src/stored/bscan.c 2005-08-04 23:58:58.000000000 -0500 +@@ -98,7 +98,7 @@ + static int num_media = 0; + static int num_files = 0; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile; + bool forge_on = false; + +diff -uNr ../bacula-1.36.3/src/stored/btape.c ./src/stored/btape.c +--- ../bacula-1.36.3/src/stored/btape.c 2005-02-27 15:53:29.000000000 -0600 ++++ ./src/stored/btape.c 2005-08-04 23:59:58.000000000 -0500 +@@ -85,7 +85,7 @@ + + + /* Static variables */ +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile; + + #define MAX_CMD_ARGS 30 +diff -uNr ../bacula-1.36.3/src/stored/stored.c ./src/stored/stored.c +--- ../bacula-1.36.3/src/stored/stored.c 2005-02-27 15:53:29.000000000 -0600 ++++ ./src/stored/stored.c 2005-08-05 00:00:19.000000000 -0500 +@@ -43,7 +43,7 @@ + + + +-#define CONFIG_FILE "bacula-sd.conf" /* Default config file */ ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" /* Default config file */ + + + /* Global variables exported */ +diff -uNr ../bacula-1.36.3/src/tray-monitor/tray-monitor.c ./src/tray-monitor/tray-monitor.c +--- ../bacula-1.36.3/src/tray-monitor/tray-monitor.c 2005-03-28 07:33:27.000000000 -0600 ++++ ./src/tray-monitor/tray-monitor.c 2005-08-04 23:56:37.000000000 -0500 +@@ -91,7 +91,7 @@ + char** xpm_generic_var; + static gboolean blinkstate = TRUE; + +-#define CONFIG_FILE "./tray-monitor.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/tray-monitor.conf" /* default configuration file */ + + static void usage() + { diff --git a/app-backup/bacula/files/bacula-1.36.3-mtxtmpfile.patch b/app-backup/bacula/files/bacula-1.36.3-mtxtmpfile.patch new file mode 100644 index 0000000..12b4ede --- /dev/null +++ b/app-backup/bacula/files/bacula-1.36.3-mtxtmpfile.patch @@ -0,0 +1,136 @@ +--- scripts/mtx-changer.in.orig 2005-10-07 07:41:38.000000000 +1000 ++++ scripts/mtx-changer.in 2005-10-07 07:41:52.000000000 +1000 +@@ -30,24 +37,37 @@ + MTX=@MTX@ + + # ++# Create a temporary file ++# ++make_temp_file() { ++ TMPFILE=`mktemp -t mtx.XXXXXXXXXX` ++ if test x${TMPFILE} = x; then ++ TMPFILE="@working_dir@/mtx.$$" ++ if test -f ${TMPFILE}; then ++ echo "Temp file security problem on: ${TMPFILE}" ++ exit 1 ++ fi ++ fi ++} ++ ++# + # The purpose of this function to wait a maximum + # time for the drive. It will + # return as soon as the drive is ready, or after +-# waiting a maximum of 180 seconds. ++# waiting a maximum of 300 seconds. + # Note, this is very system dependent, so if you are + # not running on Linux, you will probably need to +-# re-write it. +-# +-# If you have a FreeBSD system, you might want to change +-# the $(seq 180) to $(jot 180) -- tip from Brian McDonald ++# re-write it, or at least change the grep target. + # + wait_for_drive() { +- for i in $(seq 180); do # Wait max 180 seconds ++ i=0 ++ while [ $i -le 300 ]; do # Wait max 300 seconds + if mt -f $1 status | grep ONLINE >/dev/null 2>&1; then + break + fi + # echo "Device $1 - not ready, retrying..." + sleep 1 ++ i=`expr $i + 1` + done + } + +@@ -64,30 +84,21 @@ + cmd="$2" + slot=$3 + device=$4 +-# If drive not given, default to 0 +-if test $# = 5 ; then +- drive=$5 +-else +- drive=0 +-fi ++drive=$5 ++ + + # + # Check for special cases where only 2 arguments are needed, + # all others are a minimum of 3 + case $cmd in +- loaded) +- ;; +- unload) +- ;; + list) + ;; + slots) + ;; + *) +- if test $# -lt 3; then ++ if test $# -lt 5; then + echo "usage: mtx-changer ctl-device command slot archive-device drive" + echo " Insufficient number of arguments arguments given." +- echo " Mimimum usage is first three arguments ..." + exit 1 + fi + ;; +@@ -100,11 +111,7 @@ + # + # enable the following line if you need to eject the cartridge + # mt -f $device offline +- if test x$slot = x; then +- ${MTX} -f $ctl unload +- else +- ${MTX} -f $ctl unload $slot $drive +- fi ++ ${MTX} -f $ctl unload $slot $drive + ;; + + load) +@@ -120,27 +127,33 @@ + ;; + + list) +-# echo "Requested list" +- ${MTX} -f $ctl status | grep " *Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//" +-# Comment out the previous line and add a line here +-# to print "fake" barcodes. ++# echo "Doing mtx -f $ctl -- to list volumes" ++ make_temp_file ++ ${MTX} -f $ctl status >${TMPFILE} ++ rtn=$? ++ cat ${TMPFILE} | grep " *Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//" ++ cat ${TMPFILE} | grep "^Data Transfer Element [0-9]*:Full (Storage Element [0-9]" | awk '{printf "%s:%s\n",$7,$10}' ++ rm -f ${TMPFILE} 2>&1 >/dev/null + # + # If you have a VXA PacketLoader and the above does not work, try + # turning it off and enabling the following line. + # ${MTX} -f $ctl status | grep " *Storage Element [0-9]*:.*Full" | sed "s/*Storage Element //" | sed "s/Full :VolumeTag=//" ++ exit $rtn + ;; + + loaded) +- ${MTX} -f $ctl status >/tmp/mtx.$$ ++# echo "Doing mtx -f $ctl $drive -- to find what is loaded" ++ make_temp_file ++ ${MTX} -f $ctl status >${TMPFILE} + rtn=$? +- cat /tmp/mtx.$$ | grep "^Data Transfer Element $drive:Full" | awk "{print \$7}" +- cat /tmp/mtx.$$ | grep "^Data Transfer Element $drive:Empty" | awk "{print 0}" +- rm -f /tmp/mtx.$$ ++ cat ${TMPFILE} | grep "^Data Transfer Element $drive:Full" | awk "{print \$7}" ++ cat ${TMPFILE} | grep "^Data Transfer Element $drive:Empty" | awk "{print 0}" ++ rm -f ${TMPFILE} 2>&1 >/dev/null + exit $rtn + ;; + + slots) +-# echo "Request slots" ++# echo "Doing mtx -f $ctl -- to get count of slots" + ${MTX} -f $ctl status | grep " *Storage Changer" | awk "{print \$5}" + ;; + esac diff --git a/app-backup/bacula/files/bacula-1.38.5-default-configs.patch b/app-backup/bacula/files/bacula-1.38.5-default-configs.patch new file mode 100644 index 0000000..6a50f12 --- /dev/null +++ b/app-backup/bacula/files/bacula-1.38.5-default-configs.patch @@ -0,0 +1,132 @@ +diff -Naru ../bacula-1.38.5/src/console/console.c ./src/console/console.c +--- ../bacula-1.38.5/src/console/console.c 2005-08-10 11:35:19.000000000 -0500 ++++ ./src/console/console.c 2006-01-31 21:07:50.000000000 -0600 +@@ -94,7 +94,7 @@ + static int sleepcmd(FILE *input, BSOCK *UA_sock); + + +-#define CONFIG_FILE "./bconsole.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/bconsole.conf" /* default configuration file */ + + static void usage() + { +diff -Naru ../bacula-1.38.5/src/dird/dird.c ./src/dird/dird.c +--- ../bacula-1.38.5/src/dird/dird.c 2006-01-06 11:15:42.000000000 -0600 ++++ ./src/dird/dird.c 2006-01-31 21:08:13.000000000 -0600 +@@ -63,7 +63,7 @@ + extern URES res_all; + + +-#define CONFIG_FILE "./bacula-dir.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/bacula-dir.conf" /* default configuration file */ + + static void usage() + { +diff -Naru ../bacula-1.38.5/src/filed/filed.c ./src/filed/filed.c +--- ../bacula-1.38.5/src/filed/filed.c 2006-01-15 04:11:59.000000000 -0600 ++++ ./src/filed/filed.c 2006-01-31 21:08:35.000000000 -0600 +@@ -47,7 +47,7 @@ + #endif + + +-#define CONFIG_FILE "./bacula-fd.conf" /* default config file */ ++#define CONFIG_FILE "/etc/bacula/bacula-fd.conf" /* default config file */ + + char *configfile = NULL; + static bool foreground = false; +diff -Naru ../bacula-1.38.5/src/gnome2-console/console.c ./src/gnome2-console/console.c +--- ../bacula-1.38.5/src/gnome2-console/console.c 2005-12-10 07:18:03.000000000 -0600 ++++ ./src/gnome2-console/console.c 2006-01-31 21:09:09.000000000 -0600 +@@ -80,7 +80,7 @@ + static guint initial; + static int numdir = 0; + +-#define CONFIG_FILE "./gnome-console.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/gnome-console.conf" /* default configuration file */ + + static void usage() + { +diff -Naru ../bacula-1.38.5/src/stored/bcopy.c ./src/stored/bcopy.c +--- ../bacula-1.38.5/src/stored/bcopy.c 2005-08-10 11:35:37.000000000 -0500 ++++ ./src/stored/bcopy.c 2006-01-31 21:09:27.000000000 -0600 +@@ -44,7 +44,7 @@ + static uint32_t jobs = 0; + static DEV_BLOCK *out_block; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; /* proceed inspite of I/O errors */ +diff -Naru ../bacula-1.38.5/src/stored/bextract.c ./src/stored/bextract.c +--- ../bacula-1.38.5/src/stored/bextract.c 2006-01-09 14:42:55.000000000 -0600 ++++ ./src/stored/bextract.c 2006-01-31 21:09:49.000000000 -0600 +@@ -57,7 +57,7 @@ + static uint32_t wsize; /* write size */ + static uint64_t fileAddr = 0; /* file write address */ + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; +diff -Naru ../bacula-1.38.5/src/stored/bls.c ./src/stored/bls.c +--- ../bacula-1.38.5/src/stored/bls.c 2005-10-26 09:02:05.000000000 -0500 ++++ ./src/stored/bls.c 2006-01-31 21:10:06.000000000 -0600 +@@ -51,7 +51,7 @@ + static uint32_t num_files = 0; + static ATTR *attr; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; +diff -Naru ../bacula-1.38.5/src/stored/bscan.c ./src/stored/bscan.c +--- ../bacula-1.38.5/src/stored/bscan.c 2005-12-14 15:43:16.000000000 -0600 ++++ ./src/stored/bscan.c 2006-01-31 21:10:20.000000000 -0600 +@@ -95,7 +95,7 @@ + static int num_media = 0; + static int num_files = 0; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; /* proceed inspite of I/O errors */ +diff -Naru ../bacula-1.38.5/src/stored/btape.c ./src/stored/btape.c +--- ../bacula-1.38.5/src/stored/btape.c 2006-01-09 16:34:33.000000000 -0600 ++++ ./src/stored/btape.c 2006-01-31 21:10:36.000000000 -0600 +@@ -85,7 +85,7 @@ + + + /* Static variables */ +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + + #define MAX_CMD_ARGS 30 +diff -Naru ../bacula-1.38.5/src/stored/stored.c ./src/stored/stored.c +--- ../bacula-1.38.5/src/stored/stored.c 2005-12-19 08:06:41.000000000 -0600 ++++ ./src/stored/stored.c 2006-01-31 21:10:54.000000000 -0600 +@@ -37,7 +37,7 @@ + + extern "C" void *device_initialization(void *arg); + +-#define CONFIG_FILE "bacula-sd.conf" /* Default config file */ ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" /* Default config file */ + + /* Global variables exported */ + char OK_msg[] = "3000 OK\n"; +diff -Naru ../bacula-1.38.5/src/tray-monitor/tray-monitor.c ./src/tray-monitor/tray-monitor.c +--- ../bacula-1.38.5/src/tray-monitor/tray-monitor.c 2005-11-22 04:50:55.000000000 -0600 ++++ ./src/tray-monitor/tray-monitor.c 2006-01-31 21:11:29.000000000 -0600 +@@ -94,7 +94,7 @@ + char** xpm_generic_var; + static gboolean blinkstate = TRUE; + +-#define CONFIG_FILE "./tray-monitor.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/tray-monitor.conf" /* default configuration file */ + + static void usage() + { diff --git a/app-backup/bacula/files/bacula-1.38.9-default-configs.patch b/app-backup/bacula/files/bacula-1.38.9-default-configs.patch new file mode 100644 index 0000000..6a50f12 --- /dev/null +++ b/app-backup/bacula/files/bacula-1.38.9-default-configs.patch @@ -0,0 +1,132 @@ +diff -Naru ../bacula-1.38.5/src/console/console.c ./src/console/console.c +--- ../bacula-1.38.5/src/console/console.c 2005-08-10 11:35:19.000000000 -0500 ++++ ./src/console/console.c 2006-01-31 21:07:50.000000000 -0600 +@@ -94,7 +94,7 @@ + static int sleepcmd(FILE *input, BSOCK *UA_sock); + + +-#define CONFIG_FILE "./bconsole.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/bconsole.conf" /* default configuration file */ + + static void usage() + { +diff -Naru ../bacula-1.38.5/src/dird/dird.c ./src/dird/dird.c +--- ../bacula-1.38.5/src/dird/dird.c 2006-01-06 11:15:42.000000000 -0600 ++++ ./src/dird/dird.c 2006-01-31 21:08:13.000000000 -0600 +@@ -63,7 +63,7 @@ + extern URES res_all; + + +-#define CONFIG_FILE "./bacula-dir.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/bacula-dir.conf" /* default configuration file */ + + static void usage() + { +diff -Naru ../bacula-1.38.5/src/filed/filed.c ./src/filed/filed.c +--- ../bacula-1.38.5/src/filed/filed.c 2006-01-15 04:11:59.000000000 -0600 ++++ ./src/filed/filed.c 2006-01-31 21:08:35.000000000 -0600 +@@ -47,7 +47,7 @@ + #endif + + +-#define CONFIG_FILE "./bacula-fd.conf" /* default config file */ ++#define CONFIG_FILE "/etc/bacula/bacula-fd.conf" /* default config file */ + + char *configfile = NULL; + static bool foreground = false; +diff -Naru ../bacula-1.38.5/src/gnome2-console/console.c ./src/gnome2-console/console.c +--- ../bacula-1.38.5/src/gnome2-console/console.c 2005-12-10 07:18:03.000000000 -0600 ++++ ./src/gnome2-console/console.c 2006-01-31 21:09:09.000000000 -0600 +@@ -80,7 +80,7 @@ + static guint initial; + static int numdir = 0; + +-#define CONFIG_FILE "./gnome-console.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/gnome-console.conf" /* default configuration file */ + + static void usage() + { +diff -Naru ../bacula-1.38.5/src/stored/bcopy.c ./src/stored/bcopy.c +--- ../bacula-1.38.5/src/stored/bcopy.c 2005-08-10 11:35:37.000000000 -0500 ++++ ./src/stored/bcopy.c 2006-01-31 21:09:27.000000000 -0600 +@@ -44,7 +44,7 @@ + static uint32_t jobs = 0; + static DEV_BLOCK *out_block; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; /* proceed inspite of I/O errors */ +diff -Naru ../bacula-1.38.5/src/stored/bextract.c ./src/stored/bextract.c +--- ../bacula-1.38.5/src/stored/bextract.c 2006-01-09 14:42:55.000000000 -0600 ++++ ./src/stored/bextract.c 2006-01-31 21:09:49.000000000 -0600 +@@ -57,7 +57,7 @@ + static uint32_t wsize; /* write size */ + static uint64_t fileAddr = 0; /* file write address */ + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; +diff -Naru ../bacula-1.38.5/src/stored/bls.c ./src/stored/bls.c +--- ../bacula-1.38.5/src/stored/bls.c 2005-10-26 09:02:05.000000000 -0500 ++++ ./src/stored/bls.c 2006-01-31 21:10:06.000000000 -0600 +@@ -51,7 +51,7 @@ + static uint32_t num_files = 0; + static ATTR *attr; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; +diff -Naru ../bacula-1.38.5/src/stored/bscan.c ./src/stored/bscan.c +--- ../bacula-1.38.5/src/stored/bscan.c 2005-12-14 15:43:16.000000000 -0600 ++++ ./src/stored/bscan.c 2006-01-31 21:10:20.000000000 -0600 +@@ -95,7 +95,7 @@ + static int num_media = 0; + static int num_files = 0; + +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + STORES *me = NULL; /* our Global resource */ + bool forge_on = false; /* proceed inspite of I/O errors */ +diff -Naru ../bacula-1.38.5/src/stored/btape.c ./src/stored/btape.c +--- ../bacula-1.38.5/src/stored/btape.c 2006-01-09 16:34:33.000000000 -0600 ++++ ./src/stored/btape.c 2006-01-31 21:10:36.000000000 -0600 +@@ -85,7 +85,7 @@ + + + /* Static variables */ +-#define CONFIG_FILE "bacula-sd.conf" ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" + char *configfile = NULL; + + #define MAX_CMD_ARGS 30 +diff -Naru ../bacula-1.38.5/src/stored/stored.c ./src/stored/stored.c +--- ../bacula-1.38.5/src/stored/stored.c 2005-12-19 08:06:41.000000000 -0600 ++++ ./src/stored/stored.c 2006-01-31 21:10:54.000000000 -0600 +@@ -37,7 +37,7 @@ + + extern "C" void *device_initialization(void *arg); + +-#define CONFIG_FILE "bacula-sd.conf" /* Default config file */ ++#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" /* Default config file */ + + /* Global variables exported */ + char OK_msg[] = "3000 OK\n"; +diff -Naru ../bacula-1.38.5/src/tray-monitor/tray-monitor.c ./src/tray-monitor/tray-monitor.c +--- ../bacula-1.38.5/src/tray-monitor/tray-monitor.c 2005-11-22 04:50:55.000000000 -0600 ++++ ./src/tray-monitor/tray-monitor.c 2006-01-31 21:11:29.000000000 -0600 +@@ -94,7 +94,7 @@ + char** xpm_generic_var; + static gboolean blinkstate = TRUE; + +-#define CONFIG_FILE "./tray-monitor.conf" /* default configuration file */ ++#define CONFIG_FILE "/etc/bacula/tray-monitor.conf" /* default configuration file */ + + static void usage() + { diff --git a/app-backup/bacula/files/bacula-conf b/app-backup/bacula/files/bacula-conf new file mode 100644 index 0000000..5c6afcf --- /dev/null +++ b/app-backup/bacula/files/bacula-conf @@ -0,0 +1,16 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/bacula-conf,v 1.1 2005/07/04 01:52:06 robbat2 Exp $ + +# Config file for /etc/init.d/bacula + +# Add on SERVICES the daemons you want to run +# sd - +# fd - +# dir - +SERVICES="%%SERVICES%%" + +# Options for each daemon +SD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-sd.conf" +FD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-fd.conf" +DIR_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-dir.conf" diff --git a/app-backup/bacula/files/bacula-doc-1.36.3-latex-icons.patch b/app-backup/bacula/files/bacula-doc-1.36.3-latex-icons.patch new file mode 100644 index 0000000..254c89b --- /dev/null +++ b/app-backup/bacula/files/bacula-doc-1.36.3-latex-icons.patch @@ -0,0 +1,37 @@ +--- html-manual/bacula.html.orig 2005-10-24 14:11:08.000000000 -0500 ++++ html-manual/bacula.html 2005-10-24 14:35:53.000000000 -0500 +@@ -24,18 +24,9 @@ + </HEAD> + + <BODY > +-<!--Navigation Panel--> +-<IMG WIDTH="81" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next_inactive" +- SRC="file:/usr/share/latex2html/icons/nx_grp_g.png"> +-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" +- SRC="file:/usr/share/latex2html/icons/up_g.png"> +-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" +- SRC="file:/usr/share/latex2html/icons/prev_g.png"> + <BR> + <BR> + <BR> +-<!--End of Navigation Panel--> +- + <P> + + <P> +@@ -36405,15 +36396,7 @@ + <STRONG>latex2html</STRONG> <TT>-white -no_subdir -split 0 -toc_stars -white -notransparent bacula</TT> + <P> + The translation was initiated by on 2005-04-26<HR> +-<!--Navigation Panel--> +-<IMG WIDTH="81" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next_inactive" +- SRC="file:/usr/share/latex2html/icons/nx_grp_g.png"> +-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" +- SRC="file:/usr/share/latex2html/icons/up_g.png"> +-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" +- SRC="file:/usr/share/latex2html/icons/prev_g.png"> + <BR> +-<!--End of Navigation Panel--> + <ADDRESS> + + 2005-04-26 diff --git a/app-backup/bacula/files/bacula-init3 b/app-backup/bacula/files/bacula-init3 new file mode 100644 index 0000000..a332907 --- /dev/null +++ b/app-backup/bacula/files/bacula-init3 @@ -0,0 +1,60 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/bacula-init3,v 1.1 2005/07/04 01:52:06 robbat2 Exp $ + +depend() { + need net + %%USE_DB%% +} + +start() { + local retval=0 + for s in ${SERVICES} ; do + case ${s} in + sd) + ebegin "Starting bacula storage daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ + -- ${SD_OPTIONS} + retval=$(( $retval + $? )) + ;; + fd) + ebegin "Starting bacula file daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ + -- ${FD_OPTIONS} + retval=$(( $retval + $? )) + ;; + dir) + ebegin "Starting bacula director" + start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ + -- ${DIR_OPTIONS} + retval=$(( $retval + $? )) + ;; + esac + done + eend $retval +} + +stop() { + local retval=0 + for s in ${SERVICES} ; do + case ${s} in + sd) + ebegin "Stopping bacula storage daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.*.pid + retval=$(( $retval + $? )) + ;; + fd) + ebegin "Stopping bacula file daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.*.pid + retval=$(( $retval + $? )) + ;; + dir) + ebegin "Stopping bacula director" + start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid + retval=$(( $retval + $? )) + ;; + esac + done + eend $retval +} diff --git a/app-backup/bacula/files/digest-bacula-1.36.3-r2 b/app-backup/bacula/files/digest-bacula-1.36.3-r2 new file mode 100644 index 0000000..9e05a40 --- /dev/null +++ b/app-backup/bacula/files/digest-bacula-1.36.3-r2 @@ -0,0 +1,3 @@ +MD5 9499d6277b8673ae7c24dcdbf89ee026 bacula-1.36.3.tar.gz 11153154 +RMD160 e8fb6eee221e261ac5b927019f9e69256cfb1732 bacula-1.36.3.tar.gz 11153154 +SHA256 5bae12451094b399df62dd8e325cba075a3e803f2e60658d28b7ed814161fbd6 bacula-1.36.3.tar.gz 11153154 diff --git a/app-backup/bacula/files/digest-bacula-1.36.3-r3 b/app-backup/bacula/files/digest-bacula-1.36.3-r3 new file mode 100644 index 0000000..bb7e062 --- /dev/null +++ b/app-backup/bacula/files/digest-bacula-1.36.3-r3 @@ -0,0 +1,4 @@ +MD5 9499d6277b8673ae7c24dcdbf89ee026 bacula-1.36.3.tar.gz 11153154 +RMD160 e8fb6eee221e261ac5b927019f9e69256cfb1732 bacula-1.36.3.tar.gz 11153154 +SHA256 5bae12451094b399df62dd8e325cba075a3e803f2e60658d28b7ed814161fbd6 bacula-1.36.3.tar.gz 11153154 +MD5 db08859bc193e777c76bcbf5e60f0c7e bacula-doc-1.36.3.tar.gz 4506465 diff --git a/app-backup/bacula/files/digest-bacula-1.38.5 b/app-backup/bacula/files/digest-bacula-1.38.5 new file mode 100644 index 0000000..5decd4a --- /dev/null +++ b/app-backup/bacula/files/digest-bacula-1.38.5 @@ -0,0 +1,4 @@ +MD5 7f8f0f642b22dc2089ef7b42eb08f826 bacula-1.38.5.tar.gz 1911024 +RMD160 0ea7136ecaf0f30860e8d88216db68dde82276ee bacula-1.38.5.tar.gz 1911024 +SHA256 df760f15ba4667fbc1ac2d985b982920eb3a1d25c17ba744bc688f0f10fe47c7 bacula-1.38.5.tar.gz 1911024 +MD5 11035d75fdd9d10801f0b3dda1f09440 bacula-docs-1.38.5.tar.gz 23183760 diff --git a/app-backup/bacula/files/digest-bacula-1.38.9 b/app-backup/bacula/files/digest-bacula-1.38.9 new file mode 100644 index 0000000..755e582 --- /dev/null +++ b/app-backup/bacula/files/digest-bacula-1.38.9 @@ -0,0 +1,6 @@ +MD5 9378c7d9996d8e9d3506adb2570a33ac bacula-1.38.9.tar.gz 2063063 +RMD160 c735210438993e6bc656bdab5610e037112b573f bacula-1.38.9.tar.gz 2063063 +SHA256 b8f4c3df6b030712c7a9ffd04af0b948021dd6399420c18d918088e4f7105a77 bacula-1.38.9.tar.gz 2063063 +MD5 f56a5dae13f99557486be70c44cc1aae bacula-docs-1.38.9.tar.gz 22727098 +RMD160 a781602f70722a60f628ee890cef67cf270d5c1e bacula-docs-1.38.9.tar.gz 22727098 +SHA256 71c8a2950a55fd2a952e5d2f3b4777d0b7d29652dfdbd7a27e6c73034a22e32a bacula-docs-1.38.9.tar.gz 22727098 diff --git a/app-backup/bacula/files/randpass-1.37.40 b/app-backup/bacula/files/randpass-1.37.40 new file mode 100644 index 0000000..af30bfb --- /dev/null +++ b/app-backup/bacula/files/randpass-1.37.40 @@ -0,0 +1,26 @@ +#! /bin/sh +# +# Generate a random password, written to standard output +# By John Walker +# +if test "x$1" = "x" ; then + PWL=48 # Password length in characters +else + PWL=$1 +fi +tmp=`mktemp randpass.XXXXXXXXXX` +if test x$tmp = x; then + tmp=/tmp/p.tmp.$$ + if test -f $tmp; then + echo "Temp file security problem on: $tmp" + exit 1 + fi +fi +cp autoconf/randpass.bc $tmp +ps | sum | tr -d ':[:alpha:] ' | sed 's/^/k=/' >>$tmp +date | tr -d ':[:alpha:] ' | sed 's/^/k=k*/' >>$tmp +ls -l /tmp | sum | tr -d ':[:alpha:] ' | sed 's/^/k=k*/' >>$tmp +echo "j=s(k); for (i = 0; i < $PWL; i++) r()" >>$tmp +echo "quit" >>$tmp +bc $tmp | awk -f autoconf/randpass.awk +rm $tmp |