Ticket #44127: Portfile-7.0.4_2014-06-26.diff
File Portfile-7.0.4_2014-06-26.diff, 6.1 KB (added by robertoschwald (Robert Oschwald), 10 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name bacula 7 version 5.2.137 version 7.0.4 8 8 categories sysutils 9 9 platforms darwin 10 10 license {AGPL-3 OpenSSLException} … … 18 18 homepage http://www.bacula.org/ 19 19 master_sites sourceforge 20 20 21 checksums rmd160 bcc168143c0eec5cb5e983f765935534379f4fcf\22 sha256 a4bed458bf001889bd06bf31671b5d9908055a1d1e8113fd750ae4d326607ad821 checksums rmd160 09d033f4ea3431f57d8018647af41c1ae417652d \ 22 sha256 ebf802b843a95f6526e82dd181dff7cd7dc7d1fdc55cec8636e0fe3af69acf7e 23 23 24 24 depends_build port:pkgconfig 25 25 depends_lib port:gawk \ … … 28 28 port:ncurses \ 29 29 port:openssl \ 30 30 port:tcp_wrappers \ 31 port:zlib 31 port:zlib \ 32 port:lzo2 32 33 33 34 configure.ccache no 34 35 configure.args --mandir=${prefix}/share/man \ … … 40 41 --with-libintl-prefix=${prefix} \ 41 42 --with-openssl=${prefix} \ 42 43 --with-libiconv-prefix=${prefix} \ 43 --with-readline=${prefix} \44 44 --with-archivedir=/var/tmp \ 45 45 --with-working-dir=${prefix}/var/bacula/working \ 46 46 --with-included-gettext=${prefix} \ 47 47 --enable-smartalloc \ 48 48 --enable-largefile \ 49 -- without-sqlite\49 --enable-conio \ 50 50 --without-sqlite3 \ 51 51 --without-postgresql \ 52 52 --without-mysql \ 53 --disable-gnome \54 --disable-wx-console \55 --disable-tray-monitor \56 53 --with-tcp-wrappers 57 54 58 55 configure.cppflags-append -I${prefix}/ncurses … … 73 70 startupitem.start "\[ -x \${BIN} \] && \${BIN} -c ${prefix}/etc/bacula/bacula-fd.conf" 74 71 startupitem.stop "\[ -r \${PID} \] && /bin/kill \$(cat \${PID})" 75 72 76 variant client_only conflicts mysql5 5 postgresql83 postgresql84 sqlite2sqlite3 description "Install bacula client (bacula-fd) only" {73 variant client_only conflicts mysql51 mysql55 postgresql83 postgresql84 sqlite3 description "Install bacula client (bacula-fd) only" { 77 74 configure.args-append --enable-client-only 78 75 } 79 76 … … 95 92 notes "To use the Bacula BAT GUI, you'll need to configure \"${prefix}/etc/bacula/bat.conf\"." 96 93 } 97 94 98 variant mysql55 conflicts client_only postgresql83 postgresql84 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" { 95 variant mysql51 conflicts client_only mysql55 postgresql83 postgresql84 sqlite3 description "Install bacula client and server with mysql 5.1 backend" { 96 depends_lib-append port:mysql51 97 configure.args-append --with-mysql=${prefix}/include/mysql51/mysql 98 configure.args-delete --without-mysql 99 configure.args-append --enable-batch-insert 100 configure.cppflags-append -I${prefix}/include/mysql51/mysql 101 102 patchfiles patch-configure-mysql.diff 103 post-patch { 104 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure 105 } 106 } 107 variant mysql55 conflicts client_only mysql51 postgresql83 postgresql84 sqlite3 description "Install bacula client and server with mysql 5.5 backend" { 99 108 depends_lib-append port:mysql55 100 109 configure.args-append --with-mysql=${prefix}/include/mysql55/mysql 101 110 configure.args-delete --without-mysql 111 configure.args-append --enable-batch-insert 102 112 configure.cppflags-append -I${prefix}/include/mysql55/mysql 103 113 104 114 patchfiles patch-configure-mysql.diff … … 107 117 } 108 118 } 109 119 110 variant postgresql83 conflicts mysql5 5 postgresql84 sqlite2sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" {120 variant postgresql83 conflicts mysql51 mysql55 postgresql84 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" { 111 121 depends_lib-append port:postgresql83 112 122 configure.args-append --with-postgresql 113 123 configure.args-delete --without-postgresql 124 configure.args-append --enable-batch-insert 114 125 configure.env-append PATH=${prefix}/lib/postgresql83/bin:$env(PATH) 115 126 } 116 127 117 variant postgresql84 conflicts mysql5 5 postgresql83 sqlite2sqlite3 client_only description "Install bacula client and server with postgresql 8.4 backend" {128 variant postgresql84 conflicts mysql51 mysql55 postgresql83 sqlite3 client_only description "Install bacula client and server with postgresql 8.4 backend" { 118 129 depends_lib-append port:postgresql84 119 130 configure.args-append --with-postgresql 120 131 configure.args-delete --without-postgresql 132 configure.args-append --enable-batch-insert 121 133 configure.env-append PATH=${prefix}/lib/postgresql84/bin:$env(PATH) 122 134 } 123 135 124 variant sqlite2 conflicts client_only sqlite3 mysql55 postgresql83 postgresql84 description "Install bacula client and server with sqlite 2 backend" { 125 depends_lib-append port:sqlite2 126 configure.args-append --with-sqlite=${prefix} 127 configure.args-delete --without-sqlite 128 } 129 130 variant sqlite3 conflicts client_only sqlite2 mysql55 postgresql83 postgresql84 description "Install bacula client and server with sqlite 3 backend" { 136 variant sqlite3 conflicts client_only mysql51 mysql55 postgresql83 postgresql84 description "Install bacula client and server with sqlite 3 backend" { 131 137 depends_lib-append port:sqlite3 132 138 configure.args-append --with-sqlite3=${prefix} 133 139 configure.args-delete --without-sqlite3 … … 135 141 136 142 default_variants +console_bat 137 143 138 if {![variant_isset mysql5 5] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset sqlite2] && ![variant_isset sqlite3]} {144 if {![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset sqlite3]} { 139 145 default_variants-append +client_only 140 146 }