parent
a59e055d11
commit
59943dd9a9
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.13.ebuild,v 1.11 2014/11/23 19:04:22 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||
IUSE="doc +keyutils openldap +pkinit selinux +threads test xinetd"
|
||||
|
||||
CDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
||||
|| ( >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}] )
|
||||
keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] )
|
||||
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
||||
pkinit? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r1
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( ${PYTHON_DEPS}
|
||||
dev-lang/tcl
|
||||
dev-util/dejagnu )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "-I${EPREFIX}/usr/include/et"
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
ECONF_SOURCE=${S} \
|
||||
WARN_CFLAGS="set" \
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r1 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 mit-krb5kpropd
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-3.14.1.ebuild,v 1.2 2014/12/27 16:19:23 eva Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Simple document viewer for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
||||
SLOT="0/evd3.4-evv3.3"
|
||||
IUSE="debug djvu dvi gnome +introspection libsecret nautilus +postscript t1lib tiff xps"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
|
||||
# Since 2.26.2, can handle poppler without cairo support. Make it optional ?
|
||||
# not mature enough
|
||||
# atk used in libview
|
||||
# gdk-pixbuf used all over the place
|
||||
# libX11 used for totem-screensaver
|
||||
COMMON_DEPEND="
|
||||
dev-libs/atk
|
||||
>=dev-libs/glib-2.36:2
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib:=
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.14:3[introspection?]
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=x11-libs/cairo-1.10:=
|
||||
>=app-text/poppler-0.24:=[cairo]
|
||||
djvu? ( >=app-text/djvu-3.5.17:= )
|
||||
dvi? (
|
||||
virtual/tex-base
|
||||
dev-libs/kpathsea:=
|
||||
t1lib? ( >=media-libs/t1lib-5:= ) )
|
||||
gnome? ( gnome-base/gnome-desktop:3 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1 )
|
||||
libsecret? ( >=app-crypt/libsecret-0.5 )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
|
||||
postscript? ( >=app-text/libspectre-0.2:= )
|
||||
tiff? ( >=media-libs/tiff-3.6:0= )
|
||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/librsvg
|
||||
|| (
|
||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
||||
>=x11-themes/gnome-icon-theme-2.17.1
|
||||
>=x11-themes/hicolor-icon-theme-0.10 )
|
||||
x11-themes/gnome-icon-theme-symbolic
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
app-text/yelp-tools
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gtk-doc-am-1.13
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# eautoreconf needs:
|
||||
# app-text/yelp-tools
|
||||
|
||||
# Needs dogtail and pyspi from http://fedorahosted.org/dogtail/
|
||||
# Releases: http://people.redhat.com/zcerza/dogtail/releases/
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# Fix build with non-bash /bin/sh, see bug #526410
|
||||
epatch "${FILESDIR}"/${PN}-3.14.0-non-bash-support.patch
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
||||
sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
|
||||
-i configure || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--disable-tests \
|
||||
--enable-pdf \
|
||||
--enable-comics \
|
||||
--enable-thumbnailer \
|
||||
--with-platform=gnome \
|
||||
--enable-dbus \
|
||||
--enable-browser-plugin \
|
||||
$(use_enable djvu) \
|
||||
$(use_enable dvi) \
|
||||
$(use_with libsecret keyring) \
|
||||
$(use_enable gnome libgnome-desktop) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable nautilus) \
|
||||
$(use_enable postscript ps) \
|
||||
$(use_enable t1lib) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xps) \
|
||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
|
||||
ITSTOOL=$(type -P true)
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST icu4c-52_1-src.tgz 23875368 SHA256 2f4d5e68d4698e87759dbdc1a586d053d96935787f79961d192c477b029d8092 SHA512 5300b1d97340850d3d72af220ff5cbc2ae2820aff4367b60e52f17ead9831011dcda3d4c5af57c899d47b6fc964b23c9c8922954b32d314d669eb1a479a2efb0 WHIRLPOOL fd9d0ed8f55b93349164595c79544f41791774eff5e82b043be333732104b19c4036f6a6c53784bfe4494c005b950a4e96433646be24f310a681a18db0d19bfd
|
||||
DIST icu4c-53_1-src.tgz 23218952 SHA256 6fa74fb5aac070c23eaba1711a7178fe582c59867484c5ec07c49002787a9a28 SHA512 2172bfa7d61172b62380762f180336cf86264faed247e57f9143a5dcc84c286b96baa100302c0d54fe6f51af2d7e286cc5176db8f99c58157a5a750270e770df WHIRLPOOL 760b0e2315b7e097d296442cb33c7e9d154bd52dee649e8c85f85c6c9cbd96e26843f0b176c9afcb33a47987ffd1ed7355e67c92d5c4cbcf01a222a3f3eabdee
|
||||
DIST icu4c-54_1-src.tgz 25485678 SHA256 d42bc9a8ca6a91c55eb0925c279f49e5b508d51ef26ac9850d9be55de5bb8ab3 SHA512 d54d4cd826e1aef62a574595a04f9fec0a42c4445ed0a166a6bb5c5f3c9f692bf3273756f350233f50b2a1ad32c437dedfeeac96d6dc814d27bfd9159b7a651c WHIRLPOOL 1ae01eb26824ca591ff76ea040f703023f24975ad4177d49b1dd60f7e7f96f60884745d6c6e5e2bdf17fc8e104e97ed814f6c0ca051d1807814e324eb24e94dd
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST Term-ReadLine-Gnu-1.20.tar.gz 69077 SHA256 25da93084b57467cf24b85be557b07ade4af03776b8b2d5369d4d76b179edb01 SHA512 a3db13795959672b312937cb68a989d262fbf4c934d6e8924c2992457b8c1c0890a789275808bb50191cd4eb69c87b238f8423c58d62e1164eaa12c1f5941132 WHIRLPOOL ac8a405c0d6715dd19cba2dd393cc41db57f63ef84f5dc1c3e5699958ee33124d62d2fbc3de7bfdda3499447c231d0eee29ff6182b80859cfb2baeb7f1a67145
|
||||
DIST Term-ReadLine-Gnu-1.22.tar.gz 72917 SHA256 02dd4c4bf97a369b5dff8bb33e42cc9b91b2b856a40d86073e04a7fd9832de5d SHA512 36bdf094938288729f6000f3503915c6a373f194717aa40f37435e389f1205a25729684de89a567bd805eebcf1707efbebfb9bd9d761cbc902aba1c5f4609a61 WHIRLPOOL b5b451a942e4d9ad2aaf811b5004e00be6ab457e826dbb041668ca2e02830f69d0195b05e0c0794fb9994dd6a125c7a86ff6c16edaa5a71996e63cd34fef52e6
|
||||
DIST Term-ReadLine-Gnu-1.26.tar.gz 74783 SHA256 f8f075eef6056e0649cce355af2b8695ea1c793dc15d5834012c800297dc4de8 SHA512 80fe97f857b585d96b3a888d0a49d777a5b9865cc2101e43dd5916d09343d0964710c49d94b4533cce8a4a2b0770ebc4ce3c2e36fd0624b7d9ccf2318240dfed WHIRLPOOL f97532b902a6137af9f11709eb1abf606e32717ff36baf9ebab89a6121db4a38284558c3ff03b8a77c068250da7194ca5dc4ef4572e1ae442be89a30b0bb3490
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.226.0.ebuild,v 1.1 2015/02/25 09:26:18 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=HAYASHI
|
||||
MODULE_VERSION=1.26
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="GNU Readline XS library wrapper"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-libs/readline-6.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
mymake=( PASTHRU_DEFINE="-Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free" )
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1 +1,2 @@
|
||||
DIST Test-Without-Module-0.17.tar.gz 6709 SHA256 a691b0bf6d92dedbacfd547551021389ebc79c51937de2b914e792457da56ff7 SHA512 66d0a164c72ce70cf996e8700c54e442613a18113bd87210b344a38778704b665c9efffd321616993eabac77ee13496e5bd2145c41cf1cb5b134e72252632526 WHIRLPOOL deea4f3e9187b91df29a219f0e843b0770bb8d8ae799a008c3eafe3a8001aeff3630d6d05c27bd9205f3308effbc3b237a87f73f0c3d6fc7d9fdddad90123872
|
||||
DIST Test-Without-Module-0.18.tar.gz 10369 SHA256 e2c3360b171d7db518ac39a0e1dcb285c784ea393c11708914a0655d66138c7f SHA512 005ad54ac77283cf3155befe77fdb887dbc2ebc9c154472a23982636bbe7728154f56fdf1990b833639cd687b38e4d62250edd6dd93d37408e971bb4bd49c4c2 WHIRLPOOL 04bc67aa32c199985869c305dff89050a3a48da8fcfa120307f887905a5bd1b20b72275c93b137dd1b21da1c204b7b142f2609b97424d6bb63d172314e210927
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Without-Module/Test-Without-Module-0.180.0.ebuild,v 1.1 2015/02/25 11:02:52 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=CORION
|
||||
MODULE_VERSION=0.18
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Test fallback behaviour in absence of modules"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-perl/File-Slurp
|
||||
dev-perl/Test-Pod
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -1 +1,2 @@
|
||||
DIST Text-WikiFormat-0.80.tar.gz 28845 SHA256 3ed72a028f49274c61bdf001c831b77389c47e2c611ac0414fa0c3bee3783544 SHA512 6077d8ea0cdaa336fda0fff40ae539c0d3b3e57795e5b804eee9458f0a606bea8e509e75122500c71cf5d2331c36df7f7f613a246f542b090a89690972b06f7a WHIRLPOOL 67943d819c8acdfdb40f45154c582dec67d8256df76dc10733388d2bed9c4bbba3ac6444453c0ecea820aa7607bf1736588438f14fb3aa4c903bfceddcefaddc
|
||||
DIST Text-WikiFormat-0.81.tar.gz 34409 SHA256 e43cd995ad9157a7e839d993ee7b6c4d1854947e557d096d9d5aaf74507fab33 SHA512 60c781b9bda9dbd5f533a1cef326110f7aebe79078e38ba8ecf2e9d6c1b93cad552077a2015748186d04b7cd457fc63ab297ca24c01e321f1869dfafc4f1b4e2 WHIRLPOOL d168f210012acb1109ac60978d9ecec1d8ad0c07d3e7b7824208ec4a943c835d7f93bf9fe64ce2783c2bfe3d1b0a079b0b3ac2db19969fde9932a2f2ef3d9db5
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-WikiFormat/Text-WikiFormat-0.810.0.ebuild,v 1.1 2015/02/25 10:54:12 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=CYCLES
|
||||
MODULE_VERSION=0.81
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Translate Wiki formatted text into other formats"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/URI
|
||||
virtual/perl-Scalar-List-Utils"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-Module-Build-0.28"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1 @@
|
||||
DIST SDL_jewels-1.1.1.tgz 195366 RMD160 ec3607b188388409963fcccc5c0511d18e6f9079 SHA1 fbf7cc13b3a727a8c9815976fac598ba8e31c3a9 SHA256 c9a40b7e18fabb03e4065e656bc2c30f595103bf20dc74a10847c3f3aa138ee7
|
||||
DIST SDL_jewels-1.1.1.tgz 195366 SHA256 c9a40b7e18fabb03e4065e656bc2c30f595103bf20dc74a10847c3f3aa138ee7 SHA512 720f1d89384bf267e8f5441efd70fcf94bfc89ddbd0ff90b1dafc6381e83e005281fcde256ee4cd0645f2832cf9c22aed487c105d7d9cf39711c5752e12763c4 WHIRLPOOL 8ce6f3409a50a2ff673e545f1333f7f12d6b37bd6020f22d004072d0266be3936e98e0212925457f5ede4adb7e0f2346bc5c8a00b3c8e74b3f4b61cb397f78f1
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST lximage-qt-0.2.0.tar.xz 41240 SHA256 4750981bbf1a1a36fd581addd8d6acecb608f9660442b6831eb05639151524fb SHA512 238e1fb7795fb2b5d73132fc61942b0277d1c2b7c880f3022e4fabee754a17da013af1907ada001762271ac7ded42efbf4470990bb574d26215ff0276f4a7c16 WHIRLPOOL a09053cfb944518a3879dcf28786ad70a2b7a67cc04d4f2a737d1dadaad846c883b322aa906135f01726cf2266d78d70a94e5e619699b91718faa914787afc37
|
||||
DIST lximage-qt-0.3.0.tar.xz 41660 SHA256 0a5a5114eb1014a4e24af17d4a5d77676bac6a5d25458082e8e2eb45c87f2984 SHA512 d5af86b32cb416378f30413c65cd576d7a7f6d88f551e4749b161d64e08984254f4e1eb8f7b897bb5a334eb72b2af1c5de47109f5dd462d66b3b7fe9febc4902 WHIRLPOOL 80aea4cbb37d41a1ec2793de7a0343cd5464d197ad748b0031ac55526d311a9c753b4542428d19fd9e84263e4a1b0716b89d03ba8a86435af063d93643bd4ee1
|
||||
DIST lximage-qt-0.4.0.tar.xz 43716 SHA256 11abc99b0946e6254aad42cb3e29349dc6199879be0728418e7bc81200d59730 SHA512 6b07e16534b835da60f5845c801cad0bdd381b6deb79ad99fc44afb9b776deb3cf76c85c9e4b59ba4148d71e894f659743c002ea4baf5589e8d261eb1a19b1fa WHIRLPOOL 7db84a9fe83057ec05a9b363f7c64c0302f9fc9c1f5e62aec84520bd6a481dce709f671fdcfef46f64a89143c34457f8955d05df2641b7b29487eb3056c825ef
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/lximage-qt/lximage-qt-0.4.0.ebuild,v 1.1 2015/02/25 10:31:36 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="LXImage Image Viewer - GPicView replacement"
|
||||
HOMEPAGE="http://lxqt.org/"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
|
||||
else
|
||||
SRC_URI="http://downloads.lxqt.org/${PN}/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
media-libs/libexif
|
||||
>=x11-libs/libfm-1.2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-misc/pcmanfm-qt"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_QT5=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 25 Feb 2015 09:06:51 +0000
|
||||
Wed, 25 Feb 2015 14:06:54 +0000
|
||||
|
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201502-14">
|
||||
<title>grep: Denial of Service</title>
|
||||
<synopsis>A vulnerability in grep could result in Denial of Service. </synopsis>
|
||||
<product type="ebuild">grep,dos</product>
|
||||
<announced>February 25, 2015</announced>
|
||||
<revised>February 25, 2015: 1</revised>
|
||||
<bug>537046</bug>
|
||||
<access>local</access>
|
||||
<affected>
|
||||
<package name="sys-apps/grep" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.21-r1</unaffected>
|
||||
<vulnerable range="lt">2.21-r1</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>grep is the GNU regular expression matcher.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>A heap buffer overrun has been fixed in the bmexec_trans function in
|
||||
kwset.c.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A local user can cause Denial of Service.</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All grep users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=sys-apps/grep-2.21-r1"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-1345">CVE-2015-1345</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Tue, 24 Feb 2015 06:32:56 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Wed, 25 Feb 2015 10:22:12 +0000">K_F</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Wed, 25 Feb 2015 09:06:51 +0000
|
||||
Wed, 25 Feb 2015 14:06:55 +0000
|
||||
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup test unpack
|
||||
DEPEND=!!app-crypt/heimdal >=sys-libs/e2fsprogs-libs-1.42.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] || ( >=dev-libs/libverto-0.2.5[libev,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libverto-0.2.5[libevent,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libverto-0.2.5[tevent,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) keyutils? ( >=sys-apps/keyutils-1.5.8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) openldap? ( >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkinit? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) xinetd? ( sys-apps/xinetd ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) || ( >=dev-lang/python-2.7.5-r2:2.7 ) virtual/yacc doc? ( virtual/latex-base ) test? ( || ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/tcl dev-util/dejagnu ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=MIT Kerberos V
|
||||
EAPI=5
|
||||
HOMEPAGE=http://web.mit.edu/kerberos/www/
|
||||
IUSE=doc +keyutils openldap +pkinit selinux +threads test xinetd abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86
|
||||
LICENSE=openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )
|
||||
RDEPEND=!!app-crypt/heimdal >=sys-libs/e2fsprogs-libs-1.42.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] || ( >=dev-libs/libverto-0.2.5[libev,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libverto-0.2.5[libevent,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libverto-0.2.5[tevent,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) keyutils? ( >=sys-apps/keyutils-1.5.8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) openldap? ( >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkinit? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) xinetd? ( sys-apps/xinetd ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r1 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) selinux? ( sec-policy/selinux-kerberos )
|
||||
SLOT=0
|
||||
SRC_URI=http://web.mit.edu/kerberos/dist/krb5/1.13/krb5-1.13-signed.tar
|
||||
_eclasses_=autotools 8fc2dd333ef9346c906ffd9a523d8211 eutils 998e5931fb95b10a6a11ec796ada2759 flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 e3288bc2e6e487674ce218b632701c9e toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=f5cd3818118af3dee27333e3219364cb
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare unpack
|
||||
DEPEND=dev-libs/atk >=dev-libs/glib-2.36:2 >=dev-libs/libxml2-2.5:2 sys-libs/zlib:= x11-libs/gdk-pixbuf:2 >=x11-libs/gtk+-3.14:3[introspection?] gnome-base/gsettings-desktop-schemas >=x11-libs/cairo-1.10:= >=app-text/poppler-0.24:=[cairo] djvu? ( >=app-text/djvu-3.5.17:= ) dvi? ( virtual/tex-base dev-libs/kpathsea:= t1lib? ( >=media-libs/t1lib-5:= ) ) gnome? ( gnome-base/gnome-desktop:3 ) introspection? ( >=dev-libs/gobject-introspection-1 ) libsecret? ( >=app-crypt/libsecret-0.5 ) nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] ) postscript? ( >=app-text/libspectre-0.2:= ) tiff? ( >=media-libs/tiff-3.6:0= ) xps? ( >=app-text/libgxps-0.2.1:= ) app-text/docbook-xml-dtd:4.3 app-text/yelp-tools dev-util/gdbus-codegen >=dev-util/gtk-doc-am-1.13 >=dev-util/intltool-0.35 sys-devel/gettext virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 app-arch/xz-utils >=sys-apps/sed-4
|
||||
DESCRIPTION=Simple document viewer for GNOME
|
||||
EAPI=5
|
||||
HOMEPAGE=https://wiki.gnome.org/Apps/Evince
|
||||
IUSE=debug djvu dvi gnome +introspection libsecret nautilus +postscript t1lib tiff xps debug
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris
|
||||
LICENSE=GPL-2+ CC-BY-SA-3.0
|
||||
RDEPEND=dev-libs/atk >=dev-libs/glib-2.36:2 >=dev-libs/libxml2-2.5:2 sys-libs/zlib:= x11-libs/gdk-pixbuf:2 >=x11-libs/gtk+-3.14:3[introspection?] gnome-base/gsettings-desktop-schemas >=x11-libs/cairo-1.10:= >=app-text/poppler-0.24:=[cairo] djvu? ( >=app-text/djvu-3.5.17:= ) dvi? ( virtual/tex-base dev-libs/kpathsea:= t1lib? ( >=media-libs/t1lib-5:= ) ) gnome? ( gnome-base/gnome-desktop:3 ) introspection? ( >=dev-libs/gobject-introspection-1 ) libsecret? ( >=app-crypt/libsecret-0.5 ) nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] ) postscript? ( >=app-text/libspectre-0.2:= ) tiff? ( >=media-libs/tiff-3.6:0= ) xps? ( >=app-text/libgxps-0.2.1:= ) gnome-base/librsvg || ( >=x11-themes/adwaita-icon-theme-2.17.1 >=x11-themes/gnome-icon-theme-2.17.1 >=x11-themes/hicolor-icon-theme-0.10 ) x11-themes/gnome-icon-theme-symbolic
|
||||
RESTRICT=test
|
||||
SLOT=0/evd3.4-evv3.3
|
||||
SRC_URI=mirror://gnome/sources/evince/3.14/evince-3.14.1.tar.xz
|
||||
_eclasses_=autotools 8fc2dd333ef9346c906ffd9a523d8211 eutils 998e5931fb95b10a6a11ec796ada2759 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 c77a2c791ae15742c3c796344e279142 gnome2-utils 5cdfd22a2163c9d3a891648bd19453a7 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=2dc12ea7236476e2b761847d13394a5c
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=>=sys-libs/readline-6.2 dev-lang/perl:=[-build(-)]
|
||||
DESCRIPTION=GNU Readline XS library wrapper
|
||||
EAPI=5
|
||||
HOMEPAGE=http://search.cpan.org/dist/Term-ReadLine-Gnu/
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86
|
||||
LICENSE=|| ( Artistic GPL-1+ )
|
||||
RDEPEND=>=sys-libs/readline-6.2 dev-lang/perl:=[-build(-)]
|
||||
SLOT=0
|
||||
SRC_URI=mirror://cpan/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.26.tar.gz
|
||||
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 perl-module 6b84915e66050718c89bcbc76c144e80 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac unpacker f300a7ca9131b1024a79762e8edd3c52
|
||||
_md5_=e0af821d917cc23eedc96b64294a3d89
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=test? ( dev-perl/File-Slurp dev-perl/Test-Pod ) dev-lang/perl:=[-build(-)]
|
||||
DESCRIPTION=Test fallback behaviour in absence of modules
|
||||
EAPI=5
|
||||
HOMEPAGE=http://search.cpan.org/dist/Test-Without-Module/
|
||||
IUSE=test
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=|| ( Artistic GPL-1+ )
|
||||
RDEPEND=dev-lang/perl:=[-build(-)]
|
||||
SLOT=0
|
||||
SRC_URI=mirror://cpan/authors/id/C/CO/CORION/Test-Without-Module-0.18.tar.gz
|
||||
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 perl-module 6b84915e66050718c89bcbc76c144e80 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac unpacker f300a7ca9131b1024a79762e8edd3c52
|
||||
_md5_=9c861cd009b8e959ba3239597a98dd72
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=dev-perl/URI virtual/perl-Scalar-List-Utils >=virtual/perl-Module-Build-0.28 dev-lang/perl:=[-build(-)]
|
||||
DESCRIPTION=Translate Wiki formatted text into other formats
|
||||
EAPI=5
|
||||
HOMEPAGE=http://search.cpan.org/dist/Text-WikiFormat/
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris
|
||||
LICENSE=|| ( Artistic GPL-1+ )
|
||||
RDEPEND=dev-perl/URI virtual/perl-Scalar-List-Utils dev-lang/perl:=[-build(-)]
|
||||
SLOT=0
|
||||
SRC_URI=mirror://cpan/authors/id/C/CY/CYCLES/Text-WikiFormat-0.81.tar.gz
|
||||
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 perl-module 6b84915e66050718c89bcbc76c144e80 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac unpacker f300a7ca9131b1024a79762e8edd3c52
|
||||
_md5_=18656192f3b9da0abd6bfe4da37580f1
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-libs/glib:2 dev-qt/linguist-tools:5 dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 dev-qt/qtprintsupport:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 media-libs/libexif >=x11-libs/libfm-1.2 x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes x11-misc/pcmanfm-qt virtual/pkgconfig sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=LXImage Image Viewer - GPicView replacement
|
||||
EAPI=5
|
||||
HOMEPAGE=http://lxqt.org/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2 LGPL-2.1+
|
||||
RDEPEND=dev-libs/glib:2 dev-qt/linguist-tools:5 dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 dev-qt/qtprintsupport:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 media-libs/libexif >=x11-libs/libfm-1.2 x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes x11-misc/pcmanfm-qt
|
||||
SLOT=0
|
||||
SRC_URI=http://downloads.lxqt.org/lximage-qt/0.4.0/lximage-qt-0.4.0.tar.xz
|
||||
_eclasses_=cmake-utils 0430c386d85cec959d72640afd63ea91 eutils 998e5931fb95b10a6a11ec796ada2759 flag-o-matic c263990f1b677b0f0be0a3299f179762 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=966cfccccdcfb9ebeae83fea3602a1c2
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=ldap? ( net-nds/openldap ) ssl? ( curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates ) curl_ssl_gnutls? ( || ( ( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle ) ( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle ) ( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] ) ) app-misc/ca-certificates ) curl_ssl_openssl? ( dev-libs/openssl[static-libs?] ) curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates ) curl_ssl_polarssl? ( net-libs/polarssl:= app-misc/ca-certificates ) ) idn? ( net-dns/libidn[static-libs?] ) adns? ( net-dns/c-ares ) kerberos? ( virtual/krb5 ) metalink? ( >=media-libs/libmetalink-0.1.0 ) rtmp? ( media-video/rtmpdump ) ssh? ( net-libs/libssh2[static-libs?] ) sys-libs/zlib virtual/pkgconfig test? ( sys-apps/diffutils dev-lang/perl ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A Client that groks URLs
|
||||
EAPI=5
|
||||
HOMEPAGE=http://curl.haxx.se/
|
||||
IUSE=adns idn ipv6 kerberos ldap metalink rtmp ssh ssl static-libs test threads curl_ssl_axtls curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=MIT
|
||||
RDEPEND=ldap? ( net-nds/openldap ) ssl? ( curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates ) curl_ssl_gnutls? ( || ( ( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle ) ( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle ) ( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] ) ) app-misc/ca-certificates ) curl_ssl_openssl? ( dev-libs/openssl[static-libs?] ) curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates ) curl_ssl_polarssl? ( net-libs/polarssl:= app-misc/ca-certificates ) ) idn? ( net-dns/libidn[static-libs?] ) adns? ( net-dns/c-ares ) kerberos? ( virtual/krb5 ) metalink? ( >=media-libs/libmetalink-0.1.0 ) rtmp? ( media-video/rtmpdump ) ssh? ( net-libs/libssh2[static-libs?] ) sys-libs/zlib
|
||||
REQUIRED_USE=threads? ( !adns ) ssl? ( ^^ ( curl_ssl_axtls curl_ssl_gnutls curl_ssl_openssl curl_ssl_nss curl_ssl_polarssl ) )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://curl.haxx.se/download/curl-7.36.0.tar.bz2
|
||||
_eclasses_=autotools 8fc2dd333ef9346c906ffd9a523d8211 eutils 998e5931fb95b10a6a11ec796ada2759 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf prefix 21058c21ca48453d771df15500873ede toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=562e3505018ad7ce9f95a5c68fd5d031
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst prepare pretend setup
|
||||
DEPEND=caps? ( >=sys-libs/libcap-2.16 ) pam? ( virtual/pam ) ldap? ( net-nds/openldap ) kerberos? ( virtual/krb5 ) qos? ( net-libs/libnetfilter_conntrack ) ssl? ( dev-libs/openssl ) sasl? ( dev-libs/cyrus-sasl ) ecap? ( net-libs/libecap:0.2 ) !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) >=sys-libs/db-4 <=sys-devel/libtool-2.4.2-r1 dev-lang/perl sys-apps/ed test? ( dev-util/cppunit ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A full-featured web proxy cache
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.squid-cache.org/
|
||||
IUSE=caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test ecap icap-client ssl-crtd mysql postgres sqlite qos tproxy pf-transparent ipf-transparent kqueue elibc_uclibc kernel_linux
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=caps? ( >=sys-libs/libcap-2.16 ) pam? ( virtual/pam ) ldap? ( net-nds/openldap ) kerberos? ( virtual/krb5 ) qos? ( net-libs/libnetfilter_conntrack ) ssl? ( dev-libs/openssl ) sasl? ( dev-libs/cyrus-sasl ) ecap? ( net-libs/libecap:0.2 ) !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) >=sys-libs/db-4 <=sys-devel/libtool-2.4.2-r1 dev-lang/perl samba? ( net-fs/samba ) mysql? ( dev-perl/DBD-mysql ) postgres? ( dev-perl/DBD-Pg ) selinux? ( sec-policy/selinux-squid ) sqlite? ( dev-perl/DBD-SQLite ) !<=sci-biology/meme-4.8.1-r1
|
||||
REQUIRED_USE=tproxy? ( caps ) qos? ( caps )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.squid-cache.org/Versions/v3/3.3/squid-3.3.13.tar.xz
|
||||
_eclasses_=autotools 8fc2dd333ef9346c906ffd9a523d8211 eutils 998e5931fb95b10a6a11ec796ada2759 flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 2b8c53f6065bdee2d757472215a3088f multilib 3bf24e6abb9b76d9f6c20600f0b716bf pam aa1ebb3ab720ea04dbbdd6eaaf9554ed toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=bdd061168011511c3c02d4a86a02130f
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst prepare pretend setup
|
||||
DEPEND=caps? ( >=sys-libs/libcap-2.16 ) pam? ( virtual/pam ) ldap? ( net-nds/openldap ) kerberos? ( virtual/krb5 ) qos? ( net-libs/libnetfilter_conntrack ) ssl? ( dev-libs/openssl dev-libs/nettle ) sasl? ( dev-libs/cyrus-sasl ) ecap? ( net-libs/libecap:0.2 ) esi? ( dev-libs/expat dev-libs/libxml2 ) !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) >=sys-libs/db-4 sys-devel/libtool dev-lang/perl sys-devel/libtool ecap? ( virtual/pkgconfig ) sys-apps/ed test? ( dev-util/cppunit ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A full-featured web proxy cache
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.squid-cache.org/
|
||||
IUSE=caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test ecap esi icap-client ssl-crtd mysql postgres sqlite qos tproxy +htcp +wccp +wccpv2 pf-transparent ipf-transparent kqueue elibc_uclibc kernel_linux
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=caps? ( >=sys-libs/libcap-2.16 ) pam? ( virtual/pam ) ldap? ( net-nds/openldap ) kerberos? ( virtual/krb5 ) qos? ( net-libs/libnetfilter_conntrack ) ssl? ( dev-libs/openssl dev-libs/nettle ) sasl? ( dev-libs/cyrus-sasl ) ecap? ( net-libs/libecap:0.2 ) esi? ( dev-libs/expat dev-libs/libxml2 ) !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) >=sys-libs/db-4 sys-devel/libtool dev-lang/perl sys-devel/libtool samba? ( net-fs/samba ) mysql? ( dev-perl/DBD-mysql ) postgres? ( dev-perl/DBD-Pg ) selinux? ( sec-policy/selinux-squid ) sqlite? ( dev-perl/DBD-SQLite ) !<=sci-biology/meme-4.8.1-r1
|
||||
REQUIRED_USE=tproxy? ( caps ) qos? ( caps )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.squid-cache.org/Versions/v3/3.4/squid-3.4.10.tar.xz
|
||||
_eclasses_=autotools 8fc2dd333ef9346c906ffd9a523d8211 eutils 998e5931fb95b10a6a11ec796ada2759 flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 2b8c53f6065bdee2d757472215a3088f multilib 3bf24e6abb9b76d9f6c20600f0b716bf pam aa1ebb3ab720ea04dbbdd6eaaf9554ed toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=76e56a1ee149cedaac9af6b14ef6d0e0
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst prepare pretend setup
|
||||
DEPEND=caps? ( >=sys-libs/libcap-2.16 ) pam? ( virtual/pam ) ldap? ( net-nds/openldap ) kerberos? ( virtual/krb5 ) qos? ( net-libs/libnetfilter_conntrack ) ssl? ( dev-libs/openssl dev-libs/nettle >=net-libs/gnutls-3.1.5 ) sasl? ( dev-libs/cyrus-sasl ) ecap? ( net-libs/libecap:1 ) esi? ( dev-libs/expat dev-libs/libxml2 ) !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) >=sys-libs/db-4 dev-lang/perl dev-libs/libltdl ecap? ( virtual/pkgconfig ) sys-apps/ed test? ( dev-util/cppunit ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A full-featured web proxy cache
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.squid-cache.org/
|
||||
IUSE=caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test ecap esi ssl-crtd mysql postgres sqlite qos tproxy +htcp +wccp +wccpv2 pf-transparent ipf-transparent kqueue elibc_uclibc kernel_linux
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=caps? ( >=sys-libs/libcap-2.16 ) pam? ( virtual/pam ) ldap? ( net-nds/openldap ) kerberos? ( virtual/krb5 ) qos? ( net-libs/libnetfilter_conntrack ) ssl? ( dev-libs/openssl dev-libs/nettle >=net-libs/gnutls-3.1.5 ) sasl? ( dev-libs/cyrus-sasl ) ecap? ( net-libs/libecap:1 ) esi? ( dev-libs/expat dev-libs/libxml2 ) !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) >=sys-libs/db-4 dev-lang/perl dev-libs/libltdl samba? ( net-fs/samba ) mysql? ( dev-perl/DBD-mysql ) postgres? ( dev-perl/DBD-Pg ) selinux? ( sec-policy/selinux-squid ) sqlite? ( dev-perl/DBD-SQLite ) !<=sci-biology/meme-4.8.1-r1
|
||||
REQUIRED_USE=tproxy? ( caps ) qos? ( caps )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.1.tar.xz
|
||||
_eclasses_=autotools 8fc2dd333ef9346c906ffd9a523d8211 eutils 998e5931fb95b10a6a11ec796ada2759 flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 2b8c53f6065bdee2d757472215a3088f multilib 3bf24e6abb9b76d9f6c20600f0b716bf pam aa1ebb3ab720ea04dbbdd6eaaf9554ed toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=4ec65e6140a553466d0008b62553681c
|
@ -1 +1 @@
|
||||
Wed, 25 Feb 2015 09:06:54 +0000
|
||||
Wed, 25 Feb 2015 14:06:58 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed Feb 25 09:06:50 UTC 2015
|
||||
Wed Feb 25 14:06:54 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Wed, 25 Feb 2015 09:30:01 +0000
|
||||
Wed, 25 Feb 2015 14:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1424855101 Wed 25 Feb 2015 09:05:01 AM UTC UTC
|
||||
1424873101 Wed 25 Feb 2015 02:05:01 PM UTC UTC
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST curl-7.36.0.tar.bz2 2809266 SHA256 1fbe82b89bcd6b7ccda8cb0ff076edc60e911595030e27689f4abd5ef7f3cfcd SHA512 ae471d382c9c8f321a987e7a5a302abe7cb2cae4204ea65234b02c73303abef7c995c50ce8219bd90d762fa63006d50293e4350e78aee2c2086b6f7aec09b01a WHIRLPOOL 0b9f5d8a2d41126e0ff735d3f863a943e9182ec5a2abdb8caac890232432df66fe422f4dcdbfcba1fbc925880435f3733c01b747185aaa5cd1cc96571025663f
|
||||
DIST curl-7.37.1.tar.bz2 3151531 SHA256 c3ef3cd148f3778ddbefb344117d7829db60656efe1031f9e3065fc0faa25136 SHA512 b6e3dacff43f5b3a47b1f927b14d6adb133e31b34d9ae76af0a3446dfe017351c3fc25daad4a604514843c8d0c6a4b06a7bd71908c9068d420180d1f486784fd WHIRLPOOL 2792e84d54297a8c14730156cfee1ce76542613c2e35ad6072861dd2eea2aa1289eb4e80eb221c124a3ea69466e465cfc305adae29fe089391064735e45f0bab
|
||||
DIST curl-7.39.0.tar.bz2 3241619 SHA256 b222566e7087cd9701b301dd6634b360ae118cc1cbc7697e534dc451102ea4e0 SHA512 9d82e29c0b40530080c62bc3b81e729092b6de0dc3551e709ab1e65cb451259a5380f155fc911664ef523f57ea4be80bb27b330b720ad9a8bc3d9b967bdc3fd2 WHIRLPOOL 05fe3cd33a7716f88b63d3f3d8e9da49dec166cb42064d52ec2a182f68e792e83dd16d53edd1cd1b996a5f262faed1e1163197e1c3f717827859bd73e1570c36
|
||||
DIST curl-7.40.0.tar.bz2 3266944 SHA256 899109eb3900fa6b8a2f995df7f449964292776a04763e94fae640700f883fba SHA512 4d1cd0aa0c4fd9f14559e2824389ed42222a456c268e92107ef4d3257af76d64e5a8f69e9a3fccb9d4c9ae232426ee8f8f58f7d2eaa3db789dfa4d919cf229a3 WHIRLPOOL 5e3f9038696d7476e76b1a848766a2068f20c6aa0392d4018e2d90529914a059b771d66937bbe28697925acaf96a2025eba77e4af9b331ab66ee1323cf079678
|
||||
DIST curl-7.41.0.tar.bz2 3304508 SHA256 9f8b546bdc5c57d959151acae7ce6610fe929d82b8d0fc5b25a3a2296e5f8bea SHA512 fc4d14a51740d1752c653d2e48c6721b1ba1cc9959d7b9d1f77fd534d4db90d93fd4d0ad05adfdac082593b5886f5d662b7e4541f5f226514c59f643348287ff WHIRLPOOL b12eb86c6b82b77430ee2169d6021c2401d5712a1e998d096f833f79237810d1a4ae4dbc3815dcdbb3ea9217004930c3a600c2550516b73f1f3411c2720a1d3d
|
||||
|
@ -1,198 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.36.0.ebuild,v 1.18 2014/07/15 13:33:30 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils prefix
|
||||
|
||||
DESCRIPTION="A Client that groks URLs"
|
||||
HOMEPAGE="http://curl.haxx.se/"
|
||||
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="adns idn ipv6 kerberos ldap metalink rtmp ssh ssl static-libs test threads"
|
||||
IUSE="${IUSE} curl_ssl_axtls curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl"
|
||||
|
||||
#lead to lots of false negatives, bug #285669
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="ldap? ( net-nds/openldap )
|
||||
ssl? (
|
||||
curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates )
|
||||
curl_ssl_gnutls? (
|
||||
|| (
|
||||
( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] )
|
||||
)
|
||||
app-misc/ca-certificates
|
||||
)
|
||||
curl_ssl_openssl? ( dev-libs/openssl[static-libs?] )
|
||||
curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates )
|
||||
curl_ssl_polarssl? ( net-libs/polarssl:= app-misc/ca-certificates )
|
||||
)
|
||||
idn? ( net-dns/libidn[static-libs?] )
|
||||
adns? ( net-dns/c-ares )
|
||||
kerberos? ( virtual/krb5 )
|
||||
metalink? ( >=media-libs/libmetalink-0.1.0 )
|
||||
rtmp? ( media-video/rtmpdump )
|
||||
ssh? ( net-libs/libssh2[static-libs?] )
|
||||
sys-libs/zlib"
|
||||
|
||||
# Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303
|
||||
# rtmp? (
|
||||
# media-video/rtmpdump
|
||||
# curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] )
|
||||
# curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,ssl] )
|
||||
# )
|
||||
|
||||
# ssl providers to be added:
|
||||
# fbopenssl $(use_with spnego)
|
||||
|
||||
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
dev-lang/perl
|
||||
)"
|
||||
|
||||
# c-ares must be disabled for threads
|
||||
# only one ssl provider can be enabled
|
||||
REQUIRED_USE="
|
||||
threads? ( !adns )
|
||||
ssl? (
|
||||
^^ (
|
||||
curl_ssl_axtls
|
||||
curl_ssl_gnutls
|
||||
curl_ssl_openssl
|
||||
curl_ssl_nss
|
||||
curl_ssl_polarssl
|
||||
)
|
||||
)"
|
||||
|
||||
DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \
|
||||
docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-7.30.0-prefix.patch \
|
||||
"${FILESDIR}"/${PN}-respect-cflags-3.patch \
|
||||
"${FILESDIR}"/${PN}-fix-gnutls-nettle.patch \
|
||||
"${FILESDIR}"/${P}-hostcheck.patch #507494
|
||||
|
||||
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
|
||||
|
||||
epatch_user
|
||||
eprefixify curl-config.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# We make use of the fact that later flags override earlier ones
|
||||
# So start with all ssl providers off until proven otherwise
|
||||
local myconf=()
|
||||
myconf+=( --without-axtls --without-gnutls --without-nss --without-polarssl --without-ssl )
|
||||
myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt )
|
||||
if use ssl ; then
|
||||
if use curl_ssl_axtls; then
|
||||
einfo "SSL provided by axtls"
|
||||
einfo "NOTE: axtls is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-axtls )
|
||||
fi
|
||||
if use curl_ssl_gnutls; then
|
||||
einfo "SSL provided by gnutls"
|
||||
if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then
|
||||
einfo "gnutls compiled with dev-libs/nettle"
|
||||
myconf+=( --with-gnutls --with-nettle )
|
||||
else
|
||||
einfo "gnutls compiled with dev-libs/libgcrypt"
|
||||
myconf+=( --with-gnutls --without-nettle )
|
||||
fi
|
||||
fi
|
||||
if use curl_ssl_nss; then
|
||||
einfo "SSL provided by nss"
|
||||
myconf+=( --with-nss )
|
||||
fi
|
||||
if use curl_ssl_polarssl; then
|
||||
einfo "SSL provided by polarssl"
|
||||
einfo "NOTE: polarssl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-polarssl )
|
||||
fi
|
||||
if use curl_ssl_openssl; then
|
||||
einfo "SSL provided by openssl"
|
||||
myconf+=( --with-ssl --without-ca-bundle --with-ca-path="${EPREFIX}"/etc/ssl/certs )
|
||||
fi
|
||||
else
|
||||
einfo "SSL disabled"
|
||||
fi
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# These configuration options are organized alphabetically
|
||||
# within each category. This should make it easier if we
|
||||
# ever decide to make any of them contingent on USE flags:
|
||||
# 1) protocols first. To see them all do
|
||||
# 'grep SUPPORT_PROTOCOLS configure.ac'
|
||||
# 2) --enable/disable options second.
|
||||
# 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort
|
||||
# 3) --with/without options third.
|
||||
# grep -- --with configure | grep Check | awk '{ print $4 }' | sort
|
||||
econf \
|
||||
--enable-dict \
|
||||
--enable-file \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--enable-http \
|
||||
--enable-imap \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable ldap ldaps) \
|
||||
--enable-pop3 \
|
||||
--enable-rtsp \
|
||||
$(use_with ssh libssh2) \
|
||||
--enable-smtp \
|
||||
--enable-telnet \
|
||||
--enable-tftp \
|
||||
$(use_enable adns ares) \
|
||||
--enable-cookies \
|
||||
--enable-hidden-symbols \
|
||||
$(use_enable ipv6) \
|
||||
--enable-largefile \
|
||||
--enable-manual \
|
||||
--enable-proxy \
|
||||
--disable-soname-bump \
|
||||
--disable-sspi \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads threaded-resolver) \
|
||||
--disable-versioned-symbols \
|
||||
--without-cyassl \
|
||||
--without-darwinssl \
|
||||
$(use_with idn libidn) \
|
||||
$(use_with kerberos gssapi "${EPREFIX}"/usr) \
|
||||
--without-krb4 \
|
||||
$(use_with metalink libmetalink) \
|
||||
--without-nghttp2 \
|
||||
$(use_with rtmp librtmp) \
|
||||
--without-spnego \
|
||||
--without-winidn \
|
||||
--without-winssl \
|
||||
--with-zlib \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
|
||||
insinto /usr/share/aclocal
|
||||
doins docs/libcurl/libcurl.m4
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST squid-3.3.13.tar.xz 2187728 SHA256 55d5875709b93f447788526527496956c508832abd1f9c651346e461c9d63221 SHA512 be7ec0ff949f94a4521c6aba2cff87b495ca626c85df5a9650e587c5723f2e52de68e939d8dfed7e8279be7a987c13a773d4f94864308d98d2a67c462b3b2862 WHIRLPOOL faaa5626a97589e486650fa7ff0231487fae65cf7d2ae962f36c7857c97d481c1f82cfd3326bfd0b690543abc01e5581feeaaccd77a8c34ea762abd1ec401f36
|
||||
DIST squid-3.4.10.tar.xz 2161192 SHA256 fb6dccf9ba426eddfc7b5dfe8786971f9779c571a53739a8a41024b09b12f888 SHA512 4b90a8cb26947069d5cf2aeb6b7136b65ae3efd55d495f44af772f780b8c3f12de3b155a0992b6ab429efd2dc1461b551eb73db76a088bcc48118d7769c476af WHIRLPOOL 0da554852e2ba7725d1a4f726e231a1b180a0fab90626b53cbe95a2c14b36472a0ed9170f9b10d4709b10769c79a2478c588a88455910c16c2f60e48227ec25e
|
||||
DIST squid-3.4.11.tar.xz 2162148 SHA256 b4ede14221d043bbde94655aee195b090fe33a9a0a3d4ed83a9b41fcd46cac1d SHA512 e485e195f6ef95d7d2f5d327d9e229d9b3b678b035595853bc5d9a56a0494536239fa591bd56213014e08f9584e56d3511b0429e9fe9076d6e64a8b09867be69 WHIRLPOOL 5a3b1829eeda2b507971346bab3af142f19c650185940af82a238787b7265ab5e51535e815e1f87f0800071ca3053d8a0195da0ef02d27361e83951c4631ea63
|
||||
DIST squid-3.4.12.tar.xz 2162096 SHA256 a3f4f18fa17e81a8d8e1a2ec059cdbe3211a90ccd1717c3d9e092c0afdde2864 SHA512 7745e1a8ba7f458eae9b9017c16a13c3e724d54be48fc592fda9715d047db6f13a7b59dd9b6bd80e2f450373f30f7307a34d7d3cb3ff192a10abd8eb30da8b0a WHIRLPOOL 43d0db0137cfa35f91a4e1233c3a16e095742035b98331d983b047d5c6c45b5c36cb96def15764bc6c5c6eda892307387475953a94d5dd9fbfb10af4d86b06e0
|
||||
DIST squid-3.5.1.tar.xz 2281248 SHA256 3a3bc6b424149da5a4816786100f32e47b45e139144726722df3a87a6414d6f4 SHA512 eec2e3c364fe4f6f6b62ede0af8f62d09fe53db0bcd4d302b75470ef2880844ab398b1f8e05473971bb052eb72347078329c0598ccbb5ea7ebf6cb8df34cc858 WHIRLPOOL d6e91e2b3ec3f647f15720037b0016ed5deee0d51a116b5e4ec3a9b79b04a8c301473778f3ea0cbe8e1c75b054b9b9932b6534cd8d5dba11cc8bb9d763e1ca5a
|
||||
DIST squid-3.5.2.tar.xz 2282116 SHA256 5af2e16f279466f9fb89c2fef6c09b6824a7e3e7996c9f1c2bc16e7daddd751f SHA512 c6ce7a1dc19919f489b096a4cfb0c9a4787090168d6fadb9ec0519abe5ddb15388477af41cf21586e84027a89c41ac29b02872a014b29273e808cd9fd1f00c27 WHIRLPOOL d8394b6ccc5b98fd50f3be358da4359552086d40407fca8de8991b089e9d79cf142c95cecdf8aca63d295b9b4c88fe4958d1f2fda7291c956dcf0503a6a43041
|
||||
|
@ -1,274 +0,0 @@
|
||||
=== modified file 'src/snmp_core.cc'
|
||||
--- src/snmp_core.cc 2012-10-16 23:40:01 +0000
|
||||
+++ src/snmp_core.cc 2014-09-15 04:59:19 +0000
|
||||
@@ -362,7 +362,7 @@
|
||||
void
|
||||
snmpHandleUdp(int sock, void *not_used)
|
||||
{
|
||||
- LOCAL_ARRAY(char, buf, SNMP_REQUEST_SIZE);
|
||||
+ static char buf[SNMP_REQUEST_SIZE];
|
||||
Ip::Address from;
|
||||
SnmpRequest *snmp_rq;
|
||||
int len;
|
||||
@@ -371,16 +371,11 @@
|
||||
|
||||
Comm::SetSelect(sock, COMM_SELECT_READ, snmpHandleUdp, NULL, 0);
|
||||
|
||||
- memset(buf, '\0', SNMP_REQUEST_SIZE);
|
||||
+ memset(buf, '\0', sizeof(buf));
|
||||
|
||||
- len = comm_udp_recvfrom(sock,
|
||||
- buf,
|
||||
- SNMP_REQUEST_SIZE,
|
||||
- 0,
|
||||
- from);
|
||||
+ len = comm_udp_recvfrom(sock, buf, sizeof(buf)-1, 0, from);
|
||||
|
||||
if (len > 0) {
|
||||
- buf[len] = '\0';
|
||||
debugs(49, 3, "snmpHandleUdp: FD " << sock << ": received " << len << " bytes from " << from << ".");
|
||||
|
||||
snmp_rq = (SnmpRequest *)xcalloc(1, sizeof(SnmpRequest));
|
||||
|
||||
=== modified file 'src/icmp/Icmp4.cc'
|
||||
--- src/icmp/Icmp4.cc 2013-01-09 00:19:44 +0000
|
||||
+++ src/icmp/Icmp4.cc 2014-09-15 05:07:44 +0000
|
||||
@@ -41,26 +41,38 @@
|
||||
#include "IcmpPinger.h"
|
||||
#include "Debug.h"
|
||||
|
||||
-const char *icmpPktStr[] = {
|
||||
- "Echo Reply",
|
||||
- "ICMP 1",
|
||||
- "ICMP 2",
|
||||
- "Destination Unreachable",
|
||||
- "Source Quench",
|
||||
- "Redirect",
|
||||
- "ICMP 6",
|
||||
- "ICMP 7",
|
||||
- "Echo",
|
||||
- "ICMP 9",
|
||||
- "ICMP 10",
|
||||
- "Time Exceeded",
|
||||
- "Parameter Problem",
|
||||
- "Timestamp",
|
||||
- "Timestamp Reply",
|
||||
- "Info Request",
|
||||
- "Info Reply",
|
||||
- "Out of Range Type"
|
||||
-};
|
||||
+static const char *
|
||||
+IcmpPacketType(uint8_t v)
|
||||
+{
|
||||
+ static const char *icmpPktStr[] = {
|
||||
+ "Echo Reply",
|
||||
+ "ICMP 1",
|
||||
+ "ICMP 2",
|
||||
+ "Destination Unreachable",
|
||||
+ "Source Quench",
|
||||
+ "Redirect",
|
||||
+ "ICMP 6",
|
||||
+ "ICMP 7",
|
||||
+ "Echo",
|
||||
+ "ICMP 9",
|
||||
+ "ICMP 10",
|
||||
+ "Time Exceeded",
|
||||
+ "Parameter Problem",
|
||||
+ "Timestamp",
|
||||
+ "Timestamp Reply",
|
||||
+ "Info Request",
|
||||
+ "Info Reply",
|
||||
+ "Out of Range Type"
|
||||
+ };
|
||||
+
|
||||
+ if (v > 17) {
|
||||
+ static char buf[50];
|
||||
+ snprintf(buf, sizeof(buf), "ICMP %u (invalid)", v);
|
||||
+ return buf;
|
||||
+ }
|
||||
+
|
||||
+ return icmpPktStr[v];
|
||||
+}
|
||||
|
||||
Icmp4::Icmp4() : Icmp()
|
||||
{
|
||||
@@ -187,6 +199,12 @@
|
||||
from->ai_addr,
|
||||
&from->ai_addrlen);
|
||||
|
||||
+ if (n <= 0) {
|
||||
+ debugs(42, DBG_CRITICAL, HERE << "Error when calling recvfrom() on ICMP socket.");
|
||||
+ Ip::Address::FreeAddrInfo(from);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
preply.from = *from;
|
||||
|
||||
#if GETTIMEOFDAY_NO_TZP
|
||||
@@ -243,9 +261,15 @@
|
||||
|
||||
preply.psize = n - iphdrlen - (sizeof(icmpEchoData) - MAX_PKT4_SZ);
|
||||
|
||||
+ if (preply.psize < 0) {
|
||||
+ debugs(42, DBG_CRITICAL, HERE << "Malformed ICMP packet.");
|
||||
+ Ip::Address::FreeAddrInfo(from);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
control.SendResult(preply, (sizeof(pingerReplyData) - MAX_PKT4_SZ + preply.psize) );
|
||||
|
||||
- Log(preply.from, icmp->icmp_type, icmpPktStr[icmp->icmp_type], preply.rtt, preply.hops);
|
||||
+ Log(preply.from, icmp->icmp_type, IcmpPacketType(icmp->icmp_type), preply.rtt, preply.hops);
|
||||
preply.from.FreeAddrInfo(from);
|
||||
}
|
||||
|
||||
|
||||
=== modified file 'src/icmp/Icmp6.cc'
|
||||
--- src/icmp/Icmp6.cc 2013-01-09 00:19:44 +0000
|
||||
+++ src/icmp/Icmp6.cc 2014-09-15 05:07:44 +0000
|
||||
@@ -50,57 +50,61 @@
|
||||
|
||||
// Icmp6 OP-Codes
|
||||
// see http://www.iana.org/assignments/icmpv6-parameters
|
||||
-// NP: LowPktStr is for codes 0-127
|
||||
-static const char *icmp6LowPktStr[] = {
|
||||
- "ICMP 0", // 0
|
||||
- "Destination Unreachable", // 1 - RFC2463
|
||||
- "Packet Too Big", // 2 - RFC2463
|
||||
- "Time Exceeded", // 3 - RFC2463
|
||||
- "Parameter Problem", // 4 - RFC2463
|
||||
- "ICMP 5", // 5
|
||||
- "ICMP 6", // 6
|
||||
- "ICMP 7", // 7
|
||||
- "ICMP 8", // 8
|
||||
- "ICMP 9", // 9
|
||||
- "ICMP 10" // 10
|
||||
-};
|
||||
-
|
||||
-// NP: HighPktStr is for codes 128-255
|
||||
-static const char *icmp6HighPktStr[] = {
|
||||
- "Echo Request", // 128 - RFC2463
|
||||
- "Echo Reply", // 129 - RFC2463
|
||||
- "Multicast Listener Query", // 130 - RFC2710
|
||||
- "Multicast Listener Report", // 131 - RFC2710
|
||||
- "Multicast Listener Done", // 132 - RFC2710
|
||||
- "Router Solicitation", // 133 - RFC4861
|
||||
- "Router Advertisement", // 134 - RFC4861
|
||||
- "Neighbor Solicitation", // 135 - RFC4861
|
||||
- "Neighbor Advertisement", // 136 - RFC4861
|
||||
- "Redirect Message", // 137 - RFC4861
|
||||
- "Router Renumbering", // 138 - Crawford
|
||||
- "ICMP Node Information Query", // 139 - RFC4620
|
||||
- "ICMP Node Information Response", // 140 - RFC4620
|
||||
- "Inverse Neighbor Discovery Solicitation", // 141 - RFC3122
|
||||
- "Inverse Neighbor Discovery Advertisement", // 142 - RFC3122
|
||||
- "Version 2 Multicast Listener Report", // 143 - RFC3810
|
||||
- "Home Agent Address Discovery Request", // 144 - RFC3775
|
||||
- "Home Agent Address Discovery Reply", // 145 - RFC3775
|
||||
- "Mobile Prefix Solicitation", // 146 - RFC3775
|
||||
- "Mobile Prefix Advertisement", // 147 - RFC3775
|
||||
- "Certification Path Solicitation", // 148 - RFC3971
|
||||
- "Certification Path Advertisement", // 149 - RFC3971
|
||||
- "ICMP Experimental (150)", // 150 - RFC4065
|
||||
- "Multicast Router Advertisement", // 151 - RFC4286
|
||||
- "Multicast Router Solicitation", // 152 - RFC4286
|
||||
- "Multicast Router Termination", // 153 - [RFC4286]
|
||||
- "ICMP 154",
|
||||
- "ICMP 155",
|
||||
- "ICMP 156",
|
||||
- "ICMP 157",
|
||||
- "ICMP 158",
|
||||
- "ICMP 159",
|
||||
- "ICMP 160"
|
||||
-};
|
||||
+static const char *
|
||||
+IcmpPacketType(uint8_t v)
|
||||
+{
|
||||
+ // NP: LowPktStr is for codes 0-127
|
||||
+ static const char *icmp6LowPktStr[] = {
|
||||
+ "ICMPv6 0", // 0
|
||||
+ "Destination Unreachable", // 1 - RFC2463
|
||||
+ "Packet Too Big", // 2 - RFC2463
|
||||
+ "Time Exceeded", // 3 - RFC2463
|
||||
+ "Parameter Problem", // 4 - RFC2463
|
||||
+ };
|
||||
+
|
||||
+ // low codes 1-4 registered
|
||||
+ if (0 < v && v < 5)
|
||||
+ return icmp6LowPktStr[(int)(v&0x7f)];
|
||||
+
|
||||
+ // NP: HighPktStr is for codes 128-255
|
||||
+ static const char *icmp6HighPktStr[] = {
|
||||
+ "Echo Request", // 128 - RFC2463
|
||||
+ "Echo Reply", // 129 - RFC2463
|
||||
+ "Multicast Listener Query", // 130 - RFC2710
|
||||
+ "Multicast Listener Report", // 131 - RFC2710
|
||||
+ "Multicast Listener Done", // 132 - RFC2710
|
||||
+ "Router Solicitation", // 133 - RFC4861
|
||||
+ "Router Advertisement", // 134 - RFC4861
|
||||
+ "Neighbor Solicitation", // 135 - RFC4861
|
||||
+ "Neighbor Advertisement", // 136 - RFC4861
|
||||
+ "Redirect Message", // 137 - RFC4861
|
||||
+ "Router Renumbering", // 138 - Crawford
|
||||
+ "ICMP Node Information Query", // 139 - RFC4620
|
||||
+ "ICMP Node Information Response", // 140 - RFC4620
|
||||
+ "Inverse Neighbor Discovery Solicitation", // 141 - RFC3122
|
||||
+ "Inverse Neighbor Discovery Advertisement", // 142 - RFC3122
|
||||
+ "Version 2 Multicast Listener Report", // 143 - RFC3810
|
||||
+ "Home Agent Address Discovery Request", // 144 - RFC3775
|
||||
+ "Home Agent Address Discovery Reply", // 145 - RFC3775
|
||||
+ "Mobile Prefix Solicitation", // 146 - RFC3775
|
||||
+ "Mobile Prefix Advertisement", // 147 - RFC3775
|
||||
+ "Certification Path Solicitation", // 148 - RFC3971
|
||||
+ "Certification Path Advertisement", // 149 - RFC3971
|
||||
+ "ICMP Experimental (150)", // 150 - RFC4065
|
||||
+ "Multicast Router Advertisement", // 151 - RFC4286
|
||||
+ "Multicast Router Solicitation", // 152 - RFC4286
|
||||
+ "Multicast Router Termination", // 153 - [RFC4286]
|
||||
+ };
|
||||
+
|
||||
+ // high codes 127-153 registered
|
||||
+ if (127 < v && v < 154)
|
||||
+ return icmp6HighPktStr[(int)(v&0x7f)];
|
||||
+
|
||||
+ // give all others a generic display
|
||||
+ static char buf[50];
|
||||
+ snprintf(buf, sizeof(buf), "ICMPv6 %u", v);
|
||||
+ return buf;
|
||||
+}
|
||||
|
||||
Icmp6::Icmp6() : Icmp()
|
||||
{
|
||||
@@ -236,6 +240,12 @@
|
||||
from->ai_addr,
|
||||
&from->ai_addrlen);
|
||||
|
||||
+ if (n <= 0) {
|
||||
+ debugs(42, DBG_CRITICAL, HERE << "Error when calling recvfrom() on ICMPv6 socket.");
|
||||
+ Ip::Address::FreeAddrInfo(from);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
preply.from = *from;
|
||||
|
||||
#if GETTIMEOFDAY_NO_TZP
|
||||
@@ -291,8 +301,7 @@
|
||||
|
||||
default:
|
||||
debugs(42, 8, HERE << preply.from << " said: " << icmp6header->icmp6_type << "/" << (int)icmp6header->icmp6_code << " " <<
|
||||
- ( icmp6header->icmp6_type&0x80 ? icmp6HighPktStr[(int)(icmp6header->icmp6_type&0x7f)] : icmp6LowPktStr[(int)(icmp6header->icmp6_type&0x7f)] )
|
||||
- );
|
||||
+ IcmpPacketType(icmp6header->icmp6_type));
|
||||
}
|
||||
preply.from.FreeAddrInfo(from);
|
||||
return;
|
||||
@@ -331,7 +340,7 @@
|
||||
|
||||
Log(preply.from,
|
||||
icmp6header->icmp6_type,
|
||||
- ( icmp6header->icmp6_type&0x80 ? icmp6HighPktStr[(int)(icmp6header->icmp6_type&0x7f)] : icmp6LowPktStr[(int)(icmp6header->icmp6_type&0x7f)] ),
|
||||
+ IcmpPacketType(icmp6header->icmp6_type),
|
||||
preply.rtt,
|
||||
preply.hops);
|
||||
|
||||
|
@ -1,247 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.3.13-r1.ebuild,v 1.14 2015/02/02 07:34:37 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils linux-info pam toolchain-funcs user versionator
|
||||
|
||||
DESCRIPTION="A full-featured web proxy cache"
|
||||
HOMEPAGE="http://www.squid-cache.org/"
|
||||
SRC_URI="http://www.squid-cache.org/Versions/v3/3.3/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
|
||||
ecap icap-client ssl-crtd \
|
||||
mysql postgres sqlite \
|
||||
qos tproxy \
|
||||
pf-transparent ipf-transparent kqueue \
|
||||
elibc_uclibc kernel_linux"
|
||||
|
||||
COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
|
||||
pam? ( virtual/pam )
|
||||
ldap? ( net-nds/openldap )
|
||||
kerberos? ( virtual/krb5 )
|
||||
qos? ( net-libs/libnetfilter_conntrack )
|
||||
ssl? ( dev-libs/openssl )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ecap? ( net-libs/libecap:0.2 )
|
||||
!x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
|
||||
>=sys-libs/db-4
|
||||
<=sys-devel/libtool-2.4.2-r1
|
||||
dev-lang/perl"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-apps/ed
|
||||
test? ( dev-util/cppunit )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
samba? ( net-fs/samba )
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
selinux? ( sec-policy/selinux-squid )
|
||||
sqlite? ( dev-perl/DBD-SQLite )
|
||||
!<=sci-biology/meme-4.8.1-r1"
|
||||
|
||||
REQUIRED_USE="tproxy? ( caps )
|
||||
qos? ( caps )"
|
||||
|
||||
pkg_pretend() {
|
||||
if use tproxy; then
|
||||
local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup squid 31
|
||||
enewuser squid 31 -1 /var/cache/squid squid
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch"
|
||||
epatch "${FILESDIR}/${PN}-12683_12681.patch"
|
||||
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
||||
lib/libTrie/configure.ac || die
|
||||
sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
|
||||
INSTALL QUICKSTART \
|
||||
helpers/basic_auth/MSNT/README.html \
|
||||
helpers/basic_auth/MSNT/confload.cc \
|
||||
helpers/basic_auth/MSNT/msntauth.conf.default \
|
||||
scripts/fileno-to-pathname.pl \
|
||||
scripts/check_cache.pl \
|
||||
tools/cachemgr.cgi.8 \
|
||||
tools/purge/conffile.hh \
|
||||
tools/purge/README || die
|
||||
sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
|
||||
INSTALL QUICKSTART || die
|
||||
sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
|
||||
QUICKSTART || die
|
||||
sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
|
||||
QUICKSTART \
|
||||
src/log/access_log.cc || die
|
||||
sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
|
||||
src/log/access_log.cc || die
|
||||
sed -i -e 's:/usr/local/squid/bin:/usr/bin:' \
|
||||
helpers/basic_auth/MSNT/README.html || die
|
||||
sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
|
||||
helpers/external_acl/unix_group/ext_unix_group_acl.8 \
|
||||
helpers/external_acl/session/ext_session_acl.8 \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
|
||||
scripts/check_cache.pl || die
|
||||
sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
# /var/run/squid to /run/squid
|
||||
sed -i -e 's:$(localstatedir)::' \
|
||||
src/ipc/Makefile.am
|
||||
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local basic_modules="MSNT,MSNT-multi-domain,NCSA,POP3,getpwnam"
|
||||
use samba && basic_modules+=",SMB"
|
||||
use ldap && basic_modules+=",LDAP"
|
||||
use pam && basic_modules+=",PAM"
|
||||
use sasl && basic_modules+=",SASL"
|
||||
use nis && ! use elibc_uclibc && basic_modules+=",NIS"
|
||||
use radius && basic_modules+=",RADIUS"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
basic_modules+=",DB"
|
||||
fi
|
||||
|
||||
local digest_modules="file"
|
||||
use ldap && digest_modules+=",LDAP,eDirectory"
|
||||
|
||||
local negotiate_modules myconf
|
||||
if use kerberos ; then
|
||||
negotiate_modules="kerberos,wrapper"
|
||||
myconf="--with-krb5-config=yes"
|
||||
else
|
||||
negotiate_modules="none"
|
||||
myconf="--with-krb5-config=no"
|
||||
fi
|
||||
|
||||
local ntlm_modules="none"
|
||||
use samba && ntlm_modules="smb_lm"
|
||||
|
||||
local ext_helpers="file_userip,session,unix_group"
|
||||
use samba && ext_helpers+=",wbinfo_group"
|
||||
use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
|
||||
use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
|
||||
|
||||
# uclibc does not have aio support - needed for coss (#61175)
|
||||
local storeio_modules="aufs,diskd,rock,ufs"
|
||||
|
||||
local transparent
|
||||
if use kernel_linux ; then
|
||||
transparent+=" --enable-linux-netfilter"
|
||||
use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
|
||||
fi
|
||||
|
||||
if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
|
||||
transparent+=" $(use_enable kqueue)"
|
||||
if use pf-transparent; then
|
||||
transparent+=" --enable-pf-transparent"
|
||||
elif use ipf-transparent; then
|
||||
transparent+=" --enable-ipf-transparent"
|
||||
fi
|
||||
fi
|
||||
|
||||
tc-export CC AR
|
||||
|
||||
econf \
|
||||
--sysconfdir=/etc/squid \
|
||||
--libexecdir=/usr/libexec/squid \
|
||||
--localstatedir=/var \
|
||||
--with-pidfile=/run/squid.pid \
|
||||
--datadir=/usr/share/squid \
|
||||
--with-logdir=/var/log/squid \
|
||||
--with-default-user=squid \
|
||||
--enable-removal-policies="lru,heap" \
|
||||
--enable-storeio="${storeio_modules}" \
|
||||
--enable-disk-io \
|
||||
--enable-auth \
|
||||
--enable-auth-basic="${basic_modules}" \
|
||||
--enable-auth-digest="${digest_modules}" \
|
||||
--enable-auth-ntlm="${ntlm_modules}" \
|
||||
--enable-auth-negotiate="${negotiate_modules}" \
|
||||
--enable-external-acl-helpers="${ext_helpers}" \
|
||||
--enable-log-daemon-helpers \
|
||||
--enable-url-rewrite-helpers \
|
||||
--enable-cache-digests \
|
||||
--enable-delay-pools \
|
||||
--enable-eui \
|
||||
--enable-icmp \
|
||||
--enable-follow-x-forwarded-for \
|
||||
--enable-esi \
|
||||
--with-large-files \
|
||||
--disable-strict-error-checking \
|
||||
$(use_with caps libcap) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable snmp) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable ssl-crtd) \
|
||||
$(use_enable icap-client) \
|
||||
$(use_enable ecap) \
|
||||
${transparent} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# need suid root for looking into /etc/shadow
|
||||
fowners root:squid /usr/libexec/squid/basic_ncsa_auth
|
||||
fperms 4750 /usr/libexec/squid/basic_ncsa_auth
|
||||
if use pam; then
|
||||
fowners root:squid /usr/libexec/squid/basic_pam_auth
|
||||
fperms 4750 /usr/libexec/squid/basic_pam_auth
|
||||
fi
|
||||
# pinger needs suid as well
|
||||
fowners root:squid /usr/libexec/squid/pinger
|
||||
fperms 4750 /usr/libexec/squid/pinger
|
||||
|
||||
# some cleanups
|
||||
rm -f "${D}"/usr/bin/Run*
|
||||
rm -rf "${D}"/run/squid "${D}"/var/cache/squid
|
||||
|
||||
dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
|
||||
newdoc helpers/negotiate_auth/kerberos/README README.kerberos
|
||||
newdoc helpers/basic_auth/MSNT-multi-domain/README.txt README.MSNT-multi-domain
|
||||
newdoc helpers/basic_auth/LDAP/README README.LDAP
|
||||
newdoc helpers/basic_auth/RADIUS/README README.RADIUS
|
||||
newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
|
||||
newdoc tools/purge/README README.purge
|
||||
newdoc tools/helper-mux.README README.helper-mux
|
||||
dohtml RELEASENOTES.html
|
||||
|
||||
newpamd "${FILESDIR}/squid.pam" squid
|
||||
newconfd "${FILESDIR}/squid.confd-r1" squid
|
||||
newinitd "${FILESDIR}/squid.initd-r4" squid
|
||||
if use logrotate; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/squid.logrotate" squid
|
||||
else
|
||||
exeinto /etc/cron.weekly
|
||||
newexe "${FILESDIR}/squid.cron" squid.cron
|
||||
fi
|
||||
|
||||
diropts -m0750 -o squid -g squid
|
||||
keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \
|
||||
[[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 3 ]]; then
|
||||
elog "Please read the release notes at:"
|
||||
elog " http://www.squid-cache.org/Versions/v3/3.3/RELEASENOTES.html"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,255 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.4.10.ebuild,v 1.1 2014/12/10 15:47:16 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils linux-info pam toolchain-funcs user versionator
|
||||
|
||||
DESCRIPTION="A full-featured web proxy cache"
|
||||
HOMEPAGE="http://www.squid-cache.org/"
|
||||
SRC_URI="http://www.squid-cache.org/Versions/v3/3.4/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
|
||||
ecap esi icap-client ssl-crtd \
|
||||
mysql postgres sqlite \
|
||||
qos tproxy \
|
||||
+htcp +wccp +wccpv2 \
|
||||
pf-transparent ipf-transparent kqueue \
|
||||
elibc_uclibc kernel_linux"
|
||||
|
||||
COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
|
||||
pam? ( virtual/pam )
|
||||
ldap? ( net-nds/openldap )
|
||||
kerberos? ( virtual/krb5 )
|
||||
qos? ( net-libs/libnetfilter_conntrack )
|
||||
ssl? ( dev-libs/openssl dev-libs/nettle )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ecap? ( net-libs/libecap:0.2 )
|
||||
esi? ( dev-libs/expat dev-libs/libxml2 )
|
||||
!x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
|
||||
>=sys-libs/db-4
|
||||
sys-devel/libtool
|
||||
dev-lang/perl
|
||||
sys-devel/libtool"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
ecap? ( virtual/pkgconfig )
|
||||
sys-apps/ed
|
||||
test? ( dev-util/cppunit )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
samba? ( net-fs/samba )
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
selinux? ( sec-policy/selinux-squid )
|
||||
sqlite? ( dev-perl/DBD-SQLite )
|
||||
!<=sci-biology/meme-4.8.1-r1"
|
||||
|
||||
REQUIRED_USE="tproxy? ( caps )
|
||||
qos? ( caps )"
|
||||
|
||||
pkg_pretend() {
|
||||
if use tproxy; then
|
||||
local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup squid 31
|
||||
enewuser squid 31 -1 /var/cache/squid squid
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch"
|
||||
sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
|
||||
INSTALL QUICKSTART \
|
||||
helpers/basic_auth/MSNT/README.html \
|
||||
helpers/basic_auth/MSNT/confload.cc \
|
||||
helpers/basic_auth/MSNT/msntauth.conf.default \
|
||||
scripts/fileno-to-pathname.pl \
|
||||
scripts/check_cache.pl \
|
||||
tools/cachemgr.cgi.8 \
|
||||
tools/purge/conffile.hh \
|
||||
tools/purge/README || die
|
||||
sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
|
||||
INSTALL QUICKSTART || die
|
||||
sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
|
||||
QUICKSTART || die
|
||||
sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
|
||||
QUICKSTART \
|
||||
src/log/access_log.cc || die
|
||||
sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
|
||||
src/log/access_log.cc || die
|
||||
sed -i -e 's:/usr/local/squid/bin:/usr/bin:' \
|
||||
helpers/basic_auth/MSNT/README.html || die
|
||||
sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
|
||||
helpers/external_acl/unix_group/ext_unix_group_acl.8 \
|
||||
helpers/external_acl/session/ext_session_acl.8 \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
|
||||
scripts/check_cache.pl || die
|
||||
sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
# /var/run/squid to /run/squid
|
||||
sed -i -e 's:$(localstatedir)::' \
|
||||
src/ipc/Makefile.am || die
|
||||
sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
|
||||
libltdl/configure.ac || die
|
||||
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local basic_modules="MSNT,MSNT-multi-domain,NCSA,POP3,getpwnam"
|
||||
use samba && basic_modules+=",SMB"
|
||||
use ldap && basic_modules+=",LDAP"
|
||||
use pam && basic_modules+=",PAM"
|
||||
use sasl && basic_modules+=",SASL"
|
||||
use nis && ! use elibc_uclibc && basic_modules+=",NIS"
|
||||
use radius && basic_modules+=",RADIUS"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
basic_modules+=",DB"
|
||||
fi
|
||||
|
||||
local digest_modules="file"
|
||||
use ldap && digest_modules+=",LDAP,eDirectory"
|
||||
|
||||
local negotiate_modules myconf
|
||||
if use kerberos ; then
|
||||
negotiate_modules="kerberos,wrapper"
|
||||
myconf="--with-krb5-config=yes"
|
||||
else
|
||||
negotiate_modules="none"
|
||||
myconf="--with-krb5-config=no"
|
||||
fi
|
||||
|
||||
local ntlm_modules="none"
|
||||
use samba && ntlm_modules="smb_lm"
|
||||
|
||||
local ext_helpers="file_userip,session,unix_group"
|
||||
use samba && ext_helpers+=",wbinfo_group"
|
||||
use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
|
||||
use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
|
||||
|
||||
# uclibc does not have aio support - needed for coss (#61175)
|
||||
local storeio_modules="aufs,diskd,rock,ufs"
|
||||
|
||||
local transparent
|
||||
if use kernel_linux ; then
|
||||
transparent+=" --enable-linux-netfilter"
|
||||
use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
|
||||
fi
|
||||
|
||||
if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
|
||||
transparent+=" $(use_enable kqueue)"
|
||||
if use pf-transparent; then
|
||||
transparent+=" --enable-pf-transparent"
|
||||
elif use ipf-transparent; then
|
||||
transparent+=" --enable-ipf-transparent"
|
||||
fi
|
||||
fi
|
||||
|
||||
tc-export CC AR
|
||||
|
||||
econf \
|
||||
--sysconfdir=/etc/squid \
|
||||
--libexecdir=/usr/libexec/squid \
|
||||
--localstatedir=/var \
|
||||
--with-pidfile=/run/squid.pid \
|
||||
--datadir=/usr/share/squid \
|
||||
--with-logdir=/var/log/squid \
|
||||
--with-default-user=squid \
|
||||
--enable-removal-policies="lru,heap" \
|
||||
--enable-storeio="${storeio_modules}" \
|
||||
--enable-disk-io \
|
||||
--enable-auth \
|
||||
--enable-auth-basic="${basic_modules}" \
|
||||
--enable-auth-digest="${digest_modules}" \
|
||||
--enable-auth-ntlm="${ntlm_modules}" \
|
||||
--enable-auth-negotiate="${negotiate_modules}" \
|
||||
--enable-external-acl-helpers="${ext_helpers}" \
|
||||
--enable-log-daemon-helpers \
|
||||
--enable-url-rewrite-helpers \
|
||||
--enable-cache-digests \
|
||||
--enable-delay-pools \
|
||||
--enable-eui \
|
||||
--enable-icmp \
|
||||
--enable-follow-x-forwarded-for \
|
||||
--with-large-files \
|
||||
--disable-strict-error-checking \
|
||||
--disable-arch-native \
|
||||
$(use_with caps libcap) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable snmp) \
|
||||
$(use_enable ssl) \
|
||||
$(use_with ssl nettle) \
|
||||
$(use_enable ssl-crtd) \
|
||||
$(use_enable icap-client) \
|
||||
$(use_enable ecap) \
|
||||
$(use_enable esi) \
|
||||
$(use_enable htcp) \
|
||||
$(use_enable wccp) \
|
||||
$(use_enable wccpv2) \
|
||||
${transparent} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# need suid root for looking into /etc/shadow
|
||||
fowners root:squid /usr/libexec/squid/basic_ncsa_auth
|
||||
fperms 4750 /usr/libexec/squid/basic_ncsa_auth
|
||||
if use pam; then
|
||||
fowners root:squid /usr/libexec/squid/basic_pam_auth
|
||||
fperms 4750 /usr/libexec/squid/basic_pam_auth
|
||||
fi
|
||||
# pinger needs suid as well
|
||||
fowners root:squid /usr/libexec/squid/pinger
|
||||
fperms 4750 /usr/libexec/squid/pinger
|
||||
|
||||
# cleanup
|
||||
rm -f "${D}"/usr/bin/Run*
|
||||
rm -rf "${D}"/run/squid "${D}"/var/cache/squid
|
||||
|
||||
dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
|
||||
newdoc helpers/negotiate_auth/kerberos/README README.kerberos
|
||||
newdoc helpers/basic_auth/MSNT-multi-domain/README.txt README.MSNT-multi-domain
|
||||
newdoc helpers/basic_auth/LDAP/README README.LDAP
|
||||
newdoc helpers/basic_auth/RADIUS/README README.RADIUS
|
||||
newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
|
||||
newdoc tools/purge/README README.purge
|
||||
newdoc tools/helper-mux.README README.helper-mux
|
||||
dohtml RELEASENOTES.html
|
||||
|
||||
newpamd "${FILESDIR}/squid.pam" squid
|
||||
newconfd "${FILESDIR}/squid.confd-r1" squid
|
||||
newinitd "${FILESDIR}/squid.initd-r4" squid
|
||||
if use logrotate; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/squid.logrotate" squid
|
||||
else
|
||||
exeinto /etc/cron.weekly
|
||||
newexe "${FILESDIR}/squid.cron" squid.cron
|
||||
fi
|
||||
|
||||
diropts -m0750 -o squid -g squid
|
||||
keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \
|
||||
[[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 4 ]]; then
|
||||
elog "Please read the release notes at:"
|
||||
elog " http://www.squid-cache.org/Versions/v3/3.4/RELEASENOTES.html"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,247 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.5.1.ebuild,v 1.3 2015/02/02 07:36:58 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils linux-info pam toolchain-funcs user versionator
|
||||
|
||||
DESCRIPTION="A full-featured web proxy cache"
|
||||
HOMEPAGE="http://www.squid-cache.org/"
|
||||
SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
|
||||
ecap esi ssl-crtd \
|
||||
mysql postgres sqlite \
|
||||
qos tproxy \
|
||||
+htcp +wccp +wccpv2 \
|
||||
pf-transparent ipf-transparent kqueue \
|
||||
elibc_uclibc kernel_linux"
|
||||
|
||||
COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
|
||||
pam? ( virtual/pam )
|
||||
ldap? ( net-nds/openldap )
|
||||
kerberos? ( virtual/krb5 )
|
||||
qos? ( net-libs/libnetfilter_conntrack )
|
||||
ssl? ( dev-libs/openssl dev-libs/nettle >=net-libs/gnutls-3.1.5 )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ecap? ( net-libs/libecap:1 )
|
||||
esi? ( dev-libs/expat dev-libs/libxml2 )
|
||||
!x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
|
||||
>=sys-libs/db-4
|
||||
dev-lang/perl
|
||||
dev-libs/libltdl"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
ecap? ( virtual/pkgconfig )
|
||||
sys-apps/ed
|
||||
test? ( dev-util/cppunit )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
samba? ( net-fs/samba )
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
selinux? ( sec-policy/selinux-squid )
|
||||
sqlite? ( dev-perl/DBD-SQLite )
|
||||
!<=sci-biology/meme-4.8.1-r1"
|
||||
|
||||
REQUIRED_USE="tproxy? ( caps )
|
||||
qos? ( caps )"
|
||||
|
||||
pkg_pretend() {
|
||||
if use tproxy; then
|
||||
local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup squid 31
|
||||
enewuser squid 31 -1 /var/cache/squid squid
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch"
|
||||
sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
|
||||
INSTALL QUICKSTART \
|
||||
scripts/fileno-to-pathname.pl \
|
||||
scripts/check_cache.pl \
|
||||
tools/cachemgr.cgi.8 \
|
||||
tools/purge/conffile.hh \
|
||||
tools/purge/README || die
|
||||
sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
|
||||
INSTALL QUICKSTART || die
|
||||
sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
|
||||
QUICKSTART || die
|
||||
sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
|
||||
QUICKSTART \
|
||||
src/log/access_log.cc || die
|
||||
sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
|
||||
src/log/access_log.cc || die
|
||||
sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
|
||||
helpers/external_acl/unix_group/ext_unix_group_acl.8 \
|
||||
helpers/external_acl/session/ext_session_acl.8 \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
|
||||
scripts/check_cache.pl || die
|
||||
sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
|
||||
src/ssl/ssl_crtd.8 || die
|
||||
# /var/run/squid to /run/squid
|
||||
sed -i -e 's:$(localstatedir)::' \
|
||||
src/ipc/Makefile.am || die
|
||||
sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
|
||||
libltdl/configure.ac || die
|
||||
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam"
|
||||
use samba && basic_modules+=",SMB"
|
||||
use ldap && basic_modules+=",LDAP"
|
||||
use pam && basic_modules+=",PAM"
|
||||
use sasl && basic_modules+=",SASL"
|
||||
use nis && ! use elibc_uclibc && basic_modules+=",NIS"
|
||||
use radius && basic_modules+=",RADIUS"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
basic_modules+=",DB"
|
||||
fi
|
||||
|
||||
local digest_modules="file"
|
||||
use ldap && digest_modules+=",LDAP,eDirectory"
|
||||
|
||||
local negotiate_modules="none"
|
||||
local myconf="--without-mit-krb5 --without-heimdal-krb5"
|
||||
if use kerberos ; then
|
||||
negotiate_modules="kerberos,wrapper"
|
||||
if has_version app-crypt/heimdal ; then
|
||||
myconf="--without-mit-krb5 --with-heimdal-krb5"
|
||||
else
|
||||
myconf="--with-mit-krb5 --without-heimdal-krb5"
|
||||
fi
|
||||
fi
|
||||
|
||||
local ntlm_modules="none"
|
||||
use samba && ntlm_modules="smb_lm"
|
||||
|
||||
local ext_helpers="file_userip,session,unix_group"
|
||||
use samba && ext_helpers+=",wbinfo_group"
|
||||
use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
|
||||
use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
|
||||
|
||||
local storeio_modules="aufs,diskd,rock,ufs"
|
||||
|
||||
local transparent
|
||||
if use kernel_linux ; then
|
||||
transparent+=" --enable-linux-netfilter"
|
||||
use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
|
||||
fi
|
||||
|
||||
if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
|
||||
transparent+=" $(use_enable kqueue)"
|
||||
if use pf-transparent; then
|
||||
transparent+=" --enable-pf-transparent"
|
||||
elif use ipf-transparent; then
|
||||
transparent+=" --enable-ipf-transparent"
|
||||
fi
|
||||
fi
|
||||
|
||||
tc-export CC AR
|
||||
|
||||
econf \
|
||||
--sysconfdir=/etc/squid \
|
||||
--libexecdir=/usr/libexec/squid \
|
||||
--localstatedir=/var \
|
||||
--with-pidfile=/run/squid.pid \
|
||||
--datadir=/usr/share/squid \
|
||||
--with-logdir=/var/log/squid \
|
||||
--with-default-user=squid \
|
||||
--enable-removal-policies="lru,heap" \
|
||||
--enable-storeio="${storeio_modules}" \
|
||||
--enable-disk-io \
|
||||
--enable-auth-basic="${basic_modules}" \
|
||||
--enable-auth-digest="${digest_modules}" \
|
||||
--enable-auth-ntlm="${ntlm_modules}" \
|
||||
--enable-auth-negotiate="${negotiate_modules}" \
|
||||
--enable-external-acl-helpers="${ext_helpers}" \
|
||||
--enable-log-daemon-helpers \
|
||||
--enable-url-rewrite-helpers \
|
||||
--enable-cache-digests \
|
||||
--enable-delay-pools \
|
||||
--enable-eui \
|
||||
--enable-icmp \
|
||||
--enable-follow-x-forwarded-for \
|
||||
--with-large-files \
|
||||
--disable-strict-error-checking \
|
||||
--disable-arch-native \
|
||||
$(use_with caps libcap) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable snmp) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with ssl nettle) \
|
||||
$(use_with ssl gnutls) \
|
||||
$(use_enable ssl-crtd) \
|
||||
$(use_enable ecap) \
|
||||
$(use_enable esi) \
|
||||
$(use_enable htcp) \
|
||||
$(use_enable wccp) \
|
||||
$(use_enable wccpv2) \
|
||||
${transparent} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# need suid root for looking into /etc/shadow
|
||||
fowners root:squid /usr/libexec/squid/basic_ncsa_auth
|
||||
fperms 4750 /usr/libexec/squid/basic_ncsa_auth
|
||||
if use pam; then
|
||||
fowners root:squid /usr/libexec/squid/basic_pam_auth
|
||||
fperms 4750 /usr/libexec/squid/basic_pam_auth
|
||||
fi
|
||||
# pinger needs suid as well
|
||||
fowners root:squid /usr/libexec/squid/pinger
|
||||
fperms 4750 /usr/libexec/squid/pinger
|
||||
|
||||
# cleanup
|
||||
rm -f "${D}"/usr/bin/Run*
|
||||
rm -rf "${D}"/run/squid "${D}"/var/cache/squid
|
||||
|
||||
dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
|
||||
newdoc helpers/negotiate_auth/kerberos/README README.kerberos
|
||||
newdoc helpers/basic_auth/RADIUS/README README.RADIUS
|
||||
newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
|
||||
newdoc tools/purge/README README.purge
|
||||
newdoc tools/helper-mux.README README.helper-mux
|
||||
dohtml RELEASENOTES.html
|
||||
|
||||
newpamd "${FILESDIR}/squid.pam" squid
|
||||
newconfd "${FILESDIR}/squid.confd-r1" squid
|
||||
newinitd "${FILESDIR}/squid.initd-r4" squid
|
||||
if use logrotate; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/squid.logrotate" squid
|
||||
else
|
||||
exeinto /etc/cron.weekly
|
||||
newexe "${FILESDIR}/squid.cron" squid.cron
|
||||
fi
|
||||
|
||||
diropts -m0750 -o squid -g squid
|
||||
keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \
|
||||
[[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 5 ]]; then
|
||||
elog "Please read the release notes at:"
|
||||
elog " http://www.squid-cache.org/Versions/v3/3.5/RELEASENOTES.html"
|
||||
echo
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue