comparison Makefile @ 16:aa606d801e02

work on building from source, revert jruby and elastic search to versions bundled into logstash-monolith
author Carl Byington <carl@five-ten-sg.com>
date Thu, 11 Apr 2013 13:48:24 -0700
parents c158cae7cd26
children 292b6583148a
comparison
equal deleted inserted replaced
15:c158cae7cd26 16:aa606d801e02
1 d=el6 1 d=el6
2 f=logstash-1.1.9-monolithic.jar 2 f=logstash-1.1.9-monolithic.jar
3 g=logstash-1.1.9.tar.gz 3 gv=1.1.9
4 h=elasticsearch-0.20.6.tar.gz 4 g=logstash-$(gv).tar.gz
5 hv=0.20.6
6 hv=0.20.2
7 h=elasticsearch-$(hv).tar.gz
5 i=GraphTastic.tar.gz 8 i=GraphTastic.tar.gz
6 icc=06a620d011d08bd2c1099c0d0810c053bf105400 9 icc=06a620d011d08bd2c1099c0d0810c053bf105400
7 j=jruby-complete-1.7.3.jar 10 jv=1.7.3
11 jv=1.7.1
12 j=jruby-complete-$(jv).jar
8 k=GeoLite-City-2013-01-18.dat.gz 13 k=GeoLite-City-2013-01-18.dat.gz
14
9 all: 15 all:
10 [ -f $f ] || curl https://logstash.objects.dreamhost.com/release/$f >$f 16 [ -f $f ] || curl https://logstash.objects.dreamhost.com/release/$f >$f
11 [ -f $g ] || curl https://nodeload.github.com/logstash/logstash/tar.gz/v1.1.9 >$g 17 [ -f $g ] || curl https://nodeload.github.com/logstash/logstash/tar.gz/v$(gv) >$g
12 [ -f $h ] || curl https://nodeload.github.com/elasticsearch/elasticsearch/tar.gz/v0.20.6 >$h 18 [ -f $h ] || curl https://nodeload.github.com/elasticsearch/elasticsearch/tar.gz/v$(hv) >$h
13 [ -f $i ] || curl https://nodeload.github.com/NickPadilla/GraphTastic/tar.gz/$(icc) >$i 19 [ -f $i ] || curl https://nodeload.github.com/NickPadilla/GraphTastic/tar.gz/$(icc) >$i
14 [ -f $j ] || curl http://repository.codehaus.org/org/jruby/jruby-complete/1.7.3/$j >$j 20 [ -f $j ] || curl http://repository.codehaus.org/org/jruby/jruby-complete/$(jv)/$j >$j
15 [ -f $k ] || curl http://logstash.objects.dreamhost.com/maxmind/$k >$k 21 [ -f $k ] || curl http://logstash.objects.dreamhost.com/maxmind/$k >$k
16 22
17 #rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs jruby.spec 23 rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs jruby.spec
18 #rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild jruby-1.7.3-0.$d.src.rpm 24 rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild jruby-$(jv)-0.$d.src.rpm
19 25
20 #rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs GraphTastic-client.spec 26 rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs GraphTastic-client.spec
21 #rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild GraphTastic-client-0.0.0-0.$d.src.rpm 27 rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild GraphTastic-client-0.0.0-0.$d.src.rpm
22 28
23 #rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs elasticsearch.spec 29 rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs elasticsearch.spec
24 #rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild elasticsearch-0.20.6-0.$d.src.rpm 30 rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild elasticsearch-$(hv)-0.$d.src.rpm
25 31
26 rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs logstash.spec 32 rpmbuild --define "dist .$d" --define "_sourcedir $(shell pwd)" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" -bs logstash.spec
27 rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild logstash-1.1.9-0.$d.src.rpm 33 rpmbuild --define "dist .$d" --define "_rpmdir $(shell pwd)" --rebuild logstash-$(gv)-0.$d.src.rpm