| 1 | /=/====================================================================================================
|
|---|
| 2 |
|
|---|
| 3 | Enthral BBS - 11/18/2009 Build 438/SQ Alpha.
|
|---|
| 4 |
|
|---|
| 5 | Interm Release, This release or code sync is just to get the code in development up to date
|
|---|
| 6 | with the new code being written on my Desktop. It's a bit inbetween points at the time
|
|---|
| 7 | as everything is going through a MYSQL Backend rewrite. So stay tuned for more to come.
|
|---|
| 8 |
|
|---|
| 9 | ##############################################################
|
|---|
| 10 | Extra Release Notes.
|
|---|
| 11 | ##############################################################
|
|---|
| 12 | Extra Release Notes, this temp version currently is linking MySql, if you get any problems
|
|---|
| 13 | compiling this source, make sure you have the Mysql installed, the software is now moving
|
|---|
| 14 | away from the Husky SAMPI (JAM Message Format) to a MySql Database.
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | /=/====================================================================================================
|
|---|
| 18 | There are two ways to install Enthral. The manual way (which some people
|
|---|
| 19 | enjoy since they get a kick out of having full control) and the automated
|
|---|
| 20 | way via the install.pl script.
|
|---|
| 21 |
|
|---|
| 22 | We have detailed instructions for both steps as well as an auto update
|
|---|
| 23 | scripts that will update and compile your current Enthral install via
|
|---|
| 24 | the svn.
|
|---|
| 25 |
|
|---|
| 26 | Basic Installation - PreREQ and small overview.
|
|---|
| 27 | ==================
|
|---|
| 28 |
|
|---|
| 29 | You can run the install.pl script to install and compile the source in your current
|
|---|
| 30 | Directoy.
|
|---|
| 31 |
|
|---|
| 32 | Or you can manally run.
|
|---|
| 33 |
|
|---|
| 34 | $ ./autogen.sh (detects OS and Platform and generates configure script)
|
|---|
| 35 | $ ./configure (run the configure script to setup make files)
|
|---|
| 36 | $ gmake (gmake or make is fine)
|
|---|
| 37 |
|
|---|
| 38 | Some dependencies exists, you should have Autotools installed beore running either method.
|
|---|
| 39 | Some distro's don't have much installed, so you should check and verify the follow are
|
|---|
| 40 | installed before trying to compile.
|
|---|
| 41 |
|
|---|
| 42 | g++ compiler (c++ compiler)
|
|---|
| 43 | libc (standard library for c/c++)
|
|---|
| 44 | sed (needed for scripts)
|
|---|
| 45 | wget (downloads programs from the web)
|
|---|
| 46 | automake (Development tools for ccompiling source code)
|
|---|
| 47 | libtools (Used with automake to detect compiling settings)
|
|---|
| 48 | Husky SMAPI Lib, (Install.pl will download and attempt to compile it)
|
|---|
| 49 | xinetd / telnetd (Used for Answering and Handeling Telnet Connections)
|
|---|
| 50 | mysql Database/Libs (New - Now Required, still WIP)
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 | python (optional)
|
|---|
| 54 | perl (optional)
|
|---|
| 55 | OpenSSL (Optional)
|
|---|
| 56 |
|
|---|
| 57 | I believe i have everything here, although it's easy to miss something accross different
|
|---|
| 58 | linux/bsd/osx distro's. If i have, please let me know so we can keep track and make
|
|---|
| 59 | getting everything setup easier on everyone.
|
|---|
| 60 |
|
|---|
| 61 | MySQL instructions will be coming soon once it's more intergrated and used in the system.
|
|---|
| 62 |
|
|---|
| 63 | /=/====================================================================================================
|
|---|
| 64 | Auto Install.
|
|---|
| 65 |
|
|---|
| 66 | For those of you that would rather have every dependancy and the sysop name/
|
|---|
| 67 | bbs name changed in the code for you we have an automated perl script that
|
|---|
| 68 | will do all the heavy lifting for you. If you interested in having your
|
|---|
| 69 | system do everything for you, all you need to do is run the following:
|
|---|
| 70 |
|
|---|
| 71 | ./install.pl
|
|---|
| 72 |
|
|---|
| 73 | You need to have perl installed on your system to use the install script.
|
|---|
| 74 | Along with the PreREQ's mentioned above.
|
|---|
| 75 |
|
|---|
| 76 | /=/====================================================================================================
|
|---|
| 77 | Manual Install.
|
|---|
| 78 |
|
|---|
| 79 | Remember things are still very incomplete so still there are not a lot of
|
|---|
| 80 | options for many things, but I'm working on it.. :)
|
|---|
| 81 |
|
|---|
| 82 | You can get the source through svn thanks to Netsurge.
|
|---|
| 83 |
|
|---|
| 84 | $ svn --username svn co http://svn.enthralbbs.com /your/path/enthral
|
|---|
| 85 |
|
|---|
| 86 | If it asks for a password just hit ENTER or leave it blank.
|
|---|
| 87 |
|
|---|
| 88 | Before you can compile you need the Husky SMAPI lib, this is for jam message
|
|---|
| 89 | support.
|
|---|
| 90 |
|
|---|
| 91 | ############################################################################
|
|---|
| 92 | NOTE: Husky, Is being removed in the future, due to lots of bugs and issues.
|
|---|
| 93 | ############################################################################
|
|---|
| 94 |
|
|---|
| 95 | You can get the latest 2.4 RC5 from here:
|
|---|
| 96 | http://sourceforge.net/projects/husky/
|
|---|
| 97 |
|
|---|
| 98 | *Note, Some people have had problem with 2.4, if you get crashes in message
|
|---|
| 99 | scanning, please switch to 2.2-Stable Release.
|
|---|
| 100 |
|
|---|
| 101 | Go into the source directory, rename makefile.lnx to Makefile (case sensitive)
|
|---|
| 102 | and run make. This will generate the libsmapilnx.a which is needed by the bbs,
|
|---|
| 103 | copy this to the src directory for enthral and your all set.
|
|---|
| 104 |
|
|---|
| 105 | *Note, Both BSD and Linux will compile correctly with the makefile.lnx
|
|---|
| 106 |
|
|---|
| 107 | After smapi is all set and compiles cleanly:
|
|---|
| 108 |
|
|---|
| 109 | You have to edit the config.ini file located in the ini folder. Here you will
|
|---|
| 110 | add the handle/username of your sysop user. It should match exactly case and
|
|---|
| 111 | all. Soon there will be a user editor where you can assign a sysop flag.
|
|---|
| 112 |
|
|---|
| 113 | Now that we have made all the necessary changes to the code, we can now run
|
|---|
| 114 | configure and make. At a shell just type the following...
|
|---|
| 115 |
|
|---|
| 116 | /=/====================================================================================================
|
|---|
| 117 |
|
|---|
| 118 | # First run autogen.sh to generate a multi-platform configure script.
|
|---|
| 119 | # If your on BSD and most other OS's, you will need to install Automake and Libtools
|
|---|
| 120 |
|
|---|
| 121 | ./autogen.sh
|
|---|
| 122 |
|
|---|
| 123 | # Now run configure and make to build the system, if you have any pronlems,
|
|---|
| 124 | # try running 'make distclean' then re-run 'make', make sure the libsmapilnx.a library
|
|---|
| 125 | # is placed in your src folder before running make, it's a dependancy.
|
|---|
| 126 |
|
|---|
| 127 | ./configure && make
|
|---|
| 128 |
|
|---|
| 129 | We still have two small binaries to build to ensure that Enthral runs nice and
|
|---|
| 130 | smooth. Stats is used to generate top callers and posters and Snoop allows
|
|---|
| 131 | you to see what's going on when a user is logged in.
|
|---|
| 132 |
|
|---|
| 133 | /=/====================================================================================================
|
|---|
| 134 | For Stats
|
|---|
| 135 |
|
|---|
| 136 | Stats is located in src/stats. You will need to change the path statement in
|
|---|
| 137 | main.cpp to match the path of your enthral setup. Inside of main.cpp change
|
|---|
| 138 | the following line to your path.
|
|---|
| 139 |
|
|---|
| 140 | Line 19 - PATH = "/home/merc/enthral/src/";
|
|---|
| 141 |
|
|---|
| 142 | Once you have made the change run the following at a prompt to compile stats.
|
|---|
| 143 |
|
|---|
| 144 | g++ -o stats main.cpp process2.cpp userdat.cpp
|
|---|
| 145 |
|
|---|
| 146 | You will also need to edit [CommandRec009] in src/menu/logon.txt to the proper
|
|---|
| 147 | location of the stats binary we just compiled.
|
|---|
| 148 |
|
|---|
| 149 | /=/====================================================================================================
|
|---|
| 150 | For Snoop
|
|---|
| 151 |
|
|---|
| 152 | Go to the src/snoop directory and execute the following from a prompt.
|
|---|
| 153 |
|
|---|
| 154 | g++ -o snoop snoop.cpp
|
|---|
| 155 |
|
|---|
| 156 | /=/====================================================================================================
|
|---|
| 157 | Post Compile.
|
|---|
| 158 |
|
|---|
| 159 | The first thing you'll want to do it connect to the bbs, and create your
|
|---|
| 160 | sysop user, the name should match exactly what you updated in the logon.cpp.
|
|---|
| 161 |
|
|---|
| 162 | Now once your at the main menu, as a Sysop you can hit * from the main menu
|
|---|
| 163 | to go into the message forum editor.
|
|---|
| 164 |
|
|---|
| 165 | You will want to create an email area as your first area, and a system
|
|---|
| 166 | announcements as your second area. Your system annoucements area must be
|
|---|
| 167 | named "system" (no quotes) to ensure that only a sysop can post in it. This
|
|---|
| 168 | will be fixed later on.
|
|---|
| 169 |
|
|---|
| 170 | After these 2 areas, you can create general message and as many areas as you
|
|---|
| 171 | like.
|
|---|
| 172 |
|
|---|
| 173 | Once you are done creating your areas, hit C to compile them.
|
|---|
| 174 |
|
|---|
| 175 | Once everything is compiled and working, you'll want to setup xindetd, and
|
|---|
| 176 | telnetd to login to the bbs. If your unsure how to set either one of them
|
|---|
| 177 | up, send me a message and i'll email you some sample scripts.
|
|---|
| 178 |
|
|---|
| 179 | Your all done.
|
|---|
| 180 |
|
|---|
| 181 | If you have any questions feel free to email me or Netsurge and we'll try
|
|---|
| 182 | to help you out.
|
|---|
| 183 |
|
|---|
| 184 | /=/====================================================================================================
|
|---|
| 185 | Auto update
|
|---|
| 186 |
|
|---|
| 187 | There is a script in the root dir called update.pl. This script will
|
|---|
| 188 | automatically update your to the latest build via svn and replace all the
|
|---|
| 189 | instances of the default sysop and bbs name in the source code. It will also
|
|---|
| 190 | run configure, make clean, and make for you. This should make updating your
|
|---|
| 191 | installation a lot easier.
|
|---|
| 192 |
|
|---|
| 193 | /=/====================================================================================================
|
|---|
| 194 | One last note
|
|---|
| 195 |
|
|---|
| 196 | You can also add |IP MCI Code for ip address in the matrix ansi
|
|---|
| 197 | file, i took this out while I was hunting a bug a while back and forgot to
|
|---|
| 198 | add it back in.. ;)
|
|---|
| 199 |
|
|---|
| 200 | You can always pop into #enthral on irc.bbs-scene.org and ask for help. I try
|
|---|
| 201 | to pop in nightly and answer any questions, but you can also chat with
|
|---|
| 202 | Netsurge, Esc, and even pook who have also setup the bbs for testing.
|
|---|
| 203 |
|
|---|
| 204 | -=+[Team Enthral]+=-
|
|---|
| 205 | Mike -Mercyful Fate
|
|---|
| 206 | Frank -Netsurge
|
|---|
| 207 |
|
|---|
| 208 | http://www.enthralbbs.com
|
|---|