Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
openldap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
openldap
Commits
6db65fed
Commit
6db65fed
authored
Jul 27, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Makefile for new openldap version
parent
63b85e41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
22 deletions
+21
-22
Makefile
Makefile
+21
-22
No files found.
Makefile
View file @
6db65fed
all
:
all
:
tar
xf openldap-2.4.47.tgz
tar
xf openldap-2.4.50.tgz
patch
-Np1
-d
openldap-2.4.47 < openldap-2.4.47-consolidated-1.patch
patch
-Np1
-d
openldap-2.4.50 < openldap-2.4.50-consolidated-1.patch
patch
-Np1
-d
openldap-2.4.47 < openldap-2.4.47-arm64.patch
cd
openldap-2.4.50
&&
autoconf
cd
openldap-2.4.47
&&
autoconf
cd
openldap-2.4.50
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--disable-static
--enable-dynamic
--disable-debug
--disable-slapd
cd
openldap-2.4.47
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--disable-static
--enable-dynamic
--disable-debug
--disable-slapd
$(MAKE)
-C
openldap-2.4.50 depend
$(MAKE)
-C
openldap-2.4.47 depend
$(MAKE)
-C
openldap-2.4.50
$(MAKE)
-C
openldap-2.4.47
$(MAKE)
-C
openldap-2.4.50
install
$(MAKE)
-C
openldap-2.4.47
install
rm
-rf
openldap-2.4.50
rm
-rf
openldap-2.4.47
server
:
ldap-service
server
:
ldap-service
mkdir
-pv
/data/etc/openldap/slapd.d
mkdir
-pv
/data/etc/openldap/slapd.d
...
@@ -34,21 +33,21 @@ server: ldap-service
...
@@ -34,21 +33,21 @@ server: ldap-service
ln
-sv
/data/etc/shadow /etc/shadow
ln
-sv
/data/etc/shadow /etc/shadow
mv
-v
/etc/gshadow /data/etc/gshadow
mv
-v
/etc/gshadow /data/etc/gshadow
ln
-sv
/data/etc/gshadow /etc/gshadow
ln
-sv
/data/etc/gshadow /etc/gshadow
tar
xf openldap-2.4.
47
.tgz
tar
xf openldap-2.4.
50
.tgz
patch
-Np1
-d
openldap-2.4.
47 < openldap-2.4.47
-consolidated-1.patch
patch
-Np1
-d
openldap-2.4.
50 < openldap-2.4.50
-consolidated-1.patch
cd
openldap-2.4.
47
&&
autoconf
cd
openldap-2.4.
50
&&
autoconf
cd
openldap-2.4.
47
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--localstatedir
=
/var
--libexecdir
=
/usr/lib
--disable-static
--enable-debug
--with-tls
=
openssl
--enable-dynamic
--enable-crypt
--enable-slapd
--enable-modules
--enable-rlookups
--enable-backends
=
mod
--disable-ndb
--disable-sql
--disable-shell
--disable-bdb
--disable-hdb
--enable-overlays
=
mod
--with-cyrus-sasl
cd
openldap-2.4.
50
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--localstatedir
=
/var
--libexecdir
=
/usr/lib
--disable-static
--enable-debug
--with-tls
=
openssl
--enable-dynamic
--enable-crypt
--enable-slapd
--enable-modules
--enable-rlookups
--enable-backends
=
mod
--disable-ndb
--disable-sql
--disable-shell
--disable-bdb
--disable-hdb
--enable-overlays
=
mod
--with-cyrus-sasl
$(MAKE)
-C
openldap-2.4.
47
depend
$(MAKE)
-C
openldap-2.4.
50
depend
$(MAKE)
-C
openldap-2.4.
47
$(MAKE)
-C
openldap-2.4.
50
$(MAKE)
-C
openldap-2.4.
47
test
$(MAKE)
-C
openldap-2.4.
50
test
$(MAKE)
-C
openldap-2.4.
47
install
$(MAKE)
-C
openldap-2.4.
50
install
sed
-e
"s/
\.
la/.so/"
-i
/etc/openldap/slapd.
{
conf,ldif
}{
,.default
}
sed
-e
"s/
\.
la/.so/"
-i
/etc/openldap/slapd.
{
conf,ldif
}{
,.default
}
cd
openldap-2.4.
47
&&
install
-v
-dm700
-o
ldap
-g
ldap /var/lib/openldap
cd
openldap-2.4.
50
&&
install
-v
-dm700
-o
ldap
-g
ldap /var/lib/openldap
cd
openldap-2.4.
47
&&
install
-v
-dm700
-o
ldap
-g
ldap /etc/openldap/slapd.d
cd
openldap-2.4.
50
&&
install
-v
-dm700
-o
ldap
-g
ldap /etc/openldap/slapd.d
chmod
-v
640 /etc/openldap/slapd.
{
conf,ldif
}
chmod
-v
640 /etc/openldap/slapd.
{
conf,ldif
}
chown
-v
root:ldap /etc/openldap/slapd.
{
conf,ldif
}
chown
-v
root:ldap /etc/openldap/slapd.
{
conf,ldif
}
install
-v
-dm755
/usr/share/doc/openldap-2.4.
47
install
-v
-dm755
/usr/share/doc/openldap-2.4.
50
cd
openldap-2.4.
47
&&
cp
-vfr
doc/
{
drafts,rfc,guide
}
/usr/share/doc/openldap-2.4.47
cd
openldap-2.4.
50
&&
cp
-vfr
doc/
{
drafts,rfc,guide
}
/usr/share/doc/openldap-2.4.50
@
echo
"d /run/openldap 755 ldap ldap -"
>
/usr/lib/tmpfiles.d/slapd.conf
@
echo
"d /run/openldap 755 ldap ldap -"
>
/usr/lib/tmpfiles.d/slapd.conf
@
echo
"
$$
LDAP_SERVICE"
>
/lib/systemd/system/slapd.service
@
echo
"
$$
LDAP_SERVICE"
>
/lib/systemd/system/slapd.service
systemctl
enable
slapd
systemctl
enable
slapd
...
@@ -59,7 +58,7 @@ server: ldap-service
...
@@ -59,7 +58,7 @@ server: ldap-service
rm
-rf
/etc/openldap/slapd.ldif
rm
-rf
/etc/openldap/slapd.ldif
rm
-rf
/etc/openldap/slapd.ldif.default
rm
-rf
/etc/openldap/slapd.ldif.default
rm
-rf
openldap-2.4.
47
rm
-rf
openldap-2.4.
50
ldap-service
:
ldap-service
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment