Name: ngircd Version: 27 Release: 3%{?dist} Summary: Next Generation IRC Daemon # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: http://ngircd.barton.de/ Source0: http://ngircd.barton.de/pub/ngircd/ngircd-%{version}.tar.gz Source1: ngircd.init Source2: ngircd.service # Listen only on localhost by default, set user/group Patch0: ngircd-fedora.patch # Use system cipher list Patch1: ngircd-cipher.patch # Patch for service file - no forking, no user/group for SSL key access, add doc, # add CAP_KILL to allow reload Patch2: ngircd-service.patch BuildRequires: make BuildRequires: gcc BuildRequires: zlib-devel, avahi-compat-howl-devel BuildRequires: gnutls-devel BuildRequires: pam-devel # Needed for tests BuildRequires: expect procps-ng telnet openssl BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Requires(pre): shadow-utils %description ngIRCd is a free open source daemon for Internet Relay Chat (IRC), developed under the GNU General Public License (GPL). It's written from scratch and is not based upon the original IRCd like many others. %prep %autosetup -p1 %build %configure \ --with-syslog \ --with-zlib \ --with-epoll \ --with-gnutls \ --with-pam \ --enable-ipv6 make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} install -D -m 644 contrib/ngircd.service %{buildroot}%{_unitdir}/ngircd.service install -D -m 660 doc/sample-ngircd.conf %{buildroot}%{_sysconfdir}/ngircd.conf mkdir -p %{buildroot}%{_sysconfdir}/pam.d install -D -m 660 ./contrib/Debian/ngircd.pam %{buildroot}%{_sysconfdir}/pam.d/ngircd touch %{buildroot}%{_sysconfdir}/ngircd.motd rm %{buildroot}%{_docdir}/ngircd/INSTALL.md mkdir -p %{buildroot}%{_tmpfilesdir} echo d /run/ngircd 0750 ngircd ngircd - > %{buildroot}%{_tmpfilesdir}/ngircd.conf %check make check %pre getent group ngircd >/dev/null || groupadd -r ngircd getent passwd ngircd >/dev/null || \ useradd -r -g ngircd -d /tmp/ -s /sbin/nologin \ -c "Next Generation IRC Daemon" ngircd exit 0 %post %systemd_post ngircd.service %preun %systemd_preun ngircd.service %postun %systemd_postun_with_restart ngircd.service %files %{!?_licensedir:%global license %%doc} %license COPYING %config(noreplace) %attr(660, root, ngircd) %{_sysconfdir}/ngircd.conf %config(noreplace) %attr(660, root, ngircd) %{_sysconfdir}/pam.d/ngircd %ghost %config(noreplace) %attr(660, root, ngircd) %{_sysconfdir}/ngircd.motd %{_unitdir}/ngircd.service %{_sbindir}/ngircd %{_docdir}/ngircd/ %{_mandir}/man5/ngircd.conf* %{_mandir}/man8/ngircd.8* %{_tmpfilesdir}/ngircd.conf %changelog * Fri Jul 26 2024 Miroslav Suchý - 27-3 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat May 11 2024 Kevin Fenzi - 27-1 - Update to 27. Fixes rhbz#2274888 - Clean up and drop old conditionals. * Thu Jan 25 2024 Fedora Release Engineering - 26.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 26.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 26.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Feb 02 2023 Florian Weimer - 26.1-8 - Port configure script to C99 * Thu Jan 19 2023 Fedora Release Engineering - 26.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 26.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 26.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 26.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 26.1-3 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Tue Jan 26 2021 Fedora Release Engineering - 26.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 03 2021 Kevin Fenzi - 26.1-1 - Update to 26.1. rhbz#1912027 * Tue Jul 28 2020 Fedora Release Engineering - 26-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 28 2020 Kevin Fenzi - 26-3 - Fix arch conditional for tests. :( * Sun Jun 28 2020 Kevin Fenzi - 26-2 - Drop gcc10 workaround (fixed upstream) - Disable tests on i686 for now as they seem sporadically broken. ( https://github.com/ngircd/ngircd/issues/280 ) * Wed Jun 24 2020 Kevin Fenzi - 26-1 - Update to 26. Fixes bug 1849314 * Sat May 16 2020 Kevin Fenzi - 25-7 - rhel8 also has system cypher support, so add that before initial epel8 package. * Sun Mar 29 2020 Kevin Fenzi - 25-6 - Build with -fcommon for now until upstream gcc10 fixes land. Fixes FTBFS bug #1799688 * Wed Jan 29 2020 Fedora Release Engineering - 25-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Jan 14 2020 Orion Poplawski - 25-4 - Build without libident (bz#1790478) * Thu Jul 25 2019 Fedora Release Engineering - 25-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 25-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 30 2019 Kevin Fenzi - 25-1 - Update to 25. Fixes bug #1668960 * Fri Jul 13 2018 Fedora Release Engineering - 24-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 24-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Dec 02 2017 Kevin Fenzi - 24-5 - Drop tcpwrappers support. Fixes bug #1518770 * Thu Aug 03 2017 Fedora Release Engineering - 24-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 24-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 20 2017 Kevin Fenzi - 24-1 - Update to 24. Fixes bug #1415350 * Thu Feb 04 2016 Fedora Release Engineering - 23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 17 2015 Orion Poplawski 23-1 - Update to 23 - Update service file from upstream - Base config file on upstream - Use %%license, upstream doc install * Wed Jun 17 2015 Fedora Release Engineering - 22.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Apr 06 2015 Kevin Fenzi 22.1-1 - Update to 22.1 * Mon Jan 19 2015 Kevin Fenzi 22-2 - Set default gnutls ciphers to "@SYSTEM". Fixes bug #1179328 * Mon Oct 13 2014 Kevin Fenzi 22-1 - Update to 22. Fixes bug #1152080 * Fri Oct 03 2014 Kevin Fenzi 21.1-6 - Sync ngircd.conf with sample template version. Fixes bug #1149012 * Sun Aug 17 2014 Fedora Release Engineering - 21.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Aug 11 2014 Kevin Fenzi 21.1-4 - Set pam config to allow connections by default. * Sat Jun 07 2014 Fedora Release Engineering - 21.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Apr 29 2014 Kevin Fenzi 21.1-2 - Enable pam support. Fixes bug #1092706 * Wed Mar 26 2014 Kevin Fenzi 21.1-1 - Update to 21.1 * Fri Nov 01 2013 Kevin Fenzi 21-1 - Update to 21 * Wed Sep 04 2013 Kevin Fenzi 20.3-2 - Fix docs to not include Makefiles. Fixes bug #1004557 * Sat Aug 24 2013 Kevin Fenzi 20.3-1 - Update to 20.3. Fixes bug #1000690 - Fix for CVE-2013-5580 * Sat Aug 03 2013 Fedora Release Engineering - 20.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Mar 29 2013 Kevin Fenzi 20.2-1 - Update to 20.2. - Fix for CVE-2013-1747 * Thu Mar 7 2013 Tomáš Mráz 20.1-2 - Rebuilt with new GnuTLS * Sat Feb 2 2013 Kevin Fenzi 20.1-1 - Update to 20.1 - Convert to systemd units for f19+ * Fri Jul 20 2012 Fedora Release Engineering - 18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Aug 22 2011 Kevin Fenzi - 18-2 - Fix config file typo. * Mon Aug 22 2011 Kevin Fenzi - 18-1 - Update to 18 * Tue Feb 08 2011 Fedora Release Engineering - 17.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 23 2011 Kevin Fenzi - 17.1-2 - Fix up for tmpfs /var/run - Remove fedora-usermgmt stuff - Fix username in config file to match up. * Tue Dec 21 2010 Kevin Fenzi - 17.1-1 - Update to 17.1 * Sun Nov 21 2010 Kevin Fenzi - 17-1 - Update to 17 * Sun Jul 04 2010 Kevin Fenzi - 16-1 - Update to 16 - Add ssl support with gnutls - Add zeroconf support * Sat Jul 25 2009 Fedora Release Engineering - 0.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Oct 23 2008 Andreas Thienemann 0.12.1-1 - Updated to 0.12.1 - Updated configuration sample * Mon Aug 11 2008 Tom "spot" Callaway 0.11.0-2 - fix license tag * Mon Feb 11 2008 Andreas Thienemann 0.11.0-1 - Updated to 0.11.0 * Tue Nov 20 2007 Andreas Thienemann 0.10.3-1 - Rebased to 0.10.3 - Incorporated patches from fw@strlen.de * Thu Apr 26 2007 Andreas Thienemann 0.10.1-3 - Removed libident requirement - Added patch from fw fixing server connections * Mon Apr 02 2007 Andreas Thienemann 0.10.1-2 - Added ngirc user * Sat Mar 31 2007 Andreas Thienemann 0.10.1-1 - Initial package