diff options
author | ohauer <ohauer@FreeBSD.org> | 2010-09-04 06:13:23 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2010-09-04 06:13:23 +0800 |
commit | ebbf139e010f7fcbed7f80df6fa0d53063ae3c0c (patch) | |
tree | 19fa4a21303c144e905b5fc9ae5b14fba650b315 | |
parent | 37486610907e614f71a1b9f16c65d121a44341c2 (diff) | |
download | freebsd-ports-gnome-ebbf139e010f7fcbed7f80df6fa0d53063ae3c0c.tar.gz freebsd-ports-gnome-ebbf139e010f7fcbed7f80df6fa0d53063ae3c0c.tar.zst freebsd-ports-gnome-ebbf139e010f7fcbed7f80df6fa0d53063ae3c0c.zip |
- remove old patchfiles to close repocopy PR
- adjust s/PKGDIR/FILESDIR/g in Makefile
- add pkg-(de)install scripts to SUB_LIST
PR: 149895
Approved by: glarkin (mentor)
-rw-r--r-- | sysutils/bacula-server/Makefile | 12 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-src-cats-Makefile.in | 11 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-src-dird-Makefile.in | 17 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-src-findlib-Makefile.in | 11 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-src-lib-Makefile.in | 29 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-src-stored-Makefile.in | 62 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-src-tools-Makefile.in | 77 | ||||
-rw-r--r-- | sysutils/bacula-server/pkg-deinstall.client | 31 | ||||
-rw-r--r-- | sysutils/bacula-server/pkg-deinstall.server | 32 | ||||
-rw-r--r-- | sysutils/bacula-server/pkg-install.client | 43 | ||||
-rw-r--r-- | sysutils/bacula-server/pkg-install.server | 62 |
11 files changed, 6 insertions, 381 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index 53e29ead30ae..7659f0409283 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -41,9 +41,9 @@ USE_RC_SUBR?= bacula-dir bacula-sd .endif .if defined(WITH_CLIENT_ONLY) -SUB_FILES+= pkg-message.client +SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client .else -SUB_FILES+= pkg-message.server +SUB_FILES+= pkg-install.server pkg-deinstall.server pkg-message.server .endif # The user/group IDs below are registered, see @@ -103,16 +103,16 @@ CONFIGURE_ARGS+= --disable-nls .endif # overridden if client install -PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.server -PKGINSTALL= ${PKGDIR}/pkg-install.server +PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.server +PKGINSTALL= ${FILESDIR}/pkg-install.server # Client only or full server version .if defined(WITH_CLIENT_ONLY) CONFFILES= fd # --disable-xattr is temporary to allow build with 8-current CONFIGURE_ARGS+= --enable-client-only --disable-xattr -PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.client -PKGINSTALL= ${PKGDIR}/pkg-install.client +PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client +PKGINSTALL= ${FILESDIR}/pkg-install.client # Build a static fd binary. .if defined(WITH_SFDAEMON) CONFIGURE_ARGS+= --enable-static-fd diff --git a/sysutils/bacula-server/files/patch-src-cats-Makefile.in b/sysutils/bacula-server/files/patch-src-cats-Makefile.in deleted file mode 100644 index ffc27c953dbd..000000000000 --- a/sysutils/bacula-server/files/patch-src-cats-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/cats/Makefile.in.orig 2010-05-19 17:13:07.000000000 +0300 -+++ src/cats/Makefile.in 2010-05-19 17:15:47.000000000 +0300 -@@ -69,7 +69,7 @@ - - libbacsql.la: Makefile $(LIBBACSQL_LOBJS) - @echo "Making $@ ..." -- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACSQL_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACSQL_LT_CURRENT).$(LIBBACSQL_LT_REVISION).$(LIBBACSQL_LT_AGE) $(DB_LIBS) -+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACSQL_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACSQL_LT_CURRENT):$(LIBBACSQL_LT_REVISION):$(LIBBACSQL_LT_AGE) $(DB_LIBS) - - Makefile: $(srcdir)/Makefile.in $(topdir)/config.status - cd $(topdir) \ diff --git a/sysutils/bacula-server/files/patch-src-dird-Makefile.in b/sysutils/bacula-server/files/patch-src-dird-Makefile.in deleted file mode 100644 index faad56b4196a..000000000000 --- a/sysutils/bacula-server/files/patch-src-dird-Makefile.in +++ /dev/null @@ -1,17 +0,0 @@ ---- src/dird/Makefile.in.orig 2010-07-20 21:01:56.000000000 -0400 -+++ src/dird/Makefile.in 2010-07-20 21:04:19.000000000 -0400 -@@ -63,12 +63,13 @@ - - bacula-dir: Makefile $(SVROBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) - @echo "Linking $@ ..." -- $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o $@ $(SVROBJS) \ -+ $(LIBTOOL_LINK) $(CXX) -L../lib -L../cats -L../findlib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SVROBJS) \ - -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(DB_LIBS) $(LIBS) \ - $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) - - static-bacula-dir: Makefile $(SVROBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) - $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../cats -L../findlib -o $@ $(SVROBJS) \ -+ $(LIBTOOL_LINK) $(CXX) -static -L../lib -L../cats -L../findlib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SVROBJS) \ - -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(DB_LIBS) $(LIBS) \ - $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) - strip $@ diff --git a/sysutils/bacula-server/files/patch-src-findlib-Makefile.in b/sysutils/bacula-server/files/patch-src-findlib-Makefile.in deleted file mode 100644 index 6dfaf0a56e07..000000000000 --- a/sysutils/bacula-server/files/patch-src-findlib-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/findlib/Makefile.in.orig 2010-05-19 17:13:20.000000000 +0300 -+++ src/findlib/Makefile.in 2010-05-19 17:15:21.000000000 +0300 -@@ -59,7 +59,7 @@ - - libbacfind.la: Makefile $(LIBBACFIND_LOBJS) - @echo "Making $@ ..." -- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACFIND_LT_CURRENT).$(LIBBACFIND_LT_REVISION).$(LIBBACFIND_LT_AGE) -+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACFIND_LT_CURRENT):$(LIBBACFIND_LT_REVISION):$(LIBBACFIND_LT_AGE) - - Makefile: $(srcdir)/Makefile.in $(topdir)/config.status - cd $(topdir) \ diff --git a/sysutils/bacula-server/files/patch-src-lib-Makefile.in b/sysutils/bacula-server/files/patch-src-lib-Makefile.in deleted file mode 100644 index 0b13baf06a5f..000000000000 --- a/sysutils/bacula-server/files/patch-src-lib-Makefile.in +++ /dev/null @@ -1,29 +0,0 @@ ---- src/lib/Makefile.in.orig 2010-05-19 14:26:03.000000000 +0300 -+++ src/lib/Makefile.in 2010-05-19 17:14:18.000000000 +0300 -@@ -126,7 +126,7 @@ - - libbac.la: Makefile $(LIBBAC_LOBJS) - @echo "Making $@ ..." -- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBAC_LT_CURRENT).$(LIBBAC_LT_REVISION).$(LIBBAC_LT_AGE) $(WRAPLIBS) $(CAP_LIBS) -+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBAC_LT_CURRENT):$(LIBBAC_LT_REVISION):$(LIBBAC_LT_AGE) $(WRAPLIBS) $(CAP_LIBS) - - libbaccfg.a: $(LIBBACCFG_OBJS) - @echo "Making $@ ..." -@@ -135,7 +135,7 @@ - - libbaccfg.la: Makefile $(LIBBACCFG_LOBJS) - @echo "Making $@ ..." -- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCFG_LT_CURRENT).$(LIBBACCFG_LT_REVISION).$(LIBBACCFG_LT_AGE) -+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACCFG_LT_CURRENT):$(LIBBACCFG_LT_REVISION):$(LIBBACCFG_LT_AGE) - - libbacpy.a: $(LIBBACPY_OBJS) - @echo "Making $@ ..." -@@ -144,7 +144,7 @@ - - libbacpy.la: Makefile $(LIBBACPY_LOBJS) - @echo "Making $@ ..." -- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACPY_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACPY_LT_CURRENT).$(LIBBACPY_LT_REVISION).$(LIBBACPY_LT_AGE) $(PYTHON_LIBS) -+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACPY_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACPY_LT_CURRENT):$(LIBBACPY_LT_REVISION):$(LIBBACPY_LT_AGE) $(PYTHON_LIBS) - - Makefile: $(srcdir)/Makefile.in $(topdir)/config.status - cd $(topdir) \ diff --git a/sysutils/bacula-server/files/patch-src-stored-Makefile.in b/sysutils/bacula-server/files/patch-src-stored-Makefile.in deleted file mode 100644 index 72166b1c140a..000000000000 --- a/sysutils/bacula-server/files/patch-src-stored-Makefile.in +++ /dev/null @@ -1,62 +0,0 @@ ---- src/stored/Makefile.in.orig 2010-07-20 21:11:46.000000000 -0400 -+++ src/stored/Makefile.in 2010-07-20 21:13:47.000000000 -0400 -@@ -90,12 +90,12 @@ - - bacula-sd: Makefile $(SDOBJS) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) - @echo "Linking $@ ..." -- $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -o $@ $(SDOBJS) $(FDLIBS) \ -+ $(LIBTOOL_LINK) $(CXX) -L../lib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SDOBJS) $(FDLIBS) \ - -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(LIBS) $(WRAPLIBS) \ - $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) - - static-bacula-sd: Makefile $(SDOBJS) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -o $@ $(SDOBJS) $(FDLIBS) \ -+ $(LIBTOOL_LINK) $(CXX) -static -L../lib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SDOBJS) $(FDLIBS) \ - -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(LIBS) $(WRAPLIBS) \ - $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) - strip $@ -@@ -106,7 +106,7 @@ - -I$(basedir) $(DINCLUDE) $(CFLAGS) $< - - btape: Makefile $(TAPEOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../cats -o $@ $(TAPEOBJS) \ -+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../cats $(LDFLAGS) -o $@ $(TAPEOBJS) \ - -lbacsql -lbaccfg -lbac $(DLIB) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bls.o: bls.c -@@ -116,7 +116,7 @@ - - bls: Makefile $(BLSOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) - @echo "Compiling $<" -- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(BLSOBJS) $(DLIB) \ -+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../findlib $(LDFLAGS) -o $@ $(BLSOBJS) $(DLIB) \ - -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bextract.o: bextract.c -@@ -126,7 +126,7 @@ - - bextract: Makefile $(BEXTOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) - @echo "Compiling $<" -- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(BEXTOBJS) $(DLIB) $(FDLIBS) \ -+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../findlib $(LDFLAGS) -o $@ $(BEXTOBJS) $(DLIB) $(FDLIBS) \ - -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bscan.o: bscan.c -@@ -135,7 +135,7 @@ - -I$(basedir) $(DINCLUDE) $(CFLAGS) $< - - bscan: Makefile $(SCNOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o $@ $(SCNOBJS) \ -+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../cats -L../findlib $(LDFLAGS) -o $@ $(SCNOBJS) \ - -lbacsql $(DB_LIBS) $(FDLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bcopy.o: bcopy.c -@@ -144,7 +144,7 @@ - -I$(basedir) $(DINCLUDE) $(CFLAGS) $< - - bcopy: Makefile $(COPYOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -o $@ $(COPYOBJS) \ -+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib $(LDFLAGS) -o $@ $(COPYOBJS) \ - -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - Makefile: $(srcdir)/Makefile.in $(topdir)/config.status diff --git a/sysutils/bacula-server/files/patch-src-tools-Makefile.in b/sysutils/bacula-server/files/patch-src-tools-Makefile.in deleted file mode 100644 index 0a4b811c7193..000000000000 --- a/sysutils/bacula-server/files/patch-src-tools-Makefile.in +++ /dev/null @@ -1,77 +0,0 @@ ---- src/tools/Makefile.in.orig 2010-07-20 21:14:13.000000000 -0400 -+++ src/tools/Makefile.in 2010-07-20 21:17:34.000000000 -0400 -@@ -57,21 +57,21 @@ - @echo " " - - bsmtp: Makefile bsmtp.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ bsmtp.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) -+ $(LIBTOOL_LINK) $(CXX) -L../lib $(LDFLAGS) -o $@ bsmtp.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bregtest: Makefile bregtest.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ bregtest.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) -+ $(LIBTOOL_LINK) $(CXX) -L../lib $(LDFLAGS) -o $@ bregtest.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - dbcheck: Makefile dbcheck.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) $(DIRCONFOBJS) -- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../cats -o $@ dbcheck.o $(DIRCONFOBJS) \ -+ $(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) -o $@ dbcheck.o $(DIRCONFOBJS) \ - -lbacsql -lbaccfg -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - fstype: Makefile fstype.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../findlib -o $@ fstype.o -lbacfind -lbac -lm \ -+ $(LIBTOOL_LINK) $(CXX) -L../lib -L../findlib $(LDFLAGS) -o $@ fstype.o -lbacfind -lbac -lm \ - $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - drivetype: Makefile drivetype.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../findlib -o $@ drivetype.o -lbacfind -lbac -lm \ -+ $(LIBTOOL_LINK) $(CXX) -L../lib -L../findlib $(LDFLAGS) -o $@ drivetype.o -lbacfind -lbac -lm \ - $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - dird_conf.o: ../dird/dird_conf.c -@@ -84,31 +84,31 @@ - $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(PYTHON_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $< - - testfind: Makefile ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) $(FINDOBJS) -- $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -o $@ $(FINDOBJS) -L. -L../lib -L../findlib \ -+ $(LIBTOOL_LINK) $(CXX) -g -o $@ $(FINDOBJS) -L. -L../lib -L../findlib $(LDFLAGS) \ - $(DLIB) -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - testls: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) testls.o -- $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L. -L../lib -L../findlib -o $@ testls.o \ -+ $(LIBTOOL_LINK) $(CXX) -g -L. -L../lib -L../findlib $(LDFLAGS) -o $@ testls.o \ - $(DLIB) -lbacfind -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bregex: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) bregex.o -- $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L. -L../lib -o $@ bregex.o \ -+ $(LIBTOOL_LINK) $(CXX) -g -L. -L../lib $(LDFLAGS) -o $@ bregex.o \ - $(DLIB) -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bwild: Makefile ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) bwild.o -- $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L. -L../lib -o $@ bwild.o \ -+ $(LIBTOOL_LINK) $(CXX) -g -L. -L../lib $(LDFLAGS) -o $@ bwild.o \ - $(DLIB) -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bbatch: Makefile ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) bbatch.o -- $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -o $@ bbatch.o \ -+ $(LIBTOOL_LINK) $(CXX) -g -L../cats -L. -L../lib $(LDFLAGS) -o $@ bbatch.o \ - -lbacsql -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - bvfs_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) bvfs_test.o -- $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -L../findlib -o $@ bvfs_test.o \ -+ $(LIBTOOL_LINK) $(CXX) -g -L../cats -L. -L../lib -L../findlib $(LDFLAGS) -o $@ bvfs_test.o \ - -lbacsql -lbacfind -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - ing_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) ing_test.o -- $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -L../findlib -o $@ ing_test.o \ -+ $(LIBTOOL_LINK) $(CXX) -g -L../cats -L. -L../lib -L../findlib $(LDFLAGS) -o $@ ing_test.o \ - -lbacsql -lbacfind -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - gigaslam.o: gigaslam.c -@@ -118,7 +118,7 @@ - $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -o $@ gigaslam.o - - grow: Makefile grow.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) -- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ grow.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) -+ $(LIBTOOL_LINK) $(CXX) -L../lib $(LDFLAGS) -o $@ grow.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) - - Makefile: $(srcdir)/Makefile.in $(topdir)/config.status - cd $(topdir) \ diff --git a/sysutils/bacula-server/pkg-deinstall.client b/sysutils/bacula-server/pkg-deinstall.client deleted file mode 100644 index bfb60dbf2e71..000000000000 --- a/sysutils/bacula-server/pkg-deinstall.client +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin -TMPFILE=/tmp/services-$RANDOM-$$ -if [ -z "${BACULA_DIR}" ]; then - BACULA_DIR=/var/db/bacula -fi - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bacula port start/,/# Bacule port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BACULA_DIR} ]; then - rmdir ${BACULA_DIR}; - fi - if [ -d ${BACULA_DIR} ]; then - echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port." - fi - - # Note how to delete UID/GID - USER=bacula - GROUP=${USER} - if pw groupshow "${USER}" 2>/dev/null 1>&2; then - echo "To delete Bacula group permanently, use 'pw groupdel ${GROUP}'" - fi - ;; -esac diff --git a/sysutils/bacula-server/pkg-deinstall.server b/sysutils/bacula-server/pkg-deinstall.server deleted file mode 100644 index e924e9ac9079..000000000000 --- a/sysutils/bacula-server/pkg-deinstall.server +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin -TMPFILE=/tmp/services-$RANDOM-$$ -if [ -z "${BACULA_DIR}" ]; then - BACULA_DIR=/var/db/bacula -fi - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bacula port start/,/# Bacule port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BACULA_DIR} ]; then - rmdir ${BACULA_DIR}; - fi - if [ -d ${BACULA_DIR} ]; then - echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port." - fi - - # Note how to delete UID/GID - USER=bacula - GROUP=${USER} - if pw usershow "${USER}" 2>/dev/null 1>&2; then - echo "To delete Bacula user permanently, use 'pw userdel ${USER}'" - echo "To delete Bacula group permanently, use 'pw groupdel ${GROUP}'" - fi - ;; -esac diff --git a/sysutils/bacula-server/pkg-install.client b/sysutils/bacula-server/pkg-install.client deleted file mode 100644 index 656acca83733..000000000000 --- a/sysutils/bacula-server/pkg-install.client +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin -if [ -z "${BACULA_DIR}" ]; then - BACULA_DIR=/var/db/bacula -fi - -# Always add lines in /etc/services -grep -q "bacula-dir" /etc/services -if [ "$?" != "0" ]; then - echo "# Bacula port start -bacula-dir 9101/tcp #Bacula director daemon -bacula-fd 9102/tcp #Bacula file daemon -bacula-sd 9103/tcp #Bacula storage daemon -# Bacule port end" >> /etc/services -fi - -case $2 in -PRE-INSTALL) - # Install UID/GID - USER=bacula - GROUP=${USER} - UID=910 - GID=${UID} - - if [ ! -d ${BACULA_DIR} ]; then - mkdir -p ${BACULA_DIR} - fi - - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - chgrp -R ${GROUP} ${BACULA_DIR} - ;; -esac diff --git a/sysutils/bacula-server/pkg-install.server b/sysutils/bacula-server/pkg-install.server deleted file mode 100644 index 1dc3d8613ada..000000000000 --- a/sysutils/bacula-server/pkg-install.server +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin -if [ -z "${BACULA_DIR}" ]; then - BACULA_DIR=/var/db/bacula -fi - -# Always add lines in /etc/services -grep -q "bacula-dir" /etc/services -if [ "$?" != "0" ]; then - echo "# Bacula port start -bacula-dir 9101/tcp #Bacula director daemon -bacula-fd 9102/tcp #Bacula file daemon -bacula-sd 9103/tcp #Bacula storage daemon -# Bacule port end" >> /etc/services -fi - -case $2 in -PRE-INSTALL) - # Install UID/GID - USER=bacula - GROUP=${USER} - UID=910 - GID=${UID} - - if [ ! -d ${BACULA_DIR} ]; then - mkdir -p ${BACULA_DIR} - fi - - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - if pw usermod ${USER} -d ${BACULA_DIR} -G operator - then - echo "Changed home directory of \"${USER}\" to \"${BACULA_DIR}\"" - else - echo "Changing home directory of \"${USER}\" to \"${BACULA_DIR}\" failed..." - exit 1 - fi - else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -G operator -h - \ - -d ${BACULA_DIR} -s /sbin/nologin -c "Bacula Daemon" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - chown -R ${USER}:${GROUP} ${BACULA_DIR} - ;; -esac |