forked from jsk-ros-pkg/jsk_robot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jsk_unitree_startup/cross] Install postfix
- Loading branch information
Showing
4 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1040-openssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
set -xeu -o pipefail | ||
|
||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/openssl/openssl-1.1.1q | ||
|
||
cd ${SOURCE_DIR} | ||
|
||
./config --prefix=/opt/jsk/${INSTALL_ROOT}/ros1_dependencies --openssldir=/opt/jsk/${INSTALL_ROOT}/ros1_dependencies/openssl | ||
|
||
make | ||
make install |
10 changes: 10 additions & 0 deletions
10
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1041-libsasl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -xeu -o pipefail | ||
|
||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/libsasl/cyrus-sasl-2.1.27 | ||
|
||
cd ${SOURCE_DIR} | ||
|
||
./configure --prefix=/opt/jsk/${INSTALL_ROOT}/ros1_dependencies | ||
|
||
make install |
65 changes: 65 additions & 0 deletions
65
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1042-postfix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#!/bin/bash | ||
set -xeu -o pipefail | ||
|
||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/postfix/postfix-3.4.3 | ||
|
||
cd ${SOURCE_DIR} | ||
|
||
INSTALL_DIR=/opt/jsk/${INSTALL_ROOT}/ros1_dependencies | ||
|
||
make makefiles \ | ||
install_root=${INSTALL_DIR} \ | ||
command_directory=${INSTALL_DIR}/sbin \ | ||
config_directory=${INSTALL_DIR}/etc/postfix \ | ||
daemon_directory=${INSTALL_DIR}/libexec/postfix \ | ||
mailq_path=${INSTALL_DIR}/bin/mailq \ | ||
manpage_directory=${INSTALL_DIR}/man \ | ||
meta_directory=${INSTALL_DIR}/etc/postfix \ | ||
newaliases_path=${INSTALL_DIR}/bin/newaliases \ | ||
sendmail_path=${INSTALL_DIR}/sbin/sendmail \ | ||
CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS -DNO_DB \ | ||
-I${INSTALL_DIR}/include/sasl \ | ||
-I${INSTALL_DIR}/include/openssl" \ | ||
AUXLIBS="-L${INSTALL_DIR}/lib -L${INSTALL_DIR}/lib/sasl2 -L${INSTALL_DIR}/openssl -lsasl2 -lssl -lcrypto -lz -lm" | ||
|
||
export LD_LIBRARY_PATH="${INSTALL_DIR}"/lib | ||
make | ||
expect -c " | ||
set timeout 100 | ||
spawn make install | ||
expect install_root: | ||
send ${INSTALL_DIR}\n | ||
expect tempdir: | ||
send \n | ||
expect config_directory: | ||
send \n | ||
expect command_directory: | ||
send \n | ||
expect daemon_directory: | ||
send \n | ||
expect data_directory: | ||
send \n | ||
expect html_directory: | ||
send \n | ||
expect mail_owner: | ||
send \n | ||
expect mailq_path: | ||
send \n | ||
expect manpage_directory: | ||
send \n | ||
expect newaliases_path: | ||
send \n | ||
expect queue_directory: | ||
send \n | ||
expect readme_directory: | ||
send \n | ||
expect sendmail_path: | ||
send \n | ||
expect setgid_group: | ||
send \n | ||
expect shlib_directory: | ||
send \n | ||
expect meta_directory: | ||
send \n | ||
expect EOF | ||
" |