Ticket #24301: bacula.patch
File bacula.patch, 4.2 KB (added by pokui@…, 15 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name bacula 7 version 5.0. 07 version 5.0.1 8 8 categories sysutils 9 9 platforms darwin 10 10 license GPL … … 18 18 homepage http://www.bacula.org/ 19 19 master_sites sourceforge 20 20 21 checksums md5 68e008d2578a6d9a50af60439db17dcb\22 sha1 371ee088e0869ddab67beb3bec9ce64531772b14\23 rmd160 790e9ed9435d5103d2ceb7ec544181b1bda4d3a921 checksums md5 beb9f8da196b3c9ffb0356f087dbdb99 \ 22 sha1 b6fd0c62d26c113d3bdccf69cd630b16d7261b5b \ 23 rmd160 587f49794556fe2eeed55eb3aaedfc3a6861761c 24 24 25 25 depends_build port:gawk 26 26 depends_lib port:zlib \ … … 75 75 startupitem.start "\[ -x \${BIN} \] && \${BIN} -c ${prefix}/etc/bacula/bacula-fd.conf" 76 76 startupitem.stop "\[ -r \${PID} \] && /bin/kill \$(cat \${PID})" 77 77 78 variant client_only conflicts mysql4 mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client (bacula-fd) only" {78 variant client_only conflicts mysql4 mysql5 postgresql83 postgresql84 sqlite2 sqlite3 description "Install bacula client (bacula-fd) only" { 79 79 configure.args-append --enable-client-only 80 80 } 81 81 82 variant mysql4 conflicts client_only mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" {82 variant mysql4 conflicts client_only mysql5 postgresql83 postgresql84 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" { 83 83 depends_lib-append port:mysql4 84 84 configure.args-append --with-mysql 85 85 configure.args-delete --without-mysql 86 86 } 87 87 88 variant mysql5 conflicts client_only mysql4 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" {88 variant mysql5 conflicts client_only mysql4 postgresql83 postgresql84 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" { 89 89 depends_lib-append path:bin/mysql_config5:mysql5 90 90 configure.args-append --with-mysql 91 91 configure.args-delete --without-mysql 92 92 } 93 93 94 variant postgresql83 conflicts mysql4 mysql5 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" {94 variant postgresql83 conflicts mysql4 mysql5 postgresql84 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" { 95 95 depends_lib-append port:postgresql83 96 96 configure.args-append --with-postgresql 97 97 configure.args-delete --without-postgresql 98 98 configure.env-append PATH=${prefix}/lib/postgresql83/bin:$env(PATH) 99 99 } 100 100 101 variant sqlite2 conflicts client_only sqlite3 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 2 backend" { 101 variant postgresql84 conflicts mysql4 mysql5 postgresql83 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.4 backend" { 102 depends_lib-append port:postgresql84 103 configure.args-append --with-postgresql 104 configure.args-delete --without-postgresql 105 configure.env-append PATH=${prefix}/lib/postgresql84/bin:$env(PATH) 106 } 107 108 variant sqlite2 conflicts client_only sqlite3 mysql4 mysql5 postgresql83 postgresql84 description "Install bacula client and server with sqlite 2 backend" { 102 109 depends_lib-append port:sqlite2 103 110 configure.args-append --with-sqlite=${prefix} 104 111 configure.args-delete --without-sqlite 105 112 } 106 113 107 variant sqlite3 conflicts client_only sqlite2 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 3 backend" {114 variant sqlite3 conflicts client_only sqlite2 mysql4 mysql5 postgresql83 postgresql84 description "Install bacula client and server with sqlite 3 backend" { 108 115 depends_lib-append port:sqlite3 109 116 configure.args-append --with-sqlite3=${prefix} 110 117 configure.args-delete --without-sqlite3 111 118 } 112 119 113 if {![variant_isset mysql4] && ![variant_isset mysql5] && ![variant_isset postgresql83] && ![variant_isset sqlite2] && ![variant_isset sqlite3]} {120 if {![variant_isset mysql4] && ![variant_isset mysql5] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset sqlite2] && ![variant_isset sqlite3]} { 114 121 default_variants +client_only 115 122 } 116 123