diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2004-07-25 20:37:14 +0800 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2004-07-25 20:37:14 +0800 |
commit | 8c046e49c583f6d5a1e3e53adbe895df2a01f22a (patch) | |
tree | 2ea03c5553598f61ff95a4355b2a440d76447627 /sysutils/bacula-server | |
parent | 0918acfb5ce5f892d0501b70b09d9fe6a8c682ce (diff) | |
download | freebsd-ports-graphics-8c046e49c583f6d5a1e3e53adbe895df2a01f22a.tar.gz freebsd-ports-graphics-8c046e49c583f6d5a1e3e53adbe895df2a01f22a.tar.zst freebsd-ports-graphics-8c046e49c583f6d5a1e3e53adbe895df2a01f22a.zip |
o) Don't install old sample start script
o) Fix a typo
PR: ports/69285
Submitted by: Dan Langille <dan@langille.org>
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r-- | sysutils/bacula-server/Makefile | 8 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-scripts-Makefile.in | 9 | ||||
-rw-r--r-- | sysutils/bacula-server/pkg-plist | 3 |
3 files changed, 8 insertions, 12 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index 584c0f6054b..c6185ecd4dc 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= bacula PORTVERSION= 1.34.5 -PORTREVISION= 3 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= bacula @@ -38,7 +38,7 @@ CONFIGURE_ARGS= --with-tcp-wrappers=/usr/lib \ CONFIGURE_ENV+= CPPFLAGS="-I/usr/include/readline -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -OPTIONS= CLIENT_ONLY "Build bacule file daemon only" off +OPTIONS= CLIENT_ONLY "Build bacula file daemon only" off OPTIONS+= WXCONSOLE "Build with wxGTK based GUI console" off OPTIONS+= GNOMECONSOLE "Build with GNOME based GUI console" off OPTIONS+= MYSQL "Use MySQL database instead of SqLite" off @@ -53,7 +53,7 @@ USE_GNOME= libgnome .include <bsd.port.pre.mk> -PLIST_SUB+= BACULA_DIR=${BACULA_DIR} +PLIST_SUB+= BACULA_DIR=${BACULA_DIR} # Build gnome-console .if defined(WITH_GNOMECONSOLE) @@ -139,8 +139,6 @@ post-install: # Extend only /etc/services @ ${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PORTNAME} - # don't know how to make it better - ${RM} -f ${PREFIX}/etc/rc.d/bacula.sh.sample .else # Extend /etc/services and install UID/GID @ ${SETENV} PKG_PREFIX=${PREFIX} \ diff --git a/sysutils/bacula-server/files/patch-scripts-Makefile.in b/sysutils/bacula-server/files/patch-scripts-Makefile.in index f3bb3124f14..100bf38264b 100644 --- a/sysutils/bacula-server/files/patch-scripts-Makefile.in +++ b/sysutils/bacula-server/files/patch-scripts-Makefile.in @@ -3,7 +3,7 @@ *************** *** 32,46 **** $(MKDIR) $(DESTDIR)$(scriptdir) - + install: installdirs ! $(INSTALL_SCRIPT) startmysql $(DESTDIR)$(scriptdir)/startmysql ! $(INSTALL_SCRIPT) stopmysql $(DESTDIR)$(scriptdir)/stopmysql @@ -14,22 +14,21 @@ ! $(INSTALL_SCRIPT) mtx-changer $(DESTDIR)$(scriptdir)/mtx-changer ! $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(scriptdir)/btraceback.gdb ! $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sbindir)/btraceback - + uninstall: (cd $(DESTDIR)$(scriptdir); $(RMF) startmysql) --- 32,46 ---- $(MKDIR) $(DESTDIR)$(scriptdir) - + install: installdirs ! # $(INSTALL_SCRIPT) startmysql $(DESTDIR)$(scriptdir)/startmysql ! # $(INSTALL_SCRIPT) stopmysql $(DESTDIR)$(scriptdir)/stopmysql ! # $(INSTALL_SCRIPT) bconsole $(DESTDIR)$(scriptdir)/bconsole ! # $(INSTALL_SCRIPT) gconsole $(DESTDIR)$(scriptdir)/gconsole ! $(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)$(scriptdir)/mtx-changer ! # $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(scriptdir)/btraceback.gdb ! # $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sbindir)/btraceback - + uninstall: (cd $(DESTDIR)$(scriptdir); $(RMF) startmysql) diff --git a/sysutils/bacula-server/pkg-plist b/sysutils/bacula-server/pkg-plist index 4c40c62aad2..2208322d357 100644 --- a/sysutils/bacula-server/pkg-plist +++ b/sysutils/bacula-server/pkg-plist @@ -1,9 +1,8 @@ %%SERVER%%share/bacula/query.sql -%%SERVER%%etc/rc.d/bacula.sh.sample +etc/rc.d/bacula.sh.sample %%SERVER%%sbin/chio-bacula %%SERVER%%sbin/bacula-dir sbin/bacula-fd -etc/rc.d/fd.sh.sample %%SERVER%%sbin/bacula-sd %%SERVER%%sbin/bextract %%SERVER%%sbin/bls |