Hello community,

here is the log from the commit of package charybdis for openSUSE:Factory 
checked in at 2016-06-11 00:00:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/charybdis (Old)
 and      /work/SRC/openSUSE:Factory/.charybdis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "charybdis"

Changes:
--------
New Changes file:

--- /dev/null   2016-04-07 01:36:33.300037506 +0200
+++ /work/SRC/openSUSE:Factory/.charybdis.new/charybdis.changes 2016-06-11 
00:00:48.000000000 +0200
@@ -0,0 +1,76 @@
+-------------------------------------------------------------------
+Sat May  7 22:45:18 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 3.5.1
+* Fix propagation of ip_cloaking hostname changes (only when
+  setting or unsetting the umode after connection).
+* Fix a remote-triggerable crash triggered by the CAPAB parsing
+  code.
+* As per the TS6 spec, require QS and ENCAP capabilities.
+* Require EX and IE capabilities (+e and +I cmodes).
+* Check that UIDs start with the server's SID.
+* Allow mode queries on mlocked modes. In particular, allow
+  `/mode #channel f` to query the forward channel even if
+  +f is mlocked.
+* Add starttls as per ircv3.
+* Reject nicks with '~' in them, rather than truncating at the '~'.
+* Do not allow SASL authentication when the configured SASL agent
+  is unavailable.
+* Implement IRCv3.2 capabilities: cap-notify, chghost,
+  userhost-in-names
+* Implement the $&, $| and $m extban types:
+  * $& combines 1 or more child extbans as an AND expression
+  * $| combines 1 or more child extbans as an OR expression
+  * $m provides normal hostmask matching as an extban for the above
+* Display an operator's privilege set in WHOIS.
+* The $o extban now matches against privilege set names as well as
+  individual privileges. Privilege set names are preferred over
+  individual privileges.
+
+-------------------------------------------------------------------
+Mon Oct  6 09:19:19 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 3.4.2
+* A new extban, $z, has been added for ssl users (extb_ssl)
+* Remove TS5 support
+* Replace oper flags by privilege sets (privsets)
+* Add cmode +C (no CTCP) from ircd-seven.
+* Add bandb from ircd-ratbox, which stores permanent
+  [DKX]lines/resvs in an sqlite database instead of a flatfile
+- Add charybdis-ratbox.diff, charybdis-werror.diff
+
+-------------------------------------------------------------------
+Sun Oct 28 10:49:20 UTC 2012 - jeng...@inai.de
+
+- Remove redundant tags/sections from specfile
+- Parallel build with %_smp_mflags
+- Feed through format_spec_file service
+- Add systemd service file
+
+-------------------------------------------------------------------
+Mon Oct  1 01:14:01 CEST 2007 - mrueck...@suse.de
+
+- update to version 2.2.0
+- also build the unsupported modules
+
+-------------------------------------------------------------------
+Sat Apr 14 21:48:45 CEST 2007 - mrueck...@suse.de
+
+- update to version 2.1.3
+
+-------------------------------------------------------------------
+Sat Apr 14 21:42:45 CEST 2007 - mrueck...@suse.de
+
+- fix build requires for factory
+- add missing %dir entry
+
+-------------------------------------------------------------------
+Mon Nov 27 06:16:11 CET 2006 - mrueck...@suse.de
+
+- use assembler stuff only on ix86
+
+-------------------------------------------------------------------
+Mon Nov 27 05:49:28 CET 2006 - mrueck...@suse.de
+
+- initial package.
+

New:
----
  charybdis-3.5.1.tar.gz
  charybdis-ratbox.diff
  charybdis-werror.diff
  charybdis.changes
  charybdis.spec
  example.conf

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ charybdis.spec ++++++
#
# spec file for package charybdis
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           charybdis
Version:        3.5.1
Release:        0
Summary:        Highly scalable IRCv3 compliant irc daemon
License:        GPL-2.0+
Group:          Productivity/Networking/IRC
Url:            http://atheme.org/projects/charybdis.html

