public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/
Date: Sat, 30 Jun 2018 02:01:37 +0000 (UTC)	[thread overview]
Message-ID: <1530324090.06152d7886e77ff70a6cade640dfcc62937b763a.sbraz@gentoo> (raw)

commit:     06152d7886e77ff70a6cade640dfcc62937b763a
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 30 01:09:13 2018 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sat Jun 30 02:01:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06152d78

net-irc/eggdrop: bump to 1.8.3, drop custom patches+related USEs

Also:
* Make LICENSE GPL-2+.
* Add a slot operator to tcl.
* Do not try to install all docs to /usr/share/doc.
* Show postinst only for new installs.
* Introduce an ipv6 USE flag.
* install HTML docs only when the doc USE flag is set.

Closes: https://bugs.gentoo.org/617748
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-irc/eggdrop/Manifest             |  1 +
 net-irc/eggdrop/eggdrop-1.8.3.ebuild | 81 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index d05018b90fb..329ddc5a7f2 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,2 +1,3 @@
 DIST eggdrop-1.6.21-patches-1.0.tar.bz2 322608 BLAKE2B 5589b4c826b6144b2c5b68df485dfc361edf699d4cd6cf2760f410716664d34cc3dd7f22f2b5af67264ec5f4071e9a17907fa9796bd2712a9a86cbd6122a9c27 SHA512 d7d5d740c68997101f360096612700919c890c4254708102e962427de5929ce98f0f2eb5ad8dc8a56de60e8b610d502edeae7de2ac762fe0981134da379b6e64
+DIST eggdrop-1.8.3.tar.gz 1756536 BLAKE2B c2693bc383e1d857fe784d54f34479e73902064196021788ddf21f0bb2910977c643d820d2f6b640bb459b2acbfad8158fc0b29b4d76c588dfd76fee09a6fa25 SHA512 ad3b93d18aaa05d0eb00f1089b68d1f077f316042e64fff511ad1bbac06d35105adcb503490faaac4c9fe720dd45a9f350115b6c5d0f41fe198f228213a7a3a3
 DIST eggdrop1.6.21.tar.bz2 999211 BLAKE2B f804ebe4f06176a6de7331d409f97ed1c3159cc32a8a06cb8c5c6e6a83bf181c7b9624a2a4aaee4d36361903a21b7ee1c052466faeebda357bb0675052e3a5da SHA512 9fd9a86c1c4b59a47a5eed4e2306e829a01bac2ad29e990ca9c0ec630d5814fd649a9216dae9ce49f734e3ac1728beb4f479ca10af583bd513f43bbbea23a653

diff --git a/net-irc/eggdrop/eggdrop-1.8.3.ebuild b/net-irc/eggdrop/eggdrop-1.8.3.ebuild
new file mode 100644
index 00000000000..86d8765154b
--- /dev/null
+++ b/net-irc/eggdrop/eggdrop-1.8.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit readme.gentoo-r1
+
+DESCRIPTION="An IRC bot extensible with C or TCL"
+HOMEPAGE="https://www.eggheads.org/"
+SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${P}.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug doc ipv6 ssl static"
+
+DEPEND="
+	dev-lang/tcl:0=
+	ssl? ( dev-libs/openssl:0= )
+"
+RDEPEND="
+	sys-apps/gentoo-functions
+	${DEPEND}
+"
+
+DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
+
+src_prepare() {
+	# https://bugs.gentoo.org/335230
+	# https://github.com/eggheads/eggdrop/issues/526
+	sed -i \
+		-e '/\$(LD)/s/-o/$(CFLAGS) $(LDFLAGS) &/' \
+		src/mod/*.mod/Makefile* src/Makefile.in || die
+	default
+}
+
+src_configure() {
+	econf $(use_enable ssl tls) \
+		$(use_enable ipv6 ipv6)
+
+	# https://github.com/eggheads/eggdrop/issues/527
+	emake -j1 config
+}
+
+src_compile() {
+	local target
+
+	if use static && use debug; then
+		target="sdebug"
+	elif use static; then
+		target="static"
+	elif use debug; then
+		target="debug"
+	fi
+
+	emake ${target}
+}
+
+src_install() {
+	# https://github.com/eggheads/eggdrop/issues/527
+	emake -j1 DEST="${D}"/opt/eggdrop install
+
+	use doc && HTML_DOCS=( doc/html/. )
+	rm -r "${D}"/opt/eggdrop/doc/html || die
+	DOC_CONTENTS="
+		Additional documentation can be found
+		in ${EPREFIX}/opt/eggdrop/doc
+	"
+	readme.gentoo_create_doc
+	einstalldocs
+
+	dobin "${FILESDIR}"/eggdrop-installer
+	doman doc/man1/eggdrop.1
+}
+
+pkg_postinst() {
+	# Only display this for new installs
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to install your eggdrop bot."
+	fi
+}


             reply	other threads:[~2018-06-30  2:01 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-30  2:01 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-12 19:24 [gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/ Arthur Zamarin
2023-03-24 20:03 Arthur Zamarin
2023-03-13 22:11 Sam James
2023-03-13 22:11 Sam James
2023-03-13 22:11 Sam James
2023-03-13 22:11 Sam James
2023-03-13 22:11 Sam James
2023-03-13 20:28 Louis Sautier
2023-03-13 20:28 Louis Sautier
2022-12-17  2:28 Louis Sautier
2022-12-17  2:28 Louis Sautier
2022-08-29 22:49 Louis Sautier
2022-08-29 22:49 Louis Sautier
2022-03-06  8:51 Agostino Sarubbo
2022-03-06  5:46 Sam James
2022-03-06  5:46 Sam James
2022-03-06  5:46 Sam James
2022-03-06  1:26 Louis Sautier
2022-03-06  1:26 Louis Sautier
2021-06-01 22:34 Louis Sautier
2021-04-02 22:37 Louis Sautier
2021-04-02 22:37 Louis Sautier
2021-03-05 18:39 Sam James
2021-02-26 20:58 Agostino Sarubbo
2021-02-25 13:54 Agostino Sarubbo
2021-02-25  8:20 Sam James
2021-02-24 22:07 Sam James
2018-12-30 15:14 Louis Sautier
2018-10-26  8:32 Louis Sautier
2018-10-25 22:37 Thomas Deutschmann
2018-10-22  9:38 Louis Sautier
2018-10-11 16:50 Tobias Klausmann
2018-09-19 17:35 Thomas Deutschmann
2018-09-18 22:11 Sergei Trofimovich
2018-09-17 20:18 Sergei Trofimovich
2018-06-26  8:54 Louis Sautier
2018-06-18 10:34 Louis Sautier
2018-02-11 11:02 Michał Górny
2016-03-04 17:54 Amy Winston
2016-03-04 17:54 Amy Winston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1530324090.06152d7886e77ff70a6cade640dfcc62937b763a.sbraz@gentoo \
    --to=sbraz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox