File tree 3 files changed +32
-32
lines changed
3 files changed +32
-32
lines changed Original file line number Diff line number Diff line change
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
+
1
7
## 2.6-7.6.9 2024-05-23 <dave at tiredofit dot ca >
2
8
3
9
### Added
Original file line number Diff line number Diff line change @@ -44,35 +44,29 @@ RUN source /assets/functions/00-container && \
44
44
&& \
45
45
\
46
46
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
+ && \
76
70
\
77
71
mkdir -p /usr/src/pbzip2 && \
78
72
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 && \
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ configure_ldap_server() {
228
228
fi
229
229
230
230
# 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
232
232
new_install=true
233
233
print_warn "First time install detected"
234
234
@@ -321,12 +321,12 @@ EOF
321
321
chown -R ldap:ldap "${CONFIG_PATH}"
322
322
323
323
# 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
325
325
print_error "The database directory (${DB_PATH}) is empty but not the config directory (${CONFIG_PATH}/slapd.d)"
326
326
exit 1
327
327
328
328
# 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
330
330
print_error "The config directory (${CONFIG_PATH}/slapd.d) is empty but not the database directory (${DB_PATH})"
331
331
exit 1
332
332
fi
You can’t perform that action at this time.
0 commit comments