Add sudo too.

This commit is contained in:
Tomofumi Hayashi 2015-03-18 16:03:51 +09:00
parent a4bce0008d
commit e75ba3752b
1 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ compiler:
- gcc
before_script:
- sudo apt-get install -y git wget bison flex libgmp-dev libreadline-dev libnfnetlink-dev libmnl-dev libssl-dev
- (wget -O - ftp://ftp.netfilter.org/pub/libnftnl/libnftnl-1.0.3.tar.bz2 | tar xvfpj - ; cd libnftnl-1.0.3; ./configure; make ; make install)
- (wget -O - ftp://ftp.netfilter.org/pub/nftables/nftables-0.4.tar.bz2 | tar xvfpj - ; cd nftables-0.4; ./configure; make; make install)
- (wget -O - ftp://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-1.0.1.tar.bz2 | tar xvfpj -; cd libnfnetlink-1.0.1; ./configure; make ; make install)
- (wget -O - ftp://ftp.netfilter.org/pub/libnftnl/libnftnl-1.0.3.tar.bz2 | tar xvfpj - ; cd libnftnl-1.0.3; ./configure; make ; sudo make install)
- (wget -O - ftp://ftp.netfilter.org/pub/nftables/nftables-0.4.tar.bz2 | tar xvfpj - ; cd nftables-0.4; ./configure; make; sudo make install)
- (wget -O - ftp://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-1.0.1.tar.bz2 | tar xvfpj -; cd libnfnetlink-1.0.1; ./configure; make ; sudo make install)
script:
- cd miniupnpd && make -f Makefile.linux_nft config.h all