FreeBSD Bugzilla – Attachment 171244 Details for
Bug 210177
sysutils/bareos-server: Added option to build LTO crypto module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to enable scsicrypto plugin
bareos-crypto.diff (text/plain), 3.21 KB, created by
Douglas K. Rand
on 2016-06-09 19:57:07 UTC
(
hide
)
Description:
Patch to enable scsicrypto plugin
Filename:
MIME Type:
Creator:
Douglas K. Rand
Created:
2016-06-09 19:57:07 UTC
Size:
3.21 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 416615) >+++ Makefile (working copy) >@@ -32,11 +32,12 @@ > CPPFLAGS+= -I/usr/include/readline -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >-OPTIONS_DEFINE?= MTX PYTHON NDMP NLS OPENSSL >+OPTIONS_DEFINE?= MTX PYTHON NDMP NLS OPENSSL SCSICRYPTO > OPTIONS_DEFAULT?= NLS OPENSSL PGSQL > OPTIONS_SUB= yes > MTX_DESC= Install mtx for control of autochanger devices > NDMP_DESC= Enable build of NDMP support >+SCSICRYPTO_DESC= Build LTO AME crypto plugin > > .if ${PKGNAMESUFFIX} == "-server" > OPTIONS_SINGLE_DATABASE= SQLITE3 MYSQL PGSQL >@@ -45,6 +46,9 @@ > > NDMP_CONFIGURE_ON= --enable-ndmp=yes > NDMP_CONFIGURE_OFF= --enable-ndmp=no >+ >+SCSICRYPTO_CONFIGURE_ON= --enable-scsi-crypto=yes >+SCSICRYPTO_CONFIGURE_OFF= --enable-scsi-crypto=no > .endif > > OPENSSL_USE= OPENSSL=yes >@@ -184,6 +188,10 @@ > # In server port don't install filed > @${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ > -e 's|src/lib||' -e 's|src/findlib||' -e 's|@FD_PLUGIN_DIR@||' ${WRKSRC}/Makefile.in >+ @${REINPLACE_CMD} -e 's|\.\./\.\./lib/libbareos|$$(LOCALBASE)/lib/libbareos|g' \ >+ ${WRKSRC}/src/plugins/dird/Makefile.in \ >+ ${WRKSRC}/src/plugins/filed/Makefile.in \ >+ ${WRKSRC}/src/plugins/stored/Makefile.in > @${REINPLACE_CMD} -e 's|../lib/|$$(LOCALBASE)/lib/|g' -e 's|../findlib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/dird/Makefile.in \ > ${WRKSRC}/src/stored/Makefile.in ${WRKSRC}/src/tools/Makefile.in > @${REINPLACE_CMD} -e 's|fd_plugins.h|filed/fd_plugins.h|g' -e 's|dir_plugins.h|dird/dir_plugins.h|g' -e 's|stored.h|stored/stored.h|g' \ >Index: files/patch-src-plugins-stored-Makefile.in >=================================================================== >--- files/patch-src-plugins-stored-Makefile.in (revision 416615) >+++ files/patch-src-plugins-stored-Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- src/plugins/stored/Makefile.in 2015-07-23 18:04:28.275396000 -0500 >-+++ src/plugins/stored/Makefile.in 2015-07-23 18:05:09.508399000 -0500 >-@@ -39,7 +39,7 @@ >- >- autoxflate-sd.la: Makefile \ >- autoxflate-sd$(DEFAULT_OBJECT_TYPE) \ >-- ../../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) >-+ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) >- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared autoxflate-sd.lo -o $@ -rpath $(plugindir) -module -export-dynamic -avoid-version -L../../lib -lbareos >- >- example-plugin-sd.la: Makefile example-plugin-sd$(DEFAULT_OBJECT_TYPE) > >Property changes on: files/patch-src-plugins-stored-Makefile.in >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 416615) >+++ pkg-plist (working copy) >@@ -18,6 +18,7 @@ > lib/bareos/plugins/bareos-sd.py.template > lib/bareos/plugins/bareos_dir_consts.py > lib/bareos/plugins/bareos_sd_consts.py >+lib/bareos/plugins/scsicrypto-sd.so > lib/bareos/scripts/bareos > lib/bareos/scripts/bareos-config > lib/bareos/scripts/bareos-config-lib.sh
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210177
:
171244
|
171279