diff options
author | demon <demon@FreeBSD.org> | 2003-02-24 12:11:05 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2003-02-24 12:11:05 +0000 |
commit | 715de68bfe666e49a5d42265be50786ecda587fe (patch) | |
tree | cabfd0d16666c06cfbc170209fd490ccd117c4e5 /sysutils/bacula | |
parent | 62877812f6bb018b8d557aba977509fb11f9561f (diff) | |
download | FreeBSD-ports-715de68bfe666e49a5d42265be50786ecda587fe.zip FreeBSD-ports-715de68bfe666e49a5d42265be50786ecda587fe.tar.gz |
New port: bacula -- network backup solution.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r-- | sysutils/bacula/Makefile | 41 | ||||
-rw-r--r-- | sysutils/bacula/distinfo | 1 | ||||
-rw-r--r-- | sysutils/bacula/files/patch-autoconf-Make.common.in | 19 | ||||
-rw-r--r-- | sysutils/bacula/files/patch-configure | 15 | ||||
-rw-r--r-- | sysutils/bacula/files/patch-scripts-Makefile.in | 25 | ||||
-rw-r--r-- | sysutils/bacula/files/patch-scripts-fd.in | 13 | ||||
-rw-r--r-- | sysutils/bacula/files/patch-src-cats-Makefile.in | 32 | ||||
-rw-r--r-- | sysutils/bacula/pkg-descr | 11 | ||||
-rw-r--r-- | sysutils/bacula/pkg-plist | 164 |
9 files changed, 321 insertions, 0 deletions
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile new file mode 100644 index 0000000..4f65ec6 --- /dev/null +++ b/sysutils/bacula/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: bacula +# Date created: 24 February 2003 +# Whom: Dmitry Sivachenko <demon@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= bacula +PORTVERSION= 1.29 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= bacula + +MAINTAINER= demon@FreeBSD.org +COMMENT= The network backup solution + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-smartalloc \ + --with-working-dir=/var/db/bacula + +.if defined(WITH_SQLITE) +CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE} +LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite +DBTYPE= sqlite +.else +CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +DBTYPE= mysql +.endif + +PLIST_SUB+= DBTYPE=${DBTYPE} + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/html-manual + ${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR} + cd ${WRKSRC}/doc && ${FIND} html-manual | \ + cpio -pdm -L -R root:wheel ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/sysutils/bacula/distinfo b/sysutils/bacula/distinfo new file mode 100644 index 0000000..4fde05c --- /dev/null +++ b/sysutils/bacula/distinfo @@ -0,0 +1 @@ +MD5 (bacula-1.29.tar.gz) = 32ea08056be1a241534841f7a98e7895 diff --git a/sysutils/bacula/files/patch-autoconf-Make.common.in b/sysutils/bacula/files/patch-autoconf-Make.common.in new file mode 100644 index 0000000..d2558dd --- /dev/null +++ b/sysutils/bacula/files/patch-autoconf-Make.common.in @@ -0,0 +1,19 @@ +--- autoconf/Make.common.in.orig Thu Jan 23 23:28:18 2003 ++++ autoconf/Make.common.in Mon Feb 24 14:16:07 2003 +@@ -30,6 +30,7 @@ + sbindir = @sbindir@ + sysconfdir = @sysconfdir@ + mandir = @mandir@/man1 ++datadir = @datadir@ + manext = 1 + + # Tools & program stuff +@@ -49,7 +50,7 @@ + RANLIB = @RANLIB@ + INSTALL = @INSTALL@ + # add the -s to the following in PRODUCTION mode +-INSTALL_PROGRAM = @INSTALL@ -m 755 ++INSTALL_PROGRAM = @INSTALL@ -s -m 755 + INSTALL_DATA = @INSTALL@ -m 644 + INSTALL_SCRIPT = @INSTALL@ -m 755 + INSTALL_CONFIG = @INSTALL@ -m 640 diff --git a/sysutils/bacula/files/patch-configure b/sysutils/bacula/files/patch-configure new file mode 100644 index 0000000..f7b2bec --- /dev/null +++ b/sysutils/bacula/files/patch-configure @@ -0,0 +1,15 @@ +--- configure.orig Mon Feb 24 12:03:22 2003 ++++ configure Mon Feb 24 12:04:31 2003 +@@ -3944,9 +3944,9 @@ + { echo "configure: error: Unable to find sqlite.h in standard locations" 1>&2; exit 1; } + fi + else +- if test -f $withval/sqlite.h; then +- SQLITE_INCDIR=$withval +- SQLITE_LIBDIR=$withval ++ if test -f $withval/include/sqlite.h; then ++ SQLITE_INCDIR=$withval/include ++ SQLITE_LIBDIR=$withval/lib + SQLITE_BINDIR=$withval + else + echo "$ac_t""no" 1>&6 diff --git a/sysutils/bacula/files/patch-scripts-Makefile.in b/sysutils/bacula/files/patch-scripts-Makefile.in new file mode 100644 index 0000000..c8b4695 --- /dev/null +++ b/sysutils/bacula/files/patch-scripts-Makefile.in @@ -0,0 +1,25 @@ +--- scripts/Makefile.in.orig Mon Feb 24 13:44:14 2003 ++++ scripts/Makefile.in Mon Feb 24 13:54:57 2003 +@@ -31,14 +31,14 @@ + $(MKDIR) $(DESTDIR)$(sbindir) + + install: installdirs +- $(INSTALL_SCRIPT) startmysql $(DESTDIR)$(sysconfdir)/startmysql +- $(INSTALL_SCRIPT) stopmysql $(DESTDIR)$(sysconfdir)/stopmysql +- $(INSTALL_SCRIPT) console $(DESTDIR)$(sysconfdir)/console +- $(INSTALL_SCRIPT) bacula $(DESTDIR)$(sysconfdir)/bacula +- $(INSTALL_SCRIPT) fd $(DESTDIR)$(sysconfdir)/fd +- $(INSTALL_SCRIPT) mtx-changer $(DESTDIR)$(sysconfdir)/mtx-changer +- $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sbindir)/btraceback +- $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(sbindir)/btraceback.gdb ++# $(INSTALL_SCRIPT) startmysql $(DESTDIR)$(sysconfdir)/startmysql ++# $(INSTALL_SCRIPT) stopmysql $(DESTDIR)$(sysconfdir)/stopmysql ++# $(INSTALL_SCRIPT) console $(DESTDIR)$(sysconfdir)/console ++ $(INSTALL_SCRIPT) bacula $(DESTDIR)$(sysconfdir)/rc.d/bacula.sh.sample ++ $(INSTALL_SCRIPT) fd $(DESTDIR)$(sysconfdir)/rc.d/fd.sh.sample ++# $(INSTALL_SCRIPT) mtx-changer $(DESTDIR)$(sysconfdir)/mtx-changer ++# $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sbindir)/btraceback ++# $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(sbindir)/btraceback.gdb + + uninstall: + (cd $(DESTDIR)$(sysconfdir); $(RMF) startmysql) diff --git a/sysutils/bacula/files/patch-scripts-fd.in b/sysutils/bacula/files/patch-scripts-fd.in new file mode 100644 index 0000000..783b842 --- /dev/null +++ b/sysutils/bacula/files/patch-scripts-fd.in @@ -0,0 +1,13 @@ +--- scripts/fd.in.orig Mon Feb 24 13:49:20 2003 ++++ scripts/fd.in Mon Feb 24 13:49:59 2003 +@@ -135,8 +135,8 @@ + return 1 + fi + fi +- # See if /var/lock/subsys/$1 exists +- if [ -f /var/lock/subsys/$1 ]; then ++ # See if @subsysdir@/$1 exists ++ if [ -f @subsysdir@/$1 ]; then + echo "$1 dead but subsys locked" + return 2 + fi diff --git a/sysutils/bacula/files/patch-src-cats-Makefile.in b/sysutils/bacula/files/patch-src-cats-Makefile.in new file mode 100644 index 0000000..599be66 --- /dev/null +++ b/sysutils/bacula/files/patch-src-cats-Makefile.in @@ -0,0 +1,32 @@ +--- src/cats/Makefile.in.orig Fri Jan 3 22:09:11 2003 ++++ src/cats/Makefile.in Mon Feb 24 14:07:35 2003 +@@ -12,6 +12,7 @@ + thisdir = src/cats + + DEBUG=@DEBUG@ ++MKDIR=$(topdir)/autoconf/mkinstalldirs + + SQL_INC=@SQL_INCLUDE@ + +@@ -70,13 +71,14 @@ + (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS) + + install: +- $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(sysconfdir)/create_@DB_NAME@_database +- $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(sysconfdir)/drop_@DB_NAME@_tables +- $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(sysconfdir)/make_@DB_NAME@_tables +- $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(sysconfdir)/drop_bacula_tables +- $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(sysconfdir)/make_bacula_tables +- $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(sysconfdir)/make_catalog_backup +- $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(sysconfdir)/delete_catalog_backup ++ $(MKDIR) $(DESTDIR)$(datadir)/bacula ++ $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(datadir)/bacula/create_@DB_NAME@_database ++ $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/drop_@DB_NAME@_tables ++ $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/make_@DB_NAME@_tables ++ $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(datadir)/bacula/drop_bacula_tables ++ $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(datadir)/bacula/make_bacula_tables ++ $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(datadir)/bacula/make_catalog_backup ++ $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(datadir)/bacula/delete_catalog_backup + + uninstall: + (cd $(DESTDIR)$(sysconfdir); $(RMF) create_@DB_NAME@_database) diff --git a/sysutils/bacula/pkg-descr b/sysutils/bacula/pkg-descr new file mode 100644 index 0000000..4167c26 --- /dev/null +++ b/sysutils/bacula/pkg-descr @@ -0,0 +1,11 @@ +Bacula is a set of computer programs that permit you (or the system +administrator) to manage backup, recovery, and verification of +computer data across a network of computers of different kinds. +In technical terms, it is a network Client/Server based backup program. +Bacula is relatively easy to use and efficient, while offering many +advanced storage management features that make it easy to find and +recover lost or damaged files. Due to its modular design, Bacula is +scalable from small single computer systems to systems consisting of +hundreds of computers located over a large network. + +WWW: http://www.bacula.org/ diff --git a/sysutils/bacula/pkg-plist b/sysutils/bacula/pkg-plist new file mode 100644 index 0000000..2df4405 --- /dev/null +++ b/sysutils/bacula/pkg-plist @@ -0,0 +1,164 @@ +etc/bacula-dir.conf +etc/bacula-fd.conf +etc/bacula-sd.conf +etc/console.conf +etc/query.sql +etc/rc.d/bacula.sh.sample +etc/rc.d/fd.sh.sample +sbin/bacula-dir +sbin/bacula-fd +sbin/bacula-sd +sbin/bextract +sbin/bls +sbin/bscan +sbin/btape +sbin/console +sbin/dbcheck +sbin/smtp +share/bacula/create_%%DBTYPE%%_database +share/bacula/delete_catalog_backup +share/bacula/drop_bacula_tables +share/bacula/drop_%%DBTYPE%%_tables +share/bacula/make_bacula_tables +share/bacula/make_%%DBTYPE%%_tables +share/bacula/make_catalog_backup +%%PORTDOCS%%share/doc/bacula/bacula.pdf +%%PORTDOCS%%share/doc/bacula/html-manual/.cvsignore +%%PORTDOCS%%share/doc/bacula/html-manual/Bacula.apf +%%PORTDOCS%%share/doc/bacula/html-manual/add-nav.list +%%PORTDOCS%%share/doc/bacula/html-manual/add-nav.pl +%%PORTDOCS%%share/doc/bacula/html-manual/autochangers.html +%%PORTDOCS%%share/doc/bacula/html-manual/autochangers.wml +%%PORTDOCS%%share/doc/bacula/html-manual/back.gif +%%PORTDOCS%%share/doc/bacula/html-manual/bacula-features.html +%%PORTDOCS%%share/doc/bacula/html-manual/bacula-features.wml +%%PORTDOCS%%share/doc/bacula/html-manual/bacula-logo.gif +%%PORTDOCS%%share/doc/bacula/html-manual/bacula-styles.css +%%PORTDOCS%%share/doc/bacula/html-manual/bacula.book +%%PORTDOCS%%share/doc/bacula/html-manual/bacula.html +%%PORTDOCS%%share/doc/bacula/html-manual/bacula.wml +%%PORTDOCS%%share/doc/bacula/html-manual/bacula_template.inc +%%PORTDOCS%%share/doc/bacula/html-manual/bclogo.gif +%%PORTDOCS%%share/doc/bacula/html-manual/bootstrap.html +%%PORTDOCS%%share/doc/bacula/html-manual/bootstrap.wml +%%PORTDOCS%%share/doc/bacula/html-manual/bugs.html +%%PORTDOCS%%share/doc/bacula/html-manual/bugs.wml +%%PORTDOCS%%share/doc/bacula/html-manual/catalog.html +%%PORTDOCS%%share/doc/bacula/html-manual/catalog.wml +%%PORTDOCS%%share/doc/bacula/html-manual/catmaintenance.html +%%PORTDOCS%%share/doc/bacula/html-manual/catmaintenance.wml +%%PORTDOCS%%share/doc/bacula/html-manual/configure.html +%%PORTDOCS%%share/doc/bacula/html-manual/configure.wml +%%PORTDOCS%%share/doc/bacula/html-manual/console.html +%%PORTDOCS%%share/doc/bacula/html-manual/console.wml +%%PORTDOCS%%share/doc/bacula/html-manual/consoleconf.html +%%PORTDOCS%%share/doc/bacula/html-manual/consoleconf.wml +%%PORTDOCS%%share/doc/bacula/html-manual/daemonprotocol.html +%%PORTDOCS%%share/doc/bacula/html-manual/daemonprotocol.wml +%%PORTDOCS%%share/doc/bacula/html-manual/developers.html +%%PORTDOCS%%share/doc/bacula/html-manual/developers.wml +%%PORTDOCS%%share/doc/bacula/html-manual/dirdconf.html +%%PORTDOCS%%share/doc/bacula/html-manual/dirdconf.wml +%%PORTDOCS%%share/doc/bacula/html-manual/director.html +%%PORTDOCS%%share/doc/bacula/html-manual/director.wml +%%PORTDOCS%%share/doc/bacula/html-manual/error.gif +%%PORTDOCS%%share/doc/bacula/html-manual/faq.html +%%PORTDOCS%%share/doc/bacula/html-manual/faq.wml +%%PORTDOCS%%share/doc/bacula/html-manual/file.gif +%%PORTDOCS%%share/doc/bacula/html-manual/file.html +%%PORTDOCS%%share/doc/bacula/html-manual/file.wml +%%PORTDOCS%%share/doc/bacula/html-manual/filedconf.html +%%PORTDOCS%%share/doc/bacula/html-manual/filedconf.wml +%%PORTDOCS%%share/doc/bacula/html-manual/flow.gif +%%PORTDOCS%%share/doc/bacula/html-manual/flow.jpeg +%%PORTDOCS%%share/doc/bacula/html-manual/gpl.html +%%PORTDOCS%%share/doc/bacula/html-manual/gpl.wml +%%PORTDOCS%%share/doc/bacula/html-manual/home.gif +%%PORTDOCS%%share/doc/bacula/html-manual/idle.gif +%%PORTDOCS%%share/doc/bacula/html-manual/imgdot-1x1-000000.gif +%%PORTDOCS%%share/doc/bacula/html-manual/imgdot-1x1-transp-ffffff.gif +%%PORTDOCS%%share/doc/bacula/html-manual/index.html +%%PORTDOCS%%share/doc/bacula/html-manual/index.wml +%%PORTDOCS%%share/doc/bacula/html-manual/install.html +%%PORTDOCS%%share/doc/bacula/html-manual/install.wml +%%PORTDOCS%%share/doc/bacula/html-manual/internaldb.html +%%PORTDOCS%%share/doc/bacula/html-manual/internaldb.wml +%%PORTDOCS%%share/doc/bacula/html-manual/internals.html +%%PORTDOCS%%share/doc/bacula/html-manual/internals.wml +%%PORTDOCS%%share/doc/bacula/html-manual/kaboom.html +%%PORTDOCS%%share/doc/bacula/html-manual/kaboom.wml +%%PORTDOCS%%share/doc/bacula/html-manual/lesser.html +%%PORTDOCS%%share/doc/bacula/html-manual/lesser.wml +%%PORTDOCS%%share/doc/bacula/html-manual/license.html +%%PORTDOCS%%share/doc/bacula/html-manual/license.wml +%%PORTDOCS%%share/doc/bacula/html-manual/md5.gif +%%PORTDOCS%%share/doc/bacula/html-manual/md5.html +%%PORTDOCS%%share/doc/bacula/html-manual/md5.wml +%%PORTDOCS%%share/doc/bacula/html-manual/mediaformat.html +%%PORTDOCS%%share/doc/bacula/html-manual/mediaformat.wml +%%PORTDOCS%%share/doc/bacula/html-manual/mempool.html +%%PORTDOCS%%share/doc/bacula/html-manual/mempool.wml +%%PORTDOCS%%share/doc/bacula/html-manual/messagesres.html +%%PORTDOCS%%share/doc/bacula/html-manual/messagesres.wml +%%PORTDOCS%%share/doc/bacula/html-manual/mysql.html +%%PORTDOCS%%share/doc/bacula/html-manual/mysql.wml +%%PORTDOCS%%share/doc/bacula/html-manual/netprotocol.html +%%PORTDOCS%%share/doc/bacula/html-manual/netprotocol.wml +%%PORTDOCS%%share/doc/bacula/html-manual/next.gif +%%PORTDOCS%%share/doc/bacula/html-manual/openissues.html +%%PORTDOCS%%share/doc/bacula/html-manual/openissues.wml +%%PORTDOCS%%share/doc/bacula/html-manual/philosophical-gnu-sm.jpg +%%PORTDOCS%%share/doc/bacula/html-manual/porting.html +%%PORTDOCS%%share/doc/bacula/html-manual/porting.wml +%%PORTDOCS%%share/doc/bacula/html-manual/progs.html +%%PORTDOCS%%share/doc/bacula/html-manual/progs.wml +%%PORTDOCS%%share/doc/bacula/html-manual/projects.html +%%PORTDOCS%%share/doc/bacula/html-manual/projects.wml +%%PORTDOCS%%share/doc/bacula/html-manual/quickstart.html +%%PORTDOCS%%share/doc/bacula/html-manual/quickstart.wml +%%PORTDOCS%%share/doc/bacula/html-manual/recycling.html +%%PORTDOCS%%share/doc/bacula/html-manual/recycling.wml +%%PORTDOCS%%share/doc/bacula/html-manual/rescue.html +%%PORTDOCS%%share/doc/bacula/html-manual/rescue.wml +%%PORTDOCS%%share/doc/bacula/html-manual/restore.html +%%PORTDOCS%%share/doc/bacula/html-manual/restore.wml +%%PORTDOCS%%share/doc/bacula/html-manual/running.gif +%%PORTDOCS%%share/doc/bacula/html-manual/running.html +%%PORTDOCS%%share/doc/bacula/html-manual/running.wml +%%PORTDOCS%%share/doc/bacula/html-manual/security.html +%%PORTDOCS%%share/doc/bacula/html-manual/security.wml +%%PORTDOCS%%share/doc/bacula/html-manual/smartall.gif +%%PORTDOCS%%share/doc/bacula/html-manual/smartall.html +%%PORTDOCS%%share/doc/bacula/html-manual/smartall.wml +%%PORTDOCS%%share/doc/bacula/html-manual/sqlite.html +%%PORTDOCS%%share/doc/bacula/html-manual/sqlite.wml +%%PORTDOCS%%share/doc/bacula/html-manual/state.html +%%PORTDOCS%%share/doc/bacula/html-manual/state.wml +%%PORTDOCS%%share/doc/bacula/html-manual/status.gif +%%PORTDOCS%%share/doc/bacula/html-manual/storage.html +%%PORTDOCS%%share/doc/bacula/html-manual/storage.wml +%%PORTDOCS%%share/doc/bacula/html-manual/storedconf.html +%%PORTDOCS%%share/doc/bacula/html-manual/storedconf.wml +%%PORTDOCS%%share/doc/bacula/html-manual/thanks.gif +%%PORTDOCS%%share/doc/bacula/html-manual/thanks.html +%%PORTDOCS%%share/doc/bacula/html-manual/thanks.wml +%%PORTDOCS%%share/doc/bacula/html-manual/tips.html +%%PORTDOCS%%share/doc/bacula/html-manual/tips.wml +%%PORTDOCS%%share/doc/bacula/html-manual/verify.html +%%PORTDOCS%%share/doc/bacula/html-manual/verify.wml +%%PORTDOCS%%share/doc/bacula/html-manual/waiting.gif +%%PORTDOCS%%share/doc/bacula/html-manual/win32.html +%%PORTDOCS%%share/doc/bacula/html-manual/win32.wml +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-1.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-2.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-3.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-4.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-5.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-6.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-7.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-8.gif +%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-9.gif +%%PORTDOCS%%share/doc/bacula/html-manual/working.gif +%%PORTDOCS%%@dirrm share/doc/bacula/html-manual +%%PORTDOCS%%@dirrm share/doc/bacula +@dirrm share/bacula |