blob: 30166a01db1f6d8f0bbf54755dedbe7d435926d4 (
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
|
#!/bin/bash
BUILD_HOME="$(pwd)"
set -eux
sudo apt-get -y install build-essential dh-autoreconf fakeroot dpkg-dev devscripts dpkg-dev git wget
sudo apt-get -y install debhelper dpkg-dev po-debconf dh-systemd \
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 \
libhiredis-dev \
libldap2-dev \
liblvm2-dev \
libmemcached-dev \
libmodbus-dev \
libmnl-dev \
libnotify-dev \
libopenipmi-dev \
liboping-dev \
libow-dev \
libpcap0.8-dev \
libpcap-dev \
libperl-dev \
libpq-dev \
librdkafka-dev \
librabbitmq-dev \
librrd-dev \
libsensors4-dev \
libsigrok-dev \
libsnmp9-dev \
libsnmp-dev \
perl \
libtokyocabinet-dev \
libtokyotyrant-dev \
libudev-dev \
libupsclient-dev \
libvarnishapi-dev \
libvirt-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 37fe166;
git clone https://github.com/collectd/pkg-debian; cd pkg-debian; git checkout e2e3b00; mv debian ..
cd ${BUILD_HOME}/collectd
./build.sh
debian/rules build || true
debian/rules build
fakeroot debian/rules binary
|