summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-04-21 16:07:26 +0300
committerAndrei Belov <defan@nginx.com>2021-04-21 16:07:26 +0300
commitf90754f84a375d5183ed6883862d19dfd417225a (patch)
treefc6f86a32c19c5a25904a6f873f014a0016997cd /pkg/deb/Makefile
parent5b332cae832c9f8245280fa60a6edc2ce48202c6 (diff)
downloadunit-f90754f84a375d5183ed6883862d19dfd417225a.tar.gz
unit-f90754f84a375d5183ed6883862d19dfd417225a.tar.bz2
Packages: switched to common address for package maintainers.
Diffstat (limited to 'pkg/deb/Makefile')
-rw-r--r--pkg/deb/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index 8c33fc53..d28351d0 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -8,6 +8,8 @@ DEFAULT_RELEASE := 1
VERSION ?= $(DEFAULT_VERSION)
RELEASE ?= $(DEFAULT_RELEASE)
+PACKAGE_VENDOR = NGINX Packaging <nginx-packaging@f5.com>
+
SRCDIR= unit-$(VERSION)
CODENAME = $(shell lsb_release -cs)
@@ -205,6 +207,9 @@ debuild/$(SRCDIR)/debian:
echo '9' > debuild/$(SRCDIR)/debian/compat ; \
mkdir -p debuild/$(SRCDIR)/debian/source ; \
echo '3.0 (quilt)' > debuild/$(SRCDIR)/debian/source/format ; \
+ cat debian/control.in | sed \
+ -e "s#%%PACKAGE_VENDOR%%#$(PACKAGE_VENDOR)#g" \
+ > debuild/$(SRCDIR)/debian/control ; \
cat debian/rules.in | sed \
-e "s#%%CONFIGURE_ARGS%%#$(CONFIGURE_ARGS)#g" \
> debuild/$(SRCDIR)/debian/rules ; \
@@ -280,6 +285,7 @@ endif
-e "s#%%UNIT_RELEASE%%#$(RELEASE)#g" \
-e "s#%%VERSION%%#$(MODULE_VERSION_$*)#g" \
-e "s#%%RELEASE%%#$(MODULE_RELEASE_$*)#g" \
+ -e "s#%%PACKAGE_VENDOR%%#$(PACKAGE_VENDOR)#g" \
-e "s#%%MODULE_BUILD_DEPENDS%%#$(MODULE_BUILD_DEPENDS_$*)#g" \
-e "s#%%MODULE_DEPENDS%%#$(MODULE_DEPENDS_$*)#g" \
> $@/$(SRCDIR)/debian/control ; \