[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/
commit: 309ec4f9dc03f4e4ccd1daa2fc5009e3b99c2f75 Author: Sam James gentoo org> AuthorDate: Mon Mar 4 08:15:42 2024 + Commit: Sam James gentoo org> CommitDate: Mon Mar 4 08:17:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309ec4f9 net-irc/bnc: filter LTO (SA), eautoreconf Dead upstream. Closes: https://bugs.gentoo.org/861374 Closes: https://bugs.gentoo.org/900076 Signed-off-by: Sam James gentoo.org> net-irc/bnc/{bnc-2.9.4-r2.ebuild => bnc-2.9.4-r3.ebuild} | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/net-irc/bnc/bnc-2.9.4-r2.ebuild b/net-irc/bnc/bnc-2.9.4-r3.ebuild similarity index 85% rename from net-irc/bnc/bnc-2.9.4-r2.ebuild rename to net-irc/bnc/bnc-2.9.4-r3.ebuild index 15f92bbc17b2..c13e65bd1123 100644 --- a/net-irc/bnc/bnc-2.9.4-r2.ebuild +++ b/net-irc/bnc/bnc-2.9.4-r3.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit autotools flag-o-matic + MY_P="${P/-/}" DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server" HOMEPAGE="http://gotbnc.com/"; @@ -25,11 +27,19 @@ PATCHES=( src_prepare() { default + sed -i -e 's:./mkpasswd:/usr/bin/bncmkpasswd:' bncsetup \ || die 'failed to rename mkpasswd in bncsetup' + + # bug #900076 + eautoreconf } src_configure() { + # bug #861374 + append-flags -fno-strict-aliasing + filter-lto + econf $(use_with ssl) }
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/
commit: 1c9e269e688297ac6866f978514815ba04d56033 Author: Sam James gentoo org> AuthorDate: Wed Jun 30 18:39:37 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jun 30 18:39:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9e269e net-irc/bnc: add missing libcrypt dependency Signed-off-by: Sam James gentoo.org> net-irc/bnc/{bnc-2.9.4-r1.ebuild => bnc-2.9.4-r2.ebuild} | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-irc/bnc/bnc-2.9.4-r1.ebuild b/net-irc/bnc/bnc-2.9.4-r2.ebuild similarity index 89% rename from net-irc/bnc/bnc-2.9.4-r1.ebuild rename to net-irc/bnc/bnc-2.9.4-r2.ebuild index c59d47de39e..15f92bbc17b 100644 --- a/net-irc/bnc/bnc-2.9.4-r1.ebuild +++ b/net-irc/bnc/bnc-2.9.4-r2.ebuild @@ -1,23 +1,23 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 MY_P="${P/-/}" DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server" HOMEPAGE="http://gotbnc.com/"; SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"; +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm ppc ppc64 ~s390 sparc x86" IUSE="ssl" -DEPEND="ssl? ( dev-libs/openssl:0= )" +DEPEND="virtual/libcrypt:= + ssl? ( dev-libs/openssl:0= )" RDEPEND="${DEPEND}" -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}/respect-cflags-ldflags.patch" "${FILESDIR}/${PN}-2.9.3-64bit.patch"
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/
commit: 04a1c116c58db46bec66c232dbfb527ac53cc1c0 Author: Lars Wendler gentoo org> AuthorDate: Mon Sep 9 11:28:14 2019 + Commit: Lars Wendler gentoo org> CommitDate: Mon Sep 9 11:39:36 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a1c116 net-irc/bnc: Added sub-slot dep operator for dev-libs/openssl Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> net-irc/bnc/bnc-2.9.4-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-irc/bnc/bnc-2.9.4-r1.ebuild b/net-irc/bnc/bnc-2.9.4-r1.ebuild index 73bbb522e5c..6d62da1735a 100644 --- a/net-irc/bnc/bnc-2.9.4-r1.ebuild +++ b/net-irc/bnc/bnc-2.9.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SLOT="0" KEYWORDS="alpha amd64 arm ppc ppc64 ~s390 sparc x86" IUSE="ssl" -DEPEND="ssl? ( dev-libs/openssl:0 )" +DEPEND="ssl? ( dev-libs/openssl:0= )" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" @@ -35,7 +35,7 @@ src_configure() { src_install() { default - mv "${D}"/usr/bin/{,bnc}mkpasswd \ + mv "${ED}"/usr/bin/{,bnc}mkpasswd \ || die 'failed to rename the mkpasswd executable' dodoc example.conf motd }
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/files/, net-irc/bnc/
commit: a77edc86d1be3bf1963696f3434b741fdce7b212 Author: Michael Palimaka gentoo org> AuthorDate: Thu Apr 27 12:14:22 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Thu Apr 27 12:17:06 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a77edc86 net-irc/bnc: remove 2.9.4-r0 Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-irc/bnc/bnc-2.9.4.ebuild| 42 - net-irc/bnc/files/bnc-2.9.4-build.patch | 33 -- 2 files changed, 75 deletions(-) diff --git a/net-irc/bnc/bnc-2.9.4.ebuild b/net-irc/bnc/bnc-2.9.4.ebuild deleted file mode 100644 index 463adb46033..000 --- a/net-irc/bnc/bnc-2.9.4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -MY_P=${P/-/} -DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server" -HOMEPAGE="http://gotbnc.com/"; -SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ppc ~s390 sparc x86" -IUSE="ssl" - -DEPEND="ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i -e 's:./mkpasswd:/usr/bin/bncmkpasswd:' bncsetup || die - epatch "${FILESDIR}"/${P}-build.patch - epatch "${FILESDIR}"/${PN}-2.9.3-64bit.patch -} - -src_compile() { - econf $(use_with ssl) || die "econf failed" - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - mv "${D}"/usr/bin/{,bnc}mkpasswd || die - dodoc Changelog README example.conf motd -} - -pkg_postinst() { - einfo "You can find an example motd/conf file here:" - einfo " /usr/share/doc/${PF}/" -} diff --git a/net-irc/bnc/files/bnc-2.9.4-build.patch b/net-irc/bnc/files/bnc-2.9.4-build.patch deleted file mode 100644 index b6fb9762372..000 --- a/net-irc/bnc/files/bnc-2.9.4-build.patch +++ /dev/null @@ -1,33 +0,0 @@ Makefile.in -+++ Makefile.in -@@ -1,8 +1,17 @@ - LIBS=@LIBS@ --CFLAGS=-O3 -Wall -include config.h -+CFLAGS=@CFLAGS@ -Wall -include config.h - CC=@CC@ -+ -+DESTDIR = -+prefix = @prefix@ -+exec_prefix = @exec_prefix@ -+bindir = @bindir@ - --ALL: bnc mkpasswd -+all ALL: bnc mkpasswd -+ -+install: bnc mkpasswd -+ install -m 755 -d $(DESTDIR)$(bindir) -+ install -m 755 bnc mkpasswd bncchk bncsetup $(DESTDIR)$(bindir) - - mkpasswd:mkpasswd.c - ${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS} configure.in -+++ configure.in -@@ -35,7 +35,7 @@ - dnl Check for SSL support. - AC_MSG_CHECKING(whether to enable SSL support) - AC_ARG_WITH(ssl, --[ -with-ssl Enable SSL support], -+[ --with-ssl Enable SSL support], - [ case "$withval" in - yes) - AC_MSG_RESULT(yes)
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/
commit: 4a9b1399b1b175a312717f75513040efa74c4e30 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Apr 27 11:22:15 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Apr 27 11:22:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a9b1399 net-irc/bnc: sparc stable wrt bug #612976 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> net-irc/bnc/bnc-2.9.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/bnc/bnc-2.9.4-r1.ebuild b/net-irc/bnc/bnc-2.9.4-r1.ebuild index efeca529446..73bbb522e5c 100644 --- a/net-irc/bnc/bnc-2.9.4-r1.ebuild +++ b/net-irc/bnc/bnc-2.9.4-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="alpha amd64 arm ppc ppc64 ~s390 sparc x86" IUSE="ssl" DEPEND="ssl? ( dev-libs/openssl:0 )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/
commit: 0d0b0fb8d512717066e3d786e93e92e917fb4b57 Author: Michael Weber gentoo org> AuthorDate: Tue Apr 4 09:34:04 2017 + Commit: Michael Weber gentoo org> CommitDate: Tue Apr 4 09:34:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0b0fb8 net-irc/bnc: ppc stable (bug 612976). Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-irc/bnc/bnc-2.9.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/bnc/bnc-2.9.4-r1.ebuild b/net-irc/bnc/bnc-2.9.4-r1.ebuild index dd50489fc27..d6847ea7dd4 100644 --- a/net-irc/bnc/bnc-2.9.4-r1.ebuild +++ b/net-irc/bnc/bnc-2.9.4-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm ppc ppc64 ~s390 ~sparc x86" IUSE="ssl" DEPEND="ssl? ( dev-libs/openssl:0 )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/
commit: b4f5d6bd140e78dc70fe6c6ba06dd521bb0b4fc5 Author: Michael Weber gentoo org> AuthorDate: Tue Mar 28 11:09:23 2017 + Commit: Michael Weber gentoo org> CommitDate: Tue Mar 28 11:09:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f5d6bd net-irc/bnc: arm ppc64 stable (bug 612976). Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-irc/bnc/bnc-2.9.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-irc/bnc/bnc-2.9.4-r1.ebuild b/net-irc/bnc/bnc-2.9.4-r1.ebuild index 5cb0711f114..dd50489fc27 100644 --- a/net-irc/bnc/bnc-2.9.4-r1.ebuild +++ b/net-irc/bnc/bnc-2.9.4-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ppc ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm ~ppc ppc64 ~s390 ~sparc x86" IUSE="ssl" DEPEND="ssl? ( dev-libs/openssl:0 )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/
commit: 06d242506930ce3af9bfa4f62fbe6ab0af5ade73 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 20 12:27:52 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 20 12:27:52 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d24250 net-irc/bnc: amd64 stable wrt bug #612976 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-irc/bnc/bnc-2.9.4-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-irc/bnc/bnc-2.9.4-r1.ebuild b/net-irc/bnc/bnc-2.9.4-r1.ebuild index 2ea33540a68..2ec00f19620 100644 --- a/net-irc/bnc/bnc-2.9.4-r1.ebuild +++ b/net-irc/bnc/bnc-2.9.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~ppc ~s390 ~sparc ~x86" IUSE="ssl" DEPEND="ssl? ( dev-libs/openssl:0 )"
[gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/files/, net-irc/bnc/
commit: dce2e1a26622ec605dcec77c478e12611b96f35d Author: Michael Orlitzky gentoo org> AuthorDate: Sun Aug 28 21:02:21 2016 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Aug 28 21:04:14 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce2e1a2 net-irc/bnc: new EAPI=6 revision respecting LDFLAGS. Update the ebuild to EAPI=6, and update an existing patch. We already had a patch that made the build system support CFLAGS, so rather than add another patch, binki's patch from Bugzilla was incorporated into the existing one. The result respects CFLAGS, CPPFLAGS, and LDFLAGS. Gentoo-Bug: 338181 Package-Manager: portage-2.2.28 net-irc/bnc/bnc-2.9.4-r1.ebuild| 47 ++ net-irc/bnc/files/respect-cflags-ldflags.patch | 90 ++ 2 files changed, 137 insertions(+) diff --git a/net-irc/bnc/bnc-2.9.4-r1.ebuild b/net-irc/bnc/bnc-2.9.4-r1.ebuild new file mode 100644 index ..c9616ca --- /dev/null +++ b/net-irc/bnc/bnc-2.9.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_P="${P/-/}" +DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server" +HOMEPAGE="http://gotbnc.com/"; +SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc ~x86" +IUSE="ssl" + +DEPEND="ssl? ( dev-libs/openssl:0 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/respect-cflags-ldflags.patch" + "${FILESDIR}/${PN}-2.9.3-64bit.patch" +) + +src_prepare() { + default + sed -i -e 's:./mkpasswd:/usr/bin/bncmkpasswd:' bncsetup \ + || die 'failed to rename mkpasswd in bncsetup' +} + +src_configure() { + econf $(use_with ssl) +} + +src_install() { + default + mv "${D}"/usr/bin/{,bnc}mkpasswd \ + || die 'failed to rename the mkpasswd executable' + dodoc example.conf motd +} + +pkg_postinst() { + einfo 'You can find an example motd/conf file here:' + einfo " /usr/share/doc/${PF}" +} diff --git a/net-irc/bnc/files/respect-cflags-ldflags.patch b/net-irc/bnc/files/respect-cflags-ldflags.patch new file mode 100644 index ..ce3c30e --- /dev/null +++ b/net-irc/bnc/files/respect-cflags-ldflags.patch @@ -0,0 +1,90 @@ +From e5663f7b7bd506b7af2ee7ab2e68722ade1f2a03 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Sun, 28 Aug 2016 16:06:09 -0400 +Subject: [PATCH 1/1] autotools: fix --with-ssl option and respect + {C,CPP,LD}FLAGS. + +Patch the build system to support LDFLAGS. This is a new revision of +an existing Gentoo patch that made the build system support CFLAGS, +and incorporates binki's patch from our bugzilla to add CPPFLAGS +support. + +The --with-ssl option is also fixed in configure.in (it was +missing a dash). + +Gentoo-Bug: 338181 +--- + Makefile.in | 32 +--- + configure.in | 2 +- + 2 files changed, 22 insertions(+), 12 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index b7c9733..f28a355 100644 +--- a/Makefile.in b/Makefile.in +@@ -1,28 +1,38 @@ + LIBS=@LIBS@ +-CFLAGS=-O3 -Wall -include config.h ++CFLAGS=@CFLAGS@ -Wall ++CPPFLAGS = -include config.h @CPPFLAGS@ + CC=@CC@ + +-ALL: bnc mkpasswd ++DESTDIR = ++prefix = @prefix@ ++exec_prefix = @exec_prefix@ ++bindir = @bindir@ ++ ++all ALL: bnc mkpasswd ++ ++install: bnc mkpasswd ++ install -m 755 -d $(DESTDIR)$(bindir) ++ install -m 755 bnc mkpasswd bncchk bncsetup $(DESTDIR)$(bindir) + + mkpasswd:mkpasswd.c +- ${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS} ++ ${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS} ${LDFLAGS} + bnc: bnc.o conf.o server.o cmds.o ctcp.o send.o sbuf.o Makefile +- ${CC} -o bnc bnc.o conf.o server.o cmds.o ctcp.o sbuf.o send.o ${LIBS} ++ ${CC} -o bnc bnc.o conf.o server.o cmds.o ctcp.o sbuf.o send.o ${LIBS} ${LDFLAGS} + + bnc.o: config.h struct.h bnc.c Makefile +- ${CC} ${CFLAGS} -c bnc.c ++ ${CC} ${CPPFLAGS} ${CFLAGS} -c bnc.c + conf.o: config.h struct.h conf.c Makefile +- ${CC} ${CFLAGS} -c conf.c ++ ${CC} ${CPPFLAGS} ${CFLAGS} -c conf.c + cmds.o: config.h struct.h cmds.c Makefile +- ${CC} ${CFLAGS} -c cmds.c ++ ${CC} ${CPPFLAGS} ${CFLAGS} -c cmds.c + ctcp.o: config.h ctcp.c Makefile +- ${CC} ${CFLAGS} -c ctcp.c ++ ${CC} ${CPPFLAGS} ${CFLAGS} -c ctcp.c + server.o: config.h struct.h server.c Makefile +- ${CC} ${CFLAGS} -c server.c ++ ${CC} ${CPPFLAGS} ${CFLAGS} -c server.c + send.o: send.c send.h Makefile +- ${CC} ${CFLAGS} -c send.c ++ ${CC} ${CPPFLAGS} ${CFLAGS} -c send.c + sbuf.o: sbuf.c +- ${CC} ${CFLAGS} -c sbuf.c ++ ${CC} ${CPPFLAGS} ${CFLAGS} -c sbuf.c + + clean: + rm -rf *.o *~ core bnc mkpasswd +diff --git a/configure.in b/configure.in +index be17af3..3552eb1 100644 +--- a/configure.in