|
|
@ -109,6 +109,7 @@ rm $PKG/etc/openldap/ldap.conf.default |
|
|
|
rm $PKG/etc/openldap/slapd.conf.default |
|
|
|
mv $PKG/etc/openldap/ldap.conf $PKG/etc/openldap/ldap.conf.new |
|
|
|
mv $PKG/etc/openldap/slapd.conf $PKG/etc/openldap/slapd.conf.new |
|
|
|
sed -r -i 's|/var/lib/run/|/var/run/|' $PKG/etc/openldap/slapd.conf.new |
|
|
|
|
|
|
|
# Strip binaries |
|
|
|
find $PKG | xargs file | grep "ELF 32-bit LSB" | cut -d : -f 1 | \ |
|
|
@ -124,9 +125,10 @@ install -m 644 \ |
|
|
|
$PKG/usr/doc/$NAME |
|
|
|
cp -a doc/devel doc/drafts doc/guide doc/rfc $PKG/usr/doc/$NAME/docs |
|
|
|
|
|
|
|
# Copy slack-desc and doinst.sh files |
|
|
|
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh |
|
|
|
# Copy auxiliary files |
|
|
|
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh |
|
|
|
install -D -m 644 $CWD/rc.openldap $PKG/etc/rc.d/rc.openldap |
|
|
|
|
|
|
|
# Package the tree |
|
|
|
cd $PKG |
|
|
|