Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
9f2d4668
Commit
9f2d4668
authored
7 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
Werror on plugins, removed unnecessary bits from umbrella. moved out appfw.
Former-commit-id:
812215fb
parent
2ed0e930
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
build-all.sh
+37
-33
37 additions, 33 deletions
build-all.sh
clean-all.sh
+16
-13
16 additions, 13 deletions
clean-all.sh
get-peasoup-packages.sh
+9
-31
9 additions, 31 deletions
get-peasoup-packages.sh
manifest.txt
+1
-1
1 addition, 1 deletion
manifest.txt
with
63 additions
and
78 deletions
build-all.sh
+
37
−
33
View file @
9f2d4668
...
...
@@ -26,46 +26,50 @@ mkdir -p $ZEST_RUNTIME/sbin
if
[
!
-f
manifest.txt.config
-o
!
-d
"
$PS_INSTALL
"
]
;
then
mkdir
-p
"
$PS_INSTALL
"
$PEDI_HOME
/pedi
--setup
-m
manifest.txt
-l
ida
-l
ida_key
-l
ps
-l
zipr
-l
stratafier
-l
stars
-i
$PS_INSTALL
$PEDI_HOME
/pedi
--setup
-m
manifest.txt
-l
ida
-l
ida_key
-l
ps
-l
zipr
-l
stars
-i
$PS_INSTALL
fi
# stratafier
cd
$PEASOUP_UMBRELLA_DIR
/stratafier
make
||
exit
#
strata
if
[
!
"
$STRATA_HOME
"
]
;
then
echo
"STRATA_HOME not set."
;
exit
1
;
fi
use_
strata
=
0
if
[
[
$use_strata
=
1
]
]
;
then
# stratafier
cd
$PEASOUP_UMBRELLA_DIR
/stratafier
make
||
exit
if
[
`
uname
-m
`
=
'x86_64'
]
;
then
# build 32-bit strata
if
[
!
-d
$STRATA_HOME32
]
;
then
cd
$STRATA
if
[
-f
Makefile
]
;
then
make clean distclean
fi
cd
$PEASOUP_UMBRELLA_DIR
echo
Creating strata 32-bit build directory
cp
-R
$STRATA
$STRATA32
# strata
if
[
!
"
$STRATA_HOME
"
]
;
then
echo
"STRATA_HOME not set."
;
exit
1
;
fi
cd
$STRATA_HOME32
STRATA_HOME
=
$STRATA_HOME32
STRATA
=
$STRATA_HOME32
./build
-host
=
i386-linux
||
exit
# build x86-64 strata
cd
$STRATA_HOME
if
[
-f
Makefile
-a
Makefile
-nt
configure
-a
Makefile
-nt
Makefile.in
]
;
then
echo
Skipping Strata reconfigure step
if
[
`
uname
-m
`
=
'x86_64'
]
;
then
# build 32-bit strata
if
[
!
-d
$STRATA_HOME32
]
;
then
cd
$STRATA
if
[
-f
Makefile
]
;
then
make clean distclean
fi
cd
$PEASOUP_UMBRELLA_DIR
echo
Creating strata 32-bit build directory
cp
-R
$STRATA
$STRATA32
fi
cd
$STRATA_HOME32
STRATA_HOME
=
$STRATA_HOME32
STRATA
=
$STRATA_HOME32
./build
-host
=
i386-linux
||
exit
# build x86-64 strata
cd
$STRATA_HOME
if
[
-f
Makefile
-a
Makefile
-nt
configure
-a
Makefile
-nt
Makefile.in
]
;
then
echo
Skipping Strata reconfigure step
else
./configure
$cfar_mode
||
exit
fi
make
||
exit
else
./configure
$cfar_mode
||
exit
cd
$STRATA_HOME
./build
$cfar_mode
||
exit
fi
make
||
exit
else
cd
$STRATA_HOME
./build
$cfar_mode
||
exit
fi
# smp-static-analyzer
...
...
This diff is collapsed.
Click to expand it.
clean-all.sh
+
16
−
13
View file @
9f2d4668
...
...
@@ -10,19 +10,22 @@ if [ "$PEASOUP_UMBRELLA_DIR" != "$FULL_BUILD_LOC" ]; then
exit
1
;
fi
# stratafier
cd
$PEASOUP_UMBRELLA_DIR
/stratafier
make clean
# clean main strata
cd
$STRATA_HOME
./configure
make clean
rm
Makefile
# clean strata32 if exists.
cd
$PEASOUP_UMBRELLA_DIR
/
rm
-Rf
strata32
use_strata
=
0
if
[[
$use_strata
=
1
]]
;
then
# stratafier
cd
$PEASOUP_UMBRELLA_DIR
/stratafier
make clean
# clean main strata
cd
$STRATA_HOME
./configure
make clean
rm
Makefile
# clean strata32 if exists.
cd
$PEASOUP_UMBRELLA_DIR
/
rm
-Rf
strata32
fi
cd
$SMPSA_HOME
scons
-c
||
exit
...
...
This diff is collapsed.
Click to expand it.
get-peasoup-packages.sh
+
9
−
31
View file @
9f2d4668
...
...
@@ -20,6 +20,7 @@ BASE_PKGS="
xdotool
gcc-multilib
g++-multilib
autoconf
realpath
libelf-dev
libxqilla-dev
...
...
@@ -44,27 +45,7 @@ CLIENT_IRDB_PKGS="
# For IRDB server
SERVER_IRDB_PKGS
=
"postgresql"
# For building test subjects
TEST_PKGS
=
"
asciidoc
autoconf
bison
gawk
gettext
libx11-dev
libfontconfig1-dev
libperl-dev
poedit
yasm
xvfb"
# For handling SQL command injections
SQL_PKGS
=
"sqlite3 libsqlite3-dev mysql-client mysql-server libmysqlclient-dev"
# For LDAP
LDAP_PKGS
=
"ldap-utils slapd libldap2-dev"
ALL_PKGS
=
"
$BASE_PKGS
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
$TEST_PKGS
$SQL_PKGS
$LDAP_PKGS
"
ALL_PKGS
=
"
$BASE_PKGS
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
"
if
[[
"
$PEASOUP_UMBRELLA_DIR
"
==
""
]]
;
then
...
...
@@ -81,7 +62,13 @@ install_packs()
sudo
apt-get
install
$i
-y
done
}
for
arg
in
$@
;
do
args
=
"
$@
"
if
[[
$args
=
""
]]
;
then
args
=
"all"
fi
for
arg
in
args
;
do
case
$arg
in
all
)
install_packs
$ALL_PKGS
...
...
@@ -98,15 +85,6 @@ for arg in $@; do
irdb
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
test
)
install_packs
$TEST_PKGS
;;
sql
)
install_packs
$SQL_PKGS
;;
ldap
)
install_packs
$LDAP_PKGS
;;
*
)
echo
"
$arg
not recognized. Recognized args: all, base, client-irdb,"
;
echo
" server-irdb, irdb, test, sql."
;
...
...
This diff is collapsed.
Click to expand it.
manifest.txt
+
1
−
1
View file @
9f2d4668
...
...
@@ -4,7 +4,7 @@ submanifest peasoup_examples/manifest.txt
submanifest idaproCur/manifest.txt
submanifest SMPStaticAnalyzer/manifest.txt
submanifest zipr_install/manifest.txt
submanifest stratafier/manifest.txt
#
submanifest stratafier/manifest.txt
submanifest IdaProServer/manifest.txt
submanifest ubuntu16_files/manifest.txt
file set_command_envs ps
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment