diff options
Diffstat (limited to 'net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch')
-rw-r--r-- | net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch b/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch new file mode 100644 index 000000000000..588c24fd687c --- /dev/null +++ b/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch @@ -0,0 +1,130 @@ +diff -ru configs.orig/beispiel.config configs/beispiel.config +--- configs.orig/beispiel.config 2012-06-18 21:13:04.000000000 +0400 ++++ configs/beispiel.config 2013-02-19 22:33:33.000000000 +0400 +@@ -15,19 +15,19 @@ + ############################################################################## + ### - pid file - ### + ### Schreibt die Prozess-ID beim Start in diese Datei ### +-pidfile mybot.pid ++pidfile /var/run/iroffer-dinoex/iroffer-dinoex.pid + + ############################################################################## + ### - log file - ### + ### logfile gibt die Logdatei für den Bot an. ### +-logfile mybot.log ++logfile /var/log/iroffer-dinoex/mybot.log + + ############################################################################## + ### - log rotate - ### + ### logrotate gibt den Zeitraum vor, nach dem die Logdatei gewechselt ### + ### wird, mögliche Werte "none" (nie), "monthly" (monatlich), ### + ### "weekly" (wöchentlich), "daily" (täglich) und 1-24 (stündlich). ### +-logrotate weekly ++logrotate none + + ############################################################################## + ### - expire logfiles - ### +@@ -48,7 +48,7 @@ + ### Diese Datei dient als allgemeines Datenlager für die bereitgestellten ### + ### Dateien und die dazugehörigen statistische Daten. Hier werden auch die ### + ### Beschreibungen der Pakete gespeichert. ### +-statefile mybot.state ++statefile /var/lib/iroffer-dinoex/mybot.state + + ############################################################################## + ### - old state file - ### +@@ -74,7 +74,7 @@ + ### als Packliste auf einer Webseite zu dienen, oder für andere Zwecke. ### + ### Wenn xdcclistfileraw gesetzt ist, werden die IRC-Farbcode auch mit ### + ### ausgegeben. ### +-xdcclistfile mybot.txt ++xdcclistfile /var/lib/iroffer-dinoex/mybot.txt + #xdcclistfileraw + + ############################################################################## +diff -ru configs.orig/exemple.config configs/exemple.config +--- configs.orig/exemple.config 2012-06-18 21:13:04.000000000 +0400 ++++ configs/exemple.config 2013-02-19 22:35:24.000000000 +0400 +@@ -15,18 +15,18 @@ + ############################################################################## + ### - pid file - ### + ### Ecrit l'id du processus dans ce fichier au lancement ### +-pidfile monbot.pid ++pidfile /var/run/iroffer-dinoex/iroffer-dinoex.pid + + ############################################################################## + ### - log file - ### + ### Écrit les informations du bot dans ce fichier. ### +-logfile monbot.log ++logfile /var/log/iroffer-dinoex/mybot.log + + ############################################################################## + ### - log rotate - ### + ### Archivage du fichier de log jamais (none), 1-24 h quotidien (daily), ### + ### hebdomadaire (weekly) ou mensuelle (monthly). ### +-logrotate weekly ++logrotate none + + ############################################################################## + ### - expire logfiles - ### +@@ -44,7 +44,7 @@ + ############################################################################## + ### - state file - ### + ### fichier temporaire de stockage des informations d'état d'iroffer. ### +-statefile monbot.state ++statefile /var/lib/iroffer-dinoex/mybot.state + + ############################################################################## + ### - old state file - ### +@@ -70,7 +70,7 @@ + ### 'xdcclistfile' et iroffer écrira la liste xdcc dès que nécessaire. ### + ### Si xdcclistfileraw est définit, le fichier sera écrit avec les ### + ### caractères spéciaux IRC (couleur, format, etc...). ### +-xdcclistfile monbot.txt ++xdcclistfile /var/lib/iroffer-dinoex/mybot.txt + #xdcclistfileraw + + ############################################################################## +diff -ru configs.orig/sample.config configs/sample.config +--- configs.orig/sample.config 2012-06-18 21:13:04.000000000 +0400 ++++ configs/sample.config 2013-02-19 22:31:53.000000000 +0400 +@@ -15,18 +15,18 @@ + ############################################################################## + ### - pid file - ### + ### Writes the process id to this file on startup ### +-pidfile mybot.pid ++pidfile /var/run/iroffer-dinoex/iroffer-dinoex.pid + + ############################################################################## + ### - log file - ### + ### Writes logging information to this file. ### +-logfile mybot.log ++logfile /var/log/iroffer-dinoex/mybot.log + + ############################################################################## + ### - log rotate - ### + ### After the time given here a logfile will be rotated. ### + ### logrotate can be set to none, 1 - 24 hours, daily, weekly or monthly ### +-logrotate weekly ++logrotate none + + ############################################################################## + ### - expire logfiles - ### +@@ -44,7 +44,7 @@ + ############################################################################## + ### - state file - ### + ### temporary storage for iroffer state information across restarts ### +-statefile mybot.state ++statefile /var/lib/iroffer-dinoex/mybot.state + + ############################################################################## + ### - old state file - ### +@@ -71,7 +71,7 @@ + ### needed. ### + ### If xdcclistfileraw is set the file will be written with the IRC ### + ### control characters included (color, formatting, etc..). ### +-xdcclistfile mybot.txt ++xdcclistfile /var/lib/iroffer-dinoex/mybot.txt + #xdcclistfileraw + + ############################################################################## |