forked from logrhythm/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
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 logrhythm#105 from Robert-Weber/shim
This accompanies the shim in the Research area, generating the yaml config file and checking what was provided in the remapping file.
- Loading branch information
Showing
8 changed files
with
1,325 additions
and
2,622 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,13 @@ | ||
#!/bin/sh | ||
cat resources/DpiMsgLRproto.protoheader | ||
perl scripts/buildDpiMsgLRProto.pl resources/Qosmos_Protobook.csv protofiles/DpiMsgLRproto.proto.orig resources/ProtocolFilters resources/ProtocolDescriptions.csv | sort -nk 5 | ||
cat resources/DpiMsgLRproto.protofooter | ||
set -e | ||
TMPFILE=/tmp/buildDpiMsgLRProto.$BASHPID | ||
TMPFILE2=/tmp/buildDpiMsgLRProto2.$BASHPID | ||
|
||
cat resources/DpiMsgLRproto.protoheader > $TMPFILE | ||
perl scripts/buildDpiMsgLRProto.pl resources/Qosmos_Protobook.csv protofiles/DpiMsgLRproto.proto.orig resources/ProtocolFilters resources/ProtocolDescriptions.csv resources/remapping resources/remapping.yaml > $TMPFILE2 | ||
sort -nk 5 $TMPFILE2 >> $TMPFILE | ||
cat resources/DpiMsgLRproto.protofooter >> $TMPFILE | ||
|
||
cat $TMPFILE | ||
rm $TMPFILE | ||
rm $TMPFILE2 |
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,24 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
cd thirdParty | ||
gtar xzf ExtUtils-MakeMaker-6.86.tar.gz | ||
cd ExtUtils-MakeMaker-6.86 | ||
perl Makefile.PL | ||
make | ||
make install | ||
cd .. | ||
rm -rf ExtUtils-MakeMaker-6.86 | ||
gtar xzf YAML-LibYAML-0.41.tar.gz | ||
cd YAML-LibYAML-0.41 | ||
perl Makefile.PL | ||
make | ||
make install | ||
#rm -rf YAML-LibYAML-0.41 | ||
cd .. | ||
gtar xzf YAML-0.88.tar.gz | ||
cd YAML-0.88 | ||
perl Makefile.PL | ||
make | ||
make install | ||
cd ../.. |
Binary file not shown.
Binary file not shown.
Binary file not shown.