This repository has been archived by the owner on Nov 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from jxnet/development
Add raw handler
- Loading branch information
Showing
83 changed files
with
14,570 additions
and
3,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.5.4.RELEASE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
# alpine 3.5 base os | ||
FROM alpine:3.5 | ||
|
||
# need root permission to install some development tools | ||
USER root | ||
|
||
# update local list of software from official repository | ||
RUN apk update | ||
|
||
# install required tools | ||
RUN apk --no-cache add linux-headers \ | ||
bash \ | ||
gcc \ | ||
g++ \ | ||
make \ | ||
git | ||
|
||
# required to build libpcap | ||
RUN apk --no-cache add bison \ | ||
flex | ||
|
||
# install autotools | ||
RUN apk --no-cache add automake \ | ||
autoconf \ | ||
libtool | ||
|
||
# install cmake | ||
RUN apk --no-cache add cmake | ||
|
||
# add Jxnet project into image | ||
RUN mkdir -p ~/project/ | ||
RUN git clone https://github.com/jxnet/Jxnet ~/project/Jxnet | ||
|
||
# checkout into jni branch as default | ||
RUN cd ~/project/Jxnet && \ | ||
git checkout jni | ||
|
||
# build and install libpcap | ||
RUN cd ~/project/Jxnet/jxnet-native/libpcap && \ | ||
./configure && \ | ||
make | ||
|
||
# build jxnet native library with cmake | ||
RUN cd ~/project/Jxnet/jxnet-native/ && \ | ||
mkdir -p build && \ | ||
cd build && \ | ||
cmake ../ && \ | ||
make && \ | ||
make install | ||
|
||
# build jxnet native library with autotools | ||
RUN cd ~/project/Jxnet/jxnet-native/ && \ | ||
export JAVA_HOME=$(pwd) && \ | ||
./bootstrap.sh && \ | ||
./configure && \ | ||
make && \ | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
|
||
# centos 7 base os | ||
FROM centos:7 | ||
|
||
# need root permission to install some development tools | ||
USER root | ||
|
||
# install required tools | ||
RUN yum -y install bash \ | ||
gcc \ | ||
gcc-c++ \ | ||
make \ | ||
git | ||
|
||
# required to build libpcap | ||
RUN yum -y install bison \ | ||
flex | ||
|
||
# install autotools | ||
RUN yum -y install automake \ | ||
autoconf \ | ||
libtool | ||
|
||
# install cmake | ||
RUN yum -y install cmake | ||
|
||
# clean cache | ||
RUN yum clean all | ||
|
||
# add Jxnet project into image | ||
RUN mkdir -p ~/project/ | ||
RUN git clone https://github.com/jxnet/Jxnet ~/project/Jxnet | ||
|
||
# checkout into jni branch as default | ||
RUN cd ~/project/Jxnet && \ | ||
git checkout jni | ||
|
||
# build and install libpcap | ||
RUN cd ~/project/Jxnet/jxnet-native/libpcap && \ | ||
./configure && \ | ||
make | ||
|
||
# build jxnet native library with cmake | ||
RUN cd ~/project/Jxnet/jxnet-native/ && \ | ||
mkdir -p build && \ | ||
cd build && \ | ||
cmake ../ && \ | ||
make && \ | ||
make install | ||
|
||
# build jxnet native library with autotools | ||
RUN cd ~/project/Jxnet/jxnet-native/ && \ | ||
export JAVA_HOME=$(pwd) && \ | ||
./bootstrap.sh && \ | ||
./configure && \ | ||
make && \ | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
# debian jessie (8) base os | ||
FROM debian:jessie | ||
|
||
# need root permission to install some development tools | ||
USER root | ||
|
||
# update local list of software from official repository | ||
RUN apt-get update | ||
|
||
# install required tools | ||
RUN apt-get -y install bash \ | ||
gcc \ | ||
g++ \ | ||
make \ | ||
git | ||
|
||
# required to build libpcap | ||
RUN apt-get -y install bison \ | ||
flex | ||
|
||
# install autotools | ||
RUN apt-get -y install automake \ | ||
autoconf \ | ||
libtool | ||
|
||
# install cmake | ||
RUN apt-get -y install cmake | ||
|
||
RUN apt-get clean | ||
|
||
# add Jxnet project into image | ||
RUN mkdir -p ~/project/ | ||
RUN git clone https://github.com/jxnet/Jxnet ~/project/Jxnet | ||
|
||
# checkout into jni branch as default | ||
RUN cd ~/project/Jxnet && \ | ||
git checkout jni | ||
|
||
# build and install libpcap | ||
RUN cd ~/project/Jxnet/jxnet-native/libpcap && \ | ||
./configure && \ | ||
make | ||
|
||
# build jxnet native library with cmake | ||
RUN cd ~/project/Jxnet/jxnet-native/ && \ | ||
mkdir -p build && \ | ||
cd build && \ | ||
cmake ../ && \ | ||
make && \ | ||
make install | ||
|
||
# build jxnet native library with autotools | ||
RUN cd ~/project/Jxnet/jxnet-native/ && \ | ||
export JAVA_HOME=$(pwd) && \ | ||
./bootstrap.sh && \ | ||
./configure && \ | ||
make && \ | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
# alpine 3.5 base os | ||
FROM alpine:3.5 | ||
|
||
# need root permission to install some development tools | ||
USER root | ||
|
||
# install required tools | ||
RUN apk --no-cache add linux-headers \ | ||
bash \ | ||
gcc \ | ||
g++ \ | ||
make \ | ||
git | ||
|
||
# required to build libpcap | ||
RUN apk --no-cache add bison \ | ||
flex | ||
|
||
# install autotools | ||
RUN apk --no-cache add automake \ | ||
autoconf \ | ||
libtool | ||
|
||
# install cmake | ||
RUN apk --no-cache add cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+85 Bytes
(100%)
jxnet-core/src/main/resources/native/jxnet-windows-x64.dll
Binary file not shown.
Binary file modified
BIN
-427 Bytes
(100%)
jxnet-core/src/main/resources/native/jxnet-windows-x86.dll
Binary file not shown.
Binary file modified
BIN
+286 KB
(630%)
jxnet-core/src/main/resources/native/libjxnet-darwin-x64.dylib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.