View previous topic :: View next topic |
Author |
Message |
Palme Tux's lil' helper
Joined: 31 May 2014 Posts: 92
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30842 Location: here
|
Posted: Fri Dec 01, 2017 11:14 am Post subject: |
|
|
ircd-hybrid-8.2.22.ebuild: | # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="IRCD-Hybrid is a lightweight, high-performance Internet Relay Chat server."
HOMEPAGE="http://www.ircd-hybrid.org"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ssl"
DEPEND="
dev-libs/libltdl
ssl? ( ||
( dev-libs/openssl:0=
dev-libs/libressl:0= )
)
"
RDEPEND="${DEPEND}"
src_configure() {
econf \
$(use_enable ssl openssl)
} |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Palme Tux's lil' helper
Joined: 31 May 2014 Posts: 92
|
Posted: Fri Dec 01, 2017 6:46 pm Post subject: |
|
|
thank you very much fedeliallalinea
I'll try and Report back
the installation is carried out without any problems but it doese not generate the configuration files |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30842 Location: here
|
Posted: Fri Dec 01, 2017 9:16 pm Post subject: |
|
|
I don't use this program, what configuration files? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Palme Tux's lil' helper
Joined: 31 May 2014 Posts: 92
|
Posted: Sat Dec 02, 2017 11:14 am Post subject: |
|
|
I can not find config files in / etc / or / usr / local
Code: |
As of hybrid-4, the distribution uses GNU autoconf instead of the old
Config script. You must run ./configure before you can (sanely) build
ircd-hybrid.
1. Read the NEWS file to find out about the exciting new features in
this version. Other good reads are doc/reference.conf, and README.
2. Run the configure script. It will create config.h and the
Makefiles to match your system. The paths are now handled
with the --prefix option to configure.
/usr/local/ircd is the default if no prefix is specified.
./configure --prefix=/usr/local/ircd
The script will determine whichever of the following is best for
your system, but you may (unsupported) force their usage with
undefined results:
* --enable-kqueue - Use the superior kqueue(2) system call as
opposed to the default poll(2). This is currently only available
on FreeBSD, OpenBSD, NetBSD, and Mac OS X
* --enable-devpoll - Enable the superior /dev/poll support on
Solaris. Linux /dev/poll is broken and will not work with this
option.
* --enable-epoll - Enables epoll(4) Signal I/O system. This is
currently only available on 2.5.44 Linux kernel versions or
later.
* --enable-poll - Use POSIX poll(2).
Incidentally, the order of listing above is the order of auto-
detection in configure. So if you do have kqueue but wish to
enable poll(2) instead (bad idea), you must use --enable-poll.
* --enable-openssl - Enable the LibreSSL/OpenSSL dependent crypto functions.
Required for the SSL Challenge controlled OPER feature, compressed
and/or SSL/TLS server links, as well as SSL/TLS client connections.
On systems where the configure script can automatically detect
LibreSSL or OpenSSL, this option is not necessary. If configure cannot
find LibreSSL or OpenSSL, you must specify a path with this option
(--enable-openssl=/path/to/openssl)
These are optional or have default values that may be overridden:
* --enable-assert - Enable use of numerous debugging checks. This
should not be used on any production servers for maximum speed
so as to prevent cores from things that shouldn't normally happen.
* --enable-debugging - Prepares Makefiles to compile the ircd sources
with proper settings that are required for debugging purposes.
This switch basically sets CFLAGS to "-g -O0".
3. Run 'make'; this should build the ircd.
4. Run 'make install'; this will install the server, modules, and tools
in the path with the prefix specified when configure was ran.
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30842 Location: here
|
Posted: Sat Dec 02, 2017 1:20 pm Post subject: |
|
|
/usr/loacl is default location but gentoo change this prefix.
For see installed file use equery
Code: | $ equery f ircd-hybrid |
The configuration file example is named reference.conf in /etc _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|