Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43306 Details for
Bug 68317
Maybe Bacula should be splitted
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bacula-1.34.4-clientonly.patch
bacula-1.34.4-clientonly.patch (text/plain), 6.28 KB, created by
Rodrigo Severo
on 2004-11-04 12:42:15 UTC
(
hide
)
Description:
bacula-1.34.4-clientonly.patch
Filename:
MIME Type:
Creator:
Rodrigo Severo
Created:
2004-11-04 12:42:15 UTC
Size:
6.28 KB
patch
obsolete
>--- /usr/portage/app-admin/bacula/bacula-1.34.4.ebuild 2004-10-20 15:40:18.000000000 -0300 >+++ bacula-1.34.4-r2.ebuild 2004-11-04 18:40:19.129661672 -0200 >@@ -9,54 +9,60 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="hppa ppc sparc x86" >-IUSE="readline tcpd gnome mysql sqlite X static postgres wxwindows" >+IUSE="readline tcpd gnome mysql sqlite X static postgres wxwindows clientonly" > > #theres a local sqlite use flag. use it -OR- mysql, not both. > #mysql is the reccomended choice ... >-DEPEND=">=sys-libs/zlib-1.1.4 >- readline? ( >=sys-libs/readline-4.1 ) >+DEPEND="${DEPEND} >+ >=sys-libs/zlib-1.1.4 > tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) >- gnome? ( gnome-base/gnome-libs ) >- sqlite? ( =dev-db/sqlite-2* ) >- mysql? ( >=dev-db/mysql-3.23 ) >- postgres? ( >=dev-db/postgresql-7.4.0 ) >- X? ( virtual/x11 ) > virtual/mta >- dev-libs/gmp" >-RDEPEND="${DEPEND} >- sys-apps/mtx >- app-arch/mt-st" >+ dev-libs/gmp >+ !clientonly? ( >+ gnome? ( gnome-base/gnome-libs ) >+ sqlite? ( =dev-db/sqlite-2* ) >+ mysql? ( >=dev-db/mysql-3.23 ) >+ postgres? ( >=dev-db/postgresql-7.4.0 ) >+ X? ( virtual/x11 ) >+ readline? ( >=sys-libs/readline-4.1 ) >+ )" >+RDEPEND="${RDEPEND} >+ ${DEPEND} >+ !clientonly? ( >+ sys-apps/mtx >+ app-arch/mt-st >+ )" > > src_compile() { > local myconf="" > >- #define this to skip building the other daemons ... >- [ -n "$BUILD_CLIENT_ONLY" ] \ >- && myconf="${myconf} --enable-client-only" >- >- myconf=" >- `use_enable readline` >- `use_enable gnome` >+ myconf="${myconf} > `use_enable tcpd tcp-wrappers` >- `use_enable X x` >- `use_enable wxwindows wx-console` >- " >- #not ./configure'able >- #`use_enable ssl` >+ `use_enable clientonly client-only`" >+ >+ if ! ( use clientonly ); then >+ myconf="${myconf} >+ `use_enable X x` >+ `use_enable wxwindows wx-console` >+ `use_enable readline` >+ `use_enable gnome`" >+ #not ./configure'able >+ #`use_enable ssl` > >- # mysql is the reccomended choice ... >- if use mysql >- then >- myconf="${myconf} --with-mysql=/usr" >- elif use postgres >- then >- myconf="${myconf} --with-postgresql=/usr" >- elif use sqlite >- then >- myconf="${myconf} --with-sqlite=/usr" >- elif use sqlite && use mysql >- then >- myconf="${myconf/--with-sqlite/}" >+ # mysql is the reccomended choice ... >+ if use mysql >+ then >+ myconf="${myconf} --with-mysql" >+ elif use postgres >+ then >+ myconf="${myconf} --with-postgresql" >+ elif use sqlite >+ then >+ myconf="${myconf} --with-sqlite" >+ elif use sqlite && use mysql >+ then >+ myconf="${myconf/--with-sqlite/}" >+ fi; > fi > > ./configure \ >@@ -76,22 +82,24 @@ > then > cd ${S}/src/filed > make static-baula-fd >- cd ${S}/src/console >- make static-console >- cd ${S}/src/dird >- make static-bacula-dir >- if use gnome >- then >- cd ${S}/src/gnome-console >- make static-gnome-console >- fi >- if use wxwindows >- then >- cd ${S}/src/wx-console >- make static-wx-console >- fi >- cd ${S}/src/stored >- make static-bacula-sd >+ if ! ( use clientonly ); then >+ cd ${S}/src/console >+ make static-console >+ cd ${S}/src/dird >+ make static-bacula-dir >+ if use gnome >+ then >+ cd ${S}/src/gnome-console >+ make static-gnome-console >+ fi >+ if use wxwindows >+ then >+ cd ${S}/src/wx-console >+ make static-wx-console >+ fi >+ cd ${S}/src/stored >+ make static-bacula-sd; >+ fi; > fi > } > >@@ -102,22 +110,24 @@ > then > cd ${S}/src/filed > cp static-bacula-fd ${D}/usr/sbin/bacula-fd >- cd ${S}/src/console >- cp static-console ${D}/usr/sbin/console >- cd ${S}/src/dird >- cp static-bacula-dir ${D}/usr/sbin/bacula-dir >- if use gnome >- then >- cd ${S}/src/gnome-console >- cp static-gnome-console ${D}/usr/sbin/gnome-console >- fi >- if use wxwindows >- then >- cd ${S}/src/wx-console >- cp static-wx-console ${D}/usr/sbin/wx-console >- fi >- cd ${S}/src/storge >- cp static-bacula-sd ${D}/usr/sbin/bacula-sd >+ if ! ( use clientonly ); then >+ cd ${S}/src/console >+ cp static-console ${D}/usr/sbin/console >+ cd ${S}/src/dird >+ cp static-bacula-dir ${D}/usr/sbin/bacula-dir >+ if use gnome >+ then >+ cd ${S}/src/gnome-console >+ cp static-gnome-console ${D}/usr/sbin/gnome-console >+ fi >+ if use wxwindows >+ then >+ cd ${S}/src/wx-console >+ cp static-wx-console ${D}/usr/sbin/wx-console >+ fi >+ cd ${S}/src/storge >+ cp static-bacula-sd ${D}/usr/sbin/bacula-sd; >+ fi; > fi > > rm -rf ${D}/var #empty dir >@@ -139,26 +149,28 @@ > pkg_postinst() { > # empty dir ... > install -m0755 -o root -g root -d ${ROOT}/var/lib/bacula >- einfo >- einfo "Please note either/or nature of database USE flags for" >- einfo "Bacula. If mysql is set, it will be used, else postgresql" >- einfo "else finally SQLite. If you wish to have multiple DBs on" >- einfo "one system, you may wish to unset auxillary DBs for this" >- einfo "build." >- einfo >- einfo "If this is a new install and you plan to use mysql for your" >- einfo "catalog database, then you should now create it by doing" >- einfo "these commands:" >- einfo " sh /etc/bacula/grant_mysql_privileges" >- einfo " sh /etc/bacula/create_mysql_database" >- einfo " sh /etc/bacula/make_mysql_tables" >- einfo >- einfo "Then setup your configuration files in /etc/bacula and" >- einfo "start the daemons:" >- einfo " /etc/init.d/bacula start" >- einfo >- einfo "If upgrading from version 1.30 or below, please note that" >- einfo "the database format has changed. Please read the" >- einfo "release notes for how to upgrade your database!!!" >- einfo >+ if ! ( use clientonly ); then >+ einfo >+ einfo "Please note either/or nature of database USE flags for" >+ einfo "Bacula. If mysql is set, it will be used, else postgresql" >+ einfo "else finally SQLite. If you wish to have multiple DBs on" >+ einfo "one system, you may wish to unset auxillary DBs for this" >+ einfo "build." >+ einfo >+ einfo "If this is a new install and you plan to use mysql for your" >+ einfo "catalog database, then you should now create it by doing" >+ einfo "these commands:" >+ einfo " sh /etc/bacula/grant_mysql_privileges" >+ einfo " sh /etc/bacula/create_mysql_database" >+ einfo " sh /etc/bacula/make_mysql_tables" >+ einfo >+ einfo "Then setup your configuration files in /etc/bacula and" >+ einfo "start the daemons:" >+ einfo " /etc/init.d/bacula start" >+ einfo >+ einfo "If upgrading from version 1.30 or below, please note that" >+ einfo "the database format has changed. Please read the" >+ einfo "release notes for how to upgrade your database!!!" >+ einfo; >+ fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 68317
:
42372
| 43306