diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-10-11 19:36:24 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-10-11 19:36:24 +0000 |
commit | e9faba69667fb5874d9ad340f6182aae696329ba (patch) | |
tree | 0229a66c18a77adb07f37c27f042e33a1f91cfc1 /app-backup/bacula | |
parent | x86 stable (diff) | |
download | gentoo-2-e9faba69667fb5874d9ad340f6182aae696329ba.tar.gz gentoo-2-e9faba69667fb5874d9ad340f6182aae696329ba.tar.bz2 gentoo-2-e9faba69667fb5874d9ad340f6182aae696329ba.zip |
remove vulnerable version
(Portage version: 2.0.53_rc3)
Diffstat (limited to 'app-backup/bacula')
-rw-r--r-- | app-backup/bacula/ChangeLog | 6 | ||||
-rw-r--r-- | app-backup/bacula/bacula-1.34.4.ebuild | 164 | ||||
-rw-r--r-- | app-backup/bacula/files/bacula-init | 62 | ||||
-rw-r--r-- | app-backup/bacula/files/digest-bacula-1.34.4 | 1 |
4 files changed, 5 insertions, 228 deletions
diff --git a/app-backup/bacula/ChangeLog b/app-backup/bacula/ChangeLog index 1a0a4304619f..e3b1975dd630 100644 --- a/app-backup/bacula/ChangeLog +++ b/app-backup/bacula/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-backup/bacula # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/ChangeLog,v 1.7 2005/10/11 17:57:52 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/ChangeLog,v 1.8 2005/10/11 19:36:24 dragonheart Exp $ + + 11 Oct 2005; Daniel Black <dragonheart@gentoo.org> -files/bacula-init, + -bacula-1.34.4.ebuild: + remove vulnerable version 11 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> bacula-1.36.3-r2.ebuild: diff --git a/app-backup/bacula/bacula-1.34.4.ebuild b/app-backup/bacula/bacula-1.34.4.ebuild deleted file mode 100644 index 9be059a8ee9a..000000000000 --- a/app-backup/bacula/bacula-1.34.4.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-1.34.4.ebuild,v 1.1 2005/07/04 01:52:06 robbat2 Exp $ - -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="hppa ppc sparc x86" -IUSE="readline tcpd gnome mysql sqlite X static postgres wxwindows" - -#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 ) - 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-block/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` - `use_enable tcpd tcp-wrappers` - `use_enable X x` - `use_enable wxwindows wx-console` - " - #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/}" - fi - - ./configure \ - --enable-smartalloc \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --with-pid-dir=/var/run \ - --sysconfdir=/etc/bacula \ - --infodir=/usr/share/info \ - --with-subsys-dir=/var/lib/bacula \ - --with-working-dir=/var/lib/bacula \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - emake || die "compile problem" - - if use static - 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 - fi -} - -src_install() { - make DESTDIR=${D} install || die - - if use static - 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 - fi - - rm -rf ${D}/var #empty dir - - for a in ${S}/{Changelog,CheckList,INSTALL \ - README,ReleaseNotes,kernstodo,doc/bacula.pdf} - do - dodoc $a - done - - cp -a ${S}/examples ${D}/usr/share/doc/${PF} - chown -R root:root ${D}/usr/share/doc/${PF} #hrmph :\ - dohtml -r ${S}/doc/html-manual doc/home-page - - exeinto /etc/init.d - newexe ${FILESDIR}/bacula-init bacula -} - -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 -} diff --git a/app-backup/bacula/files/bacula-init b/app-backup/bacula/files/bacula-init deleted file mode 100644 index 35002672e056..000000000000 --- a/app-backup/bacula/files/bacula-init +++ /dev/null @@ -1,62 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/bacula-init,v 1.1 2005/07/04 01:52:06 robbat2 Exp $ - -depend() { - need net - use mysql -} - -opts="test" - -# A client would only need to run the file daemon, so if thats the -# case for this machine just comment the other two out below here... -start() { - ebegin "Starting bacula storage daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ - -- -c /etc/bacula/bacula-sd.conf - result=$? - - ebegin "Starting bacula file daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ - -- -c /etc/bacula/bacula-fd.conf - result=$(( $result + $? )) - sleep 2 - - ebegin "Starting bacula director" - start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ - -- -c /etc/bacula/bacula-dir.conf - result=$(( $result + $? )) - - eend $result -} - -# The default port numbers appear in the pidfile paths below. -# Might wanna programmatically grab them from the config files -# or something... -stop() { - ebegin "Stopping bacula file daemon" - start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.9102.pid - result=$? - ebegin "Stopping bacula storage daemon" - start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.9103.pid - result=$(( $result + $? )) - ebegin "Stopping bacula director" - start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.9101.pid - result=$(( $result + $? )) - eend $result -} - -test() { - ebegin "Testing bacula storage daemon configuration" - /usr/sbin/bacula-sd -t -c /etc/bacula/bacula-sd.conf - result=$? - ebegin "Testing bacula file daemon configuration" - /usr/sbin/bacula-fd -t -c /etc/bacula/bacula-fd.conf - result=$(( $result + $? )) - ebegin "Testing bacula director configuration" - /usr/sbin/bacula-dir -t -c /etc/bacula/bacula-dir.conf - result=$(( $result + $? )) - eend $result -} diff --git a/app-backup/bacula/files/digest-bacula-1.34.4 b/app-backup/bacula/files/digest-bacula-1.34.4 deleted file mode 100644 index 45526c7cbbd1..000000000000 --- a/app-backup/bacula/files/digest-bacula-1.34.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 8c03b37e0b2d5da893fca068b8971521 bacula-1.34.4.tar.gz 4584570 |