]> git.pld-linux.org Git - packages/eggdrop.git/blob - eggdrop-FHS.patch
- up to 1.8.3; dropped patches and moduels that don't build with 1.8.x series
[packages/eggdrop.git] / eggdrop-FHS.patch
1 --- eggdrop1.6.21/eggdrop.conf~ 2012-03-31 04:26:15.000000000 +0300
2 +++ eggdrop1.6.21/eggdrop.conf  2012-03-31 04:27:17.370702471 +0300
3 @@ -1,4 +1,4 @@
4 -#! /path/to/executable/eggdrop
5 +#! /usr/bin/eggdrop
6  # ^- This should contain a fully qualified path to your Eggdrop executable.
7  #
8  # $Id$
9 @@ -241,19 +241,19 @@ set userfile "LamestBot.user"
10  
11  # Specify here where Eggdrop should look for help files. Don't modify this
12  # setting unless you know what you're doing!
13 -set help-path "help/"
14 +set help-path "/usr/share/eggdrop/help/"
15  
16  # Specify here where Eggdrop should look for text files. This is used for
17  # certain Tcl and DCC commands.
18 -set text-path "text/"
19 +set text-path "/usr/share/eggdrop/"
20  
21  # The MOTD (Message Of The day) is displayed when people dcc chat or telnet
22  # to the bot. Look at doc/TEXT-SUBSTITUTIONS for options.
23 -set motd "text/motd"
24 +set motd "/usr/share/eggdrop/motd"
25  
26  # This banner will be displayed on telnet connections. Look at
27  # doc/TEXT-SUBSTITUTIONS for options.
28 -set telnet-banner "text/banner"
29 +set telnet-banner "/usr/share/eggdrop/banner"
30  
31  # This specifies what permissions the user, channel, and notes files should
32  # be set to. The octal values are the same as for the chmod system command.
33 @@ -419,7 +419,7 @@ die "Please make sure you edit your conf
34  # If you run the bot from the compilation directory, you will want to set
35  # this to "". If you use 'make install' (like all good kiddies do ;), this
36  # is a fine default. Otherwise, use your head :)
37 -set mod-path "modules/"
38 +set mod-path "/usr/lib/eggdrop/modules/"
39  
40  
41  #### BLOWFISH MODULE ####
42 @@ -1378,24 +1378,24 @@
43  # directory. All scripts should be put there, although you can place them where
44  # you like as long as you can supply a fully qualified path to them.
45  #
46 -# source scripts/script.tcl
47 +# source /usr/share/eggdrop/scripts/script.tcl
48  
49 -source scripts/alltools.tcl
50 -source scripts/action.fix.tcl
51 +source /usr/share/eggdrop/scripts/alltools.tcl
52 +source /usr/share/eggdrop/scripts/action.fix.tcl
53  
54  # This script enhances Eggdrop's built-in dcc '.whois' command to allow all
55  # users to '.whois' their own handle.
56 -source scripts/dccwhois.tcl
57 +source /usr/share/eggdrop/scripts/dccwhois.tcl
58  
59  # This script provides many useful informational functions, like setting
60  # users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
61  # extra entries.
62 -source scripts/userinfo.tcl
63 +source /usr/share/eggdrop/scripts/userinfo.tcl
64  loadhelp userinfo.help
65  
66  # Use this script for Tcl and Eggdrop backwards compatibility.
67  # NOTE: This can also cause problems with some newer scripts.
68 -#source scripts/compat.tcl
69 +#source /usr/share/eggdrop/scripts/compat.tcl
70  
71  # A few IRC networks (EFnet and Undernet) have added some simple checks to
72  # prevent drones from connecting to the IRC network. While these checks are
73 --- eggdrop1.6.19/src/eggdrop.h 2008-02-16 22:41:03.000000000 +0100
74 +++ eggdrop1.6.19.new/src/eggdrop.h     2008-09-22 10:00:48.000000000 +0200
75 @@ -75,7 +75,7 @@
76  
77  
78  /* Language stuff */
79 -#define LANGDIR  "./language" /* language file directory                   */
80 +#define LANGDIR  "/usr/share/eggdrop/language" /* language file directory                   */
81  #define BASELANG "english"    /* language which always gets loaded before
82                                   all other languages. You do not want to
83                                   change this.                              */
84 --- eggdrop1.6.19/eggdrop.conf  2008-02-16 21:15:30.000000000 +0100
85 +++ eggdrop1.6.19-new/eggdrop.conf      2008-09-23 19:10:36.435603076 +0200
86 @@ -1359,11 +1359,11 @@ if {[info exists net-type]} {
87    switch -- ${net-type} {
88      "0" {
89        # EFnet
90 -      source scripts/quotepong.tcl
91 +      source /usr/share/eggdrop/scripts/quotepong.tcl
92      }
93      "2" {
94        # Undernet
95 -      source scripts/quotepass.tcl
96 +      source /usr/share/eggdrop/scripts/quotepass.tcl
97      }
98    }
99  }
This page took 0.031857 seconds and 4 git commands to generate.