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
94b8e083
Commit
94b8e083
authored
26 years ago
by
Julio Sánchez Fernández
Browse files
Options
Downloads
Patches
Plain Diff
slapd.conf and friends were being modified during the install step
parent
62f71f60
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
+12
-5
12 additions, 5 deletions
servers/slapd/Makefile.in
with
12 additions
and
5 deletions
servers/slapd/Makefile.in
+
12
−
5
View file @
94b8e083
...
...
@@ -35,6 +35,7 @@ all-local-srv: FORCE
$(
MAKE
)
$(
MFLAGS
)
backendslib
$(
MAKE
)
$(
MFLAGS
)
slapd
(
cd
tools
;
$(
MAKE
)
$(
MFLAGS
)
all
)
$(
MAKE
)
$(
MFLAGS
)
all-cffiles
slapd
:
version.o
$(
LTLINK
)
-o
$@
$(
OBJS
)
version.o
$(
LIBS
)
...
...
@@ -98,6 +99,7 @@ clean-local-srv: FORCE
(
cd
$$
i
;
$(
MAKE
)
$(
MFLAGS
)
clean
)
;
\
fi
;
\
done
rm
-f
*
.tmp all-cffiles
veryclean-local-srv
:
FORCE
@
for
i
in
back-
*
shell-backends tools
;
do
\
...
...
@@ -116,18 +118,24 @@ install-slapd: FORCE
CFFILES
=
slapd.conf slapd.at.conf slapd.oc.conf
all-cffiles
:
@
for
i
in
$(
CFFILES
);
do
\
tmpcf
=
$$
i.tmp
;
\
$(
SED
)
-e
's;%SYSCONFDIR%;
$(
sysconfdir
)
;'
\
-e
's;%LOCALSTATEDIR%;
$(
localstatedir
)
;'
\
$(
srcdir
)
/
$$
i
>
$$
tmpcf
;
\
done
touch
all-cffiles
install-conf
:
FORCE
@
-
$(
MKDIR
)
$(
sysconfdir
)
@
for
i
in
$(
CFFILES
);
do
\
tmpcf
=
/tmp/
$$
i.
$$
;
\
tmpcf
=
$$
i.
tmp
;
\
if
test
$$
i
=
slapd.conf
;
then
\
mode
=
600
;
\
else
\
mode
=
644
;
\
fi
;
\
$(
SED
)
-e
's;%SYSCONFDIR%;
$(
sysconfdir
)
;'
\
-e
's;%LOCALSTATEDIR%;
$(
localstatedir
)
;'
\
$(
srcdir
)
/
$$
i
>
$$
tmpcf
;
\
if
test
!
-f
$(
sysconfdir
)
/
$$
i
;
then
\
echo
"installing
$$
i in
$(
sysconfdir
)
"
;
\
echo
"
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
$$
mode
$$
tmpcf
$(
sysconfdir
)
/
$$
i"
;
\
...
...
@@ -136,7 +144,6 @@ install-conf: FORCE
echo
"PRESERVING EXISTING CONFIGURATION FILE
$(
sysconfdir
)
/
$$
i"
;
\
fi
;
\
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
$$
mode
$$
tmpcf
$(
sysconfdir
)
/
$$
i.default
;
\
$(
RM
)
-f
$$
tmpcf
;
\
done
install-tools
:
FORCE
...
...
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