Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zimbra
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
zimbra
Commits
0dca566a
Commit
0dca566a
authored
Mar 27, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
/opt/zimbra -> $ZIMBRA_HOME for cyrus-sasl
parent
eeea144d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
ThirdParty/cyrus-sasl/zimbra-cyrus-sasl-build.sh
ThirdParty/cyrus-sasl/zimbra-cyrus-sasl-build.sh
+19
-19
No files found.
ThirdParty/cyrus-sasl/zimbra-cyrus-sasl-build.sh
View file @
0dca566a
...
...
@@ -58,43 +58,43 @@ cd ..
sed
-i
.bak
's/-lRSAglue //'
configure
if
[
$platform
=
"Darwin"
]
;
then
LIBS
=
"
/opt/zimbra/libxml2/lib/libxml2.a"
CFLAGS
=
"-D_REENTRANT -g -O2 -I/opt/zimbra/libxml2/include/libxml2"
./configure
--enable-zimbra
--prefix
=
/opt/zimbra
/
${
cyrus_src
}
\
--with-saslauthd
=
/opt/zimbra
/data/sasl2/state
\
--with-plugindir
=
/opt/zimbra
/
${
cyrus_src
}
/lib/sasl2
\
LIBS
=
"
${
ZIMBRA_HOME
}
/libxml2/lib/libxml2.a"
CFLAGS
=
"-D_REENTRANT -g -O2 -I
${
ZIMBRA_HOME
}
/libxml2/include/libxml2"
./configure
--enable-zimbra
--prefix
=
${
ZIMBRA_HOME
}
/
${
cyrus_src
}
\
--with-saslauthd
=
${
ZIMBRA_HOME
}
/data/sasl2/state
\
--with-plugindir
=
${
ZIMBRA_HOME
}
/
${
cyrus_src
}
/lib/sasl2
\
--enable-static
=
no
\
--enable-shared
\
--with-dblib
=
no
\
--with-devrandom
=
/dev/urandom
\
--with-openssl
=
/opt/zimbra
/openssl-
${
openssl_version
}
\
--with-libcurl
=
/opt/zimbra
/curl-
${
curl_version
}
\
--with-openssl
=
${
ZIMBRA_HOME
}
/openssl-
${
openssl_version
}
\
--with-libcurl
=
${
ZIMBRA_HOME
}
/curl-
${
curl_version
}
\
--with-gss_impl
=
heimdal
\
--enable-gssapi
=
/opt/zimbra
/heimdal-
${
heimdal_version
}
\
--with-libxml2
=
/opt/zimbra
/libxml2-
${
xml2_version
}
/bin/xml2-config
\
--with-configdir
=
/opt/zimbra
/conf/sasl2
\
--enable-gssapi
=
${
ZIMBRA_HOME
}
/heimdal-
${
heimdal_version
}
\
--with-libxml2
=
${
ZIMBRA_HOME
}
/libxml2-
${
xml2_version
}
/bin/xml2-config
\
--with-configdir
=
${
ZIMBRA_HOME
}
/conf/sasl2
\
--enable-login
else
if
[
$build_platform
=
"UBUNTU12_64"
]
;
then
xmllib
=
'/opt/zimbra/libxml2/lib/libxml2.a -lz -lm'
xmllib
=
"
${
ZIMBRA_HOME
}
/libxml2/lib/libxml2.a -lz -lm"
else
xmllib
=
'/opt/zimbra/libxml2/lib/libxml2.a'
xmllib
=
"
${
ZIMBRA_HOME
}
/libxml2/lib/libxml2.a"
fi
LIBS
=
"
${
xmllib
}
"
CFLAGS
=
"-D_REENTRANT -g -O2 -I
/opt/zimbra/libxml2/include/libxml2"
./configure
--enable-zimbra
--prefix
=
/opt/zimbra
/
${
cyrus_src
}
\
--with-saslauthd
=
/opt/zimbra
/data/sasl2/state
\
--with-plugindir
=
/opt/zimbra
/
${
cyrus_src
}
/lib/sasl2
\
LIBS
=
"
${
xmllib
}
"
CFLAGS
=
"-D_REENTRANT -g -O2 -I
${
ZIMBRA_HOME
}
/libxml2/include/libxml2"
./configure
--enable-zimbra
--prefix
=
${
ZIMBRA_HOME
}
/
${
cyrus_src
}
\
--with-saslauthd
=
${
ZIMBRA_HOME
}
/data/sasl2/state
\
--with-plugindir
=
${
ZIMBRA_HOME
}
/
${
cyrus_src
}
/lib/sasl2
\
--with-dblib
=
no
\
--with-devrandom
=
/dev/urandom
\
--with-openssl
=
/opt/zimbra
/openssl-
${
openssl_version
}
\
--with-libcurl
=
/opt/zimbra
/curl-
${
curl_version
}
\
--with-openssl
=
${
ZIMBRA_HOME
}
/openssl-
${
openssl_version
}
\
--with-libcurl
=
${
ZIMBRA_HOME
}
/curl-
${
curl_version
}
\
--with-gss_impl
=
heimdal
\
--enable-gssapi
=
/opt/zimbra
/heimdal-
${
heimdal_version
}
\
--with-libxml2
=
/opt/zimbra
/libxml2-
${
xml2_version
}
/bin/xml2-config
\
--enable-gssapi
=
${
ZIMBRA_HOME
}
/heimdal-
${
heimdal_version
}
\
--with-libxml2
=
${
ZIMBRA_HOME
}
/libxml2-
${
xml2_version
}
/bin/xml2-config
\
--with-lib-subdir
=
lib
\
--with-configdir
=
/opt/zimbra
/conf/sasl2
\
--with-configdir
=
${
ZIMBRA_HOME
}
/conf/sasl2
\
--enable-login
fi
if
[
$platform
=
"Darwin"
]
;
then
sed
-i
.bak
-e
's/\_la_LDFLAGS)/_la_LDFLAGS) $(AM_LDFLAGS)/'
plugins/Makefile
sed
-i
.bak
-e
"s|-L
/opt/zimbra
/libxml2-
${
xml2_version
}
/lib -lxml2||"
saslauthd/Makefile
sed
-i
.bak
-e
"s|-L
${
ZIMBRA_HOME
}
/libxml2-
${
xml2_version
}
/lib -lxml2||"
saslauthd/Makefile
elif
[
$build_platform
=
"F7"
-o
$build_platform
-o
"DEBIAN4.0"
]
;
then
sed
-i
.bak
-e
's/\_la_LDFLAGS)/_la_LDFLAGS) $(AM_LDFLAGS)/'
plugins/Makefile
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment