diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-proxy/c-icap | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'net-proxy/c-icap')
-rw-r--r-- | net-proxy/c-icap/Manifest | 7 | ||||
-rw-r--r-- | net-proxy/c-icap/c-icap-0.2.6.ebuild | 112 | ||||
-rw-r--r-- | net-proxy/c-icap/files/c-icap-0.2.6-fix-icap-parsing.patch | 11 | ||||
-rw-r--r-- | net-proxy/c-icap/files/c-icap.conf | 11 | ||||
-rw-r--r-- | net-proxy/c-icap/files/c-icap.init.3 | 26 | ||||
-rw-r--r-- | net-proxy/c-icap/files/c-icap.logrotate | 13 | ||||
-rw-r--r-- | net-proxy/c-icap/metadata.xml | 7 |
7 files changed, 0 insertions, 187 deletions
diff --git a/net-proxy/c-icap/Manifest b/net-proxy/c-icap/Manifest deleted file mode 100644 index b4f6ece3a6f7..000000000000 --- a/net-proxy/c-icap/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX c-icap-0.2.6-fix-icap-parsing.patch 522 BLAKE2B 371e498dc5ff1e6f63646a8caef270c36bc3769f3c991b22cf6ba0c459d654701dc7cd980eb072d9cad4e8fdae8a0c036fbe3f94e43e3445a5b77ca72c3ace4d SHA512 9bc60cba5d5560acad1320595176f0ccd654c4f88e2507da0e80d588999309b4180bc7b86843bf63d5688bcd377432a913ea76525ac5ccdec40155e70ecec9c0 -AUX c-icap.conf 359 BLAKE2B 028a2b8c7fb81005580085a7f3554e460c3f05950ca2696af234e035e9873aef12353450cd5a21fb2e8efeede43a0bced272e4515f4a5313f0088458b11bd4ec SHA512 2ccab04f6ddb1b76b41d9b26dfdcf3e43aa4acdaeeddc215f38e0f7f8b537687733c643d5cc2b0e06b95710a3cd76c8a67e33e8c8240b375d939fea649e86ba3 -AUX c-icap.init.3 693 BLAKE2B 09beb3ffad19455c0de6cd400f9078b147020477b468409273e5163b9ef1aaba75a0291536642053a6e1755f6bdf27266f6eeb2cd1bffa020e0f9bf594b9158d SHA512 9518ebdc57e69716717160fa11d2ade4648212ac4bbc65caeec0d0c7d2427cd0a8a70e1de36b6c81113c821ed9a11808f7d81595f8c1fc185013a1cd4ac93bdb -AUX c-icap.logrotate 188 BLAKE2B abfc255d4b82a58ac7f94e76c1dcaa40fce2415ec5a0d760eba18f5843a1ffd0bdcfd3c238759032020249107a3a73b836db32052af44923ef855a69e46eaa51 SHA512 edc8dbbbaa06cf062b307e37ffee1dee9d566cc4b8a6947422125a22d956bcc639c483712ff6b6f6e9eb30852b4b0d5c293f1279463af89e8fc199828792a9e7 -DIST c_icap-0.2.6.tar.gz 581856 BLAKE2B ce1e83efd9f7d1a9e78fd1cd4dd60e2323b2e35ff44bbfd93484524ecd37f0a7d1031042527ca0dd9804fb44e1033063237ad3b4e516d1ef956a13cee45a633c SHA512 3b1fe1f89581ec4649f74771f4a33a08637428f6cf81a9228f5d08405207c3495e6dadd590254dd6804ccbb7c34af1fc62973563c6156c4249941a599a072a40 -EBUILD c-icap-0.2.6.ebuild 2854 BLAKE2B 4684b5cffa8f7ceaca5208d6bbf9f9902aa643eef3116179e7f198e6ad25c87efe0a742c493c6bb1e21b2d52eae158775be028d664858f26585937db5fad2d1d SHA512 abe180bfeab2c1223dfc9fa6deb1880a0f8fbdc9064950130700a50278fa3551af4761e9d03e1e878df6bec489ed91cd628726c6dc1b76ce107dd5d60a2b1615 -MISC metadata.xml 219 BLAKE2B d172b66d0ed900637f5035a61e04438364b379c236d01f7413f7d3464d75ed4d813bb656eeaec3001399891bb0ba8a61f52b1a62d3d01a658d0f34aa8cac6707 SHA512 1b367aedae4a1b2484e88740adb95edb652befa869fb44b25f98a9634dc8819f461913304e74ac254cff88841b254b256d33062b65cee579f8cbf9f72526e2aa diff --git a/net-proxy/c-icap/c-icap-0.2.6.ebuild b/net-proxy/c-icap/c-icap-0.2.6.ebuild deleted file mode 100644 index cd9886df7296..000000000000 --- a/net-proxy/c-icap/c-icap-0.2.6.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils multilib flag-o-matic - -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}" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - epatch "${FILESDIR}"/c-icap-0.2.6-fix-icap-parsing.patch -} - -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.3" ${PN} - newconfd "${FILESDIR}/${PN}.conf" ${PN} - keepdir /var/log/c-icap - - 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() { - 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." -} diff --git a/net-proxy/c-icap/files/c-icap-0.2.6-fix-icap-parsing.patch b/net-proxy/c-icap/files/c-icap-0.2.6-fix-icap-parsing.patch deleted file mode 100644 index b0275edefee5..000000000000 --- a/net-proxy/c-icap/files/c-icap-0.2.6-fix-icap-parsing.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- c-icap-0.2.2.orig/request.c 2013-02-03 16:37:43.000000000 +0000 -+++ c-icap-02.2/request.c 2012-06-19 12:55:51.000000000 +0000 -@@ -267,7 +267,7 @@ - req->req_server[servnamelen] = '\0'; - if (*end == '/') { /*service */ - start = ++end; -- while (*end != ' ' && *end != '?') -+ while (*end && *end != ' ' && *end != '?') - end++; - len = end - start; - if (len > 0) { diff --git a/net-proxy/c-icap/files/c-icap.conf b/net-proxy/c-icap/files/c-icap.conf deleted file mode 100644 index d3f2420b2dce..000000000000 --- a/net-proxy/c-icap/files/c-icap.conf +++ /dev/null @@ -1,11 +0,0 @@ -# Use this to change the configuration file to use for c-icap. -configfile=/etc/c-icap/c-icap.conf - -# Use this to set any extra option for the daemon. Do not use the -f -# option here. -EXTRA_OPTS="" - -# If you enabled LDAP support, and you'd like to access tables stored -# in the local LDAP instance, you want to uncomment the following -# line. -#rc_need="slapd" diff --git a/net-proxy/c-icap/files/c-icap.init.3 b/net-proxy/c-icap/files/c-icap.init.3 deleted file mode 100644 index c11ae50b9f79..000000000000 --- a/net-proxy/c-icap/files/c-icap.init.3 +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -: ${configfile:=/etc/c-icap/c-icap.conf} - -get_config() { - local value=$(awk '$1 == "'$1'" { print $2 }' ${configfile}) - echo ${value:-$2} -} - -command="/usr/libexec/c-icap" -command_arguments="${EXTRA_OPTS} -f ${configfile}" -pidfile=$(get_config PidFile /var/run/c-icap/c-icap.pid) - -depend() { - need localmount - config ${configfile} - [ "$(get_config Logger file_logger)" = "sys_logger" ] && use logger -} - -start_pre() { - local cmdsocket=$(get_config CommandsSocket /var/run/c-icap/c-icap.ctl) - - checkpath -d "$(dirname "${cmdsocket}")" "$(dirname "${pidfile}")" -} diff --git a/net-proxy/c-icap/files/c-icap.logrotate b/net-proxy/c-icap/files/c-icap.logrotate deleted file mode 100644 index c4c0a5d34f6e..000000000000 --- a/net-proxy/c-icap/files/c-icap.logrotate +++ /dev/null @@ -1,13 +0,0 @@ -/var/log/c-icap/access.log { - missingok - postrotate - /etc/init.d/c-icap restart - endscript -} - -/var/log/cicap-server.log { - missingok - postrotate - /etc/init.d/c-icap restart - endscript -} diff --git a/net-proxy/c-icap/metadata.xml b/net-proxy/c-icap/metadata.xml deleted file mode 100644 index af696825f7a7..000000000000 --- a/net-proxy/c-icap/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <remote-id type="sourceforge">c-icap</remote-id> - </upstream> -</pkgmetadata> |