Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions build/x86_64_amzn-2016.09/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ RUN yum -y update \
perl-devel \
perl-ExtUtils-Embed \
pkgconfig \
postgresql-devel \
python-devel \
rpm-build \
rpm-sign \
varnish-libs-devel \
which \
yajl-devel \
&& rpm -Uvh rpm-macros-rpmforge*.rpm \
Expand Down
4 changes: 0 additions & 4 deletions build/x86_64_bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ RUN apt-get update -y \
flex \
gcc \
git \
libbson-dev \
libcurl4-openssl-dev \
libhiredis-dev \
libltdl-dev \
libmongoc-dev \
libmysqlclient-dev \
libpq-dev \
libssl-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
lsb-release \
make \
Expand Down
4 changes: 0 additions & 4 deletions build/x86_64_buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ RUN apt-get -y update \
libcurl4-openssl-dev \
libhiredis-dev \
libltdl-dev \
libmongoc-dev \
libpq-dev \
libpq5 \
libssl-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
make \
pkg-config \
Expand Down
2 changes: 0 additions & 2 deletions build/x86_64_centos6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ RUN yum -y update \
openssl-devel \
perl-devel \
perl-ExtUtils-Embed \
postgresql-devel \
python-devel \
rpm-build \
varnish-libs-devel \
which \
yajl-devel \
&& yum -y clean all
2 changes: 0 additions & 2 deletions build/x86_64_centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ RUN yum -y update \
perl-devel \
perl-ExtUtils-Embed \
pkgconfig \
postgresql-devel \
python-devel \
rpm-build \
rpm-sign \
varnish-libs-devel \
which \
yajl-devel \
&& yum -y clean all
2 changes: 0 additions & 2 deletions build/x86_64_centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ RUN yum -y update \
perl-devel \
perl-ExtUtils-Embed \
pkgconfig \
postgresql-devel \
python36-devel \
rpm-build \
rpm-sign \
varnish-libs-devel \
which \
yajl-devel \
&& yum -y clean all
2 changes: 0 additions & 2 deletions build/x86_64_jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ RUN apt-get -y update \
libhiredis-dev \
libltdl-dev \
libmysqlclient-dev \
libpq-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
make \
pkg-config \
Expand Down
2 changes: 0 additions & 2 deletions build/x86_64_precise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ RUN apt-get -y update \
libhiredis-dev \
libltdl-dev \
libmysqlclient-dev \
libpq-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
lsb-release \
make \
Expand Down
2 changes: 0 additions & 2 deletions build/x86_64_sles12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ RUN zypper addrepo https://download.opensuse.org/repositories/devel:libraries:c_
libmysqlclient-devel \
make \
openssl-devel \
postgresql-devel \
hiredis-devel \
pkg-config \
python-devel \
rpm-build \
varnish-devel \
wget \
which \
&& wget https://ftp.gwdg.de/pub/opensuse/repositories/home%3A/Herbster0815/openSUSE_Leap_15.1/noarch/automake-1.16.1-lp151.92.1.noarch.rpm \
Expand Down
2 changes: 0 additions & 2 deletions build/x86_64_sles15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ RUN zypper addrepo https://download.opensuse.org/repositories/devel:/libraries:/
libmysqlclient-devel \
make \
openssl-devel \
postgresql-devel \
hiredis-devel \
pkg-config \
python-devel \
rpm-build \
varnish-devel \
wget \
which \
&& wget https://ftp.gwdg.de/pub/opensuse/repositories/home%3A/Herbster0815/openSUSE_Leap_15.1/noarch/automake-1.16.1-lp151.92.1.noarch.rpm \
Expand Down
3 changes: 0 additions & 3 deletions build/x86_64_stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ RUN apt-get -y update \
libcurl4-openssl-dev \
libhiredis-dev \
libltdl-dev \
libpq-dev \
libpq5 \
libssl1.0-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
make \
pkg-config \
Expand Down
2 changes: 0 additions & 2 deletions build/x86_64_trusty/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ RUN apt-get -y update \
libhiredis-dev \
libltdl-dev \
libmysqlclient-dev \
libpq-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
lsb-release \
make \
Expand Down
2 changes: 0 additions & 2 deletions build/x86_64_wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ RUN apt-get -y update \
libhiredis-dev \
libltdl-dev \
libmysqlclient-dev \
libpq-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
make \
pkg-config \
Expand Down
2 changes: 0 additions & 2 deletions build/x86_64_xenial/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ RUN apt-get -y update \
libhiredis-dev \
libltdl-dev \
libmysqlclient-dev \
libpq-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
lsb-release \
make \
Expand Down
4 changes: 2 additions & 2 deletions deb/debian/controls/control.base
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Maintainer: Stackdriver Agents <stackdriver-agents@google.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libpq-dev, libtool, libvarnishapi-dev, libyajl-dev, lsb-release
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libtool, libyajl-dev, lsb-release

