Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Autopsy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Autopsy
Commits
e32d130b
Commit
e32d130b
authored
6 years ago
by
Brian Carrier
Browse files
Options
Downloads
Patches
Plain Diff
Update unix_setup version with other versions instead of in build-zip
parent
cdb7aebc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build.xml
+0
-1
0 additions, 1 deletion
build.xml
release_scripts/update_sleuthkit_version.pl
+36
-4
36 additions, 4 deletions
release_scripts/update_sleuthkit_version.pl
unix_setup.sh
+3
-1
3 additions, 1 deletion
unix_setup.sh
with
39 additions
and
6 deletions
build.xml
+
0
−
1
View file @
e32d130b
...
@@ -102,7 +102,6 @@
...
@@ -102,7 +102,6 @@
<copy
file=
"${basedir}/NEWS.txt"
tofile=
"${zip-tmp}/${app.name}/NEWS.txt"
/>
<copy
file=
"${basedir}/NEWS.txt"
tofile=
"${zip-tmp}/${app.name}/NEWS.txt"
/>
<copy
file=
"${basedir}/Running_Linux_OSX.txt"
tofile=
"${zip-tmp}/${app.name}/Running_Linux_OSX.txt"
/>
<copy
file=
"${basedir}/Running_Linux_OSX.txt"
tofile=
"${zip-tmp}/${app.name}/Running_Linux_OSX.txt"
/>
<copy
file=
"${basedir}/unix_setup.sh"
tofile=
"${zip-tmp}/${app.name}/unix_setup.sh"
/>
<copy
file=
"${basedir}/unix_setup.sh"
tofile=
"${zip-tmp}/${app.name}/unix_setup.sh"
/>
<replaceregexp
file=
"${zip-tmp}/${app.name}/unix_setup.sh"
match=
"TSK_VERSION=(.*)"
replace=
"TSK_VERSION=${TSK_VERSION}"
byline=
"true"
/>
<unzip
src=
"${thirdparty.dir}/gstreamer/windows/i386/0.10.7/gstreamer.zip"
dest=
"${zip-tmp}/${app.name}/gstreamer"
/>
<unzip
src=
"${thirdparty.dir}/gstreamer/windows/i386/0.10.7/gstreamer.zip"
dest=
"${zip-tmp}/${app.name}/gstreamer"
/>
...
...
This diff is collapsed.
Click to expand it.
release_scripts/update_sleuthkit_version.pl
+
36
−
4
View file @
e32d130b
...
@@ -31,14 +31,13 @@ sub main {
...
@@ -31,14 +31,13 @@ sub main {
update_tsk_version
();
update_tsk_version
();
update_core_project_properties
();
update_core_project_properties
();
update_core_project_xml
();
update_core_project_xml
();
update_unix_setup
();
print
"
Files updated. You need to commit and push them
\n
";
print
"
Files updated. You need to commit and push them
\n
";
}
}
######################################################
######################################################
# Utility functions
# Utility functions
...
@@ -194,6 +193,39 @@ sub update_core_project_xml {
...
@@ -194,6 +193,39 @@ sub update_core_project_xml {
}
}
# update the tskversion.xml
sub
update_unix_setup
{
my
$orig
=
"
unix_setup.sh
";
my
$temp
=
"
${orig}
-bak
";
print
"
Updating the version in
${orig}
\n
";
open
(
CONF_IN
,
"
<
${orig}
")
or
die
"
Cannot open
${orig}
";
open
(
CONF_OUT
,
"
>
${temp}
")
or
die
"
Cannot open
${temp}
";
my
$found
=
0
;
while
(
<
CONF_IN
>
)
{
if
(
/^TSK_VERSION=/
)
{
print
CONF_OUT
"
TSK_VERSION=
${VER}
\n
";
$found
++
;
}
else
{
print
CONF_OUT
$_
;
}
}
close
(
CONF_IN
);
close
(
CONF_OUT
);
if
(
$found
!=
1
)
{
die
"
$found
(instead of 1) occurrences of TSK_VERSION found in
${orig}
";
}
unlink
(
$orig
)
or
die
"
Error deleting
${orig}
";
rename
(
$temp
,
$orig
)
or
die
"
Error renaming tmp
$orig
file
";
system
("
git add
${orig}
")
unless
(
$TESTING
);
}
main
();
main
();
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unix_setup.sh
+
3
−
1
View file @
e32d130b
...
@@ -2,7 +2,9 @@
...
@@ -2,7 +2,9 @@
# Verifies programs are installed and copies native code into the Autopsy folder structure
# Verifies programs are installed and copies native code into the Autopsy folder structure
TSK_VERSION
=
4.6.3
# NOTE: update_sleuthkit_version.pl updates this value and relies
# on it keeping the same name and whitespace. Don't change it.
TSK_VERSION
=
4.6.5
# Verify PhotoRec was installed
# Verify PhotoRec was installed
photorec_filepath
=
/usr/bin/photorec
photorec_filepath
=
/usr/bin/photorec
...
...
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