blob: 3eefa635e124b02a08ca9fc9b80d90118fcd2650 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
#!/bin/bash
BUILD_HOME="$(pwd)"
set -eux
sudo apt-get -y install build-essential dh-autoreconf fakeroot devscripts dpkg-dev git wget
sudo apt-get -y install \
debhelper dpkg-dev po-debconf dh-systemd dh-strip-nondeterminism \
bison flex autotools-dev libltdl-dev pkg-config \
iptables-dev \
javahelper \
libatasmart-dev \
libcap-dev \
libcurl4-gnutls-dev \
libdbi0-dev \
libesmtp-dev \
libganglia1-dev \
libgcrypt11-dev \
libglib2.0-dev \
libgps-dev \
libhiredis-dev \
libi2c-dev \
libldap2-dev \
liblua5.3-dev \
liblvm2-dev \
libmemcached-dev \
libmodbus-dev \
libmnl-dev \
libmosquitto-dev \
libmysqlclient-dev \
libnotify-dev \
libopenipmi-dev \
liboping-dev \
libow-dev \
libpcap0.8-dev \
libpcap-dev\
libperl-dev \
libpq-dev \
libprotobuf-c-dev \
libriemann-client-dev \
librdkafka-dev \
librabbitmq-dev \
librrd-dev \
libsensors4-dev \
libsigrok-dev \
libsnmp-dev \
libsnmp9-dev \
perl \
libtokyocabinet-dev \
libtokyotyrant-dev \
libudev-dev \
libupsclient-dev \
libvarnishapi-dev \
libvirt-dev \
libxen-dev \
libxml2-dev \
libyajl-dev \
linux-libc-dev \
default-jdk \
protobuf-c-compiler \
python-dev
cd ${BUILD_HOME}
rm -rf collectd
git clone https://github.com/collectd/collectd; cd collectd; git checkout 8acc85b
git clone https://github.com/collectd/pkg-debian; cd pkg-debian; git checkout e5972da
mv debian ..
cd ${BUILD_HOME}/collectd
./build.sh
debian/rules build || true
debian/rules build
fakeroot debian/rules binary
|