Package: stackdriver-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, curl, libcurl3, libltdl7, libyajl2
Suggests: default-jre, libhiredis0.10, libmysqlclient18, libpq5
Suggests: default-jre, libhiredis0.10, libmysqlclient18
Description: Stackdriver system metrics collection daemon
The Stackdriver system metrics daemon collects system statistics and
sends them to the Stackdriver service.
Expand Down
4 changes: 2 additions & 2 deletions deb/debian/controls/control.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Maintainer: Stackdriver Agents <stackdriver-agents@google.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: autoconf, automake, debhelper (>= 10), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.13), libltdl-dev, libmysqlclient-dev, libpq-dev, libtool, libvarnishapi-dev, libyajl-dev, lsb-release, pkg-config
Build-Depends: autoconf, automake, debhelper (>= 10), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.13), libltdl-dev, libmysqlclient-dev, libtool, libyajl-dev, lsb-release, pkg-config

Package: stackdriver-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libcurl4, libltdl7, libyajl2
Suggests: default-jre, libhiredis0.13, libmysqlclient20, libpq5
Suggests: default-jre, libhiredis0.13, libmysqlclient20
Description: Stackdriver system metrics collection daemon
The Stackdriver system metrics daemon collects system statistics and
sends them to the Stackdriver service.
Expand Down
4 changes: 2 additions & 2 deletions deb/debian/controls/control.buster
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Maintainer: Stackdriver Agents <stackdriver-agents@google.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, default-libmysqlclient-dev, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libpq-dev, libssl-dev, libtool, libvarnishapi-dev, libyajl-dev, lsb-release, pkg-config
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, default-libmysqlclient-dev, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libssl-dev, libtool, libyajl-dev, lsb-release, pkg-config

Package: stackdriver-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, curl, libcurl4, libltdl7, libyajl2
Suggests: default-jre, libhiredis0.13, libmariadbclient18, libpq5
Suggests: default-jre, libhiredis0.13, libmariadbclient18
Description: Stackdriver system metrics collection daemon
The Stackdriver system metrics daemon collects system statistics and
sends them to the Stackdriver service.
Expand Down
4 changes: 2 additions & 2 deletions deb/debian/controls/control.jessie
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Maintainer: Stackdriver Agents <stackdriver-agents@google.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libpq-dev, libtool, libvarnishapi-dev, libyajl-dev, lsb-release, pkg-config
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libtool, libyajl-dev, lsb-release, pkg-config

Package: stackdriver-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, curl, libcurl3, libltdl7, libyajl2
Suggests: default-jre, libhiredis0.10, libmysqlclient18, libpq5
Suggests: default-jre, libhiredis0.10, libmysqlclient18
Description: Stackdriver system metrics collection daemon
The Stackdriver system metrics daemon collects system statistics and
sends them to the Stackdriver service.
Expand Down
4 changes: 2 additions & 2 deletions deb/debian/controls/control.precise
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Maintainer: Stackdriver Agents <stackdriver-agents@google.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libpq-dev, libtool, libvarnishapi-dev, libyajl-dev, lsb-release
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libtool, libyajl-dev, lsb-release

