diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-08 13:04:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-08 13:04:45 +0000 |
commit | ad3f3247ecc8a45fa801d83752627a56a7e2e0df (patch) | |
tree | c3f1c5b70ed0f5e91f645184abff50025552eaaf /debian/rules | |
parent | Merging upstream version 2:4.20.1+dfsg. (diff) | |
download | samba-ad3f3247ecc8a45fa801d83752627a56a7e2e0df.tar.xz samba-ad3f3247ecc8a45fa801d83752627a56a7e2e0df.zip |
Adding debian version 2:4.20.1+dfsg-1.debian/2%4.20.1+dfsg-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index b168f5f..5f49e1d 100755 --- a/debian/rules +++ b/debian/rules @@ -119,7 +119,7 @@ config-args += $(if ${with-ceph},\ --enable-cephfs --enable-ceph-reclock,\ --disable-cephfs) -# we had t64 transition (libsmbclient => libsmbclient0) before trixie +# we had t64 transition (libsmbclient => libsmbclient0) for trixie ifneq (,$(filter pkg.samba.before-trixie, ${DEB_BUILD_PROFILES})) libsmbclient := libsmbclient else @@ -159,6 +159,12 @@ install install-arch install-indep: %: configure: bin/configured.stamp .PHONY: configure bin/configured.stamp: +# branding + if [ ! -f VERSION.orig ]; then \ + mv VERSION VERSION.orig; \ + sed -r -e 's/^(SAMBA_VERSION_VENDOR_SUFFIX).*/\1=${DEB_VENDOR}/' \ + VERSION.orig > VERSION; \ + fi CC="${CC}" CPP="${CPP}" LD="${LD}" PKGCONFIG="${PKG_CONFIG}" \ CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ PYTHON=python3 PYTHON_CONFIG=${DEB_HOST_MULTIARCH}-python3-config \ @@ -390,6 +396,7 @@ endif clean: # see also debian/clean dh_clean bin/ testbuild/ + [ ! -f VERSION.orig ] || mv -f VERSION.orig VERSION ifneq (,${with_mitkrb5}) [ ! -d third_party/heimdal-build-with-mitkrb5 ] || \ mv third_party/heimdal-build-with-mitkrb5 third_party/heimdal |