diff --git a/ircd/ircd.conf b/ircd/ircd.conf new file mode 100644 index 0000000000..59744a8a16 --- /dev/null +++ b/ircd/ircd.conf @@ -0,0 +1,28 @@ +## +## ircd.conf -- IRC Daemon Configuration +## + +# M;;;; +M;irc.foo.dom;127.0.0.1;OpenPKG Sample IRC Server;6667 + +# A;;;;; +A;OpenPKG Sample IRC Server;John Doe Admin ;Client Server;; + +# P;;<*>;;; +P;127.0.0.1;;;6667; + +# SERVER CLASSES +# Y;;;;;;; +Y;2;90;300;1;4000000 + +# CLIENT CLASSES +# Y;;;;;;; +Y;10;90;;100;512000;10;32 + +# I;;;;; +# i;;;;; +i;*@*;;;;10 + +# B;;;;; +B;-1;;irc2.foo.dom;6667; + diff --git a/ircd/ircd.spec b/ircd/ircd.spec index 99bd7c7664..1d0f16677e 100644 --- a/ircd/ircd.spec +++ b/ircd/ircd.spec @@ -32,12 +32,13 @@ Distribution: OpenPKG [EXP] Group: IRC License: BSD Version: 2.10.3p2 -Release: 2 +Release: 3 # list of sources Source0: ftp://ftp.irc.org/irc/server/irc%{version}.tgz Source1: rc.ircd Source2: ircd.conf +Patch0: irc%{version}.patch # build information Prefix: %{l_prefix} @@ -48,10 +49,15 @@ AutoReq: no AutoReqProv: no %description - ircII is the classical Unix IRC client. + ircd is the server (daemon) program for the Internet Relay Chat. + The ircd is a server in that its function is to "serve" the client + program ircII with messages and commands. All commands and user + messages are passed directly to the ircd for processing and relaying + to other ircd sites. %prep %setup -q -n irc%{version} + %patch -p0 %build CC="%{l_cc}" \ @@ -61,12 +67,13 @@ AutoReqProv: no ./configure \ --prefix=%{l_prefix} \ --sysconfdir=%{l_prefix}/etc/ircd \ + --libdir=%{l_prefix}/lib/ircd \ --localstatedir=%{l_prefix}/var/ircd \ --with-zlib \ - --disable-ip6 \ --disable-dsm ( cd *-*-* - %{l_make} %{l_mflags -O} all \ + %{l_make} %{l_mflags -O} server \ + ircd_dir=%{l_prefix} \ ircd_conf_dir=%{l_prefix}/etc/ircd \ ircd_var_dir=%{l_prefix}/var/ircd \ ircd_log_dir=%{l_prefix}/var/ircd @@ -75,8 +82,9 @@ AutoReqProv: no %install rm -rf $RPM_BUILD_ROOT ( cd *-*-* - %{l_make} %{l_mflags} install \ + %{l_make} %{l_mflags} install-server \ prefix=$RPM_BUILD_ROOT%{l_prefix} \ + ircd_dir=$RPM_BUILD_ROOT%{l_prefix} \ ircd_conf_dir=$RPM_BUILD_ROOT%{l_prefix}/etc/ircd \ ircd_var_dir=$RPM_BUILD_ROOT%{l_prefix}/var/ircd \ ircd_log_dir=$RPM_BUILD_ROOT%{l_prefix}/var/ircd