public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-proxy/c-icap: c-icap-0.2.2.ebuild ChangeLog
@ 2012-09-24 15:39 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2012-09-24 15:39 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/09/24 15:39:14

  Modified:             ChangeLog
  Added:                c-icap-0.2.2.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.0_alpha131/cvs/Linux x86_64)

Revision  Changes    Path
1.16                 net-proxy/c-icap/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/c-icap/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog	29 Jun 2012 14:09:12 -0000	1.15
+++ ChangeLog	24 Sep 2012 15:39:14 -0000	1.16
@@ -1,6 +1,12 @@
 # ChangeLog for net-proxy/c-icap
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/ChangeLog,v 1.15 2012/06/29 14:09:12 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/ChangeLog,v 1.16 2012/09/24 15:39:14 flameeyes Exp $
+
+*c-icap-0.2.2 (24 Sep 2012)
+
+  24 Sep 2012; Diego E. Pettenò <flameeyes@gentoo.org> +c-icap-0.2.2.ebuild,
+  +files/c-icap-0.2.2-asneeded.patch:
+  Version bump.
 
 *c-icap-0.2.1 (29 Jun 2012)
 



1.1                  net-proxy/c-icap/c-icap-0.2.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild?rev=1.1&content-type=text/plain

Index: c-icap-0.2.2.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild,v 1.1 2012/09/24 15:39:14 flameeyes Exp $

EAPI=4

inherit eutils multilib flag-o-matic autotools

MY_PN=${PN/-/_}
MY_P=${MY_PN}-${PV}

DESCRIPTION="C Implementation of an ICAP server"
HOMEPAGE="http://c-icap.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="berkdb ipv6 ldap"

RDEPEND="berkdb? ( sys-libs/db )
	ldap? ( net-nds/openldap )
	sys-libs/zlib"
DEPEND="${RDEPEND}"
RDEPEND="${RDEPEND}
	sys-apps/openrc"

S="${WORKDIR}/${MY_P}"

src_prepare() {
	epatch "${FILESDIR}/${PN}-0.2.2-asneeded.patch"
	epatch "${FILESDIR}/${PN}-0.1.3+db-5.0.patch"
	epatch "${FILESDIR}/${PN}-0.1.4-crosscompile.patch"
	epatch "${FILESDIR}/${PN}-0.1.6-implicit.patch"
	eautoreconf
}

src_configure() {
	# some void *** pointers get casted around and can be troublesome to
	# fix properly.
	append-flags -fno-strict-aliasing

	econf \
		--sysconfdir=/etc/${PN} \
		--disable-dependency-tracking \
		--disable-maintainer-mode \
		--disable-static \
		--enable-large-files \
		$(use_enable ipv6) \
		$(use_with berkdb bdb) \
		$(use_with ldap)
}

src_compile() {
	emake LOGDIR="/var/log"
}

src_install() {
	emake \
		LOGDIR="/var/log" \
		DESTDIR="${D}" install

	find "${D}" -name '*.la' -delete || die

	# Move the daemon out of the way
	dodir /usr/libexec
	mv "${D}"/usr/bin/c-icap "${D}"/usr/libexec || die

	# Remove the default configuration files since we have etc-update to
	# take care of it for us.
	rm "${D}"/etc/${PN}/c-icap.*.default || die

	# Fix the configuration file; for some reason it's a bit messy
	# around.
	sed -i \
		-e 's:/usr/var/:/var/:g' \
		-e 's:/var/log/:/var/log/c-icap/:g' \
		-e 's:/usr/etc/:/etc/c-icap/:g' \
		-e 's:/usr/local/c-icap/etc/:/etc/c-icap/:g' \
		-e 's:/usr/lib/:/usr/'$(get_libdir)'/:g' \
		"${D}"/etc/${PN}/c-icap.conf \
		|| die

	dodoc AUTHORS README TODO ChangeLog

	newinitd "${FILESDIR}/${PN}.init.2" ${PN}
	keepdir /var/log/c-icap

	insopts -m0644
	insinto /etc/logrotate.d
	newins "${FILESDIR}"/${PN}.logrotate ${PN}
}

pkg_postinst() {
	elog "To enable Squid to call the ICAP modules from a local server you should set"
	elog "the following in your squid.conf:"
	elog ""
	elog "    icap_enable on"
	elog ""
	elog "    # not strictly needed, but some modules might make use of these"
	elog "    icap_send_client_ip on"
	elog "    icap_send_client_username on"
	elog ""
	elog "    icap_service service_req reqmod_precache bypass=1 icap://localhost:1344/service"
	elog "    adaptation_access service_req allow all"
	elog ""
	elog "    icap_service service_resp respmod_precache bypass=0 icap://localhost:1344/service"
	elog "    adaptation_access service_resp allow all"
	elog ""
	elog "You obviously will have to replace \"service\" with the actual ICAP service to"
	elog "use."
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-proxy/c-icap: c-icap-0.2.2.ebuild ChangeLog
@ 2012-11-04  5:55 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2012-11-04  5:55 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/11/04 05:55:35

  Modified:             c-icap-0.2.2.ebuild ChangeLog
  Log:
  Remove /var/run so that it does not trigger portage's symlink protection on clean.
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)

Revision  Changes    Path
1.2                  net-proxy/c-icap/c-icap-0.2.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild?r1=1.1&r2=1.2

Index: c-icap-0.2.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- c-icap-0.2.2.ebuild	24 Sep 2012 15:39:14 -0000	1.1
+++ c-icap-0.2.2.ebuild	4 Nov 2012 05:55:35 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild,v 1.1 2012/09/24 15:39:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild,v 1.2 2012/11/04 05:55:35 flameeyes Exp $
 
 EAPI=4
 
@@ -89,6 +89,10 @@
 	insopts -m0644
 	insinto /etc/logrotate.d
 	newins "${FILESDIR}"/${PN}.logrotate ${PN}
+
+	# avoid triggering portage's symlink protection; this is handled by
+	# the init script anyway.
+	rm -rf "${D}"/var/run
 }
 
 pkg_postinst() {



1.18                 net-proxy/c-icap/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/c-icap/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	22 Oct 2012 02:42:20 -0000	1.17
+++ ChangeLog	4 Nov 2012 05:55:35 -0000	1.18
@@ -1,6 +1,10 @@
 # ChangeLog for net-proxy/c-icap
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/ChangeLog,v 1.17 2012/10/22 02:42:20 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/ChangeLog,v 1.18 2012/11/04 05:55:35 flameeyes Exp $
+
+  04 Nov 2012; Diego E. Pettenò <flameeyes@gentoo.org> c-icap-0.2.2.ebuild:
+  Remove /var/run so that it does not trigger portage's symlink protection on
+  clean.
 
   22 Oct 2012; Diego E. Pettenò <flameeyes@gentoo.org> -c-icap-0.2.1.ebuild,
   -files/c-icap-0.2.1-asneeded.patch, files/c-icap.init.2:





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-04  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04  5:55 [gentoo-commits] gentoo-x86 commit in net-proxy/c-icap: c-icap-0.2.2.ebuild ChangeLog Diego Petteno (flameeyes)
  -- strict thread matches above, loose matches on Subject: below --
2012-09-24 15:39 Diego Petteno (flameeyes)

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