Skip to content

Commit

Permalink
Release 2.6-7.6.10 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Jun 17, 2024
1 parent 84ce59c commit 8cc9b47
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.6-7.6.10 2024-06-17 <dave at tiredofit dot ca>

### Added
- Rebuild of 2.6-7.6.9


## 2.6-7.6.9 2024-05-23 <dave at tiredofit dot ca>

### Added
Expand Down
52 changes: 23 additions & 29 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,35 +44,29 @@ RUN source /assets/functions/00-container && \
&& \
\
package install .openldap-run-deps \
aws-cli \
bzip2 \
cyrus-sasl \
coreutils \
cracklib \
iptables \
libevent \
libltdl \
libuuid \
libintl \
libsasl \
libsodium \
libuuid \
openssl \
perl \
pigz \
sed \
tar \
unixodbc \
xz \
zstd \
&& \
\
mkdir -p /usr/src/pixz && \
curl -ssL https://github.com/vasi/pixz/releases/download/v1.0.7/pixz-1.0.7.tar.gz | tar xfz - --strip=1 -C /usr/src/pixz && \
cd /usr/src/pixz && \
./configure && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install && \
aws-cli \
bzip2 \
cyrus-sasl \
coreutils \
cracklib \
iptables \
libevent \
libltdl \
libuuid \
libintl \
libsasl \
libsodium \
libuuid \
openssl \
perl \
pigz \
pixz \
sed \
tar \
unixodbc \
xz \
zstd \
&& \
\
mkdir -p /usr/src/pbzip2 && \
curl -ssL https://launchpad.net/pbzip2/1.1/1.1.13/+download/pbzip2-1.1.13.tar.gz | tar xfz - --strip=1 -C /usr/src/pbzip2 && \
Expand Down
6 changes: 3 additions & 3 deletions install/assets/functions/10-openldap
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ configure_ldap_server() {
fi

# setup bootstrap config - Part 1
if [ -z "$(ls -A -I lost+found "${DB_PATH}")" ] && [ -z "$(ls -A -I lost+found "${CONFIG_PATH}"/slapd.d)" ]; then
if dir_empty "${DB_PATH}" && dir_empty "${CONFIG_PATH}"/slapd.d; then
new_install=true
print_warn "First time install detected"

Expand Down Expand Up @@ -321,12 +321,12 @@ EOF
chown -R ldap:ldap "${CONFIG_PATH}"

# Error: the database directory (${DB_PATH}) is empty but not the config directory (${CONFIG_PATH}slapd.d)
elif [ -z "$(ls -A -I lost+found "${DB_PATH}")" ] && [ ! -z "$(ls -A -I lost+found "${CONFIG_PATH}"/slapd.d)" ]; then
elif dir_empty "${DB_PATH}" && dir_notempty "${CONFIG_PATH}"/slapd.d ; then
print_error "The database directory (${DB_PATH}) is empty but not the config directory (${CONFIG_PATH}/slapd.d)"
exit 1

# Error: the config directory (${CONFIG_PATH}slapd.d) is empty but not the database directory (${DB_PATH})
elif [ ! -z "$(ls -A -I lost+found "${DB_PATH}")" ] && [ -z "$(ls -A -I lost+found "${CONFIG_PATH}"/slapd.d)" ]; then
elif dir_notempty "${DB_PATH}" && dir_empty "${CONFIG_PATH}" ; then
print_error "The config directory (${CONFIG_PATH}/slapd.d) is empty but not the database directory (${DB_PATH})"
exit 1
fi
Expand Down

0 comments on commit 8cc9b47

Please sign in to comment.