Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirusCheckPlugin4Rosetta
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
VirusCheckPlugin4Rosetta
Commits
67187f55
Commit
67187f55
authored
10 years ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- added license information
- added general information
parent
4c94566d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README
+15
-0
15 additions, 0 deletions
README
README.1st
+2
-1
2 additions, 1 deletion
README.1st
java/org/slub/rosetta/dps/repository/plugin/SLUBVirusCheckClamAVPlugin.java
+22
-1
22 additions, 1 deletion
...tta/dps/repository/plugin/SLUBVirusCheckClamAVPlugin.java
with
39 additions
and
2 deletions
README
0 → 100644
+
15
−
0
View file @
67187f55
Plugin for Rosetta to enable real virus checking.
Rosetta is a digital preservation software by ExLibrisGroup, see
http://www.exlibrisgroup.com/de/ for details.
The plugin uses the free software freshclamd/clamAV, see
http://www.clamav.net/lang/en/
The code is partially based on https://code.google.com/p/clamavj/source/browse/trunk/src/main/java/com/philvarner/clamavj/ClamScan.java?r=2
https://github.com/vrtadmin/clamav-devel/blob/master/clamdscan/client.c and
https://github.com/vrtadmin/clamav-devel/blob/master/clamdscan/proto.c
and therefore licenced via Apache License Version 2.0.
Andreas Romeyke
This diff is collapsed.
Click to expand it.
README.1st
+
2
−
1
View file @
67187f55
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
in directory EICAR/ is a file called "eicar", which contains the standard
in directory EICAR/ is a file called "eicar", which contains the standard
antivirus testsignature. This means that this file will ever ever trigger a
antivirus testsignature. This means that this file will ever ever trigger a
virus alert in all known antivirus programs. This inot a bug, but a feature to
virus alert in all known antivirus programs. This inot a bug, but a feature to
ensure that "virus" files will be detected.
ensure that "virus" files will be detected. See
http://de.wikipedia.org/wiki/EICAR-Testdatei for details.
Please test the plugin with this file:
Please test the plugin with this file:
$> java -cp $EXLIBRISCLASSPATH:SLUBVirusCheckPlugin.jar org.slub.rosetta.dps.repository.plugin.SLUBVirusCheckClamAVPlugin EICAR/eicar
$> java -cp $EXLIBRISCLASSPATH:SLUBVirusCheckPlugin.jar org.slub.rosetta.dps.repository.plugin.SLUBVirusCheckClamAVPlugin EICAR/eicar
...
...
This diff is collapsed.
Click to expand it.
java/org/slub/rosetta/dps/repository/plugin/SLUBVirusCheckClamAVPlugin.java
+
22
−
1
View file @
67187f55
/*
2014 by Andreas Romeyke (SLUB Dresden)
The code is partially based on https://code.google.com/p/clamavj/source/browse/trunk/src/main/java/com/philvarner/clamavj/ClamScan.java?r=2
https://github.com/vrtadmin/clamav-devel/blob/master/clamdscan/client.c and
https://github.com/vrtadmin/clamav-devel/blob/master/clamdscan/proto.c
and therefore licensed under apache 2.0.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
org.slub.rosetta.dps.repository.plugin
;
package
org.slub.rosetta.dps.repository.plugin
;
...
@@ -13,7 +35,6 @@ import java.net.SocketException;
...
@@ -13,7 +35,6 @@ import java.net.SocketException;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Map
;
// import com.exlibris.dps.repository.plugin.virusCheck;
/**
/**
* SLUBVirusCheckClamAVPlugin
* SLUBVirusCheckClamAVPlugin
...
...
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