Skip to content
Snippets Groups Projects
Commit 67187f55 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added license information

- added general information
parent 4c94566d
No related branches found
No related tags found
No related merge requests found
README 0 → 100644
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
...@@ -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
......
/*
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment