Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
* correct debian build dependencies * add huge mem page detection in general initscript * disable logging completely in jmimemagic-library
f1orif99c307eff1f
diff --git a/addon/yacyInit.m4 b/addon/yacyInit.m4index be61e0b4c..05c79875e 100644--- a/addon/yacyInit.m4+++ b/addon/yacyInit.m4@@ -47,6 +47,12 @@ SHUTDOWN_TIMEOUT=50NICE_VAL=0JAVA_ARGS="-server -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseAdaptiveSizePolicy"+#check if system supports large memory pages and enable it if possible+HUGEPAGESTOTAL="`cat /proc/meminfo | grep HugePages_Total | sed s/[^0-9]//g`"+if [ -n "$HUGEPAGESTOTAL" ] && [ $HUGEPAGESTOTAL -ne 0 ]+then+ JAVA_ARGS="$JAVA_ARGS -XX:+UseLargePages"+fiifdef(`openSUSE', `dnl. /etc/rc.statusdiff --git a/debian/control b/debian/controlindex 4d7e3d5d9..0be829c1f 100644--- a/debian/control+++ b/debian/control@@ -2,7 +2,7 @@ Source: yacySection: networkPriority: extraMaintainer: root <root@debian>-Build-Depends: ant, sun-java6-jdk, debhelper (>= 5)+Build-Depends: ant, sun-java5-jdk, debhelper (>= 5), m4Standards-Version: 3.7.2Package: yacydiff --git a/source/de/anomic/plasma/parser/mimeType/build.xml b/source/de/anomic/plasma/parser/mimeType/build.xmlindex 875005964..be0836095 100644--- a/source/de/anomic/plasma/parser/mimeType/build.xml+++ b/source/de/anomic/plasma/parser/mimeType/build.xml@@ -21,7 +21,9 @@<pathelement location="${libx}/log4j-1.2.9.jar" /><pathelement location="${libx}/xerces.jar"/></classpath>- </javac>+ </javac>+ <!-- copy log4j.properties, to disable logging -->+ <copy file="${src}/de/anomic/plasma/parser/${parserShortName}/log4j.properties" todir="${build}"/></target>diff --git a/source/de/anomic/plasma/parser/mimeType/log4j.properties b/source/de/anomic/plasma/parser/mimeType/log4j.propertiesnew file mode 100644index 000000000..8520d48c3--- /dev/null+++ b/source/de/anomic/plasma/parser/mimeType/log4j.properties@@ -0,0 +1 @@+log4j.rootLogger=OFF