Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/bnc/files/, net-irc/bnc/
Date: Thu, 27 Apr 2017 12:17:48
Message-Id: 1493295426.a77edc86d1be3bf1963696f3434b741fdce7b212.kensington@gentoo
1 commit: a77edc86d1be3bf1963696f3434b741fdce7b212
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 27 12:14:22 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 27 12:17:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a77edc86
7
8 net-irc/bnc: remove 2.9.4-r0
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 net-irc/bnc/bnc-2.9.4.ebuild | 42 ---------------------------------
13 net-irc/bnc/files/bnc-2.9.4-build.patch | 33 --------------------------
14 2 files changed, 75 deletions(-)
15
16 diff --git a/net-irc/bnc/bnc-2.9.4.ebuild b/net-irc/bnc/bnc-2.9.4.ebuild
17 deleted file mode 100644
18 index 463adb46033..00000000000
19 --- a/net-irc/bnc/bnc-2.9.4.ebuild
20 +++ /dev/null
21 @@ -1,42 +0,0 @@
22 -# Copyright 1999-2008 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -inherit eutils
26 -
27 -MY_P=${P/-/}
28 -DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server"
29 -HOMEPAGE="http://gotbnc.com/"
30 -SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"
31 -
32 -LICENSE="GPL-2"
33 -SLOT="0"
34 -KEYWORDS="alpha amd64 arm ppc ~s390 sparc x86"
35 -IUSE="ssl"
36 -
37 -DEPEND="ssl? ( dev-libs/openssl )"
38 -
39 -S=${WORKDIR}/${MY_P}
40 -
41 -src_unpack() {
42 - unpack ${A}
43 - cd "${S}"
44 - sed -i -e 's:./mkpasswd:/usr/bin/bncmkpasswd:' bncsetup || die
45 - epatch "${FILESDIR}"/${P}-build.patch
46 - epatch "${FILESDIR}"/${PN}-2.9.3-64bit.patch
47 -}
48 -
49 -src_compile() {
50 - econf $(use_with ssl) || die "econf failed"
51 - emake || die
52 -}
53 -
54 -src_install() {
55 - emake install DESTDIR="${D}" || die
56 - mv "${D}"/usr/bin/{,bnc}mkpasswd || die
57 - dodoc Changelog README example.conf motd
58 -}
59 -
60 -pkg_postinst() {
61 - einfo "You can find an example motd/conf file here:"
62 - einfo " /usr/share/doc/${PF}/"
63 -}
64
65 diff --git a/net-irc/bnc/files/bnc-2.9.4-build.patch b/net-irc/bnc/files/bnc-2.9.4-build.patch
66 deleted file mode 100644
67 index b6fb9762372..00000000000
68 --- a/net-irc/bnc/files/bnc-2.9.4-build.patch
69 +++ /dev/null
70 @@ -1,33 +0,0 @@
71 ---- Makefile.in
72 -+++ Makefile.in
73 -@@ -1,8 +1,17 @@
74 - LIBS=@LIBS@
75 --CFLAGS=-O3 -Wall -include config.h
76 -+CFLAGS=@CFLAGS@ -Wall -include config.h
77 - CC=@CC@
78 -+
79 -+DESTDIR =
80 -+prefix = @prefix@
81 -+exec_prefix = @exec_prefix@
82 -+bindir = @bindir@
83 -
84 --ALL: bnc mkpasswd
85 -+all ALL: bnc mkpasswd
86 -+
87 -+install: bnc mkpasswd
88 -+ install -m 755 -d $(DESTDIR)$(bindir)
89 -+ install -m 755 bnc mkpasswd bncchk bncsetup $(DESTDIR)$(bindir)
90 -
91 - mkpasswd:mkpasswd.c
92 - ${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS}
93 ---- configure.in
94 -+++ configure.in
95 -@@ -35,7 +35,7 @@
96 - dnl Check for SSL support.
97 - AC_MSG_CHECKING(whether to enable SSL support)
98 - AC_ARG_WITH(ssl,
99 --[ -with-ssl Enable SSL support],
100 -+[ --with-ssl Enable SSL support],
101 - [ case "$withval" in
102 - yes)
103 - AC_MSG_RESULT(yes)