Package: stackdriver-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, curl, libcurl3, libltdl7, libyajl1
Suggests: default-jre, libhiredis0.10, libmysqlclient18, libpq5
Suggests: default-jre, libhiredis0.10, libmysqlclient18
Description: Stackdriver system metrics collection daemon
The Stackdriver system metrics daemon collects system statistics and
sends them to the Stackdriver service.
Expand Down
4 changes: 2 additions & 2 deletions deb/debian/controls/control.stretch
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Maintainer: Stackdriver Agents <stackdriver-agents@google.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, default-libmysqlclient-dev, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libpq-dev, libssl1.0-dev, libtool, libvarnishapi-dev, libyajl-dev, lsb-release, pkg-config
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, default-libmysqlclient-dev, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libssl1.0-dev, libtool, libyajl-dev, lsb-release, pkg-config

Package: stackdriver-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, curl, libcurl3, libltdl7, libyajl2
Suggests: default-jre, libhiredis0.13, libmariadbclient18, libpq5
Suggests: default-jre, libhiredis0.13, libmariadbclient18
Description: Stackdriver system metrics collection daemon
The Stackdriver system metrics daemon collects system statistics and
sends them to the Stackdriver service.
Expand Down
4 changes: 2 additions & 2 deletions deb/debian/controls/control.xenial
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Maintainer: Stackdriver Agents <stackdriver-agents@google.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libpq-dev, libtool, libvarnishapi-dev, libyajl-dev, lsb-release, pkg-config
Build-Depends: autoconf, automake, debhelper (>= 7.0.50), default-jdk, libcurl4-openssl-dev, libhiredis-dev (>= 0.10.0), libltdl-dev, libmysqlclient-dev, libtool, libyajl-dev, lsb-release, pkg-config

Package: stackdriver-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, curl, libcurl3, libltdl7, libyajl2
Suggests: default-jre, libhiredis0.13, libmysqlclient20, libpq5
Suggests: default-jre, libhiredis0.13, libmysqlclient20
Description: Stackdriver system metrics collection daemon
The Stackdriver system metrics daemon collects system statistics and
sends them to the Stackdriver service.
Expand Down
14 changes: 2 additions & 12 deletions deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ ifeq ($(DISTRO),xenial)
DOCKER_FLAG="--enable-docker"
endif

ifneq (,$(filter $(DISTRO),bionic buster))
# Use system libmongoc where available.
MONGO_FLAG=--enable-mongodb --with-libmongoc=yes
else
MONGO_FLAG=--enable-mongodb --with-libmongoc=own
endif

CFLAGS = -g

Expand Down Expand Up @@ -59,13 +53,11 @@ override_dh_auto_configure:
--enable-memcached \
--enable-mysql \
--enable-protocols \
--enable-postgresql \
--enable-plugin_mem \
--enable-processes \
--enable-python \
--enable-ntpd \
--enable-nfs \
--enable-zookeeper \
--enable-stackdriver_agent \
--enable-exec \
--enable-tail \
Expand All @@ -81,15 +73,13 @@ override_dh_auto_configure:
--enable-redis --with-libhiredis \
--enable-curl \
--enable-curl_json \
--enable-varnish \
--enable-write_gcm \
--enable-debug \
$(DOCKER_FLAG) \
$(MONGO_FLAG)
$(DOCKER_FLAG)

# filter out shlib deps we don't want to force on people
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params="-x$(MYSQL) -xlibpq5 -x$(HIREDIS) -xlibvarnishapi1"
dh_shlibdeps --dpkg-shlibdeps-params="-x$(MYSQL) -x$(HIREDIS)"

override_dh_strip:
dh_strip --dbg-package=stackdriver-agent
Loading