#Git-Clone:     https://github.com/charybdis-ircd/charybdis
Source:         
https://github.com/charybdis-ircd/charybdis/archive/%name-%version.tar.gz
Source9:        example.conf
Patch1:         charybdis-ratbox.diff
Patch2:         charybdis-werror.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRequires:  systemd-rpm-macros
BuildRequires:  pkgconfig(libcrypto) >= 0.9.7
BuildRequires:  pkgconfig(libssl) >= 0.9.7
BuildRequires:  pkgconfig(zlib)
Requires(pre):  shadow

%description
Charybdis is an IRC daemon built to provide stability, whilst
supporting modern features and staying lightweight. Charybdis is the
IRCv3 reference implementation, and therefore is the first to get
many new features. It has good documentation and ease of configuration.

Charybdis is used on various networks either as itself, or as the
basis of a customized IRC server implementation. One such
customization is ircd-seven which powers Freenode, the largest IRC
network in the world.

%prep
%setup -qn %name-%name-%version
%patch -P 1 -P 2 -p1

%build
autoreconf -fiv
%configure --sysconfdir="%_sysconfdir/%name" \
        --with-logdir="%_localstatedir/log/%name" \
        --with-rundir="/run" --localstatedir="%_localstatedir/lib"
make %{?_smp_mflags} CHARYBDIS_VERSION="%version"

