Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with ebuild for ircd-hybrid
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Palme
n00b
n00b


Joined: 31 May 2014
Posts: 50

PostPosted: Fri Dec 01, 2017 10:16 am    Post subject: Help with ebuild for ircd-hybrid Reply with quote

i guys, could someone help me with ircd-hybrid conversion into ebuild file?

I would do it myself, but i cant :cry:, i'm not very experienced in creating ebuilds.
here is the build for ircd-hybrid :
https://sourceforge.net/projects/ircd-hybrid/files/ircd-hybrid/ircd-hybrid-8.2.22/ircd-hybrid-8.2.22.tgz/download

Can somebody help me on this?

Thanks
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16897
Location: here

PostPosted: Fri Dec 01, 2017 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Palme
n00b
n00b


Joined: 31 May 2014
Posts: 50

PostPosted: Fri Dec 01, 2017 6:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16897
Location: here

PostPosted: Fri Dec 01, 2017 9:16 pm    Post subject: Reply with quote

I don't use this program, what configuration files?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
n00b
n00b


Joined: 31 May 2014
Posts: 50

PostPosted: Sat Dec 02, 2017 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16897
Location: here

PostPosted: Sat Dec 02, 2017 1:20 pm    Post subject: Reply with quote

/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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum