-
Incident report
-
Resolution: Fixed
-
Trivial
-
2.4.7
-
None
Hello, guys.
I've got your Debian packaging instructions from following url:
http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix/zabbix_2.4.7-1+trusty.debian.tar.gz
In it I found duplication of commands passed to build:
CONFFLAGS_COMMON = --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--sysconfdir=/etc/zabbix \
--enable-server \
--enable-agent \
--enable-proxy \
--enable-java \
--with-jabber \
--with-ldap \
--enable-ipv6 \
--with-net-snmp \
--with-openipmi \
--with-ssh2 \
--with-libcurl \
--with-unixodbc \
--with-libxml2
<...>
CONFFLAGS_SERVER_MYSQL = $(CONFFLAGS_COMMON) --with-mysql
CONFFLAGS_SERVER_PGSQL = $(CONFFLAGS_COMMON) --with-postgresql
CONFFLAGS_SERVER_SQLITE3 = $(CONFFLAGS_COMMON) --with-sqlite3
<...>
cd $(BUILDDIR)-$(*) && ./configure $(CONFFLAGS_COMMON) $(CONFFLAGS_SERVER_$(*))
Should be:
cd $(BUILDDIR)-$(*) && ./configure $(CONFFLAGS_SERVER_$(*))
Otherwise (now) it adds same parameters twice. It's trivial but still worth to fix it I think.