diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2005-05-15 22:44:50 +0800 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2005-05-15 22:44:50 +0800 |
commit | 86c728ec7dc745a9ea842bfa78fb798b4b8b7c9c (patch) | |
tree | de7ce849c3fe55d8198209d263f57ae1a5fe12ce /sysutils/bacula-server | |
parent | 386d6332c963789d6e4374f9495f1601c349b535 (diff) | |
download | freebsd-ports-gnome-86c728ec7dc745a9ea842bfa78fb798b4b8b7c9c.tar.gz freebsd-ports-gnome-86c728ec7dc745a9ea842bfa78fb798b4b8b7c9c.tar.zst freebsd-ports-gnome-86c728ec7dc745a9ea842bfa78fb798b4b8b7c9c.zip |
o) Update to 1.36.3
o) Docs are now in separte distfile
o) rename rc.d/bacula.sh into rc.d/z-bacula.sh to avoid
problems with old style rc environment (postgres or mysql is
started after bacula).
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r-- | sysutils/bacula-server/Makefile | 31 | ||||
-rw-r--r-- | sysutils/bacula-server/distinfo | 6 | ||||
-rw-r--r-- | sysutils/bacula-server/pkg-plist | 2 | ||||
-rw-r--r-- | sysutils/bacula-server/pkg-plist.client | 2 |
4 files changed, 25 insertions, 16 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index 48a0d32d0ed6..9db10d6ed33c 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -6,12 +6,13 @@ # PORTNAME= bacula -PORTVERSION= 1.36.2 -PORTREVISION= 0 +PORTVERSION= 1.36.3 +#PORTREVISION= 0 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= bacula PKGNAMESUFFIX?= -server +DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-doc-${PORTVERSION}.tar.gz MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE COMMENT?= The network backup solution (server) @@ -77,7 +78,7 @@ PLIST_SUB+= BACULA_DIR=${BACULA_DIR} .if defined(WITH_CLIENT_ONLY) CONFFILES= fd CONFIGURE_ARGS+= --enable-client-only -PORTDOCS= bacula.pdf ReleaseNotes html-manual +PORTDOCS= ReleaseNotes bacula.pdf developers.pdf kernstodo html-manual web-manual PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.client PKGINSTALL= ${PKGDIR}/pkg-install.client # Build gnome-console @@ -158,15 +159,18 @@ post-patch: @${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's|\(.*$$(MKDIR) $$(DESTDIR)$$(scriptdir)\)|#\1|g' ${WRKSRC}/Makefile.in .else -# In server port don't install documentation and filed - @${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)doc\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in +# In server port don't install filed @${REINPLACE_CMD} -e 's|^all_subdirs = .*|all_subdirs = scripts src\/lib src\/findlib $${subdirs}|g' ${WRKSRC}/Makefile.in .endif post-install: .if defined(WITH_CLIENT_ONLY) # Install start script - ${INSTALL_SCRIPT} ${WRKSRC}/scripts/bacula ${PREFIX}/etc/rc.d/bacula.sh.sample + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/bacula ${PREFIX}/etc/rc.d/z-bacula.sh.sample +# Migration: move existing bacula.sh to z-bacula.sh to start bacula AFTER DB start + if [ -f ${PREFIX}/etc/rc.d/bacula.sh ]; then \ + ${MV} ${PREFIX}/etc/rc.d/bacula.sh ${PREFIX}/etc/rc.d/z-bacula.sh; \ + fi # Extend only /etc/services @ ${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PORTNAME} @@ -195,11 +199,15 @@ post-install: .endif # Documentaion is only installed in -client port .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/html-manual - cd ${WRKSRC}/doc && ${FIND} html-manual | \ - ${CPIO} -pdm -L -R root:wheel ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR} + for na in html-manual web-manual; do \ + ${MKDIR} ${DOCSDIR}/$$na ;\ + cd ${WRKDIR}/${PORTNAME}-doc-${PORTVERSION} && ${FIND} $$na | \ + ${CPIO} -pdm -L -R root:wheel ${DOCSDIR}; \ + done + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-doc-${PORTVERSION}/ReleaseNotes ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-doc-${PORTVERSION}/bacula.pdf ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-doc-${PORTVERSION}/developers.pdf ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-doc-${PORTVERSION}/kernstodo ${DOCSDIR} .endif .else # Extend /etc/services and install UID/GID @@ -228,7 +236,6 @@ post-install: fi; \ done - # Inform user after install about important things .... @${ECHO_MSG} "*********************************************************************" @${ECHO_MSG} "NOTE:" diff --git a/sysutils/bacula-server/distinfo b/sysutils/bacula-server/distinfo index 17792b54c9c7..7c1b2b9b6c78 100644 --- a/sysutils/bacula-server/distinfo +++ b/sysutils/bacula-server/distinfo @@ -1,2 +1,4 @@ -MD5 (bacula-1.36.2.tar.gz) = 55a9ab6d211913fa8c73e3d07eabc189 -SIZE (bacula-1.36.2.tar.gz) = 6796181 +MD5 (bacula-1.36.3.tar.gz) = 9499d6277b8673ae7c24dcdbf89ee026 +SIZE (bacula-1.36.3.tar.gz) = 11153154 +MD5 (bacula-doc-1.36.3.tar.gz) = db08859bc193e777c76bcbf5e60f0c7e +SIZE (bacula-doc-1.36.3.tar.gz) = 4506465 diff --git a/sysutils/bacula-server/pkg-plist b/sysutils/bacula-server/pkg-plist index c970de2ba59d..4ec3aae67a80 100644 --- a/sysutils/bacula-server/pkg-plist +++ b/sysutils/bacula-server/pkg-plist @@ -1,5 +1,5 @@ %%DATADIR%%/query.sql -etc/rc.d/bacula.sh.sample +etc/rc.d/z-bacula.sh.sample sbin/chio-bacula sbin/bacula-dir sbin/bacula-sd diff --git a/sysutils/bacula-server/pkg-plist.client b/sysutils/bacula-server/pkg-plist.client index b1b22ed6ef0d..41c7f6cffdd5 100644 --- a/sysutils/bacula-server/pkg-plist.client +++ b/sysutils/bacula-server/pkg-plist.client @@ -1,4 +1,4 @@ -etc/rc.d/bacula.sh.sample +etc/rc.d/z-bacula.sh.sample sbin/bacula-fd sbin/bconsole %%GNOMECONS%%sbin/gnome-console |