|
|
@@ -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
|