Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
4ab5050d
Commit
4ab5050d
authored
Dec 23, 2013
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated install files
parent
5580348e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
45 deletions
+24
-45
INSTALL
INSTALL
+9
-0
Makefile.in
Makefile.in
+2
-2
setup.py
setup.py
+1
-1
Makefile.in
src/C/Makefile.in
+6
-1
Makefile
src/C/compress/Makefile
+3
-0
test.py
src/C/compress/test.py
+0
-20
Makefile
src/C/miniz/Makefile
+3
-0
test.py
src/C/miniz/test.py
+0
-21
No files found.
INSTALL
View file @
4ab5050d
...
...
@@ -66,3 +66,12 @@ and placed in the /opt/firmware-mod-kit directory:
$ git clone https://code.google.com/p/firmware-mod-kit /opt/firmware-mod-kit/
$ cd /opt/firmware-mod-kit/src && ./configure && make
UNINSTALL
----------------------------------
The following command will remove all installed libraries and modules (except for the extraction/optional dependencies):
$ sudo make uninstall
Makefile.in
View file @
4ab5050d
...
...
@@ -3,10 +3,10 @@ SRC_C_DIR="./src/C"
.PHONY
:
all install build dependencies clean uninstall
all
:
install
all
:
build
install
:
build
make
-
c
$(SRC_C_DIR)
install
make
-
C
$(SRC_C_DIR)
install
$(PYTHON)
./setup.py install
build
:
...
...
setup.py
View file @
4ab5050d
...
...
@@ -122,7 +122,7 @@ if "install" in sys.argv:
print
(
"checking pre-requisites"
)
try
:
import
pyqtgraph
import
QtPyWhatever
from
pyqtgraph.Qt
import
QtCore
,
QtGui
,
QtOpenGL
except
ImportError
as
e
:
msg
=
[
"Pre-requisite check warning: "
+
str
(
e
),
"To take advantage of this
%
s's graphing capabilities, please install this module."
%
MODULE_NAME
,
...
...
src/C/Makefile.in
View file @
4ab5050d
...
...
@@ -7,7 +7,7 @@ export exec_prefix=@exec_prefix@
export
LIBDIR
=
@libdir@
export
INSTALL_OPTIONS
=
@INSTALL_OPTIONS@
.PHONY
:
all install clean distclean
.PHONY
:
all install clean distclean
uninstall
all
:
make
-C
miniz
...
...
@@ -29,3 +29,8 @@ distclean:
make
-C
compress distclean
make
-C
fuzzy distclean
rm
-rf
*
.cache config.
*
Makefile
uninstall
:
make
-C
miniz uninstall
make
-C
compress uninstall
make
-C
fuzzy uninstall
src/C/compress/Makefile
View file @
4ab5050d
...
...
@@ -11,6 +11,9 @@ compress42.o:
install
:
install
$(INSTALL_OPTIONS)
$(LIBNAME)
$(DESTDIR)$(LIBDIR)
/
$(LIBNAME)
uninstall
:
rm
-rf
$(DESTDIR)$(LIBDIR)
/
$(LIBNAME)
.PHONY
:
clean distclean
clean
:
...
...
src/C/compress/test.py
deleted
100755 → 0
View file @
5580348e
#!/usr/bin/env python
import
sys
import
ctypes
import
ctypes.util
SIZE
=
64
try
:
data
=
open
(
sys
.
argv
[
1
],
"rb"
)
.
read
(
SIZE
)
except
:
print
"Usage:
%
s <input file>"
%
sys
.
argv
[
0
]
sys
.
exit
(
1
)
comp
=
ctypes
.
cdll
.
LoadLibrary
(
ctypes
.
util
.
find_library
(
"compress42"
))
if
comp
.
is_compressed
(
data
,
len
(
data
)):
print
"
%
s is compress'd."
%
(
sys
.
argv
[
1
])
else
:
print
"
%
s is not compress'd."
%
sys
.
argv
[
1
]
src/C/miniz/Makefile
View file @
4ab5050d
...
...
@@ -11,6 +11,9 @@ tinfl.o:
install
:
install
$(INSTALL_OPTIONS)
$(LIBNAME)
$(DESTDIR)$(LIBDIR)
/
$(LIBNAME)
uninstall
:
rm
-rf
$(DESTDIR)$(LIBDIR)
/
$(LIBNAME)
.PHONY
:
clean distclean
clean
:
...
...
src/C/miniz/test.py
deleted
100755 → 0
View file @
5580348e
#!/usr/bin/env python
import
sys
import
ctypes
import
ctypes.util
SIZE
=
33
*
1024
try
:
data
=
open
(
sys
.
argv
[
1
],
"rb"
)
.
read
(
SIZE
)
except
:
print
"Usage:
%
s <input file>"
%
sys
.
argv
[
0
]
sys
.
exit
(
1
)
tinfl
=
ctypes
.
cdll
.
LoadLibrary
(
ctypes
.
util
.
find_library
(
"tinfl"
))
if
tinfl
.
is_deflated
(
data
,
len
(
data
),
0
):
print
"
%
s is deflated."
%
(
sys
.
argv
[
1
])
print
"Inflated to
%
d bytes!"
%
tinfl
.
inflate_raw_file
(
sys
.
argv
[
1
],
sys
.
argv
[
1
]
+
'.inflated'
)
else
:
print
"
%
s is not deflated."
%
sys
.
argv
[
1
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment