public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-irc/ircservices: ChangeLog ircservices-5.1.17.ebuild ircservices-5.1.14.ebuild
@ 2009-09-19 20:40 Bjarke Istrup Pedersen (gurligebis)
  0 siblings, 0 replies; only message in thread
From: Bjarke Istrup Pedersen (gurligebis) @ 2009-09-19 20:40 UTC (permalink / raw
  To: gentoo-commits

gurligebis    09/09/19 20:40:29

  Modified:             ChangeLog
  Added:                ircservices-5.1.17.ebuild
  Removed:              ircservices-5.1.14.ebuild
  Log:
  Bumping to 5.1.17
  (Portage version: 2.2_rc40/cvs/Linux i686)

Revision  Changes    Path
1.45                 net-irc/ircservices/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ircservices/ChangeLog?rev=1.45&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ircservices/ChangeLog?rev=1.45&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ircservices/ChangeLog?r1=1.44&r2=1.45

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- ChangeLog	10 Aug 2009 17:22:36 -0000	1.44
+++ ChangeLog	19 Sep 2009 20:40:29 -0000	1.45
@@ -1,6 +1,15 @@
 # ChangeLog for net-irc/ircservices
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.44 2009/08/10 17:22:36 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.45 2009/09/19 20:40:29 gurligebis Exp $
+
+*ircservices-5.1.17 (19 Sep 2009)
+
+  19 Sep 2009; Bjarke Istrup Pedersen <gurligebis@gentoo.org>
+  -ircservices-5.1.14.ebuild, -files/ircservices-5.1.14-fPIC.patch,
+  -files/ircservices-5.1.14-fPIC-configure.patch,
+  +ircservices-5.1.17.ebuild, +files/ircservices-5.1.17-fPIC.patch,
+  +files/ircservices-5.1.17-fPIC-configure.patch:
+  Bumping to 5.1.17
 
   10 Aug 2009; Víctor Ostorga <vostorga@gentoo.org>
   ircservices-5.0.63.ebuild, ircservices-5.1.14.ebuild:



1.1                  net-irc/ircservices/ircservices-5.1.17.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ircservices/ircservices-5.1.17.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ircservices/ircservices-5.1.17.ebuild?rev=1.1&content-type=text/plain

Index: ircservices-5.1.17.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.1.17.ebuild,v 1.1 2009/09/19 20:40:29 gurligebis Exp $

inherit eutils fixheadtails flag-o-matic toolchain-funcs

DESCRIPTION="ChanServ, NickServ & MemoServ with support for several IRC daemons"
HOMEPAGE="http://www.ircservices.za.net/"
SRC_URI="http://www.ircservices.za.net/download/${P}.tar.gz
	ftp://ftp.esper.net/${PN}/${P}.tar.gz
	mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

pkg_setup() {
	enewgroup ircservices
	enewuser ircservices -1 -1 -1 ircservices
	# this is needed, because old ebuilds added the user with ircservices:users
	usermod -g ircservices ircservices
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}/${P}-fPIC.patch"
	epatch "${FILESDIR}/${P}-fPIC-configure.patch"

	ht_fix_file configure
	sed -i \
		-e "s/-m 750/-m 755/" \
		-e "s/-m 640/-m 644/" \
		configure
	#bug 273978
	sed -i -e "s/getline/get_line/" lang/langcomp.c
}

src_compile() {
	append-flags -fno-stack-protector
	# configure fails with -O higher than 2
	replace-flags "-O[3-9s]" "-O2"

	RUNGROUP="ircservices" \
	./configure \
		-cc "$(tc-getCC)" \
		-cflags "${CFLAGS}" \
		-bindest /usr/bin \
		-datdest /var/lib/ircservices \
		|| die "./configure failed"
	emake -j1 || die "make failed"
}

src_install() {
	dodir /usr/bin /{etc,usr/{$(get_libdir),share},var/lib}/ircservices || die "dodir failed"
	keepdir /var/log/ircservices || die "keepdir failed"

	make \
		BINDEST="${D}"/usr/bin \
		DATDEST="${D}"/var/lib/ircservices \
		install \
		|| die "make install failed"

	mv "${D}"/var/lib/ircservices/convert-db "${D}"/usr/bin/ircservices-convert-db || die "mv failed"

	# Now we move some files around to make it FHS conform
	mv "${D}"/var/lib/ircservices/example-ircservices.conf "${D}"/etc/ircservices/ircservices.conf || die "mv failed"
	dosym /etc/ircservices/ircservices.conf /var/lib/ircservices/ircservices.conf || die "dosym failed"

	mv "${D}"/var/lib/ircservices/example-modules.conf "${D}"/etc/ircservices/modules.conf || die "mv failed"
	dosym /etc/ircservices/modules.conf /var/lib/ircservices/modules.conf || die "dosym failed"

	mv "${D}"/var/lib/ircservices/modules "${D}"/usr/$(get_libdir)/ircservices || die "mv failed"
	dosym /usr/$(get_libdir)/ircservices/modules /var/lib/ircservices/modules || die "dosym failed"

	mv "${D}"/var/lib/ircservices/{helpfiles,languages} "${D}"/usr/share/ircservices  || die "mv failed"
	dosym /usr/share/ircservices/helpfiles /var/lib/ircservices/helpfiles || die "mv failed"
	dosym /usr/share/ircservices/languages /var/lib/ircservices/languages || die "dosym failed"

	fperms 750 /var/{lib,log}/ircservices /etc/ircservices
	fperms 640 /etc/ircservices/{ircservices,modules}.conf
	fowners ircservices:ircservices /var/{lib,log}/ircservices
	fowners root:ircservices /etc/ircservices{,/{ircservices,modules}.conf}

	newinitd "${FILESDIR}"/ircservices.init.d ircservices || die "newinitd failed"
	newconfd "${FILESDIR}"/ircservices.conf.d ircservices || die "newconfd failed"

	doman docs/ircservices.8 || die "doman failed"
	newman docs/convert-db.8 ircservices-convert-db.8 || die "newman failed"
	dohtml docs/*.html || die "dohtml failed"
	dodoc docs/Changes README docs/WhatsNew || die "dodoc failed"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-19 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-19 20:40 [gentoo-commits] gentoo-x86 commit in net-irc/ircservices: ChangeLog ircservices-5.1.17.ebuild ircservices-5.1.14.ebuild Bjarke Istrup Pedersen (gurligebis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox