Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
73db6bd8
Commit
73db6bd8
authored
24 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup slapd.conf sed'ing
parent
e14261ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/Makefile.in
+6
-9
6 additions, 9 deletions
servers/slapd/Makefile.in
with
6 additions
and
9 deletions
servers/slapd/Makefile.in
+
6
−
9
View file @
73db6bd8
...
...
@@ -239,13 +239,11 @@ install-slapd: FORCE
done
;
\
fi
all-cffiles
:
slapd
cf
=
slapd.conf
tmpcf
=
$$
cf.tmp
;
\
$(
SED
)
-e
's;%SYSCONFDIR%;
$(
sysconfdir
)
;'
\
-e
's;%LOCALSTATEDIR%;
$(
localstatedir
)
;'
\
-e
's;%MODULEDIR%;
$(
moduledir
)
;'
\
<
$(
srcdir
)
/
$$
cf
>
$$
tmpcf
;
\
slapd.conf
>
slapd.conf.tmp
;
\
touch
all-cffiles
install-schema
:
FORCE
...
...
@@ -265,15 +263,14 @@ install-schema: FORCE
install-conf
:
FORCE
@
-
$(
MKDIR
)
$(
DESTDIR
)$(
sysconfdir
)
@
-
$(
INSTALL
)
-m
700
-d
$(
DESTDIR
)$(
localstatedir
)
/openldap-ldbm
cf
=
slapd.conf
tmp
cf
=
$$
cf.tmp
mode
=
600
;
\
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
600
slapd.conf
.
tmp
$(
DESTDIR
)$(
sysconfdir
)
/slapd.conf.default
if
test
!
-f
$(
DESTDIR
)$(
sysconfdir
)
/
$$
cf
;
then
\
echo
"installing
$$
cf in
$(
sysconfdir
)
"
;
\
echo
"
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
$$
mode
$$
tmp
cf
$(
DESTDIR
)$(
sysconfdir
)
/
$$
i
"
;
\
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
$$
mode
$$
tmpcf
$(
DESTDIR
)$(
sysconfdir
)
/
$$
c
f
;
\
echo
"
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
600 slapd.conf.
tmp
$(
DESTDIR
)$(
sysconfdir
)
/
slapd.conf
"
;
\
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
600 slapd.conf.tmp
$(
DESTDIR
)$(
sysconfdir
)
/
slapd.con
f
;
\
else
\
echo
"PRESERVING EXISTING CONFIGURATION FILE
$(
DESTDIR
)$(
sysconfdir
)
/
$$
cf"
;
\
fi
;
\
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
$$
mode
$$
tmpcf
$(
DESTDIR
)$(
sysconfdir
)
/
$$
cf.default
echo
"PRESERVING EXISTING CONFIGURATION FILE
$(
DESTDIR
)$(
sysconfdir
)
/slapd.conf"
;
\
fi
install-tools
:
FORCE
@
-
$(
MKDIR
)
$(
DESTDIR
)$(
sbindir
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment