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