Mercurial > logstash
annotate Makefile @ 17:292b6583148a
work on building from source
author  Carl Byington <carl@fivetensg.com> 

date  Fri, 12 Apr 2013 15:05:23 0700 
parents  aa606d801e02 
children  2b887e35b5cd 
rev  line source 

15
c158cae7cd26
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
14
diff
changeset

1 d=el6 
10
fa645feb1f0e
fetch the jar file if we don't have it
Carl Byington <carl@fivetensg.com>
parents:
0
diff
changeset

2 f=logstash1.1.9monolithic.jar 
16
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

3 gv=1.1.9 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

4 g=logstash$(gv).tar.gz 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

5 hv=0.20.6 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

6 hv=0.20.2 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

7 h=elasticsearch$(hv).tar.gz 
13
c0150404962d
start working on building from source
Carl Byington <carl@fivetensg.com>
parents:
10
diff
changeset

8 i=GraphTastic.tar.gz 
c0150404962d
start working on building from source
Carl Byington <carl@fivetensg.com>
parents:
10
diff
changeset

9 icc=06a620d011d08bd2c1099c0d0810c053bf105400 
16
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

10 jv=1.7.3 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

11 jv=1.7.1 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

12 j=jrubycomplete$(jv).jar 
14
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
13
diff
changeset

13 k=GeoLiteCity20130118.dat.gz 
16
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

14 
17
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

15 download: 
10
fa645feb1f0e
fetch the jar file if we don't have it
Carl Byington <carl@fivetensg.com>
parents:
0
diff
changeset

16 [ f $f ]  curl https://logstash.objects.dreamhost.com/release/$f >$f 
16
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

17 [ f $g ]  curl https://nodeload.github.com/logstash/logstash/tar.gz/v$(gv) >$g 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

18 [ f $h ]  curl https://nodeload.github.com/elasticsearch/elasticsearch/tar.gz/v$(hv) >$h 
13
c0150404962d
start working on building from source
Carl Byington <carl@fivetensg.com>
parents:
10
diff
changeset

19 [ f $i ]  curl https://nodeload.github.com/NickPadilla/GraphTastic/tar.gz/$(icc) >$i 
16
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

20 [ f $j ]  curl http://repository.codehaus.org/org/jruby/jrubycomplete/$(jv)/$j >$j 
14
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
13
diff
changeset

21 [ f $k ]  curl http://logstash.objects.dreamhost.com/maxmind/$k >$k 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
13
diff
changeset

22 
17
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

23 srpm: download 
16
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

24 rpmbuild define "dist .$d" define "_sourcedir $(shell pwd)" define "_srcrpmdir $(shell pwd)" define "_rpmdir $(shell pwd)" bs jruby.spec 
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

25 rpmbuild define "dist .$d" define "_sourcedir $(shell pwd)" define "_srcrpmdir $(shell pwd)" define "_rpmdir $(shell pwd)" bs GraphTasticclient.spec 
17
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

26 rpmbuild define "dist .$d" define "_sourcedir $(shell pwd)" define "_srcrpmdir $(shell pwd)" define "_rpmdir $(shell pwd)" bs elasticsearch.spec 
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

27 rpmbuild define "dist .$d" define "_sourcedir $(shell pwd)" define "_srcrpmdir $(shell pwd)" define "_rpmdir $(shell pwd)" bs logstash.spec 
14
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
13
diff
changeset

28 
17
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

29 rpm: 
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

30 rpmbuild define "dist .$d" define "_rpmdir $(shell pwd)" rebuild jruby$(jv)0.$d.src.rpm 
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

31 rpmbuild define "dist .$d" define "_rpmdir $(shell pwd)" rebuild GraphTasticclient0.0.00.$d.src.rpm 
16
aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstashmonolith
Carl Byington <carl@fivetensg.com>
parents:
15
diff
changeset

32 rpmbuild define "dist .$d" define "_rpmdir $(shell pwd)" rebuild elasticsearch$(hv)0.$d.src.rpm 
17
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

33 rpmbuild define "dist .$d" define "_rpmdir $(shell pwd)" rebuild logstash$(gv)0.$d.src.rpm 
14
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
13
diff
changeset

34 
17
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

35 packageweb: 
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

36 tar cfz logstash.fedora.tar.gz *.src.rpm $(hg status c  cut c3) 
292b6583148a
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
16
diff
changeset

37 