%install
b="%buildroot"
%make_install
mv "$b/%_bindir"/* "$b/%_libexecdir/%name/"
find "$b/%_libdir" -type f -name "*.la" -delete

# Unconflict with other ircds.
mv "$b/%_mandir/man8"/{ircd,charybdis-ircd}.8
# Move config file samples/documentation out of the way
mv "$b/%_sysconfdir/%name"/*.conf "$b/%_datadir/%name/"
# Place some config file that will make it run out of the box on localhost
cp "%{S:9}" "$b/%_sysconfdir/%name/ircd.conf"

mkdir -p "$b/%_localstatedir/lib/charybdis" \
        "$b/%_localstatedir/log/charybdis" "$b/%_sbindir" \
        "$b/%_unitdir" "$b/%_prefix/lib/tmpfiles.d"
ln -s service "$b/%_sbindir/rc%name"
cat >"$b/%_unitdir/charybdis.service" <<-EOF
        [Unit]
        Description=Charybdis Inter Relay Chat server
        [Service]
        ExecStart=%_libexecdir/%name/ircd -foreground
        User=charybdis
        Group=charybdis
        [Install]
        WantedBy=multi-user.target
EOF
cat >"$b/%_prefix/lib/tmpfiles.d/charybdis.conf" <<-EOF
        d /run/%name 0755 charybdis charybdis -
EOF
# There are no headers installed, so the .pc and devel .so is useless
rm -Rf "$b/%_libdir/pkgconfig" "$b/%_libdir/libratbox.so"

%pre
getent group charybdis >/dev/null || \
        /usr/sbin/groupadd -r charybdis || :
getent passwd charybdis >/dev/null || \
        /usr/sbin/useradd -r -g charybdis -s /bin/false \
        -c "Charybdis Inter Relay Chat daemon" \
        -d "%_localstatedir/lib/charybdis" charybdis || :
%service_add_pre %name.service

%post
%service_add_post %name.service
systemd-tmpfiles --create %name.conf || :

%preun
%service_del_preun %name.service

%postun
%service_del_postun %name.service

%files
%defattr(-,root,root)
%attr(0750,root,charybdis) %dir %_sysconfdir/%name
%attr(0640,root,charybdis) %config %_sysconfdir/%name/*
%_sbindir/rc%name
%_libexecdir/%name/
%_libdir/%name/
%_libdir/libratbox-charybdis.so
%_datadir/%name/
%_mandir/man8/*.8*
%_prefix/lib/tmpfiles.d/
%_unitdir/*.service
%attr(0750,charybdis,charybdis) %_localstatedir/log/%name/
%attr(0750,charybdis,charybdis) %_localstatedir/lib/%name/
%doc LICENSE NEWS.md

%changelog
++++++ charybdis-ratbox.diff ++++++
From: Jan Engelhardt <jeng...@inai.de>
Date: 2014-10-06 02:22:49.698825555 +0200

Ensure that charybdis's copy of libratbox is uniquiely named to
not conflict with ircd-ratbox's copy.

---
 libratbox/src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: charybdis-charybdis-3.5.1/libratbox/src/Makefile.am
===================================================================
--- charybdis-charybdis-3.5.1.orig/libratbox/src/Makefile.am
+++ charybdis-charybdis-3.5.1/libratbox/src/Makefile.am
@@ -42,7 +42,7 @@ libratbox_la_SOURCES =                        \
        arc4random.c                    \
        version.c
        
-libratbox_la_LDFLAGS = @SSL_LIBS@ @GNUTLS_LIBS@ @MBEDTLS_LIBS@ -avoid-version 
-no-undefined -export-symbols export-syms.txt
+libratbox_la_LDFLAGS = @SSL_LIBS@ @GNUTLS_LIBS@ @MBEDTLS_LIBS@ -avoid-version 
-no-undefined -export-symbols export-syms.txt -release charybdis
 libratbox_la_LIBADD = @SSL_LIBS@ @GNUTLS_LIBS@ @MBEDTLS_LIBS@
 lib_LTLIBRARIES = libratbox.la
 
++++++ charybdis-werror.diff ++++++
From: Jan Engelhardt <jeng...@inai.de>

This -Werror is totally stupid. The code below it defines a variable,
but leaves it unused, causing contemporary compilers to emit a
warning (if there's -Wall in CFLAGS), which, with the -Werror just
above it, is upgraded to an error. So it always looks like
export-dynamic is not supported, ircd is built without it, so irc
modules can never load because the symbols are not there, and
charybdis fails to start.

---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: charybdis-3.4.2/configure.ac
===================================================================
--- charybdis-3.4.2.orig/configure.ac
+++ charybdis-3.4.2/configure.ac
@@ -1020,7 +1020,7 @@ if test "$shared_modules" = yes; then
        # all symbols visible in the dynamic symbol table.
        hold_ldflags=$LDFLAGS
        AC_MSG_CHECKING(for the ld -export-dynamic flag)
-       LDFLAGS="${LDFLAGS} -Wl,-export-dynamic -Werror"
+       LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
        AC_LINK_IFELSE(AC_LANG_PROGRAM([],[int i;]), found=yes, found=no)
        LDFLAGS=$hold_ldflags
 
++++++ example.conf ++++++
serverinfo {
        name = "charybdis.localhost";
        sid = "42X";
        description = "charybdis test server";
        hub = yes;
};
log {
        fname_userlog    = "/var/log/charybdis/userlog";
        fname_fuserlog   = "/var/log/charybdis/fuserlog";
        fname_operlog    = "/var/log/charybdis/operlog";
        fname_foperlog   = "/var/log/charybdis/foperlog";
        fname_serverlog  = "/var/log/charybdis/serverlog";
        fname_klinelog   = "/var/log/charybdis/klinelog";
        fname_killlog    = "/var/log/charybdis/killlog";
        fname_operspylog = "/var/log/charybdis/operspylog";
        fname_ioerrorlog = "/var/log/charybdis/ioerror";
};
class "users" {
        max_number = 65535;
        cidr_ipv4_bitlen = 32;
        cidr_ipv6_bitlen = 64;
        number_per_cidr = 4;
};
listen {
        defer_accept = yes;
        port = 6667;
        sslport = 7000;
};
auth {
        user = "*@*";
        class = "users";
};
connect "services.localhost" {
        host = "0::1";
        send_password = "eyjafjallajokullcharybdis";
        accept_password = "eyjafjallajokullservices";
};
service {
        name = "services.localhost";
};
alias "NickServ" { target = "NickServ"; };
alias "ChanServ" { target = "ChanServ"; };
alias "OperServ" { target = "OperServ"; };
alias "MemoServ" { target = "MemoServ"; };
alias "NS" { target = "NickServ"; };
alias "CS" { target = "ChanServ"; };
alias "OS" { target = "OperServ"; };
alias "MS" { target = "MemoServ"; };
general {
        identify_service = "NickServ@services.localhost";
        identify_command = "IDENTIFY";
        default_ident_timeout = 1;
        throttle_duration = 60;
        throttle_count = 60;
};
channel {
        default_split_user_count = 0;
        default_split_server_count = 0;
        no_create_on_split = no;
        no_join_on_split = no;
};

Reply via email to