Skip to content

Commit

Permalink
updated openssl path
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed May 2, 2024
1 parent 1cd8515 commit 18ff93d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/courier-imap-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: build courier-imap
run: |
cd courier-imap-x
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; else ./default.configure; fi
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make; else make; fi
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; else ./default.configure; fi
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; else make; fi
env:
OS: ${{ matrix.host }}
5 changes: 3 additions & 2 deletions .github/workflows/fetchmail-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/opt;sudo ln -sf /opt/homebrew/Cellar/openssl@3/3.3.0 /usr/local/opt/openssl; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g++ automake autoconf libtool gettext autopoint; fi
env:
OS: ${{ matrix.host }}
Expand All @@ -32,7 +33,7 @@ jobs:
- name: build fetchmail
run: |
cd fetchmail-x
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; else ./default.configure; fi
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make; else make; fi
if [ "${OS}" = "macos-latest" ] ; then env CFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; else ./default.configure; fi
if [ "${OS}" = "macos-latest" ] ; then env CFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; else make; fi
env:
OS: ${{ matrix.host }}
5 changes: 3 additions & 2 deletions .github/workflows/indimail-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl mysql gsasl; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/8.3.0_1/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/8.3.0_1/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g++ automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl7-dev; fi
if [ "${OS}" = "ubuntu-22.04" ] ; then sudo apt-get install gcc g++ automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl-dev; fi
env:
Expand All @@ -50,6 +51,6 @@ jobs:
path: libqmail

- name: install_qmail
run: cd libqmail;env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make; sudo make install-strip
run: cd libqmail;env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; sudo make install-strip
- name: build_indimail-virtualdomains
run: cd main/indimail-x; env CFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; env CFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make
run: cd main/indimail-x; env CFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make
5 changes: 3 additions & 2 deletions .github/workflows/iwebadmin-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl mysql gsasl; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/8.3.0_1/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/8.3.0_1/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g++ automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl7-dev; fi
if [ "${OS}" = "ubuntu-22.04" ] ; then sudo apt-get install gcc g++ automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl-dev; fi
env:
Expand All @@ -43,8 +44,8 @@ jobs:
path: libqmail

- name: install_qmail
run: cd libqmail;env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make; sudo make install-strip
run: cd libqmail;env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; sudo make install-strip
- name: build iwebadmin
run: |
cd main/indimail-x; env CFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; env CFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make; sudo make install
cd main/indimail-x; env CFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; sudo make install
cd ../iwebadmin-x; ./default.configure; make
2 changes: 1 addition & 1 deletion .github/workflows/logalert-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
path: libqmail

- name: install_qmail
run: cd libqmail;env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make; sudo make install-strip
run: cd libqmail;env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; sudo make install-strip
- name: build logalert
run: cd main/procmail-x; ./default.configure; make
3 changes: 2 additions & 1 deletion .github/workflows/pam-multi-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl mysql; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/8.3.0_1/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/8.3.0_1/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g++ automake autoconf libtool libpam-modules libpam0g-dev libmysqlclient-dev; fi
env:
OS: ${{ matrix.host }}
Expand All @@ -38,6 +39,6 @@ jobs:
path: libqmail

- name: install_qmail
run: cd libqmail;env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure; env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make; sudo make install-strip
run: cd libqmail;env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; sudo make install-strip
- name: build pam-multi
run: cd main/pam-multi-x; ./default.configure; make

0 comments on commit 18ff93d

Please sign in to comment.