Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (6)
rules: Don't use multiarch path.
· 17638d28
Timo Aaltonen
authored
Apr 16, 2018
17638d28
releasing package bind-dyndb-ldap version 11.1-3
· bee22c38
Timo Aaltonen
authored
Apr 16, 2018
bee22c38
postinst: Migrate old style named.conf to new.
· 325930f3
Timo Aaltonen
authored
Apr 21, 2018
325930f3
control: Update the maintainer address.
· 71508cb4
Timo Aaltonen
authored
Jul 31, 2018
71508cb4
Bump policy to 4.15, dh to 11.
· 09c2c9e2
Timo Aaltonen
authored
Jul 31, 2018
09c2c9e2
releasing package bind-dyndb-ldap version 11.1-4
· 4a9031ea
Timo Aaltonen
authored
Jul 31, 2018
4a9031ea
Hide whitespace changes
Inline
Side-by-side
debian/bind9-dyndb-ldap.install
View file @
4a9031ea
usr
/
lib
usr
/
lib
/
bind
usr
/
share
/
doc
/
debian/bind9-dyndb-ldap.postinst
View file @
4a9031ea
#!/bin/sh
#!/bin/
ba
sh
set
-e
fix_named_conf
()
{
# The following sed script:
# - scopes the named.conf changes to dynamic-db
# - replaces arg "name value" syntax with name "value"
# - changes dynamic-db header to dyndb
# - uses the new way the define path to the library
# - removes no longer supported arguments (library, cache_ttl,
# psearch, serial_autoincrement, zone_refresh)
while
read
-r
PATTERN
do
SEDSCRIPT+
=
"
$PATTERN
"
done
<<
EOF
/^
\s
*dynamic-db/,/};/ {
s/
\(\s
*
\)
arg
\s\+\(
["']
\)\(
[a-zA-Z_]
\+\s\)
/
\1\3\2
/g;
s/^dynamic-db/dyndb/;
s@
\(
dyndb "[^"]
\+
"
\)
@
\1
"/usr/lib/bind/ldap.so"@;
s@
\(
dyndb '[^']
\+
'
\)
@
\1
'/usr/lib/bind/ldap.so'@;
/
\s
*library[^;]
\+
;/d;
/
\s
*cache_ttl[^;]
\+
;/d;
/
\s
*psearch[^;]
\+
;/d;
/
\s
*serial_autoincrement[^;]
\+
;/d;
/
\s
*zone_refresh[^;]
\+
;/d;
}
EOF
sed
-i
.bak
-e
"
$SEDSCRIPT
"
/etc/bind/named.conf
}
if
[
$1
=
"configure"
]
;
then
chown
root:bind /var/cache/bind/dynamic /var/cache/bind/dyndb-ldap
chmod
0770 /var/cache/bind/dynamic /var/cache/bind/dyndb-ldap
if
dpkg
--compare-versions
"
$2
"
lt
"11.1-4"
;
then
fix_named_conf
fi
fi
#DEBHELPER#
debian/changelog
View file @
4a9031ea
bind-dyndb-ldap (11.1-3) UNRELEASED; urgency=medium
bind-dyndb-ldap (11.1-4) unstable; urgency=medium
* postinst: Migrate old style named.conf to new.
* control: Update the maintainer address.
* Bump policy to 4.15, dh to 11.
-- Timo Aaltonen <tjaalton@debian.org> Tue, 31 Jul 2018 23:44:13 +0300
bind-dyndb-ldap (11.1-3) unstable; urgency=medium
* control: Update VCS urls.
* rules: Don't use multiarch path.
-- Timo Aaltonen <tjaalton@debian.org>
Sat
, 1
4
Apr 2018 1
0:20:1
8 +0300
-- Timo Aaltonen <tjaalton@debian.org>
Mon
, 1
6
Apr 2018 1
3:02:4
8 +0300
bind-dyndb-ldap (11.1-2) unstable; urgency=medium
...
...
debian/compat
View file @
4a9031ea
9
11
debian/control
View file @
4a9031ea
Source: bind-dyndb-ldap
Section: net
Priority: optional
Maintainer: Debian FreeIPA Team <pkg-freeipa-devel@
lists.
alioth.debian.
org
>
Maintainer: Debian FreeIPA Team <pkg-freeipa-devel@alioth
-lists
.debian.
net
>
Uploaders: Timo Aaltonen <tjaalton@debian.org>
Build-Depends:
debhelper (>= 9),
dh-autoreconf,
debhelper (>= 11),
libbind-dev (>= 1:9.11),
libkrb5-dev,
libldap2-dev,
libsasl2-dev,
uuid-dev,
Standards-Version:
3.9.8
Standards-Version:
4.1.5
Homepage: https://pagure.io/bind-dyndb-ldap
Vcs-Git: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap.git
Vcs-Browser: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap
...
...
debian/rules
View file @
4a9031ea
#!/usr/bin/make -f
%:
dh $@
--parallel --with autoreconf
--builddirectory=build
dh $@ --builddirectory=build
override_dh_auto_configure:
dh_auto_configure -- \
--libdir=/usr/lib \
--docdir=/usr/share/doc/bind9-dyndb-ldap
override_dh_auto_install:
...
...