Skip to content

Commit f89f450

Browse files
Bump DATA_MAX_NAME_LEN to 256 in Linux packages. (#103)
1 parent c67b454 commit f89f450

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

deb/debian/rules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ override_dh_auto_configure:
3434
./clean.sh && ./build.sh
3535
dh_auto_configure -- --prefix=/opt/stackdriver/collectd \
3636
--program-prefix=stackdriver- \
37+
--with-useragent="stackdriver_agent/$(debian_version)" \
38+
--with-data-max-name-len=256 \
3739
--disable-all-plugins \
3840
--disable-static \
3941
--disable-perl --without-libperl --without-perl-bindings \
@@ -71,7 +73,6 @@ override_dh_auto_configure:
7173
--enable-match_throttle_metadata_keys \
7274
--enable-write_log \
7375
--enable-unixsock \
74-
--with-useragent="stackdriver_agent/$(debian_version)" \
7576
--enable-java --with-java=/usr/lib/jvm/default-java \
7677
--enable-redis --with-libhiredis \
7778
--enable-curl \

rpm/stackdriver-agent.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ export PATH=%{buildroot}/%{_prefix}/bin:$PATH
239239

240240
%configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW='RTLD_NOW|RTLD_GLOBAL' %{?curl_include}" \
241241
--program-prefix=stackdriver- \
242+
--with-useragent="stackdriver_agent/%{version}-%{release}" \
243+
--with-data-max-name-len=256 \
242244
--disable-all-plugins \
243245
--disable-static \
244246
--disable-perl --without-libperl --without-perl-bindings \
@@ -279,7 +281,6 @@ export PATH=%{buildroot}/%{_prefix}/bin:$PATH
279281
--enable-match_throttle_metadata_keys \
280282
--enable-write_log \
281283
--enable-unixsock \
282-
--with-useragent="stackdriver_agent/%{version}-%{release}" \
283284
%{docker_flag} \
284285
%{java_flag} \
285286
%{redis_flag} \

0 commit comments

Comments
 (0)