Skip to content

Commit 8cc9b47

Browse files
committed
Release 2.6-7.6.10 - See CHANGELOG.md
1 parent 84ce59c commit 8cc9b47

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.6-7.6.10 2024-06-17 <dave at tiredofit dot ca>
2+
3+
### Added
4+
- Rebuild of 2.6-7.6.9
5+
6+
17
## 2.6-7.6.9 2024-05-23 <dave at tiredofit dot ca>
28

39
### Added

Diff for: Dockerfile

+23-29
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,29 @@ RUN source /assets/functions/00-container && \
4444
&& \
4545
\
4646
package install .openldap-run-deps \
47-
aws-cli \
48-
bzip2 \
49-
cyrus-sasl \
50-
coreutils \
51-
cracklib \
52-
iptables \
53-
libevent \
54-
libltdl \
55-
libuuid \
56-
libintl \
57-
libsasl \
58-
libsodium \
59-
libuuid \
60-
openssl \
61-
perl \
62-
pigz \
63-
sed \
64-
tar \
65-
unixodbc \
66-
xz \
67-
zstd \
68-
&& \
69-
\
70-
mkdir -p /usr/src/pixz && \
71-
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 && \
72-
cd /usr/src/pixz && \
73-
./configure && \
74-
make -j$(getconf _NPROCESSORS_ONLN) && \
75-
make install && \
47+
aws-cli \
48+
bzip2 \
49+
cyrus-sasl \
50+
coreutils \
51+
cracklib \
52+
iptables \
53+
libevent \
54+
libltdl \
55+
libuuid \
56+
libintl \
57+
libsasl \
58+
libsodium \
59+
libuuid \
60+
openssl \
61+
perl \
62+
pigz \
63+
pixz \
64+
sed \
65+
tar \
66+
unixodbc \
67+
xz \
68+
zstd \
69+
&& \
7670
\
7771
mkdir -p /usr/src/pbzip2 && \
7872
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 && \

Diff for: install/assets/functions/10-openldap

+3-3
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ configure_ldap_server() {
228228
fi
229229

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

@@ -321,12 +321,12 @@ EOF
321321
chown -R ldap:ldap "${CONFIG_PATH}"
322322

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

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

0 commit comments

Comments
 (0)