parent
4d6d666db4
commit
90dd72d0a3
@ -0,0 +1,217 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.9.1-r5.ebuild,v 1.1 2014/09/03 09:51:22 mgorny Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||||
|
PYTHON_REQ_USE="xml"
|
||||||
|
|
||||||
|
inherit libtool flag-o-matic eutils python-r1 autotools prefix multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||||
|
HOMEPAGE="http://www.xmlsoft.org/"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="2"
|
||||||
|
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 ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||||
|
IUSE="debug examples icu ipv6 lzma python readline static-libs test"
|
||||||
|
|
||||||
|
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||||
|
XSTS_NAME_1="xmlschema2002-01-16"
|
||||||
|
XSTS_NAME_2="xmlschema2004-01-14"
|
||||||
|
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||||
|
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||||
|
XMLCONF_TARBALL="xmlts20080827.tar.gz"
|
||||||
|
|
||||||
|
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||||
|
test? (
|
||||||
|
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||||
|
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
|
||||||
|
http://www.w3.org/XML/Test/${XMLCONF_TARBALL} )"
|
||||||
|
|
||||||
|
COMMON_DEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
|
||||||
|
icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
|
||||||
|
lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
readline? ( sys-libs/readline:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r6
|
||||||
|
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
dev-util/gtk-doc-am
|
||||||
|
virtual/pkgconfig
|
||||||
|
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||||
|
|
||||||
|
MULTILIB_CHOST_TOOLS=(
|
||||||
|
/usr/bin/xml2-config
|
||||||
|
)
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||||
|
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||||
|
unpack ${P/_rc/-rc}.tar.gz
|
||||||
|
cd "${S}"
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||||
|
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||||
|
"${S}"/xstc/ \
|
||||||
|
|| die "Failed to install test tarballs"
|
||||||
|
unpack ${XMLCONF_TARBALL}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
DOCS=( AUTHORS ChangeLog NEWS README* TODO* )
|
||||||
|
|
||||||
|
# Patches needed for prefix support
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||||
|
|
||||||
|
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||||
|
|
||||||
|
# epunt_cxx # if we don't eautoreconf
|
||||||
|
|
||||||
|
# Important patches from 2.9.2
|
||||||
|
epatch "${FILESDIR}/${P}-missing-break.patch" \
|
||||||
|
"${FILESDIR}/${P}-python-2.6.patch" \
|
||||||
|
"${FILESDIR}/${P}-compression-detection.patch" \
|
||||||
|
"${FILESDIR}/${P}-non-ascii-cr-lf.patch" \
|
||||||
|
"${FILESDIR}/${PN}-2.9.1-python3.patch" \
|
||||||
|
"${FILESDIR}/${PN}-2.9.1-python3a.patch"
|
||||||
|
|
||||||
|
# Security fixes from 2.9.2
|
||||||
|
epatch "${FILESDIR}/${P}-external-param-entities.patch"
|
||||||
|
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=730290
|
||||||
|
epatch "${FILESDIR}/${PN}-2.9.1-xmllint-postvalid.patch"
|
||||||
|
|
||||||
|
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||||
|
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||||
|
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||||
|
# elibtoolize
|
||||||
|
|
||||||
|
# Use pkgconfig to find icu to properly support multilib
|
||||||
|
epatch "${FILESDIR}/${PN}-2.9.1-icu-pkgconfig.patch"
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
# filter seemingly problematic CFLAGS (#26320)
|
||||||
|
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||||
|
|
||||||
|
# USE zlib support breaks gnome2
|
||||||
|
# (libgnomeprint for instance fails to compile with
|
||||||
|
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||||
|
|
||||||
|
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||||
|
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||||
|
|
||||||
|
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||||
|
|
||||||
|
libxml2_configure() {
|
||||||
|
ECONF_SOURCE="${S}" econf \
|
||||||
|
--with-html-subdir=${PF}/html \
|
||||||
|
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||||
|
$(use_with debug run-debug) \
|
||||||
|
$(use_with icu) \
|
||||||
|
$(use_with lzma) \
|
||||||
|
$(use_enable ipv6) \
|
||||||
|
$(use_enable static-libs static) \
|
||||||
|
$(multilib_native_use_with readline) \
|
||||||
|
$(multilib_native_use_with readline history) \
|
||||||
|
"$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
libxml2_py_configure() {
|
||||||
|
mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
|
||||||
|
run_in_build_dir libxml2_configure "--with-python=${PYTHON}" # odd build system
|
||||||
|
}
|
||||||
|
|
||||||
|
libxml2_configure --without-python # build python bindings separately
|
||||||
|
|
||||||
|
if multilib_is_native_abi && use python; then
|
||||||
|
python_parallel_foreach_impl libxml2_py_configure
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
default
|
||||||
|
if multilib_is_native_abi && use python; then
|
||||||
|
local native_builddir=${BUILD_DIR}
|
||||||
|
python_foreach_impl libxml2_py_emake top_builddir="${native_builddir}" all
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
default
|
||||||
|
multilib_is_native_abi && use python && python_foreach_impl libxml2_py_emake test
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake DESTDIR="${D}" \
|
||||||
|
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples install
|
||||||
|
|
||||||
|
if multilib_is_native_abi && use python; then
|
||||||
|
python_foreach_impl libxml2_py_emake DESTDIR="${D}" install
|
||||||
|
python_foreach_impl python_optimize
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||||
|
# this is the version to use. the native winnt version does not support
|
||||||
|
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||||
|
# from another location (which is my default). -- mduft
|
||||||
|
if [[ ${CHOST} == *-winnt* ]]; then
|
||||||
|
rm -rf "${ED}"/usr/bin/xmllint
|
||||||
|
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${ED}"/usr/share/doc/${P}
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
if ! use python; then
|
||||||
|
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||||
|
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use examples; then
|
||||||
|
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||||
|
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||||
|
fi
|
||||||
|
|
||||||
|
prune_libtool_files --modules
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||||
|
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||||
|
if [[ "${ROOT}" != "/" ]]; then
|
||||||
|
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||||
|
else
|
||||||
|
# need an XML catalog, so no-one writes to a non-existent one
|
||||||
|
CATALOG="${EROOT}etc/xml/catalog"
|
||||||
|
|
||||||
|
# we dont want to clobber an existing catalog though,
|
||||||
|
# only ensure that one is there
|
||||||
|
# <obz@gentoo.org>
|
||||||
|
if [[ ! -e ${CATALOG} ]]; then
|
||||||
|
[[ -d "${EROOT}etc/xml" ]] || mkdir -p "${EROOT}etc/xml"
|
||||||
|
"${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
|
||||||
|
einfo "Created XML catalog in ${CATALOG}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
libxml2_py_emake() {
|
||||||
|
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||||
|
emake "$@"
|
||||||
|
popd > /dev/null
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
From 1fc82ea63f16efc0d607b39a162e3032d7c2d602 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||||
|
Date: Wed, 3 Sep 2014 11:21:01 +0200
|
||||||
|
Subject: [PATCH] Use AC_PATH_TOOL to find libgcrypt-config and xml2-config
|
||||||
|
|
||||||
|
Using AC_PATH_TOOL prefers ${CHOST}-prefixed tools over 'bare' ones,
|
||||||
|
therefore improving support for cross-compilation and multilib. This
|
||||||
|
is useful for environment where libgcrypt-config and xml2-config
|
||||||
|
correspond to the build host environment, while
|
||||||
|
${CHOST}-libgcrypt-config and ${CHOST}-xml2-config are installed for
|
||||||
|
each supported build targets.
|
||||||
|
|
||||||
|
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||||
|
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=518728
|
||||||
|
---
|
||||||
|
configure.in | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.in b/configure.in
|
||||||
|
index a861e90..f1639a8 100644
|
||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -393,7 +393,7 @@ case $host in
|
||||||
|
CRYPTO_TESTDIR=crypto
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
- AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
||||||
|
+ AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
||||||
|
if test "$LIBGCRYPT_CONFIG" != "no" ; then
|
||||||
|
LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version`
|
||||||
|
if test VERSION_TO_NUMBER(echo $LIBGCRYPT_VERSION) -lt VERSION_TO_NUMBER(echo "1.1.42")
|
||||||
|
@@ -507,9 +507,9 @@ AC_SUBST(LIBXML_REQUIRED_VERSION)
|
||||||
|
AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
|
||||||
|
if test "x$LIBXML_CONFIG_PREFIX" != "x"
|
||||||
|
then
|
||||||
|
- XML_CONFIG=${LIBXML_CONFIG_PREFIX}/bin/xml2-config
|
||||||
|
+ AC_PATH_TOOL([XML_CONFIG], [xml2-config], [false], [${LIBXML_CONFIG_PREFIX}/bin])
|
||||||
|
else
|
||||||
|
- XML_CONFIG=xml2-config
|
||||||
|
+ AC_PATH_TOOL([XML_CONFIG], [xml2-config], [false])
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl
|
||||||
|
--
|
||||||
|
2.1.0
|
||||||
|
|
@ -0,0 +1,117 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28-r4.ebuild,v 1.1 2014/09/03 09:51:38 mgorny Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||||
|
PYTHON_REQ_USE="xml"
|
||||||
|
|
||||||
|
inherit autotools eutils python-r1 toolchain-funcs multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="XSLT libraries and tools"
|
||||||
|
HOMEPAGE="http://www.xmlsoft.org/"
|
||||||
|
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
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 ~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="crypt debug python static-libs"
|
||||||
|
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/libxml2-2.9.1-r5:2[${MULTILIB_USEDEP}]
|
||||||
|
crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
|
||||||
|
python? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )
|
||||||
|
abi_x86_32? (
|
||||||
|
!<=app-emulation/emul-linux-x86-baselibs-20131008-r20
|
||||||
|
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
MULTILIB_CHOST_TOOLS=(
|
||||||
|
/usr/bin/xslt-config
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO )
|
||||||
|
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=684621
|
||||||
|
epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
|
||||||
|
|
||||||
|
epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
|
||||||
|
|
||||||
|
# use AC_PATH_TOOL for libgcrypt-config for sane cross-compile and multilib support
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||||
|
# same for xml2-config
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=518728
|
||||||
|
epatch "${FILESDIR}"/${PN}-1.1.28-AC_PATH_TOOL.patch
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
# If eautoreconf'd with new autoconf, then epunt_cxx is not necessary
|
||||||
|
# and it is propably otherwise too if upstream generated with new
|
||||||
|
# autoconf
|
||||||
|
# epunt_cxx
|
||||||
|
# But Prefix always needs elibtoolize if not eautoreconf'd.
|
||||||
|
# elibtoolize
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
libxslt_configure() {
|
||||||
|
ECONF_SOURCE=${S} econf \
|
||||||
|
$(use_enable static-libs static) \
|
||||||
|
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||||
|
--with-html-subdir=html \
|
||||||
|
$(use_with crypt crypto) \
|
||||||
|
$(use_with debug) \
|
||||||
|
$(use_with debug mem-debug) \
|
||||||
|
"$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
libxslt_py_configure() {
|
||||||
|
mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
|
||||||
|
run_in_build_dir libxslt_configure "--with-python=${PYTHON}" # odd build system
|
||||||
|
}
|
||||||
|
|
||||||
|
libxslt_configure --without-python # build python bindings separately
|
||||||
|
|
||||||
|
if multilib_is_native_abi && use python; then
|
||||||
|
python_parallel_foreach_impl libxslt_py_configure
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
default
|
||||||
|
multilib_is_native_abi && use python && libxslt_foreach_py_emake all
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
default
|
||||||
|
multilib_is_native_abi && use python && libxslt_foreach_py_emake test
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
# "default" does not work here - docs are installed by multilib_src_install_all
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
if multilib_is_native_abi && use python; then
|
||||||
|
libxslt_foreach_py_emake DESTDIR="${D}" install
|
||||||
|
python_foreach_impl python_optimize
|
||||||
|
mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
|
||||||
|
fi
|
||||||
|
|
||||||
|
prune_libtool_files --modules
|
||||||
|
}
|
||||||
|
|
||||||
|
libxslt_foreach_py_emake() {
|
||||||
|
libxslt_py_emake() {
|
||||||
|
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||||
|
emake "$@"
|
||||||
|
popd > /dev/null
|
||||||
|
}
|
||||||
|
local native_builddir=${BUILD_DIR}
|
||||||
|
python_foreach_impl libxslt_py_emake top_builddir="${native_builddir}" "$@"
|
||||||
|
}
|
@ -1,26 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/HTTP-Cache-Transparent/HTTP-Cache-Transparent-1.0.0.ebuild,v 1.2 2011/09/03 21:05:18 tove Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
MODULE_AUTHOR=MATTIASH
|
|
||||||
MODULE_VERSION=1.0
|
|
||||||
inherit perl-module
|
|
||||||
|
|
||||||
DESCRIPTION="Cache the result of http get-requests persistently"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ia64 ppc sparc x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="dev-perl/libwww-perl
|
|
||||||
virtual/perl-Digest-MD5
|
|
||||||
virtual/perl-Storable"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-perl/Test-Pod
|
|
||||||
dev-perl/Test-Pod-Coverage
|
|
||||||
)"
|
|
||||||
|
|
||||||
SRC_TEST="do"
|
|
@ -1,2 +1 @@
|
|||||||
DIST HTTP-Cache-Transparent-1.0.tar.gz 8526 SHA256 31b6b54d9488b35eb8ca54b6f5bcefd6eb1e208ca8a4038c1cee61042747f1d9 SHA512 c99f1f5e2949ccd0feeee9f2d7dee541041a9e4f2d494a3cb169563331df278d532b0fe4d6e7c7415ba2656893e51d4a0676cc97e70176c3a90844642079c46f WHIRLPOOL 26757f07d5c056b12b58f464bee7b8a49e2ef74aa7fc3149bce880f95f2ca118070bc89ff582aa44bb2f423a2c3212b1a5aa53ab645d0309bee7b52afec35f21
|
|
||||||
DIST HTTP-Cache-Transparent-1.1.tar.gz 9005 SHA256 0abf7b7d972abcd5d77aa4d138ad58406948e7f276f4071e13097b841f7c7eda SHA512 92993728c7803d6b9c2f7cfd8dce12e942df2002081908ebe3277034c1bcd35e3d4822fd246c028dd168229068a8e54b1caaca6f535b497319bd0dd3513c0ff0 WHIRLPOOL a81556aa41ee06ea39d5ff18026e70b52ad55c06c5ce229afb0b1873410af57f651bc1272aef732e667e30ab24ed46813ef109de3aa6a1e0638e714b4192462c
|
DIST HTTP-Cache-Transparent-1.1.tar.gz 9005 SHA256 0abf7b7d972abcd5d77aa4d138ad58406948e7f276f4071e13097b841f7c7eda SHA512 92993728c7803d6b9c2f7cfd8dce12e942df2002081908ebe3277034c1bcd35e3d4822fd246c028dd168229068a8e54b1caaca6f535b497319bd0dd3513c0ff0 WHIRLPOOL a81556aa41ee06ea39d5ff18026e70b52ad55c06c5ce229afb0b1873410af57f651bc1272aef732e667e30ab24ed46813ef109de3aa6a1e0638e714b4192462c
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyalsa/pyalsa-1.0.26.ebuild,v 1.5 2012/12/01 19:52:35 armin76 Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
|
||||||
|
|
||||||
inherit distutils eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Python bindings for ALSA library"
|
|
||||||
HOMEPAGE="http://alsa-project.org/"
|
|
||||||
SRC_URI="mirror://alsaproject/pyalsa/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc ppc64 sparc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="media-libs/alsa-lib"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-python/setuptools"
|
|
||||||
|
|
||||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
distutils_src_prepare
|
|
||||||
|
|
||||||
epatch "${FILESDIR}/${PN}-1.0.25-no-build-symlinks.patch"
|
|
||||||
}
|
|
@ -1,3 +1 @@
|
|||||||
DIST kramdown-0.14.2.gem 278528 SHA256 4351344ebf3b986990341987320d076486d5b1b63032bdf5bfb5eb10d1a43eb7 SHA512 07f3f3b300497196463f660d3d5ec3548c91df79592320e8469a475ced70df21da921d0b00daa1410a9ee9d3ebc0bc4aa12338eabc76d1303264385d6e6f86d2 WHIRLPOOL 473669c9267ed914407214fee7c4c16cf058be4bed5cbef498728578f57fe8550fe2cf7b57889e644a269442560fb2b7b9771f16e3b0c254b20b3760139344cd
|
|
||||||
DIST kramdown-1.2.0.gem 217600 SHA256 d6ba9e0b8e501eac57129d7aca338d34155c29b01bf1b91a87813c301013529e SHA512 07bf56b29e58c0187cb08f6e82bb481b195523fcbdaed2f79def1eae9de5afc10846a7d23aef0fbfcba5d5b7ca1c754022eadc1d82aee0077c1ebb9cc3e612d9 WHIRLPOOL 4966ae5fc29c1cc0efdd02465b48f336d922bf0a356f3009911a469a77d8f53f11cfc7d7cd6b5672bd3842027cad8d4f49878f6ece59cfa7bbdd75907ad5cd55
|
|
||||||
DIST kramdown-1.4.1.gem 226304 SHA256 6e8bcdbc1a4e3aab40253e3d573133fb66fe958a6cea21df4f780f83fdaf1797 SHA512 ea1f32f11a377860851390ce889819ab6fd9aba2b7127a7718eb4f820e2b4acdeee353e303dab42618508727197b2e219dc74b05a0ae2bd4382bd41bba5cbcb3 WHIRLPOOL e57001f1f0d302e4fe9006f9c9a3df6c28d5df61d083208c4d342f1adbcf886fb6ac66adedcdc9aa33c2f6034de9d6d1451c1e7817e1d5f962ab948f2737a988
|
DIST kramdown-1.4.1.gem 226304 SHA256 6e8bcdbc1a4e3aab40253e3d573133fb66fe958a6cea21df4f780f83fdaf1797 SHA512 ea1f32f11a377860851390ce889819ab6fd9aba2b7127a7718eb4f820e2b4acdeee353e303dab42618508727197b2e219dc74b05a0ae2bd4382bd41bba5cbcb3 WHIRLPOOL e57001f1f0d302e4fe9006f9c9a3df6c28d5df61d083208c4d342f1adbcf886fb6ac66adedcdc9aa33c2f6034de9d6d1451c1e7817e1d5f962ab948f2737a988
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/kramdown-0.14.2.ebuild,v 1.7 2014/08/12 21:19:08 blueness Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby19 jruby"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc"
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS ChangeLog CONTRIBUTERS"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition"
|
|
||||||
HOMEPAGE="http://kramdown.rubyforge.org/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
|
||||||
IUSE="latex"
|
|
||||||
|
|
||||||
LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
|
|
||||||
RDEPEND+=" ${LATEX_DEPS}"
|
|
||||||
DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )"
|
|
||||||
|
|
||||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
|
||||||
test? ( >=dev-ruby/coderay-1.0.0 )"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
if ! use latex; then
|
|
||||||
# Remove latex tests. They will fail gracefully when latex isn't
|
|
||||||
# present at all, but not when components are missing (most
|
|
||||||
# notable ucs.sty).
|
|
||||||
sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_install() {
|
|
||||||
all_fakegem_install
|
|
||||||
|
|
||||||
doman man/man1/kramdown.1
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/kramdown-1.2.0-r1.ebuild,v 1.3 2014/08/12 21:19:08 blueness Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby19 ruby20 ruby21"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition"
|
|
||||||
HOMEPAGE="http://kramdown.rubyforge.org/"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
|
||||||
IUSE="latex"
|
|
||||||
|
|
||||||
LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
|
|
||||||
RDEPEND+=" ${LATEX_DEPS}"
|
|
||||||
DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )"
|
|
||||||
|
|
||||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
|
||||||
test? ( >=dev-ruby/coderay-1.0.0
|
|
||||||
>=dev-ruby/stringex-1.5.1 )"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
if ! use latex; then
|
|
||||||
# Remove latex tests. They will fail gracefully when latex isn't
|
|
||||||
# present at all, but not when components are missing (most
|
|
||||||
# notable ucs.sty).
|
|
||||||
sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_install() {
|
|
||||||
all_fakegem_install
|
|
||||||
|
|
||||||
doman man/man1/kramdown.1
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
DIST mechanize-2.6.0.gem 131584 SHA256 0c5c3af20d1800623a5ab3d4fb40e94d4d2e83ab1b2e30fc9f5ebee0765f160d SHA512 5cd3264159c029851a755e943af86d54cadb7076cc0db3394b5d381db9e7d5e760507e68b7fdba6e425e59c0703c20d02d451394346c8f5c7816921dead38d00 WHIRLPOOL 6a5dc87b630be97d55e18feeaae29ebe2a511cecec72f35ed42f71658f005411f2a59894bd83c34a77b97c53cb3d5887b4b023142421cc27b781e9320850c87f
|
DIST mechanize-2.6.0.gem 131584 SHA256 0c5c3af20d1800623a5ab3d4fb40e94d4d2e83ab1b2e30fc9f5ebee0765f160d SHA512 5cd3264159c029851a755e943af86d54cadb7076cc0db3394b5d381db9e7d5e760507e68b7fdba6e425e59c0703c20d02d451394346c8f5c7816921dead38d00 WHIRLPOOL 6a5dc87b630be97d55e18feeaae29ebe2a511cecec72f35ed42f71658f005411f2a59894bd83c34a77b97c53cb3d5887b4b023142421cc27b781e9320850c87f
|
||||||
|
DIST mechanize-2.7.3.gem 133120 SHA256 3de7f3c2799be07b2788c8226e73cf9120a04ae79602c5bab2de6287e4575302 SHA512 5a06f1e7a1c97f985f3011358061c631bcc69e3092082959f738670c9491f734bc6dbbca321018fa484ee493f2f251b8af0cf17602fe381d491ff3e18663f2eb WHIRLPOOL 661869f23fd4f0a60a9a58ba35fd02cd51a65af79c66f8ab04d18498feb20f200d2959351ff44bcb4385f0c947e3b47e1b3e046735021d60d502256df8c63f98
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mechanize/mechanize-2.7.3.ebuild,v 1.1 2014/09/03 13:43:20 mrueg Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
USE_RUBY="ruby19 ruby20 ruby21"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc EXAMPLES.rdoc GUIDE.rdoc README.rdoc"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="A Ruby library used for automating interaction with websites"
|
||||||
|
HOMEPAGE="https://github.com/sparklemotion/mechanize"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ruby_add_bdepend ">=dev-ruby/hoe-3.7
|
||||||
|
test? ( dev-ruby/minitest:5 )"
|
||||||
|
ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4-r1
|
||||||
|
>=dev-ruby/net-http-digest_auth-1.1.1
|
||||||
|
>=dev-ruby/net-http-persistent-2.5.2
|
||||||
|
>=dev-ruby/ntlm-http-0.1.1
|
||||||
|
>=dev-ruby/webrobots-0.0.9
|
||||||
|
>=dev-ruby/http-cookie-1.0.2
|
||||||
|
>=dev-ruby/mime-types-2.0
|
||||||
|
>=dev-ruby/domain_name-0.5.1"
|
||||||
|
|
||||||
|
all_ruby_install() {
|
||||||
|
all_fakegem_install
|
||||||
|
|
||||||
|
docinto examples
|
||||||
|
dodoc examples/* || die
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST gtk-doc-1.20.tar.xz 643892 SHA256 3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011 SHA512 8b48bac2f9c176295353d59306de63461073ba12baed767b102bb7e09ac8962e3ed54581a1acf22d732e5fc7f2b409b1fc51d10bf5541323dd6152d99434a8d6 WHIRLPOOL d7491d7bff7429949a1fcbd855799aaa62f496f5b201105f880acb2ab024c577379703b1936e9126510b70ce54ecc98154889a40b9c02de30c60c93d6864c8d4
|
DIST gtk-doc-1.20.tar.xz 643892 SHA256 3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011 SHA512 8b48bac2f9c176295353d59306de63461073ba12baed767b102bb7e09ac8962e3ed54581a1acf22d732e5fc7f2b409b1fc51d10bf5541323dd6152d99434a8d6 WHIRLPOOL d7491d7bff7429949a1fcbd855799aaa62f496f5b201105f880acb2ab024c577379703b1936e9126510b70ce54ecc98154889a40b9c02de30c60c93d6864c8d4
|
||||||
|
DIST gtk-doc-1.21.tar.xz 647484 SHA256 5d934d012ee08edd1585544792efa80da271652587ba5b843d2cea8e8b80ee3e SHA512 caef8f6fd42f2961b6703af6d8b9f003b6e6ba2e9e955b94d9c0ecce8d267b7f4c2315d273dbdca1aff244e81867e675434b09a9410248e93101e86105f60f9d WHIRLPOOL cd72184e6f58745573d8bec785b0a8c61f3f68ff9c20254dd6a03e113aeac1672a8408f03c84918c523e2031a98fd5d75990d9377ea8444c2ce7fdba03dfaccc
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc-am/gtk-doc-am-1.21.ebuild,v 1.1 2014/09/03 13:02:16 pacho Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
GNOME_ORG_MODULE="gtk-doc"
|
||||||
|
|
||||||
|
inherit gnome.org
|
||||||
|
|
||||||
|
DESCRIPTION="Automake files from gtk-doc"
|
||||||
|
HOMEPAGE="http://www.gtk.org/gtk-doc/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 FDL-1.1"
|
||||||
|
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 ~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=""
|
||||||
|
|
||||||
|
RDEPEND=">=dev-lang/perl-5.6"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
!<dev-util/gtk-doc-${GNOME_ORG_PVP}
|
||||||
|
"
|
||||||
|
# pkg-config is used by gtkdoc-rebase at runtime
|
||||||
|
# PDEPEND to avoid circular deps, bug 368301
|
||||||
|
PDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
# This ebuild doesn't even compile anything, causing tests to fail when updating (bug #316071)
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Duplicate autoconf checks so we don't have to call configure
|
||||||
|
local PERL=$(type -P perl)
|
||||||
|
|
||||||
|
test -n "${PERL}" || die "Perl not found!"
|
||||||
|
"${PERL}" -e "require v5.6.0" || die "perl >= 5.6.0 is required for gtk-doc"
|
||||||
|
|
||||||
|
# Replicate AC_SUBST
|
||||||
|
sed -e "s:@PERL@:${PERL}:g" -e "s:@VERSION@:${PV}:g" \
|
||||||
|
"${S}/gtkdoc-rebase.in" > "${S}/gtkdoc-rebase" || die "sed failed!"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
fperms +x gtkdoc-rebase
|
||||||
|
exeinto /usr/bin/
|
||||||
|
doexe gtkdoc-rebase
|
||||||
|
|
||||||
|
insinto /usr/share/aclocal
|
||||||
|
doins gtk-doc.m4
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST gtk-doc-1.20.tar.xz 643892 SHA256 3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011 SHA512 8b48bac2f9c176295353d59306de63461073ba12baed767b102bb7e09ac8962e3ed54581a1acf22d732e5fc7f2b409b1fc51d10bf5541323dd6152d99434a8d6 WHIRLPOOL d7491d7bff7429949a1fcbd855799aaa62f496f5b201105f880acb2ab024c577379703b1936e9126510b70ce54ecc98154889a40b9c02de30c60c93d6864c8d4
|
DIST gtk-doc-1.20.tar.xz 643892 SHA256 3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011 SHA512 8b48bac2f9c176295353d59306de63461073ba12baed767b102bb7e09ac8962e3ed54581a1acf22d732e5fc7f2b409b1fc51d10bf5541323dd6152d99434a8d6 WHIRLPOOL d7491d7bff7429949a1fcbd855799aaa62f496f5b201105f880acb2ab024c577379703b1936e9126510b70ce54ecc98154889a40b9c02de30c60c93d6864c8d4
|
||||||
|
DIST gtk-doc-1.21.tar.xz 647484 SHA256 5d934d012ee08edd1585544792efa80da271652587ba5b843d2cea8e8b80ee3e SHA512 caef8f6fd42f2961b6703af6d8b9f003b6e6ba2e9e955b94d9c0ecce8d267b7f4c2315d273dbdca1aff244e81867e675434b09a9410248e93101e86105f60f9d WHIRLPOOL cd72184e6f58745573d8bec785b0a8c61f3f68ff9c20254dd6a03e113aeac1672a8408f03c84918c523e2031a98fd5d75990d9377ea8444c2ce7fdba03dfaccc
|
||||||
|
@ -0,0 +1,120 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.21.ebuild,v 1.1 2014/09/03 13:03:10 pacho Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
GCONF_DEBUG="yes"
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||||
|
|
||||||
|
inherit eutils elisp-common gnome2 python-single-r1 readme.gentoo
|
||||||
|
|
||||||
|
DESCRIPTION="GTK+ Documentation Generator"
|
||||||
|
HOMEPAGE="http://www.gtk.org/gtk-doc/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 FDL-1.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||||
|
|
||||||
|
IUSE="doc emacs highlight vim test"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
# dev-tex/tex4ht blocker needed due bug #315287
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.6:2
|
||||||
|
>=dev-lang/perl-5.6
|
||||||
|
>=app-text/openjade-1.3.1
|
||||||
|
dev-libs/libxslt
|
||||||
|
>=dev-libs/libxml2-2.3.6:2
|
||||||
|
~app-text/docbook-xml-dtd-4.3
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
~app-text/docbook-sgml-dtd-3.0
|
||||||
|
>=app-text/docbook-dsssl-stylesheets-1.40
|
||||||
|
emacs? ( virtual/emacs )
|
||||||
|
highlight? (
|
||||||
|
vim? ( || ( app-editors/vim app-editors/gvim ) )
|
||||||
|
!vim? ( dev-util/source-highlight )
|
||||||
|
)
|
||||||
|
!!<dev-tex/tex4ht-20090611_p1038-r1
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
~dev-util/gtk-doc-am-${PV}
|
||||||
|
app-text/yelp-tools
|
||||||
|
>=app-text/scrollkeeper-0.3.14
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? ( app-text/scrollkeeper-dtd )
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
DOC_CONTENTS="gtk-doc does no longer define global key bindings for Emacs.
|
||||||
|
You may set your own key bindings for \"gtk-doc-insert\" and
|
||||||
|
\"gtk-doc-insert-section\" in your ~/.emacs file."
|
||||||
|
SITEFILE=61${PN}-gentoo.el
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Always disable fop; it is unreliable enough that gtk-doc upstream
|
||||||
|
# commented it out by default, and if it's autodetected, it causes build
|
||||||
|
# failures in other packages, bug #403165
|
||||||
|
sed -e 's:test -n "@FOP@":test -n "":' \
|
||||||
|
-i gtkdoc-mkpdf.in || die "sed failed"
|
||||||
|
|
||||||
|
# Remove global Emacs keybindings, bug #184588
|
||||||
|
epatch "${FILESDIR}/${PN}-1.8-emacs-keybindings.patch"
|
||||||
|
|
||||||
|
gnome2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf
|
||||||
|
if use vim; then
|
||||||
|
myconf="${myconf} $(use_with highlight highlight vim)"
|
||||||
|
else
|
||||||
|
G2CONF="${myconf} $(use_with highlight highlight source-highlight)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
gnome2_src_configure \
|
||||||
|
--with-xml-catalog="${EPREFIX}/etc/xml/catalog" \
|
||||||
|
${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
gnome2_src_compile
|
||||||
|
use emacs && elisp-compile tools/gtk-doc.el
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
gnome2_src_install
|
||||||
|
|
||||||
|
python_fix_shebang "${ED}"/usr/bin/gtkdoc-depscan
|
||||||
|
|
||||||
|
# Don't install those files, they are in gtk-doc-am now
|
||||||
|
rm "${ED}"/usr/share/aclocal/gtk-doc.m4 || die "failed to remove gtk-doc.m4"
|
||||||
|
rm "${ED}"/usr/bin/gtkdoc-rebase || die "failed to remove gtkdoc-rebase"
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
docinto doc
|
||||||
|
dodoc doc/*
|
||||||
|
docinto examples
|
||||||
|
dodoc examples/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use emacs; then
|
||||||
|
elisp-install ${PN} tools/gtk-doc.el*
|
||||||
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_pkg_postinst
|
||||||
|
if use emacs; then
|
||||||
|
elisp-site-regen
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_pkg_postrm
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
@ -0,0 +1,79 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-3.2.0.ebuild,v 1.1 2014/09/03 08:29:29 alonbl Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
export CBUILD=${CBUILD:-${CHOST}}
|
||||||
|
export CTARGET=${CTARGET:-${CHOST}}
|
||||||
|
if [[ ${CTARGET} == ${CHOST} ]] ; then
|
||||||
|
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
||||||
|
export CTARGET=${CATEGORY/cross-}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit flag-o-matic eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Free Win64 runtime and import library definitions"
|
||||||
|
HOMEPAGE="http://mingw-w64.sourceforge.net/"
|
||||||
|
SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="crosscompile_opts_headers-only idl"
|
||||||
|
RESTRICT="strip"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
is_crosscompile() {
|
||||||
|
[[ ${CHOST} != ${CTARGET} ]]
|
||||||
|
}
|
||||||
|
just_headers() {
|
||||||
|
use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
|
||||||
|
die "Invalid configuration"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local extra_conf=()
|
||||||
|
|
||||||
|
if just_headers; then
|
||||||
|
extra_conf+=( --without-crt )
|
||||||
|
else
|
||||||
|
extra_conf+=( --with-crt )
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${CTARGET} in
|
||||||
|
x86_64*) extra_conf+=( --disable-lib32 --enable-lib64 ) ;;
|
||||||
|
i?86*) extra_conf+=( --enable-lib32 --disable-lib64 ) ;;
|
||||||
|
*) die "Unsupported ${CTARGET}" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
CHOST=${CTARGET} strip-unsupported-flags
|
||||||
|
CHOST=${CTARGET} econf \
|
||||||
|
--prefix=/usr/${CTARGET} \
|
||||||
|
--includedir=/usr/${CTARGET}/usr/include \
|
||||||
|
--with-headers \
|
||||||
|
--enable-sdk \
|
||||||
|
$(use_enable idl) \
|
||||||
|
"${extra_conf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if is_crosscompile ; then
|
||||||
|
# gcc is configured to look at specific hard-coded paths for mingw #419601
|
||||||
|
dosym usr /usr/${CTARGET}/mingw
|
||||||
|
dosym usr /usr/${CTARGET}/${CTARGET}
|
||||||
|
dosym usr/include /usr/${CTARGET}/sys-include
|
||||||
|
fi
|
||||||
|
|
||||||
|
env -uRESTRICT CHOST=${CTARGET} prepallstrip
|
||||||
|
rm -rf "${ED}/usr/share"
|
||||||
|
}
|
@ -1,6 +1 @@
|
|||||||
DIST courier-0.65.2.tar.bz2 7152680 SHA256 496361b8734381ba6128c7b0d5fe4c64ce7d807c01a74aae2cb5be8bb29e5ab2 SHA512 6d17fe8c1066e73aae33e214aeb206aced1bb4e59bf8e8f2a3c451ee2774fce80c7391a707a438d563673ced9b0d86565e455d711813b8c506019c84eeb3bd0f WHIRLPOOL 6828de7916643a6eddd3519066bfe4b2315122a9c99151cdcc24cc706c57add22ec1258ba02024ada9678c06e23615accc49e8ec9490cde173e69c60dd92d15f
|
|
||||||
DIST courier-0.66.3.tar.bz2 6871617 SHA256 5d2f68bdcc89e6a62327b9afed1703a9d2a674f60e0996291f301e7db48d15b5
|
|
||||||
DIST courier-0.68.2.20120626.tar.bz2 7068120 SHA256 b1afcd7454cf893a046b090d25e3fde568108dbe0e9df015cdf97a9a0a99ab46
|
|
||||||
DIST courier-0.69.0.tar.bz2 7061163 SHA256 adfd9d7ad5a8f6256286b797f242f65a0bb90bf52a6104fbcf38e51740f8ab09 SHA512 96e048015392f5673986fc086a8e7a7e8ecece1d6e08b096a05ae3f8f7feabd96e8dcf951fcb265efae773b909479a95f6aa2de88204677658c458079dec5b39 WHIRLPOOL 89fc61474ad0e382e47293b015c9216b9389013071ed0153be6c29b9aa27288b856d9087d41ae951a57f3543705144b44c6295a38d65433c16755c7b947a29f1
|
|
||||||
DIST courier-0.70.tar.bz2 7063765 SHA256 99035a8132982712ecc88ccb9ca6583216d18f02b710dbf6dbea9f2ab6042a75 SHA512 c3f023014facb25ccd84aadf184b523cc2ea02fcdbb6bc4f680a3143faeb256497e638c61dd2aaf7e19a7d3e046d7ac2695464e9a9d57bc4604e4b4f3ffb1af1 WHIRLPOOL 1659aa993eb51c4de8a0b54601a8f134581794885d4bc8509e17d7858e23ffcf5c25a738d1c994b262f5ae27fd6689e9572c25429f79ecf9d4530d13b57300cd
|
|
||||||
DIST courier-0.71.tar.bz2 7117940 SHA256 e06058ed6163bd7e706517ad183fb26faba00ff0ad649557123e5f33f265ebcd SHA512 08b02b006c978c4e1d12241d3f687a201e65afbd6a7ca49f10c77c4ddad0b1d89bb43169b1eb7cd90af30117ffa13911794da3f7dec3429c36b4bc3a9cf3cac8 WHIRLPOOL 47b1d5c4adbd1b387a2a2d412f7d55cc661b517e72bc7a29bec07c098dd5efffe91fa85c9ecae701049e0c08a7d4b1d1b777d24befe1103ad079eb9e8dd1e61c
|
DIST courier-0.71.tar.bz2 7117940 SHA256 e06058ed6163bd7e706517ad183fb26faba00ff0ad649557123e5f33f265ebcd SHA512 08b02b006c978c4e1d12241d3f687a201e65afbd6a7ca49f10c77c4ddad0b1d89bb43169b1eb7cd90af30117ffa13911794da3f7dec3429c36b4bc3a9cf3cac8 WHIRLPOOL 47b1d5c4adbd1b387a2a2d412f7d55cc661b517e72bc7a29bec07c098dd5efffe91fa85c9ecae701049e0c08a7d4b1d1b777d24befe1103ad079eb9e8dd1e61c
|
||||||
|
@ -1,299 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.65.2-r1.ebuild,v 1.16 2013/02/28 17:48:11 zx2c4 Exp $
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib
|
|
||||||
|
|
||||||
DESCRIPTION="An MTA designed specifically for maildirs"
|
|
||||||
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://www.courier-mta.org/"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
|
|
||||||
KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
|
|
||||||
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
|
|
||||||
fam web webmail"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=net-libs/courier-authlib-0.61.0
|
|
||||||
>=dev-libs/openssl-0.9.6
|
|
||||||
>=sys-libs/gdbm-1.8.0
|
|
||||||
dev-libs/libpcre
|
|
||||||
app-misc/mime-types
|
|
||||||
fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
|
|
||||||
pam? ( virtual/pam )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
spell? ( app-text/aspell )
|
|
||||||
fam? ( virtual/fam )
|
|
||||||
!mail-filter/maildrop
|
|
||||||
!mail-mta/esmtp
|
|
||||||
!mail-mta/exim
|
|
||||||
!mail-mta/mini-qmail
|
|
||||||
!mail-mta/msmtp
|
|
||||||
!mail-mta/netqmail
|
|
||||||
!mail-mta/nullmailer
|
|
||||||
!mail-mta/postfix
|
|
||||||
!mail-mta/qmail-ldap
|
|
||||||
!mail-mta/sendmail
|
|
||||||
!mail-mta/ssmtp
|
|
||||||
!mail-mta/opensmtpd
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
dev-lang/perl
|
|
||||||
sys-process/procps"
|
|
||||||
|
|
||||||
# get rid of old style virtual/imapd - bug 350792
|
|
||||||
# all blockers really needed?
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
!net-mail/bincimap
|
|
||||||
!net-mail/courier-imap
|
|
||||||
!net-mail/cyrus-imapd
|
|
||||||
!net-mail/uw-imap"
|
|
||||||
|
|
||||||
PDEPEND="pam? ( net-mail/mailbase )
|
|
||||||
crypt? ( >=app-crypt/gnupg-1.0.4 )"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
use norewrite && epatch "${FILESDIR}/norewrite.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
filter-flags '-fomit-frame-pointer'
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
myconf=""
|
|
||||||
|
|
||||||
use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf"
|
|
||||||
|
|
||||||
econf ${myconf} \
|
|
||||||
$(use_with fam) \
|
|
||||||
$(use_with ipv6) \
|
|
||||||
$(use_with spell ispell) \
|
|
||||||
$(use_with ldap ldapaliasd) \
|
|
||||||
$(use_enable ldap maildroldap) \
|
|
||||||
--enable-mimetypes=/etc/mime.types \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-root-check \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sysconfdir=/etc/courier \
|
|
||||||
--libexecdir=/usr/$(get_libdir)/courier \
|
|
||||||
--datadir=/usr/share/courier \
|
|
||||||
--sharedstatedir=/var/lib/courier/com \
|
|
||||||
--localstatedir=/var/lib/courier \
|
|
||||||
--with-piddir=/var/run/courier \
|
|
||||||
--with-authdaemonvar=/var/lib/courier/authdaemon \
|
|
||||||
--with-mailuser=mail \
|
|
||||||
--with-mailgroup=mail \
|
|
||||||
--with-paranoid-smtpext \
|
|
||||||
--with-db=gdbm \
|
|
||||||
--disable-autorenamesent \
|
|
||||||
--cache-file="${S}/configuring.cache" \
|
|
||||||
--host="${CHOST}" debug=true || die "./configure"
|
|
||||||
sed -e'/^install-perms-local:/a\ sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
|
|
||||||
emake || die "Compile problem"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier() {
|
|
||||||
# Import existing /etc/courier/file if it exists.
|
|
||||||
# Add option only if it was not already set or even commented out
|
|
||||||
file="${1}" ; word="`echo \"${2}\" | sed -e\"s|=.*$||\" -e\"s|^.*opt ||\"`"
|
|
||||||
[ ! -e "${D}/etc/courier/${file}" ] && [ -e "/etc/courier/${file}" ] && \
|
|
||||||
cp "/etc/courier/${file}" "${D}/etc/courier/${file}"
|
|
||||||
grep -q "${word}" "${D}/etc/courier/${file}" || \
|
|
||||||
echo "${2}" >> "${D}/etc/courier/${file}"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier_chg() {
|
|
||||||
file="${1}" ; key="${2}" ; value="${3}" ; section="${4}"
|
|
||||||
[ -z "${section}" ] && section="${2}"
|
|
||||||
grep -q "${key}" "${file}" && elog "Changing ${file}: ${key} to ${value}"
|
|
||||||
sed -i -e"/\#\#NAME: ${section}/,+30 s|${key}=.*|${key}=\"${value}\"|g" ${file}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local f
|
|
||||||
diropts -o mail -g mail
|
|
||||||
keepdir /var/run/courier
|
|
||||||
keepdir /var/lib/courier/tmp
|
|
||||||
keepdir /var/lib/courier/msgs
|
|
||||||
make install DESTDIR="${D}" || die "install"
|
|
||||||
make install-configure || die "install-configure"
|
|
||||||
|
|
||||||
# Get rid of files we dont want
|
|
||||||
if ! use webmail ; then
|
|
||||||
rm -rf "${D}/usr/$(get_libdir)/courier/courier/webmail" \
|
|
||||||
"${D}/usr/$(get_libdir)/courier/courier/sqwebmaild" \
|
|
||||||
"${D}/usr/share/courier/sqwebmail/" \
|
|
||||||
"${D}/usr/sbin/webmaild" \
|
|
||||||
"${D}/usr/sbin/webgpg" \
|
|
||||||
"${D}/etc/courier/webmail.authpam" \
|
|
||||||
"${D}/var/lib/courier/webmail-logincache" \
|
|
||||||
"${D}"/etc/courier/sqwebmaild*
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use web ; then
|
|
||||||
rm -rf "${D}/usr/share/courier/courierwebadmin/" \
|
|
||||||
"${D}/etc/courier/webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for dir2keep in $(cd "${D}" && find ./var/lib/courier -type d) ; do
|
|
||||||
keepdir "$dir2keep" || die "failed running keepdir: $dir2keep"
|
|
||||||
done
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/courier-init-r3" "courier"
|
|
||||||
use fam || sed -i -e's|^.*use famd$||g' "${D}/etc/init.d/courier"
|
|
||||||
|
|
||||||
cd "${D}/etc/courier"
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /etc/courier
|
|
||||||
newins "${FILESDIR}/apache-sqwebmail.inc" apache-sqwebmail.inc
|
|
||||||
fi
|
|
||||||
|
|
||||||
for f in *.dist ; do cp "${f}" "${f%%.dist}" ; done
|
|
||||||
if use ldap ; then
|
|
||||||
[ -e ldapaliasrc ] && ( chown root:0 ldapaliasrc ; chmod 400 ldapaliasrc )
|
|
||||||
else
|
|
||||||
rm -f ldapaliasrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
( [ -e /etc/courier/sizelimit ] && cat /etc/courier/sizelimit || echo 0 ) \
|
|
||||||
> "${D}/etc/courier/sizelimit"
|
|
||||||
etc_courier maildroprc ""
|
|
||||||
etc_courier esmtproutes ""
|
|
||||||
etc_courier backuprelay ""
|
|
||||||
etc_courier locallowercase ""
|
|
||||||
etc_courier bofh "opt BOFHBADMIME=accept"
|
|
||||||
etc_courier bofh "opt BOFHSPFTRUSTME=1"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail,fail"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none"
|
|
||||||
etc_courier bofh "opt BOFHSPFFROM=all"
|
|
||||||
etc_courier bofh "opt BOFHSPFMAILFROM=all"
|
|
||||||
etc_courier bofh "#opt BOFHSPFHARDERROR=fail"
|
|
||||||
etc_courier esmtpd "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-ssl "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-msa "BOFHBADMIME=accept"
|
|
||||||
|
|
||||||
use fam && etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
|
|
||||||
use fam || etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256"
|
|
||||||
|
|
||||||
# Fix for a sandbox violation on subsequential merges
|
|
||||||
# - ticho@gentoo.org, 2005-07-10
|
|
||||||
dosym /usr/share/courier/pop3d /usr/sbin/courier-pop3d
|
|
||||||
dosym /usr/share/courier/pop3d-ssl /usr/sbin/courier-pop3d-ssl
|
|
||||||
dosym /usr/share/courier/imapd /usr/sbin/courier-imapd
|
|
||||||
dosym /usr/share/courier/imapd-ssl /usr/sbin/courier-imapd-ssl
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
cp imap/README README.imap
|
|
||||||
use nls && cp unicode/README README.unicode
|
|
||||||
dodoc AUTHORS BENCHMARKS COPYING* ChangeLog* INSTALL NEWS README* TODO courier/doc/*.txt
|
|
||||||
dodoc tcpd/README.couriertls
|
|
||||||
mv "${D}/usr/share/courier/htmldoc" "${D}/usr/share/doc/${PF}/html"
|
|
||||||
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /usr/$(get_libdir)/courier/courier
|
|
||||||
insopts -m 755 -o mail -g mail
|
|
||||||
doins "${S}/courier/webmaild"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use web ; then
|
|
||||||
insinto /etc/courier/webadmin
|
|
||||||
insopts -m 400 -o mail -g mail
|
|
||||||
doins "${FILESDIR}/password.dist"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# avoid name collisions in /usr/sbin, make webadmin match
|
|
||||||
cd "${D}/usr/sbin"
|
|
||||||
for f in imapd imapd-ssl pop3d pop3d-ssl ; do mv "${f}" "courier-${f}" ; done
|
|
||||||
if use web ; then
|
|
||||||
sed -i -e 's:\$sbindir\/imapd:\$sbindir\/courier-imapd:g' \
|
|
||||||
-e 's:\$sbindir\/imapd-ssl:\$sbindir\/courier-imapd-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-40imap.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
sed -i -e 's:\$sbindir\/pop3d:\$sbindir\/courier-pop3d:g' \
|
|
||||||
-e 's:\$sbindir\/pop3d-ssl:\$sbindir\/courier-pop3d-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-45pop3.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# users should be able to send mail. Could be restricted with suictl.
|
|
||||||
chmod u+s "${D}/usr/bin/sendmail"
|
|
||||||
|
|
||||||
dosym /usr/bin/sendmail /usr/sbin/sendmail
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [ `whoami` != 'root' ]; then
|
|
||||||
emake -j1 check || die "Make check failed."
|
|
||||||
else
|
|
||||||
einfo "make check skipped, can't run as root."
|
|
||||||
einfo "You can enable it with FEATURES=\"userpriv\""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use fam && elog "fam daemon is needed for courier-imapd" \
|
|
||||||
|| ewarn "courier was built without fam support"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
mailhost="$(hostname)"
|
|
||||||
export mailhost
|
|
||||||
|
|
||||||
domainname="$(domainname)"
|
|
||||||
if [ "x$domainname" = "x(none)" ] ; then
|
|
||||||
domainname="$(echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/")"
|
|
||||||
fi
|
|
||||||
export domainname
|
|
||||||
|
|
||||||
if [ "${ROOT}" = "/" ] ; then
|
|
||||||
file="${ROOT}/etc/courier/locals"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "localhost" > "${file}";
|
|
||||||
echo "${domainname}" >> "${file}";
|
|
||||||
fi
|
|
||||||
file="${ROOT}/etc/courier/esmtpacceptmailfor.dir/${domainname}"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "${domainname}" > "${file}"
|
|
||||||
/usr/sbin/makeacceptmailfor
|
|
||||||
fi
|
|
||||||
|
|
||||||
file="${ROOT}/etc/courier/smtpaccess/${domainname}"
|
|
||||||
if [ ! -f "${file}" ]
|
|
||||||
then
|
|
||||||
netstat -nr | grep "^[1-9]" | while read network gateway netmask rest
|
|
||||||
do
|
|
||||||
i=1
|
|
||||||
net=""
|
|
||||||
TIFS="${IFS}"
|
|
||||||
IFS="."
|
|
||||||
for o in "${netmask}"
|
|
||||||
do
|
|
||||||
if [ "${o}" == "255" ]
|
|
||||||
then
|
|
||||||
[ "_${net}" == "_" ] || net="${net}."
|
|
||||||
t="$(echo "${network}" | cut -d " " -f ${i})"
|
|
||||||
net="${net}${t}"
|
|
||||||
fi
|
|
||||||
i="$((${i} + 1))"
|
|
||||||
done
|
|
||||||
IFS="${TIFS}"
|
|
||||||
echo "doing configuration - relay control for the network ${net} !"
|
|
||||||
echo "${net} allow,RELAYCLIENT" >> ${file}
|
|
||||||
done
|
|
||||||
/usr/sbin/makesmtpaccess
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "creating cert for esmtpd-ssl:"
|
|
||||||
/usr/sbin/mkesmtpdcert
|
|
||||||
echo "creating cert for imapd-ssl:"
|
|
||||||
/usr/sbin/mkpop3dcert
|
|
||||||
echo "creating cert for pop3d-ssl:"
|
|
||||||
/usr/sbin/mkimapdcert
|
|
||||||
}
|
|
@ -1,294 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.65.2.ebuild,v 1.9 2013/02/28 17:48:11 zx2c4 Exp $
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib
|
|
||||||
|
|
||||||
DESCRIPTION="An MTA designed specifically for maildirs"
|
|
||||||
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://www.courier-mta.org/"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
|
|
||||||
fam web webmail"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=net-libs/courier-authlib-0.61.0
|
|
||||||
>=dev-libs/openssl-0.9.6
|
|
||||||
>=sys-libs/gdbm-1.8.0
|
|
||||||
dev-libs/libpcre
|
|
||||||
app-misc/mime-types
|
|
||||||
fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
|
|
||||||
pam? ( virtual/pam )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
spell? ( app-text/aspell )
|
|
||||||
fam? ( virtual/fam )
|
|
||||||
!mail-filter/maildrop
|
|
||||||
!mail-mta/esmtp
|
|
||||||
!mail-mta/exim
|
|
||||||
!mail-mta/mini-qmail
|
|
||||||
!mail-mta/msmtp
|
|
||||||
!mail-mta/netqmail
|
|
||||||
!mail-mta/nullmailer
|
|
||||||
!mail-mta/postfix
|
|
||||||
!mail-mta/qmail-ldap
|
|
||||||
!mail-mta/sendmail
|
|
||||||
!mail-mta/ssmtp
|
|
||||||
!mail-mta/opensmtpd
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
dev-lang/perl
|
|
||||||
sys-process/procps"
|
|
||||||
|
|
||||||
# get rid of old style virtual/imapd - bug 350792
|
|
||||||
# all blockers really needed?
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
!net-mail/bincimap
|
|
||||||
!net-mail/courier-imap
|
|
||||||
!net-mail/cyrus-imapd
|
|
||||||
!net-mail/uw-imap"
|
|
||||||
|
|
||||||
PDEPEND="pam? ( net-mail/mailbase )
|
|
||||||
crypt? ( >=app-crypt/gnupg-1.0.4 )"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
use norewrite && epatch "${FILESDIR}/norewrite.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
filter-flags '-fomit-frame-pointer'
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
myconf=""
|
|
||||||
|
|
||||||
use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf"
|
|
||||||
|
|
||||||
econf ${myconf} \
|
|
||||||
$(use_with fam) \
|
|
||||||
$(use_with ipv6) \
|
|
||||||
$(use_with spell ispell) \
|
|
||||||
$(use_with ldap ldapaliasd) \
|
|
||||||
$(use_enable ldap maildroldap) \
|
|
||||||
--enable-mimetypes=/etc/mime.types \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-root-check \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sysconfdir=/etc/courier \
|
|
||||||
--libexecdir=/usr/$(get_libdir)/courier \
|
|
||||||
--datadir=/usr/share/courier \
|
|
||||||
--sharedstatedir=/var/lib/courier/com \
|
|
||||||
--localstatedir=/var/lib/courier \
|
|
||||||
--with-piddir=/var/run/courier \
|
|
||||||
--with-authdaemonvar=/var/lib/courier/authdaemon \
|
|
||||||
--with-mailuser=mail \
|
|
||||||
--with-mailgroup=mail \
|
|
||||||
--with-paranoid-smtpext \
|
|
||||||
--with-db=gdbm \
|
|
||||||
--disable-autorenamesent \
|
|
||||||
--cache-file="${S}/configuring.cache" \
|
|
||||||
--host="${CHOST}" debug=true || die "./configure"
|
|
||||||
sed -e'/^install-perms-local:/a\ sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
|
|
||||||
emake || die "Compile problem"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier() {
|
|
||||||
# Import existing /etc/courier/file if it exists.
|
|
||||||
# Add option only if it was not already set or even commented out
|
|
||||||
file="${1}" ; word="`echo \"${2}\" | sed -e\"s|=.*$||\" -e\"s|^.*opt ||\"`"
|
|
||||||
[ ! -e "${D}/etc/courier/${file}" ] && [ -e "/etc/courier/${file}" ] && \
|
|
||||||
cp "/etc/courier/${file}" "${D}/etc/courier/${file}"
|
|
||||||
grep -q "${word}" "${D}/etc/courier/${file}" || \
|
|
||||||
echo "${2}" >> "${D}/etc/courier/${file}"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier_chg() {
|
|
||||||
file="${1}" ; key="${2}" ; value="${3}" ; section="${4}"
|
|
||||||
[ -z "${section}" ] && section="${2}"
|
|
||||||
grep -q "${key}" "${file}" && elog "Changing ${file}: ${key} to ${value}"
|
|
||||||
sed -i -e"/\#\#NAME: ${section}/,+30 s|${key}=.*|${key}=\"${value}\"|g" ${file}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local f
|
|
||||||
diropts -o mail -g mail
|
|
||||||
keepdir /var/run/courier
|
|
||||||
keepdir /var/lib/courier/tmp
|
|
||||||
keepdir /var/lib/courier/msgs
|
|
||||||
make install DESTDIR="${D}" || die "install"
|
|
||||||
make install-configure || die "install-configure"
|
|
||||||
|
|
||||||
# Get rid of files we dont want
|
|
||||||
if ! use webmail ; then
|
|
||||||
cd "${D}"
|
|
||||||
cat "${FILESDIR}/webmail_files" | xargs rm -rf
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use web ; then
|
|
||||||
cd "${D}"
|
|
||||||
cat "${FILESDIR}/webadmin_files" | xargs rm -rf
|
|
||||||
fi
|
|
||||||
|
|
||||||
for dir2keep in $(cd "${D}" && find ./var/lib/courier -type d) ; do
|
|
||||||
keepdir "$dir2keep" || die "failed running keepdir: $dir2keep"
|
|
||||||
done
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/courier-init-r2" "courier"
|
|
||||||
use fam || sed -i -e's|^.*use famd$||g' "${D}/etc/init.d/courier"
|
|
||||||
|
|
||||||
cd "${D}/etc/courier"
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /etc/courier
|
|
||||||
newins "${FILESDIR}/apache-sqwebmail.inc" apache-sqwebmail.inc
|
|
||||||
fi
|
|
||||||
|
|
||||||
for f in *.dist ; do cp "${f}" "${f%%.dist}" ; done
|
|
||||||
if use ldap ; then
|
|
||||||
[ -e ldapaliasrc ] && ( chown root:0 ldapaliasrc ; chmod 400 ldapaliasrc )
|
|
||||||
else
|
|
||||||
rm -f ldapaliasrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
( [ -e /etc/courier/sizelimit ] && cat /etc/courier/sizelimit || echo 0 ) \
|
|
||||||
> "${D}/etc/courier/sizelimit"
|
|
||||||
etc_courier maildroprc ""
|
|
||||||
etc_courier esmtproutes ""
|
|
||||||
etc_courier backuprelay ""
|
|
||||||
etc_courier locallowercase ""
|
|
||||||
etc_courier bofh "opt BOFHBADMIME=accept"
|
|
||||||
etc_courier bofh "opt BOFHSPFTRUSTME=1"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail,fail"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none"
|
|
||||||
etc_courier bofh "opt BOFHSPFFROM=all"
|
|
||||||
etc_courier bofh "opt BOFHSPFMAILFROM=all"
|
|
||||||
etc_courier bofh "#opt BOFHSPFHARDERROR=fail"
|
|
||||||
etc_courier esmtpd "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-ssl "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-msa "BOFHBADMIME=accept"
|
|
||||||
|
|
||||||
use fam && etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
|
|
||||||
use fam || etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256"
|
|
||||||
|
|
||||||
# Fix for a sandbox violation on subsequential merges
|
|
||||||
# - ticho@gentoo.org, 2005-07-10
|
|
||||||
rm "${D}"/usr/sbin/{pop3d,imapd}{,-ssl}
|
|
||||||
dosym /usr/share/courier/pop3d /usr/sbin/courier-pop3d
|
|
||||||
dosym /usr/share/courier/pop3d-ssl /usr/sbin/courier-pop3d-ssl
|
|
||||||
dosym /usr/share/courier/imapd /usr/sbin/courier-imapd
|
|
||||||
dosym /usr/share/courier/imapd-ssl /usr/sbin/courier-imapd-ssl
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
cp imap/README README.imap
|
|
||||||
use nls && cp unicode/README README.unicode
|
|
||||||
dodoc AUTHORS BENCHMARKS COPYING* ChangeLog* INSTALL NEWS README* TODO courier/doc/*.txt
|
|
||||||
dodoc tcpd/README.couriertls
|
|
||||||
mv "${D}/usr/share/courier/htmldoc" "${D}/usr/share/doc/${P}/html"
|
|
||||||
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /usr/$(get_libdir)/courier/courier
|
|
||||||
insopts -m 755 -o mail -g mail
|
|
||||||
doins "${S}/courier/webmaild"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use web ; then
|
|
||||||
insinto /etc/courier/webadmin
|
|
||||||
insopts -m 400 -o mail -g mail
|
|
||||||
doins "${FILESDIR}/password.dist"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# avoid name collisions in /usr/sbin, make webadmin match
|
|
||||||
cd "${D}/usr/sbin"
|
|
||||||
for f in imapd imapd-ssl pop3d pop3d-ssl ; do mv "${f}" "courier-${f}" ; done
|
|
||||||
if use web ; then
|
|
||||||
sed -i -e 's:\$sbindir\/imapd:\$sbindir\/courier-imapd:g' \
|
|
||||||
-e 's:\$sbindir\/imapd-ssl:\$sbindir\/courier-imapd-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-40imap.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
sed -i -e 's:\$sbindir\/pop3d:\$sbindir\/courier-pop3d:g' \
|
|
||||||
-e 's:\$sbindir\/pop3d-ssl:\$sbindir\/courier-pop3d-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-45pop3.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# users should be able to send mail. Could be restricted with suictl.
|
|
||||||
chmod u+s "${D}/usr/bin/sendmail"
|
|
||||||
|
|
||||||
dosym /usr/bin/sendmail /usr/sbin/sendmail
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [ `whoami` != 'root' ]; then
|
|
||||||
emake -j1 check || die "Make check failed."
|
|
||||||
else
|
|
||||||
einfo "make check skipped, can't run as root."
|
|
||||||
einfo "You can enable it with FEATURES=\"userpriv\""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use fam && elog "fam daemon is needed for courier-imapd" \
|
|
||||||
|| ewarn "courier was built without fam support"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
mailhost="$(hostname)"
|
|
||||||
export mailhost
|
|
||||||
|
|
||||||
domainname="$(domainname)"
|
|
||||||
if [ "x$domainname" = "x(none)" ] ; then
|
|
||||||
domainname="$(echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/")"
|
|
||||||
fi
|
|
||||||
export domainname
|
|
||||||
|
|
||||||
if [ "${ROOT}" = "/" ] ; then
|
|
||||||
file="${ROOT}/etc/courier/locals"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "localhost" > "${file}";
|
|
||||||
echo "${domainname}" >> "${file}";
|
|
||||||
fi
|
|
||||||
file="${ROOT}/etc/courier/esmtpacceptmailfor.dir/${domainname}"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "${domainname}" > "${file}"
|
|
||||||
/usr/sbin/makeacceptmailfor
|
|
||||||
fi
|
|
||||||
|
|
||||||
file="${ROOT}/etc/courier/smtpaccess/${domainname}"
|
|
||||||
if [ ! -f "${file}" ]
|
|
||||||
then
|
|
||||||
netstat -nr | grep "^[1-9]" | while read network gateway netmask rest
|
|
||||||
do
|
|
||||||
i=1
|
|
||||||
net=""
|
|
||||||
TIFS="${IFS}"
|
|
||||||
IFS="."
|
|
||||||
for o in "${netmask}"
|
|
||||||
do
|
|
||||||
if [ "${o}" == "255" ]
|
|
||||||
then
|
|
||||||
[ "_${net}" == "_" ] || net="${net}."
|
|
||||||
t="$(echo "${network}" | cut -d " " -f ${i})"
|
|
||||||
net="${net}${t}"
|
|
||||||
fi
|
|
||||||
i="$((${i} + 1))"
|
|
||||||
done
|
|
||||||
IFS="${TIFS}"
|
|
||||||
echo "doing configuration - relay control for the network ${net} !"
|
|
||||||
echo "${net} allow,RELAYCLIENT" >> ${file}
|
|
||||||
done
|
|
||||||
/usr/sbin/makesmtpaccess
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "creating cert for esmtpd-ssl:"
|
|
||||||
/usr/sbin/mkesmtpdcert
|
|
||||||
echo "creating cert for imapd-ssl:"
|
|
||||||
/usr/sbin/mkpop3dcert
|
|
||||||
echo "creating cert for pop3d-ssl:"
|
|
||||||
/usr/sbin/mkimapdcert
|
|
||||||
}
|
|
@ -1,301 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.66.3.ebuild,v 1.3 2013/02/28 17:48:11 zx2c4 Exp $
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib
|
|
||||||
|
|
||||||
DESCRIPTION="An MTA designed specifically for maildirs"
|
|
||||||
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://www.courier-mta.org/"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
|
|
||||||
fam web webmail gnutls"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=net-libs/courier-authlib-0.61.0
|
|
||||||
!gnutls? ( >=dev-libs/openssl-0.9.6 )
|
|
||||||
gnutls? ( net-libs/gnutls )
|
|
||||||
>=sys-libs/gdbm-1.8.0
|
|
||||||
dev-libs/libpcre
|
|
||||||
app-misc/mime-types
|
|
||||||
fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
|
|
||||||
pam? ( virtual/pam )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
spell? ( app-text/aspell )
|
|
||||||
fam? ( virtual/fam )
|
|
||||||
!mail-filter/maildrop
|
|
||||||
!mail-mta/esmtp
|
|
||||||
!mail-mta/exim
|
|
||||||
!mail-mta/mini-qmail
|
|
||||||
!mail-mta/msmtp
|
|
||||||
!mail-mta/netqmail
|
|
||||||
!mail-mta/nullmailer
|
|
||||||
!mail-mta/postfix
|
|
||||||
!mail-mta/qmail-ldap
|
|
||||||
!mail-mta/sendmail
|
|
||||||
!mail-mta/ssmtp
|
|
||||||
!mail-mta/opensmtpd
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
dev-lang/perl
|
|
||||||
sys-process/procps"
|
|
||||||
|
|
||||||
# get rid of old style virtual/imapd - bug 350792
|
|
||||||
# all blockers really needed?
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
!net-mail/bincimap
|
|
||||||
!net-mail/courier-imap
|
|
||||||
!net-mail/cyrus-imapd
|
|
||||||
!net-mail/uw-imap"
|
|
||||||
|
|
||||||
PDEPEND="pam? ( net-mail/mailbase )
|
|
||||||
crypt? ( >=app-crypt/gnupg-1.0.4 )"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
use norewrite && epatch "${FILESDIR}/norewrite.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
filter-flags '-fomit-frame-pointer'
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
myconf=""
|
|
||||||
|
|
||||||
use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf"
|
|
||||||
|
|
||||||
econf ${myconf} \
|
|
||||||
$(use_with fam) \
|
|
||||||
$(use_with ipv6) \
|
|
||||||
$(use_with spell ispell) \
|
|
||||||
$(use_with ldap ldapaliasd) \
|
|
||||||
$(use_enable ldap maildroldap) \
|
|
||||||
$(use_with gnutls) \
|
|
||||||
--enable-mimetypes=/etc/mime.types \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-root-check \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sysconfdir=/etc/courier \
|
|
||||||
--libexecdir=/usr/$(get_libdir)/courier \
|
|
||||||
--datadir=/usr/share/courier \
|
|
||||||
--sharedstatedir=/var/lib/courier/com \
|
|
||||||
--localstatedir=/var/lib/courier \
|
|
||||||
--with-piddir=/var/run/courier \
|
|
||||||
--with-authdaemonvar=/var/lib/courier/authdaemon \
|
|
||||||
--with-mailuser=mail \
|
|
||||||
--with-mailgroup=mail \
|
|
||||||
--with-paranoid-smtpext \
|
|
||||||
--with-db=gdbm \
|
|
||||||
--disable-autorenamesent \
|
|
||||||
--cache-file="${S}/configuring.cache" \
|
|
||||||
--host="${CHOST}" debug=true || die "./configure"
|
|
||||||
sed -e'/^install-perms-local:/a\ sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
|
|
||||||
emake || die "Compile problem"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier() {
|
|
||||||
# Import existing /etc/courier/file if it exists.
|
|
||||||
# Add option only if it was not already set or even commented out
|
|
||||||
file="${1}" ; word="`echo \"${2}\" | sed -e\"s|=.*$||\" -e\"s|^.*opt ||\"`"
|
|
||||||
[ ! -e "${D}/etc/courier/${file}" ] && [ -e "/etc/courier/${file}" ] && \
|
|
||||||
cp "/etc/courier/${file}" "${D}/etc/courier/${file}"
|
|
||||||
grep -q "${word}" "${D}/etc/courier/${file}" || \
|
|
||||||
echo "${2}" >> "${D}/etc/courier/${file}"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier_chg() {
|
|
||||||
file="${1}" ; key="${2}" ; value="${3}" ; section="${4}"
|
|
||||||
[ -z "${section}" ] && section="${2}"
|
|
||||||
grep -q "${key}" "${file}" && elog "Changing ${file}: ${key} to ${value}"
|
|
||||||
sed -i -e"/\#\#NAME: ${section}/,+30 s|${key}=.*|${key}=\"${value}\"|g" ${file}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local f
|
|
||||||
diropts -o mail -g mail
|
|
||||||
keepdir /var/run/courier
|
|
||||||
keepdir /var/lib/courier/tmp
|
|
||||||
keepdir /var/lib/courier/msgs
|
|
||||||
make install DESTDIR="${D}" || die "install"
|
|
||||||
make install-configure || die "install-configure"
|
|
||||||
|
|
||||||
# Get rid of files we dont want
|
|
||||||
if ! use webmail ; then
|
|
||||||
rm -rf "${D}/usr/$(get_libdir)/courier/courier/webmail" \
|
|
||||||
"${D}/usr/$(get_libdir)/courier/courier/sqwebmaild" \
|
|
||||||
"${D}/usr/share/courier/sqwebmail/" \
|
|
||||||
"${D}/usr/sbin/webmaild" \
|
|
||||||
"${D}/usr/sbin/webgpg" \
|
|
||||||
"${D}/etc/courier/webmail.authpam" \
|
|
||||||
"${D}/var/lib/courier/webmail-logincache" \
|
|
||||||
"${D}"/etc/courier/sqwebmaild*
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use web ; then
|
|
||||||
rm -rf "${D}/usr/share/courier/courierwebadmin/" \
|
|
||||||
"${D}/etc/courier/webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for dir2keep in $(cd "${D}" && find ./var/lib/courier -type d) ; do
|
|
||||||
keepdir "$dir2keep" || die "failed running keepdir: $dir2keep"
|
|
||||||
done
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/courier-init-r3" "courier"
|
|
||||||
use fam || sed -i -e's|^.*use famd$||g' "${D}/etc/init.d/courier"
|
|
||||||
|
|
||||||
cd "${D}/etc/courier"
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /etc/courier
|
|
||||||
newins "${FILESDIR}/apache-sqwebmail.inc" apache-sqwebmail.inc
|
|
||||||
fi
|
|
||||||
|
|
||||||
for f in *.dist ; do cp "${f}" "${f%%.dist}" ; done
|
|
||||||
if use ldap ; then
|
|
||||||
[ -e ldapaliasrc ] && ( chown root:0 ldapaliasrc ; chmod 400 ldapaliasrc )
|
|
||||||
else
|
|
||||||
rm -f ldapaliasrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
( [ -e /etc/courier/sizelimit ] && cat /etc/courier/sizelimit || echo 0 ) \
|
|
||||||
> "${D}/etc/courier/sizelimit"
|
|
||||||
etc_courier maildroprc ""
|
|
||||||
etc_courier esmtproutes ""
|
|
||||||
etc_courier backuprelay ""
|
|
||||||
etc_courier locallowercase ""
|
|
||||||
etc_courier bofh "opt BOFHBADMIME=accept"
|
|
||||||
etc_courier bofh "opt BOFHSPFTRUSTME=1"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail,fail"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none"
|
|
||||||
etc_courier bofh "opt BOFHSPFFROM=all"
|
|
||||||
etc_courier bofh "opt BOFHSPFMAILFROM=all"
|
|
||||||
etc_courier bofh "#opt BOFHSPFHARDERROR=fail"
|
|
||||||
etc_courier esmtpd "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-ssl "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-msa "BOFHBADMIME=accept"
|
|
||||||
|
|
||||||
use fam && etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
|
|
||||||
use fam || etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256"
|
|
||||||
|
|
||||||
# Fix for a sandbox violation on subsequential merges
|
|
||||||
# - ticho@gentoo.org, 2005-07-10
|
|
||||||
dosym /usr/share/courier/pop3d /usr/sbin/courier-pop3d
|
|
||||||
dosym /usr/share/courier/pop3d-ssl /usr/sbin/courier-pop3d-ssl
|
|
||||||
dosym /usr/share/courier/imapd /usr/sbin/courier-imapd
|
|
||||||
dosym /usr/share/courier/imapd-ssl /usr/sbin/courier-imapd-ssl
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
cp imap/README README.imap
|
|
||||||
use nls && cp unicode/README README.unicode
|
|
||||||
dodoc AUTHORS BENCHMARKS COPYING* ChangeLog* INSTALL NEWS README* TODO courier/doc/*.txt
|
|
||||||
dodoc tcpd/README.couriertls
|
|
||||||
mv "${D}/usr/share/courier/htmldoc" "${D}/usr/share/doc/${PF}/html"
|
|
||||||
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /usr/$(get_libdir)/courier/courier
|
|
||||||
insopts -m 755 -o mail -g mail
|
|
||||||
doins "${S}/courier/webmaild"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use web ; then
|
|
||||||
insinto /etc/courier/webadmin
|
|
||||||
insopts -m 400 -o mail -g mail
|
|
||||||
doins "${FILESDIR}/password.dist"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# avoid name collisions in /usr/sbin, make webadmin match
|
|
||||||
cd "${D}/usr/sbin"
|
|
||||||
for f in imapd imapd-ssl pop3d pop3d-ssl ; do mv "${f}" "courier-${f}" ; done
|
|
||||||
if use web ; then
|
|
||||||
sed -i -e 's:\$sbindir\/imapd:\$sbindir\/courier-imapd:g' \
|
|
||||||
-e 's:\$sbindir\/imapd-ssl:\$sbindir\/courier-imapd-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-40imap.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
sed -i -e 's:\$sbindir\/pop3d:\$sbindir\/courier-pop3d:g' \
|
|
||||||
-e 's:\$sbindir\/pop3d-ssl:\$sbindir\/courier-pop3d-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-45pop3.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# users should be able to send mail. Could be restricted with suictl.
|
|
||||||
chmod u+s "${D}/usr/bin/sendmail"
|
|
||||||
|
|
||||||
dosym /usr/bin/sendmail /usr/sbin/sendmail
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [ `whoami` != 'root' ]; then
|
|
||||||
emake -j1 check || die "Make check failed."
|
|
||||||
else
|
|
||||||
einfo "make check skipped, can't run as root."
|
|
||||||
einfo "You can enable it with FEATURES=\"userpriv\""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use fam && elog "fam daemon is needed for courier-imapd" \
|
|
||||||
|| ewarn "courier was built without fam support"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
mailhost="$(hostname)"
|
|
||||||
export mailhost
|
|
||||||
|
|
||||||
domainname="$(domainname)"
|
|
||||||
if [ "x$domainname" = "x(none)" ] ; then
|
|
||||||
domainname="$(echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/")"
|
|
||||||
fi
|
|
||||||
export domainname
|
|
||||||
|
|
||||||
if [ "${ROOT}" = "/" ] ; then
|
|
||||||
file="${ROOT}/etc/courier/locals"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "localhost" > "${file}";
|
|
||||||
echo "${domainname}" >> "${file}";
|
|
||||||
fi
|
|
||||||
file="${ROOT}/etc/courier/esmtpacceptmailfor.dir/${domainname}"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "${domainname}" > "${file}"
|
|
||||||
/usr/sbin/makeacceptmailfor
|
|
||||||
fi
|
|
||||||
|
|
||||||
file="${ROOT}/etc/courier/smtpaccess/${domainname}"
|
|
||||||
if [ ! -f "${file}" ]
|
|
||||||
then
|
|
||||||
netstat -nr | grep "^[1-9]" | while read network gateway netmask rest
|
|
||||||
do
|
|
||||||
i=1
|
|
||||||
net=""
|
|
||||||
TIFS="${IFS}"
|
|
||||||
IFS="."
|
|
||||||
for o in "${netmask}"
|
|
||||||
do
|
|
||||||
if [ "${o}" == "255" ]
|
|
||||||
then
|
|
||||||
[ "_${net}" == "_" ] || net="${net}."
|
|
||||||
t="$(echo "${network}" | cut -d " " -f ${i})"
|
|
||||||
net="${net}${t}"
|
|
||||||
fi
|
|
||||||
i="$((${i} + 1))"
|
|
||||||
done
|
|
||||||
IFS="${TIFS}"
|
|
||||||
echo "doing configuration - relay control for the network ${net} !"
|
|
||||||
echo "${net} allow,RELAYCLIENT" >> ${file}
|
|
||||||
done
|
|
||||||
/usr/sbin/makesmtpaccess
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "creating cert for esmtpd-ssl:"
|
|
||||||
/usr/sbin/mkesmtpdcert
|
|
||||||
echo "creating cert for imapd-ssl:"
|
|
||||||
/usr/sbin/mkpop3dcert
|
|
||||||
echo "creating cert for pop3d-ssl:"
|
|
||||||
/usr/sbin/mkimapdcert
|
|
||||||
}
|
|
@ -1,301 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.68.2.20120626.ebuild,v 1.3 2013/02/28 17:48:11 zx2c4 Exp $
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib
|
|
||||||
|
|
||||||
DESCRIPTION="An MTA designed specifically for maildirs"
|
|
||||||
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://www.courier-mta.org/"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
|
|
||||||
fam web webmail gnutls"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=net-libs/courier-authlib-0.61.0
|
|
||||||
!gnutls? ( >=dev-libs/openssl-0.9.6 )
|
|
||||||
gnutls? ( net-libs/gnutls )
|
|
||||||
>=sys-libs/gdbm-1.8.0
|
|
||||||
dev-libs/libpcre
|
|
||||||
app-misc/mime-types
|
|
||||||
fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
|
|
||||||
pam? ( virtual/pam )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
spell? ( app-text/aspell )
|
|
||||||
fam? ( virtual/fam )
|
|
||||||
!mail-filter/maildrop
|
|
||||||
!mail-mta/esmtp
|
|
||||||
!mail-mta/exim
|
|
||||||
!mail-mta/mini-qmail
|
|
||||||
!mail-mta/msmtp
|
|
||||||
!mail-mta/netqmail
|
|
||||||
!mail-mta/nullmailer
|
|
||||||
!mail-mta/postfix
|
|
||||||
!mail-mta/qmail-ldap
|
|
||||||
!mail-mta/sendmail
|
|
||||||
!mail-mta/ssmtp
|
|
||||||
!mail-mta/opensmtpd
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
dev-lang/perl
|
|
||||||
sys-process/procps"
|
|
||||||
|
|
||||||
# get rid of old style virtual/imapd - bug 350792
|
|
||||||
# all blockers really needed?
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
!net-mail/bincimap
|
|
||||||
!net-mail/courier-imap
|
|
||||||
!net-mail/cyrus-imapd
|
|
||||||
!net-mail/uw-imap"
|
|
||||||
|
|
||||||
PDEPEND="pam? ( net-mail/mailbase )
|
|
||||||
crypt? ( >=app-crypt/gnupg-1.0.4 )"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
use norewrite && epatch "${FILESDIR}/norewrite.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
filter-flags '-fomit-frame-pointer'
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
myconf=""
|
|
||||||
|
|
||||||
use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf"
|
|
||||||
|
|
||||||
econf ${myconf} \
|
|
||||||
$(use_with fam) \
|
|
||||||
$(use_with ipv6) \
|
|
||||||
$(use_with spell ispell) \
|
|
||||||
$(use_with ldap ldapaliasd) \
|
|
||||||
$(use_enable ldap maildroldap) \
|
|
||||||
$(use_with gnutls) \
|
|
||||||
--enable-mimetypes=/etc/mime.types \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-root-check \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sysconfdir=/etc/courier \
|
|
||||||
--libexecdir=/usr/$(get_libdir)/courier \
|
|
||||||
--datadir=/usr/share/courier \
|
|
||||||
--sharedstatedir=/var/lib/courier/com \
|
|
||||||
--localstatedir=/var/lib/courier \
|
|
||||||
--with-piddir=/var/run/courier \
|
|
||||||
--with-authdaemonvar=/var/lib/courier/authdaemon \
|
|
||||||
--with-mailuser=mail \
|
|
||||||
--with-mailgroup=mail \
|
|
||||||
--with-paranoid-smtpext \
|
|
||||||
--with-db=gdbm \
|
|
||||||
--disable-autorenamesent \
|
|
||||||
--cache-file="${S}/configuring.cache" \
|
|
||||||
--host="${CHOST}" debug=true || die "./configure"
|
|
||||||
sed -e'/^install-perms-local:/a\ sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
|
|
||||||
emake || die "Compile problem"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier() {
|
|
||||||
# Import existing /etc/courier/file if it exists.
|
|
||||||
# Add option only if it was not already set or even commented out
|
|
||||||
file="${1}" ; word="`echo \"${2}\" | sed -e\"s|=.*$||\" -e\"s|^.*opt ||\"`"
|
|
||||||
[ ! -e "${D}/etc/courier/${file}" ] && [ -e "/etc/courier/${file}" ] && \
|
|
||||||
cp "/etc/courier/${file}" "${D}/etc/courier/${file}"
|
|
||||||
grep -q "${word}" "${D}/etc/courier/${file}" || \
|
|
||||||
echo "${2}" >> "${D}/etc/courier/${file}"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier_chg() {
|
|
||||||
file="${1}" ; key="${2}" ; value="${3}" ; section="${4}"
|
|
||||||
[ -z "${section}" ] && section="${2}"
|
|
||||||
grep -q "${key}" "${file}" && elog "Changing ${file}: ${key} to ${value}"
|
|
||||||
sed -i -e"/\#\#NAME: ${section}/,+30 s|${key}=.*|${key}=\"${value}\"|g" ${file}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local f
|
|
||||||
diropts -o mail -g mail
|
|
||||||
keepdir /var/run/courier
|
|
||||||
keepdir /var/lib/courier/tmp
|
|
||||||
keepdir /var/lib/courier/msgs
|
|
||||||
make install DESTDIR="${D}" || die "install"
|
|
||||||
make install-configure || die "install-configure"
|
|
||||||
|
|
||||||
# Get rid of files we dont want
|
|
||||||
if ! use webmail ; then
|
|
||||||
rm -rf "${D}/usr/$(get_libdir)/courier/courier/webmail" \
|
|
||||||
"${D}/usr/$(get_libdir)/courier/courier/sqwebmaild" \
|
|
||||||
"${D}/usr/share/courier/sqwebmail/" \
|
|
||||||
"${D}/usr/sbin/webmaild" \
|
|
||||||
"${D}/usr/sbin/webgpg" \
|
|
||||||
"${D}/etc/courier/webmail.authpam" \
|
|
||||||
"${D}/var/lib/courier/webmail-logincache" \
|
|
||||||
"${D}"/etc/courier/sqwebmaild*
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use web ; then
|
|
||||||
rm -rf "${D}/usr/share/courier/courierwebadmin/" \
|
|
||||||
"${D}/etc/courier/webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for dir2keep in $(cd "${D}" && find ./var/lib/courier -type d) ; do
|
|
||||||
keepdir "$dir2keep" || die "failed running keepdir: $dir2keep"
|
|
||||||
done
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/courier-init-r3" "courier"
|
|
||||||
use fam || sed -i -e's|^.*use famd$||g' "${D}/etc/init.d/courier"
|
|
||||||
|
|
||||||
cd "${D}/etc/courier"
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /etc/courier
|
|
||||||
newins "${FILESDIR}/apache-sqwebmail.inc" apache-sqwebmail.inc
|
|
||||||
fi
|
|
||||||
|
|
||||||
for f in *.dist ; do cp "${f}" "${f%%.dist}" ; done
|
|
||||||
if use ldap ; then
|
|
||||||
[ -e ldapaliasrc ] && ( chown root:0 ldapaliasrc ; chmod 400 ldapaliasrc )
|
|
||||||
else
|
|
||||||
rm -f ldapaliasrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
( [ -e /etc/courier/sizelimit ] && cat /etc/courier/sizelimit || echo 0 ) \
|
|
||||||
> "${D}/etc/courier/sizelimit"
|
|
||||||
etc_courier maildroprc ""
|
|
||||||
etc_courier esmtproutes ""
|
|
||||||
etc_courier backuprelay ""
|
|
||||||
etc_courier locallowercase ""
|
|
||||||
etc_courier bofh "opt BOFHBADMIME=accept"
|
|
||||||
etc_courier bofh "opt BOFHSPFTRUSTME=1"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail,fail"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none"
|
|
||||||
etc_courier bofh "opt BOFHSPFFROM=all"
|
|
||||||
etc_courier bofh "opt BOFHSPFMAILFROM=all"
|
|
||||||
etc_courier bofh "#opt BOFHSPFHARDERROR=fail"
|
|
||||||
etc_courier esmtpd "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-ssl "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-msa "BOFHBADMIME=accept"
|
|
||||||
|
|
||||||
use fam && etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
|
|
||||||
use fam || etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256"
|
|
||||||
|
|
||||||
# Fix for a sandbox violation on subsequential merges
|
|
||||||
# - ticho@gentoo.org, 2005-07-10
|
|
||||||
dosym /usr/share/courier/pop3d /usr/sbin/courier-pop3d
|
|
||||||
dosym /usr/share/courier/pop3d-ssl /usr/sbin/courier-pop3d-ssl
|
|
||||||
dosym /usr/share/courier/imapd /usr/sbin/courier-imapd
|
|
||||||
dosym /usr/share/courier/imapd-ssl /usr/sbin/courier-imapd-ssl
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
cp imap/README README.imap
|
|
||||||
use nls && cp unicode/README README.unicode
|
|
||||||
dodoc AUTHORS BENCHMARKS COPYING* ChangeLog* INSTALL NEWS README* TODO courier/doc/*.txt
|
|
||||||
dodoc tcpd/README.couriertls
|
|
||||||
mv "${D}/usr/share/courier/htmldoc" "${D}/usr/share/doc/${PF}/html"
|
|
||||||
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /usr/$(get_libdir)/courier/courier
|
|
||||||
insopts -m 755 -o mail -g mail
|
|
||||||
doins "${S}/courier/webmaild"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use web ; then
|
|
||||||
insinto /etc/courier/webadmin
|
|
||||||
insopts -m 400 -o mail -g mail
|
|
||||||
doins "${FILESDIR}/password.dist"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# avoid name collisions in /usr/sbin, make webadmin match
|
|
||||||
cd "${D}/usr/sbin"
|
|
||||||
for f in imapd imapd-ssl pop3d pop3d-ssl ; do mv "${f}" "courier-${f}" ; done
|
|
||||||
if use web ; then
|
|
||||||
sed -i -e 's:\$sbindir\/imapd:\$sbindir\/courier-imapd:g' \
|
|
||||||
-e 's:\$sbindir\/imapd-ssl:\$sbindir\/courier-imapd-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-40imap.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
sed -i -e 's:\$sbindir\/pop3d:\$sbindir\/courier-pop3d:g' \
|
|
||||||
-e 's:\$sbindir\/pop3d-ssl:\$sbindir\/courier-pop3d-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-45pop3.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# users should be able to send mail. Could be restricted with suictl.
|
|
||||||
chmod u+s "${D}/usr/bin/sendmail"
|
|
||||||
|
|
||||||
dosym /usr/bin/sendmail /usr/sbin/sendmail
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [ `whoami` != 'root' ]; then
|
|
||||||
emake -j1 check || die "Make check failed."
|
|
||||||
else
|
|
||||||
einfo "make check skipped, can't run as root."
|
|
||||||
einfo "You can enable it with FEATURES=\"userpriv\""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use fam && elog "fam daemon is needed for courier-imapd" \
|
|
||||||
|| ewarn "courier was built without fam support"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
mailhost="$(hostname)"
|
|
||||||
export mailhost
|
|
||||||
|
|
||||||
domainname="$(domainname)"
|
|
||||||
if [ "x$domainname" = "x(none)" ] ; then
|
|
||||||
domainname="$(echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/")"
|
|
||||||
fi
|
|
||||||
export domainname
|
|
||||||
|
|
||||||
if [ "${ROOT}" = "/" ] ; then
|
|
||||||
file="${ROOT}/etc/courier/locals"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "localhost" > "${file}";
|
|
||||||
echo "${domainname}" >> "${file}";
|
|
||||||
fi
|
|
||||||
file="${ROOT}/etc/courier/esmtpacceptmailfor.dir/${domainname}"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "${domainname}" > "${file}"
|
|
||||||
/usr/sbin/makeacceptmailfor
|
|
||||||
fi
|
|
||||||
|
|
||||||
file="${ROOT}/etc/courier/smtpaccess/${domainname}"
|
|
||||||
if [ ! -f "${file}" ]
|
|
||||||
then
|
|
||||||
netstat -nr | grep "^[1-9]" | while read network gateway netmask rest
|
|
||||||
do
|
|
||||||
i=1
|
|
||||||
net=""
|
|
||||||
TIFS="${IFS}"
|
|
||||||
IFS="."
|
|
||||||
for o in "${netmask}"
|
|
||||||
do
|
|
||||||
if [ "${o}" == "255" ]
|
|
||||||
then
|
|
||||||
[ "_${net}" == "_" ] || net="${net}."
|
|
||||||
t="$(echo "${network}" | cut -d " " -f ${i})"
|
|
||||||
net="${net}${t}"
|
|
||||||
fi
|
|
||||||
i="$((${i} + 1))"
|
|
||||||
done
|
|
||||||
IFS="${TIFS}"
|
|
||||||
echo "doing configuration - relay control for the network ${net} !"
|
|
||||||
echo "${net} allow,RELAYCLIENT" >> ${file}
|
|
||||||
done
|
|
||||||
/usr/sbin/makesmtpaccess
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "creating cert for esmtpd-ssl:"
|
|
||||||
/usr/sbin/mkesmtpdcert
|
|
||||||
echo "creating cert for imapd-ssl:"
|
|
||||||
/usr/sbin/mkpop3dcert
|
|
||||||
echo "creating cert for pop3d-ssl:"
|
|
||||||
/usr/sbin/mkimapdcert
|
|
||||||
}
|
|
@ -1,303 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.69.0.ebuild,v 1.10 2013/06/15 22:29:38 vincent Exp $
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib
|
|
||||||
|
|
||||||
DESCRIPTION="An MTA designed specifically for maildirs"
|
|
||||||
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://www.courier-mta.org/"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
|
|
||||||
KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
|
|
||||||
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
|
|
||||||
fam web webmail gnutls"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=net-libs/courier-authlib-0.61.0
|
|
||||||
!gnutls? ( >=dev-libs/openssl-0.9.6 )
|
|
||||||
gnutls? ( net-libs/gnutls )
|
|
||||||
>=sys-libs/gdbm-1.8.0
|
|
||||||
dev-libs/libpcre
|
|
||||||
app-misc/mime-types
|
|
||||||
fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
|
|
||||||
pam? ( virtual/pam )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
spell? ( app-text/aspell )
|
|
||||||
fam? ( virtual/fam )
|
|
||||||
!mail-filter/maildrop
|
|
||||||
!mail-mta/esmtp
|
|
||||||
!mail-mta/exim
|
|
||||||
!mail-mta/mini-qmail
|
|
||||||
!mail-mta/msmtp
|
|
||||||
!mail-mta/netqmail
|
|
||||||
!mail-mta/nullmailer
|
|
||||||
!mail-mta/postfix
|
|
||||||
!mail-mta/qmail-ldap
|
|
||||||
!mail-mta/sendmail
|
|
||||||
!mail-mta/ssmtp
|
|
||||||
!mail-mta/opensmtpd
|
|
||||||
!net-mail/dot-forward
|
|
||||||
!sys-apps/ucspi-tcp
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
dev-lang/perl
|
|
||||||
sys-process/procps"
|
|
||||||
|
|
||||||
# get rid of old style virtual/imapd - bug 350792
|
|
||||||
# all blockers really needed?
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
!net-mail/bincimap
|
|
||||||
!net-mail/courier-imap
|
|
||||||
!net-mail/cyrus-imapd
|
|
||||||
!net-mail/uw-imap"
|
|
||||||
|
|
||||||
PDEPEND="pam? ( net-mail/mailbase )
|
|
||||||
crypt? ( >=app-crypt/gnupg-1.0.4 )"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
use norewrite && epatch "${FILESDIR}/norewrite.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
filter-flags '-fomit-frame-pointer'
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
myconf=""
|
|
||||||
|
|
||||||
use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf"
|
|
||||||
|
|
||||||
econf ${myconf} \
|
|
||||||
$(use_with fam) \
|
|
||||||
$(use_with ipv6) \
|
|
||||||
$(use_with spell ispell) \
|
|
||||||
$(use_with ldap ldapaliasd) \
|
|
||||||
$(use_enable ldap maildroldap) \
|
|
||||||
$(use_with gnutls) \
|
|
||||||
--enable-mimetypes=/etc/mime.types \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-root-check \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sysconfdir=/etc/courier \
|
|
||||||
--libexecdir=/usr/$(get_libdir)/courier \
|
|
||||||
--datadir=/usr/share/courier \
|
|
||||||
--sharedstatedir=/var/lib/courier/com \
|
|
||||||
--localstatedir=/var/lib/courier \
|
|
||||||
--with-piddir=/var/run/courier \
|
|
||||||
--with-authdaemonvar=/var/lib/courier/authdaemon \
|
|
||||||
--with-mailuser=mail \
|
|
||||||
--with-mailgroup=mail \
|
|
||||||
--with-paranoid-smtpext \
|
|
||||||
--with-db=gdbm \
|
|
||||||
--disable-autorenamesent \
|
|
||||||
--cache-file="${S}/configuring.cache" \
|
|
||||||
--host="${CHOST}" debug=true || die "./configure"
|
|
||||||
sed -e'/^install-perms-local:/a\ sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
|
|
||||||
emake || die "Compile problem"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier() {
|
|
||||||
# Import existing /etc/courier/file if it exists.
|
|
||||||
# Add option only if it was not already set or even commented out
|
|
||||||
file="${1}" ; word="`echo \"${2}\" | sed -e\"s|=.*$||\" -e\"s|^.*opt ||\"`"
|
|
||||||
[ ! -e "${D}/etc/courier/${file}" ] && [ -e "/etc/courier/${file}" ] && \
|
|
||||||
cp "/etc/courier/${file}" "${D}/etc/courier/${file}"
|
|
||||||
grep -q "${word}" "${D}/etc/courier/${file}" || \
|
|
||||||
echo "${2}" >> "${D}/etc/courier/${file}"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier_chg() {
|
|
||||||
file="${1}" ; key="${2}" ; value="${3}" ; section="${4}"
|
|
||||||
[ -z "${section}" ] && section="${2}"
|
|
||||||
grep -q "${key}" "${file}" && elog "Changing ${file}: ${key} to ${value}"
|
|
||||||
sed -i -e"/\#\#NAME: ${section}/,+30 s|${key}=.*|${key}=\"${value}\"|g" ${file}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local f
|
|
||||||
diropts -o mail -g mail
|
|
||||||
keepdir /var/run/courier
|
|
||||||
keepdir /var/lib/courier/tmp
|
|
||||||
keepdir /var/lib/courier/msgs
|
|
||||||
make install DESTDIR="${D}" || die "install"
|
|
||||||
make install-configure || die "install-configure"
|
|
||||||
|
|
||||||
# Get rid of files we dont want
|
|
||||||
if ! use webmail ; then
|
|
||||||
rm -rf "${D}/usr/$(get_libdir)/courier/courier/webmail" \
|
|
||||||
"${D}/usr/$(get_libdir)/courier/courier/sqwebmaild" \
|
|
||||||
"${D}/usr/share/courier/sqwebmail/" \
|
|
||||||
"${D}/usr/sbin/webmaild" \
|
|
||||||
"${D}/usr/sbin/webgpg" \
|
|
||||||
"${D}/etc/courier/webmail.authpam" \
|
|
||||||
"${D}/var/lib/courier/webmail-logincache" \
|
|
||||||
"${D}"/etc/courier/sqwebmaild*
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use web ; then
|
|
||||||
rm -rf "${D}/usr/share/courier/courierwebadmin/" \
|
|
||||||
"${D}/etc/courier/webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for dir2keep in $(cd "${D}" && find ./var/lib/courier -type d) ; do
|
|
||||||
keepdir "$dir2keep" || die "failed running keepdir: $dir2keep"
|
|
||||||
done
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/courier-init-r3" "courier"
|
|
||||||
use fam || sed -i -e's|^.*use famd$||g' "${D}/etc/init.d/courier"
|
|
||||||
|
|
||||||
cd "${D}/etc/courier"
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /etc/courier
|
|
||||||
newins "${FILESDIR}/apache-sqwebmail.inc" apache-sqwebmail.inc
|
|
||||||
fi
|
|
||||||
|
|
||||||
for f in *.dist ; do cp "${f}" "${f%%.dist}" ; done
|
|
||||||
if use ldap ; then
|
|
||||||
[ -e ldapaliasrc ] && ( chown root:0 ldapaliasrc ; chmod 400 ldapaliasrc )
|
|
||||||
else
|
|
||||||
rm -f ldapaliasrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
( [ -e /etc/courier/sizelimit ] && cat /etc/courier/sizelimit || echo 0 ) \
|
|
||||||
> "${D}/etc/courier/sizelimit"
|
|
||||||
etc_courier maildroprc ""
|
|
||||||
etc_courier esmtproutes ""
|
|
||||||
etc_courier backuprelay ""
|
|
||||||
etc_courier locallowercase ""
|
|
||||||
etc_courier bofh "opt BOFHBADMIME=accept"
|
|
||||||
etc_courier bofh "opt BOFHSPFTRUSTME=1"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail,fail"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none"
|
|
||||||
etc_courier bofh "opt BOFHSPFFROM=all"
|
|
||||||
etc_courier bofh "opt BOFHSPFMAILFROM=all"
|
|
||||||
etc_courier bofh "#opt BOFHSPFHARDERROR=fail"
|
|
||||||
etc_courier esmtpd "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-ssl "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-msa "BOFHBADMIME=accept"
|
|
||||||
|
|
||||||
use fam && etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
|
|
||||||
use fam || etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256"
|
|
||||||
|
|
||||||
# Fix for a sandbox violation on subsequential merges
|
|
||||||
# - ticho@gentoo.org, 2005-07-10
|
|
||||||
dosym /usr/share/courier/pop3d /usr/sbin/courier-pop3d
|
|
||||||
dosym /usr/share/courier/pop3d-ssl /usr/sbin/courier-pop3d-ssl
|
|
||||||
dosym /usr/share/courier/imapd /usr/sbin/courier-imapd
|
|
||||||
dosym /usr/share/courier/imapd-ssl /usr/sbin/courier-imapd-ssl
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
cp imap/README README.imap
|
|
||||||
use nls && cp unicode/README README.unicode
|
|
||||||
dodoc AUTHORS BENCHMARKS COPYING* ChangeLog* INSTALL NEWS README* TODO courier/doc/*.txt
|
|
||||||
dodoc tcpd/README.couriertls
|
|
||||||
mv "${D}/usr/share/courier/htmldoc" "${D}/usr/share/doc/${PF}/html"
|
|
||||||
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /usr/$(get_libdir)/courier/courier
|
|
||||||
insopts -m 755 -o mail -g mail
|
|
||||||
doins "${S}/courier/webmaild"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use web ; then
|
|
||||||
insinto /etc/courier/webadmin
|
|
||||||
insopts -m 400 -o mail -g mail
|
|
||||||
doins "${FILESDIR}/password.dist"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# avoid name collisions in /usr/sbin, make webadmin match
|
|
||||||
cd "${D}/usr/sbin"
|
|
||||||
for f in imapd imapd-ssl pop3d pop3d-ssl ; do mv "${f}" "courier-${f}" ; done
|
|
||||||
if use web ; then
|
|
||||||
sed -i -e 's:\$sbindir\/imapd:\$sbindir\/courier-imapd:g' \
|
|
||||||
-e 's:\$sbindir\/imapd-ssl:\$sbindir\/courier-imapd-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-40imap.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
sed -i -e 's:\$sbindir\/pop3d:\$sbindir\/courier-pop3d:g' \
|
|
||||||
-e 's:\$sbindir\/pop3d-ssl:\$sbindir\/courier-pop3d-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-45pop3.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# users should be able to send mail. Could be restricted with suictl.
|
|
||||||
chmod u+s "${D}/usr/bin/sendmail"
|
|
||||||
|
|
||||||
dosym /usr/bin/sendmail /usr/sbin/sendmail
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [ `whoami` != 'root' ]; then
|
|
||||||
emake -j1 check || die "Make check failed."
|
|
||||||
else
|
|
||||||
einfo "make check skipped, can't run as root."
|
|
||||||
einfo "You can enable it with FEATURES=\"userpriv\""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use fam && elog "fam daemon is needed for courier-imapd" \
|
|
||||||
|| ewarn "courier was built without fam support"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
mailhost="$(hostname)"
|
|
||||||
export mailhost
|
|
||||||
|
|
||||||
domainname="$(domainname)"
|
|
||||||
if [ "x$domainname" = "x(none)" ] ; then
|
|
||||||
domainname="$(echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/")"
|
|
||||||
fi
|
|
||||||
export domainname
|
|
||||||
|
|
||||||
if [ "${ROOT}" = "/" ] ; then
|
|
||||||
file="${ROOT}/etc/courier/locals"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "localhost" > "${file}";
|
|
||||||
echo "${domainname}" >> "${file}";
|
|
||||||
fi
|
|
||||||
file="${ROOT}/etc/courier/esmtpacceptmailfor.dir/${domainname}"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "${domainname}" > "${file}"
|
|
||||||
/usr/sbin/makeacceptmailfor
|
|
||||||
fi
|
|
||||||
|
|
||||||
file="${ROOT}/etc/courier/smtpaccess/${domainname}"
|
|
||||||
if [ ! -f "${file}" ]
|
|
||||||
then
|
|
||||||
netstat -nr | grep "^[1-9]" | while read network gateway netmask rest
|
|
||||||
do
|
|
||||||
i=1
|
|
||||||
net=""
|
|
||||||
TIFS="${IFS}"
|
|
||||||
IFS="."
|
|
||||||
for o in "${netmask}"
|
|
||||||
do
|
|
||||||
if [ "${o}" == "255" ]
|
|
||||||
then
|
|
||||||
[ "_${net}" == "_" ] || net="${net}."
|
|
||||||
t="$(echo "${network}" | cut -d " " -f ${i})"
|
|
||||||
net="${net}${t}"
|
|
||||||
fi
|
|
||||||
i="$((${i} + 1))"
|
|
||||||
done
|
|
||||||
IFS="${TIFS}"
|
|
||||||
echo "doing configuration - relay control for the network ${net} !"
|
|
||||||
echo "${net} allow,RELAYCLIENT" >> ${file}
|
|
||||||
done
|
|
||||||
/usr/sbin/makesmtpaccess
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "creating cert for esmtpd-ssl:"
|
|
||||||
/usr/sbin/mkesmtpdcert
|
|
||||||
echo "creating cert for imapd-ssl:"
|
|
||||||
/usr/sbin/mkpop3dcert
|
|
||||||
echo "creating cert for pop3d-ssl:"
|
|
||||||
/usr/sbin/mkimapdcert
|
|
||||||
}
|
|
@ -1,302 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.70.ebuild,v 1.2 2013/09/19 10:59:55 hanno Exp $
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib
|
|
||||||
|
|
||||||
DESCRIPTION="An MTA designed specifically for maildirs"
|
|
||||||
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://www.courier-mta.org/"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
|
|
||||||
fam web webmail gnutls"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=net-libs/courier-authlib-0.61.0
|
|
||||||
!gnutls? ( >=dev-libs/openssl-0.9.6 )
|
|
||||||
gnutls? ( net-libs/gnutls )
|
|
||||||
>=sys-libs/gdbm-1.8.0
|
|
||||||
dev-libs/libpcre
|
|
||||||
app-misc/mime-types
|
|
||||||
fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
|
|
||||||
pam? ( virtual/pam )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
spell? ( app-text/aspell )
|
|
||||||
fam? ( virtual/fam )
|
|
||||||
!mail-filter/maildrop
|
|
||||||
!mail-mta/esmtp
|
|
||||||
!mail-mta/exim
|
|
||||||
!mail-mta/mini-qmail
|
|
||||||
!mail-mta/msmtp
|
|
||||||
!mail-mta/netqmail
|
|
||||||
!mail-mta/nullmailer
|
|
||||||
!mail-mta/postfix
|
|
||||||
!mail-mta/qmail-ldap
|
|
||||||
!mail-mta/sendmail
|
|
||||||
!mail-mta/ssmtp
|
|
||||||
!mail-mta/opensmtpd
|
|
||||||
!net-mail/dot-forward
|
|
||||||
!sys-apps/ucspi-tcp
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
dev-lang/perl
|
|
||||||
sys-process/procps"
|
|
||||||
|
|
||||||
# get rid of old style virtual/imapd - bug 350792
|
|
||||||
# all blockers really needed?
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
!net-mail/bincimap
|
|
||||||
!net-mail/courier-imap
|
|
||||||
!net-mail/cyrus-imapd
|
|
||||||
!net-mail/uw-imap"
|
|
||||||
|
|
||||||
PDEPEND="pam? ( net-mail/mailbase )
|
|
||||||
crypt? ( >=app-crypt/gnupg-1.0.4 )"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
use norewrite && epatch "${FILESDIR}/norewrite.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
filter-flags '-fomit-frame-pointer'
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
myconf=""
|
|
||||||
|
|
||||||
use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf"
|
|
||||||
|
|
||||||
econf ${myconf} \
|
|
||||||
$(use_with fam) \
|
|
||||||
$(use_with ipv6) \
|
|
||||||
$(use_with spell ispell) \
|
|
||||||
$(use_with ldap ldapaliasd) \
|
|
||||||
$(use_enable ldap maildroldap) \
|
|
||||||
$(use_with gnutls) \
|
|
||||||
--enable-mimetypes=/etc/mime.types \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-root-check \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sysconfdir=/etc/courier \
|
|
||||||
--libexecdir=/usr/$(get_libdir)/courier \
|
|
||||||
--datadir=/usr/share/courier \
|
|
||||||
--sharedstatedir=/var/lib/courier/com \
|
|
||||||
--localstatedir=/var/lib/courier \
|
|
||||||
--with-piddir=/var/run/courier \
|
|
||||||
--with-authdaemonvar=/var/lib/courier/authdaemon \
|
|
||||||
--with-mailuser=mail \
|
|
||||||
--with-mailgroup=mail \
|
|
||||||
--with-paranoid-smtpext \
|
|
||||||
--with-db=gdbm \
|
|
||||||
--disable-autorenamesent \
|
|
||||||
--cache-file="${S}/configuring.cache" \
|
|
||||||
--host="${CHOST}" debug=true || die "./configure"
|
|
||||||
sed -e'/^install-perms-local:/a\ sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
|
|
||||||
emake || die "Compile problem"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier() {
|
|
||||||
# Import existing /etc/courier/file if it exists.
|
|
||||||
# Add option only if it was not already set or even commented out
|
|
||||||
file="${1}" ; word="`echo \"${2}\" | sed -e\"s|=.*$||\" -e\"s|^.*opt ||\"`"
|
|
||||||
[ ! -e "${D}/etc/courier/${file}" ] && [ -e "/etc/courier/${file}" ] && \
|
|
||||||
cp "/etc/courier/${file}" "${D}/etc/courier/${file}"
|
|
||||||
grep -q "${word}" "${D}/etc/courier/${file}" || \
|
|
||||||
echo "${2}" >> "${D}/etc/courier/${file}"
|
|
||||||
}
|
|
||||||
|
|
||||||
etc_courier_chg() {
|
|
||||||
file="${1}" ; key="${2}" ; value="${3}" ; section="${4}"
|
|
||||||
[ -z "${section}" ] && section="${2}"
|
|
||||||
grep -q "${key}" "${file}" && elog "Changing ${file}: ${key} to ${value}"
|
|
||||||
sed -i -e"/\#\#NAME: ${section}/,+30 s|${key}=.*|${key}=\"${value}\"|g" ${file}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local f
|
|
||||||
diropts -o mail -g mail
|
|
||||||
keepdir /var/lib/courier/tmp
|
|
||||||
keepdir /var/lib/courier/msgs
|
|
||||||
make install DESTDIR="${D}" || die "install"
|
|
||||||
make install-configure || die "install-configure"
|
|
||||||
|
|
||||||
# Get rid of files we dont want
|
|
||||||
if ! use webmail ; then
|
|
||||||
rm -rf "${D}/usr/$(get_libdir)/courier/courier/webmail" \
|
|
||||||
"${D}/usr/$(get_libdir)/courier/courier/sqwebmaild" \
|
|
||||||
"${D}/usr/share/courier/sqwebmail/" \
|
|
||||||
"${D}/usr/sbin/webmaild" \
|
|
||||||
"${D}/usr/sbin/webgpg" \
|
|
||||||
"${D}/etc/courier/webmail.authpam" \
|
|
||||||
"${D}/var/lib/courier/webmail-logincache" \
|
|
||||||
"${D}"/etc/courier/sqwebmaild*
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use web ; then
|
|
||||||
rm -rf "${D}/usr/share/courier/courierwebadmin/" \
|
|
||||||
"${D}/etc/courier/webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for dir2keep in $(cd "${D}" && find ./var/lib/courier -type d) ; do
|
|
||||||
keepdir "$dir2keep" || die "failed running keepdir: $dir2keep"
|
|
||||||
done
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/courier-init-r4" "courier"
|
|
||||||
use fam || sed -i -e's|^.*use famd$||g' "${D}/etc/init.d/courier"
|
|
||||||
|
|
||||||
cd "${D}/etc/courier"
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /etc/courier
|
|
||||||
newins "${FILESDIR}/apache-sqwebmail.inc" apache-sqwebmail.inc
|
|
||||||
fi
|
|
||||||
|
|
||||||
for f in *.dist ; do cp "${f}" "${f%%.dist}" ; done
|
|
||||||
if use ldap ; then
|
|
||||||
[ -e ldapaliasrc ] && ( chown root:0 ldapaliasrc ; chmod 400 ldapaliasrc )
|
|
||||||
else
|
|
||||||
rm -f ldapaliasrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
( [ -e /etc/courier/sizelimit ] && cat /etc/courier/sizelimit || echo 0 ) \
|
|
||||||
> "${D}/etc/courier/sizelimit"
|
|
||||||
etc_courier maildroprc ""
|
|
||||||
etc_courier esmtproutes ""
|
|
||||||
etc_courier backuprelay ""
|
|
||||||
etc_courier locallowercase ""
|
|
||||||
etc_courier bofh "opt BOFHBADMIME=accept"
|
|
||||||
etc_courier bofh "opt BOFHSPFTRUSTME=1"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail,fail"
|
|
||||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none"
|
|
||||||
etc_courier bofh "opt BOFHSPFFROM=all"
|
|
||||||
etc_courier bofh "opt BOFHSPFMAILFROM=all"
|
|
||||||
etc_courier bofh "#opt BOFHSPFHARDERROR=fail"
|
|
||||||
etc_courier esmtpd "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-ssl "BOFHBADMIME=accept"
|
|
||||||
etc_courier esmtpd-msa "BOFHBADMIME=accept"
|
|
||||||
|
|
||||||
use fam && etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
|
|
||||||
use fam || etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256"
|
|
||||||
|
|
||||||
# Fix for a sandbox violation on subsequential merges
|
|
||||||
# - ticho@gentoo.org, 2005-07-10
|
|
||||||
dosym /usr/share/courier/pop3d /usr/sbin/courier-pop3d
|
|
||||||
dosym /usr/share/courier/pop3d-ssl /usr/sbin/courier-pop3d-ssl
|
|
||||||
dosym /usr/share/courier/imapd /usr/sbin/courier-imapd
|
|
||||||
dosym /usr/share/courier/imapd-ssl /usr/sbin/courier-imapd-ssl
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
cp imap/README README.imap
|
|
||||||
use nls && cp unicode/README README.unicode
|
|
||||||
dodoc AUTHORS BENCHMARKS COPYING* ChangeLog* INSTALL NEWS README* TODO courier/doc/*.txt
|
|
||||||
dodoc tcpd/README.couriertls
|
|
||||||
mv "${D}/usr/share/courier/htmldoc" "${D}/usr/share/doc/${PF}/html"
|
|
||||||
|
|
||||||
if use webmail ; then
|
|
||||||
insinto /usr/$(get_libdir)/courier/courier
|
|
||||||
insopts -m 755 -o mail -g mail
|
|
||||||
doins "${S}/courier/webmaild"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use web ; then
|
|
||||||
insinto /etc/courier/webadmin
|
|
||||||
insopts -m 400 -o mail -g mail
|
|
||||||
doins "${FILESDIR}/password.dist"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# avoid name collisions in /usr/sbin, make webadmin match
|
|
||||||
cd "${D}/usr/sbin"
|
|
||||||
for f in imapd imapd-ssl pop3d pop3d-ssl ; do mv "${f}" "courier-${f}" ; done
|
|
||||||
if use web ; then
|
|
||||||
sed -i -e 's:\$sbindir\/imapd:\$sbindir\/courier-imapd:g' \
|
|
||||||
-e 's:\$sbindir\/imapd-ssl:\$sbindir\/courier-imapd-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-40imap.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
sed -i -e 's:\$sbindir\/pop3d:\$sbindir\/courier-pop3d:g' \
|
|
||||||
-e 's:\$sbindir\/pop3d-ssl:\$sbindir\/courier-pop3d-ssl:g' \
|
|
||||||
"${D}/usr/share/courier/courierwebadmin/admin-45pop3.pl" \
|
|
||||||
|| ewarn "failed to fix webadmin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# users should be able to send mail. Could be restricted with suictl.
|
|
||||||
chmod u+s "${D}/usr/bin/sendmail"
|
|
||||||
|
|
||||||
dosym /usr/bin/sendmail /usr/sbin/sendmail
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [ `whoami` != 'root' ]; then
|
|
||||||
emake -j1 check || die "Make check failed."
|
|
||||||
else
|
|
||||||
einfo "make check skipped, can't run as root."
|
|
||||||
einfo "You can enable it with FEATURES=\"userpriv\""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use fam && elog "fam daemon is needed for courier-imapd" \
|
|
||||||
|| ewarn "courier was built without fam support"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
mailhost="$(hostname)"
|
|
||||||
export mailhost
|
|
||||||
|
|
||||||
domainname="$(domainname)"
|
|
||||||
if [ "x$domainname" = "x(none)" ] ; then
|
|
||||||
domainname="$(echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/")"
|
|
||||||
fi
|
|
||||||
export domainname
|
|
||||||
|
|
||||||
if [ "${ROOT}" = "/" ] ; then
|
|
||||||
file="${ROOT}/etc/courier/locals"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "localhost" > "${file}";
|
|
||||||
echo "${domainname}" >> "${file}";
|
|
||||||
fi
|
|
||||||
file="${ROOT}/etc/courier/esmtpacceptmailfor.dir/${domainname}"
|
|
||||||
if [ ! -f "${file}" ] ; then
|
|
||||||
echo "${domainname}" > "${file}"
|
|
||||||
/usr/sbin/makeacceptmailfor
|
|
||||||
fi
|
|
||||||
|
|
||||||
file="${ROOT}/etc/courier/smtpaccess/${domainname}"
|
|
||||||
if [ ! -f "${file}" ]
|
|
||||||
then
|
|
||||||
netstat -nr | grep "^[1-9]" | while read network gateway netmask rest
|
|
||||||
do
|
|
||||||
i=1
|
|
||||||
net=""
|
|
||||||
TIFS="${IFS}"
|
|
||||||
IFS="."
|
|
||||||
for o in "${netmask}"
|
|
||||||
do
|
|
||||||
if [ "${o}" == "255" ]
|
|
||||||
then
|
|
||||||
[ "_${net}" == "_" ] || net="${net}."
|
|
||||||
t="$(echo "${network}" | cut -d " " -f ${i})"
|
|
||||||
net="${net}${t}"
|
|
||||||
fi
|
|
||||||
i="$((${i} + 1))"
|
|
||||||
done
|
|
||||||
IFS="${TIFS}"
|
|
||||||
echo "doing configuration - relay control for the network ${net} !"
|
|
||||||
echo "${net} allow,RELAYCLIENT" >> ${file}
|
|
||||||
done
|
|
||||||
/usr/sbin/makesmtpaccess
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "creating cert for esmtpd-ssl:"
|
|
||||||
/usr/sbin/mkesmtpdcert
|
|
||||||
echo "creating cert for imapd-ssl:"
|
|
||||||
/usr/sbin/mkpop3dcert
|
|
||||||
echo "creating cert for pop3d-ssl:"
|
|
||||||
/usr/sbin/mkimapdcert
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
opt BOFHBADMIME=accept
|
|
@ -1,181 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Portions Copyright 2003 Gentoo Linux
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/files/courier-init-r2,v 1.1 2008/11/20 13:26:32 hanno Exp $
|
|
||||||
#
|
|
||||||
# script originally from Courier distfile original name = courier.sysvinit
|
|
||||||
# adapted for Gentoo by Brian Jackson
|
|
||||||
#
|
|
||||||
# TODO
|
|
||||||
# should we update all the .dat/.pem files when the source/config files are
|
|
||||||
# newer than the .dat/.pem files?
|
|
||||||
|
|
||||||
prefix="/usr"
|
|
||||||
exec_prefix="/usr/bin"
|
|
||||||
sysconfdir="/etc/courier"
|
|
||||||
sbindir="/usr/sbin"
|
|
||||||
libexecdir="/usr/lib/courier"
|
|
||||||
datadir="/usr/share/courier"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net
|
|
||||||
[ -d /etc/courier/authlib ] && need courier-authlib
|
|
||||||
grep -q "^IMAPDSTART=.*[Yy].*" /etc/courier/imapd && use famd
|
|
||||||
grep -q "^IMAPDSSLSTART=.*[Yy].*" /etc/courier/imapd-ssl && use famd
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/pop3d-ssl ] && . ${sysconfdir}/pop3d-ssl
|
|
||||||
|
|
||||||
# If we do not have a certificate, make one up.
|
|
||||||
[ ! -f "${datadir}/pop3d.pem" ] && \
|
|
||||||
ebegin " generating-POP3-SSL-certificate..." && "${sbindir}/mkpop3dcert"
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/imapd-ssl ] && . ${sysconfdir}/imapd-ssl
|
|
||||||
|
|
||||||
# If we do not have a certificate, make one up.
|
|
||||||
[ ! -f ${datadir}/imapd.pem ] && \
|
|
||||||
ebegin " generating-IMAP-SSL-certificate..." && "${sbindir}/mkimapdcert"
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/esmtpd-ssl ] && . ${sysconfdir}/esmtpd-ssl
|
|
||||||
|
|
||||||
# If we do not have a certificate, make one up.
|
|
||||||
[ ! -f ${datadir}/esmtpd.pem ] && \
|
|
||||||
ebegin " generating-ESMTP-SSL-certificate..." && "${sbindir}/mkesmtpdcert"
|
|
||||||
|
|
||||||
# First time after install create aliases.dat and smtpaccess.dat
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/aliases.dat ] || ${sbindir}/makealiases
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/${ACCESSFILE}.dat ] || ${sbindir}/makesmtpaccess
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/${ACCESSFILE}.dat ] || ${sbindir}/makesmtpaccess-msa
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
# Start daemons.
|
|
||||||
ebegin "Starting Courier mail server:"
|
|
||||||
|
|
||||||
checkconfig || return 1
|
|
||||||
|
|
||||||
ebegin " Starting courierfilterd"
|
|
||||||
${sbindir}/courierfilter start
|
|
||||||
|
|
||||||
[ ! -d /etc/courier/authlib ] && [ -x ${libexecdir}/authlib/authdaemond ] && \
|
|
||||||
${libexecdir}/authlib/authdaemond start && ebegin " Starting authdaemond"
|
|
||||||
|
|
||||||
[ -x ${sbindir}/webmaild ] && \
|
|
||||||
${sbindir}/webmaild start && ebegin " Starting webmaild"
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courierldapaliasd ] && \
|
|
||||||
${sbindir}/courierldapaliasd start && ebegin " Starting courierldapaliasd"
|
|
||||||
|
|
||||||
ebegin " Starting courierd"
|
|
||||||
${sbindir}/courier start
|
|
||||||
|
|
||||||
# start esmtpd if so written
|
|
||||||
[ -f ${sysconfdir}/esmtpd ] && source ${sysconfdir}/esmtpd
|
|
||||||
case x$ESMTPDSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " Starting esmtpd"
|
|
||||||
${sbindir}/esmtpd start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start esmtpd-msa if so written
|
|
||||||
[ -f ${sysconfdir}/esmtpd-msa ] && source ${sysconfdir}/esmtpd-msa
|
|
||||||
case x$ESMTPDSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " Starting esmtpd-msa"
|
|
||||||
${sbindir}/esmtpd-msa start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start esmtpd-ssl if so written
|
|
||||||
[ -f ${sysconfdir}/esmtpd-ssl ] && source ${sysconfdir}/esmtpd-ssl
|
|
||||||
case x$ESMTPDSSLSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " Starting esmtpd-ssl"
|
|
||||||
${sbindir}/esmtpd-ssl start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start pop3d if so written
|
|
||||||
[ -f ${sysconfdir}/pop3d ] && source ${sysconfdir}/pop3d
|
|
||||||
case x$POP3DSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-pop3d"
|
|
||||||
${sbindir}/courier-pop3d start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start pop3d-ssl if so written
|
|
||||||
[ -f ${sysconfdir}/pop3d-ssl ] && source ${sysconfdir}/pop3d-ssl
|
|
||||||
case x$POP3DSSLSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-pop3d-ssl"
|
|
||||||
${sbindir}/courier-pop3d-ssl start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/imapd ] && source ${sysconfdir}/imapd
|
|
||||||
case x$IMAPDSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-imapd"
|
|
||||||
${sbindir}/courier-imapd start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/imapd-ssl ] && source ${sysconfdir}/imapd-ssl
|
|
||||||
case x$IMAPDSSLSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-imapd-ssl"
|
|
||||||
${sbindir}/courier-imapd-ssl start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping Courier mail server:"
|
|
||||||
|
|
||||||
ebegin " Stopping courier-esmtpd"
|
|
||||||
${sbindir}/esmtpd stop
|
|
||||||
|
|
||||||
ebegin " Stopping courier-esmtpd-msa"
|
|
||||||
${sbindir}/esmtpd-msa stop
|
|
||||||
|
|
||||||
ebegin " Stopping courier-esmtpd-ssl"
|
|
||||||
${sbindir}/esmtpd-ssl stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-pop3d ] && \
|
|
||||||
ebegin " Stopping courier-pop3d" && ${sbindir}/courier-pop3d stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-pop3d-ssl ] && \
|
|
||||||
ebegin " Stopping courier-pop3d-ssl" && ${sbindir}/courier-pop3d-ssl stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-imapd ] && \
|
|
||||||
ebegin " Stopping courier-imapd" && ${sbindir}/courier-imapd stop
|
|
||||||
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-imapd-ssl ] && \
|
|
||||||
ebegin " Stopping courier-imapd-ssl" && ${sbindir}/courier-imapd-ssl stop
|
|
||||||
|
|
||||||
ebegin " Stopping courierd"
|
|
||||||
${sbindir}/courier stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courierldapaliasd ] && \
|
|
||||||
( ${sbindir}/courierldapaliasd stop ; ebegin " Stopping courierldapaliasd" )
|
|
||||||
|
|
||||||
[ -x ${sbindir}/webmaild ] && \
|
|
||||||
( ${sbindir}/webmaild stop ; ebegin " Stopping webmaild" )
|
|
||||||
|
|
||||||
[ ! -d /etc/courier/authlib ] && [ -x ${libexecdir}/authlib/authdaemond ] && \
|
|
||||||
( ${libexecdir}/authlib/authdaemond stop ; ebegin " Stopping authdaemond" )
|
|
||||||
|
|
||||||
${sbindir}/courierfilter stop
|
|
||||||
ebegin " Stopping courierfilterd"
|
|
||||||
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,189 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Portions Copyright 2003 Gentoo Linux
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/files/courier-init-r3,v 1.1 2011/01/23 22:32:46 hanno Exp $
|
|
||||||
#
|
|
||||||
# script originally from Courier distfile original name = courier.sysvinit
|
|
||||||
# adapted for Gentoo by Brian Jackson
|
|
||||||
#
|
|
||||||
# TODO
|
|
||||||
# should we update all the .dat/.pem files when the source/config files are
|
|
||||||
# newer than the .dat/.pem files?
|
|
||||||
|
|
||||||
prefix="/usr"
|
|
||||||
exec_prefix="/usr/bin"
|
|
||||||
sysconfdir="/etc/courier"
|
|
||||||
sbindir="/usr/sbin"
|
|
||||||
libexecdir="/usr/lib/courier"
|
|
||||||
datadir="/usr/share/courier"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net
|
|
||||||
[ -d /etc/courier/authlib ] && need courier-authlib
|
|
||||||
grep -q "^IMAPDSTART=.*[Yy].*" /etc/courier/imapd && use famd
|
|
||||||
grep -q "^IMAPDSSLSTART=.*[Yy].*" /etc/courier/imapd-ssl && use famd
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/pop3d-ssl ] && . ${sysconfdir}/pop3d-ssl
|
|
||||||
|
|
||||||
# If we do not have a certificate, make one up.
|
|
||||||
[ ! -f "${datadir}/pop3d.pem" ] && \
|
|
||||||
ebegin " generating-POP3-SSL-certificate..." && "${sbindir}/mkpop3dcert"
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/imapd-ssl ] && . ${sysconfdir}/imapd-ssl
|
|
||||||
|
|
||||||
# If we do not have a certificate, make one up.
|
|
||||||
[ ! -f ${datadir}/imapd.pem ] && \
|
|
||||||
ebegin " generating-IMAP-SSL-certificate..." && "${sbindir}/mkimapdcert"
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/esmtpd-ssl ] && . ${sysconfdir}/esmtpd-ssl
|
|
||||||
|
|
||||||
# If we do not have a certificate, make one up.
|
|
||||||
[ ! -f ${datadir}/esmtpd.pem ] && \
|
|
||||||
ebegin " generating-ESMTP-SSL-certificate..." && "${sbindir}/mkesmtpdcert"
|
|
||||||
|
|
||||||
# First time after install create aliases.dat and smtpaccess.dat
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/aliases.dat ] || ${sbindir}/makealiases
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/${ACCESSFILE}.dat ] || ${sbindir}/makesmtpaccess
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/${ACCESSFILE}.dat ] || ${sbindir}/makesmtpaccess-msa
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
# Start daemons.
|
|
||||||
ebegin "Starting Courier mail server:"
|
|
||||||
|
|
||||||
checkconfig || return 1
|
|
||||||
|
|
||||||
ebegin " Starting courierfilterd"
|
|
||||||
${sbindir}/courierfilter start
|
|
||||||
|
|
||||||
[ ! -d /etc/courier/authlib ] && [ -x ${libexecdir}/authlib/authdaemond ] && \
|
|
||||||
${libexecdir}/authlib/authdaemond start && ebegin " Starting authdaemond"
|
|
||||||
|
|
||||||
[ -x ${sbindir}/webmaild ] && \
|
|
||||||
${sbindir}/webmaild start && ebegin " Starting webmaild"
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courierldapaliasd ] && \
|
|
||||||
${sbindir}/courierldapaliasd start && ebegin " Starting courierldapaliasd"
|
|
||||||
|
|
||||||
ebegin " Starting courierd"
|
|
||||||
${sbindir}/courier start
|
|
||||||
|
|
||||||
savepath="$PATH"
|
|
||||||
# start esmtpd if so written
|
|
||||||
[ -f ${sysconfdir}/esmtpd ] && source ${sysconfdir}/esmtpd
|
|
||||||
PATH="$savepath"
|
|
||||||
case x$ESMTPDSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " Starting esmtpd"
|
|
||||||
${sbindir}/esmtpd start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start esmtpd-msa if so written
|
|
||||||
[ -f ${sysconfdir}/esmtpd-msa ] && source ${sysconfdir}/esmtpd-msa
|
|
||||||
PATH="$savepath"
|
|
||||||
case x$ESMTPDSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " Starting esmtpd-msa"
|
|
||||||
${sbindir}/esmtpd-msa start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start esmtpd-ssl if so written
|
|
||||||
[ -f ${sysconfdir}/esmtpd-ssl ] && source ${sysconfdir}/esmtpd-ssl
|
|
||||||
PATH="$savepath"
|
|
||||||
case x$ESMTPDSSLSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " Starting esmtpd-ssl"
|
|
||||||
${sbindir}/esmtpd-ssl start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start pop3d if so written
|
|
||||||
[ -f ${sysconfdir}/pop3d ] && source ${sysconfdir}/pop3d
|
|
||||||
PATH="$savepath"
|
|
||||||
case x$POP3DSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-pop3d"
|
|
||||||
${sbindir}/courier-pop3d start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# start pop3d-ssl if so written
|
|
||||||
[ -f ${sysconfdir}/pop3d-ssl ] && source ${sysconfdir}/pop3d-ssl
|
|
||||||
PATH="$savepath"
|
|
||||||
case x$POP3DSSLSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-pop3d-ssl"
|
|
||||||
${sbindir}/courier-pop3d-ssl start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/imapd ] && source ${sysconfdir}/imapd
|
|
||||||
PATH="$savepath"
|
|
||||||
case x$IMAPDSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-imapd"
|
|
||||||
${sbindir}/courier-imapd start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
[ -f ${sysconfdir}/imapd-ssl ] && source ${sysconfdir}/imapd-ssl
|
|
||||||
PATH="$savepath"
|
|
||||||
case x$IMAPDSSLSTART in
|
|
||||||
x[yY]*)
|
|
||||||
ebegin " courier-imapd-ssl"
|
|
||||||
${sbindir}/courier-imapd-ssl start
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping Courier mail server:"
|
|
||||||
|
|
||||||
ebegin " Stopping courier-esmtpd"
|
|
||||||
${sbindir}/esmtpd stop
|
|
||||||
|
|
||||||
ebegin " Stopping courier-esmtpd-msa"
|
|
||||||
${sbindir}/esmtpd-msa stop
|
|
||||||
|
|
||||||
ebegin " Stopping courier-esmtpd-ssl"
|
|
||||||
${sbindir}/esmtpd-ssl stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-pop3d ] && \
|
|
||||||
ebegin " Stopping courier-pop3d" && ${sbindir}/courier-pop3d stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-pop3d-ssl ] && \
|
|
||||||
ebegin " Stopping courier-pop3d-ssl" && ${sbindir}/courier-pop3d-ssl stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-imapd ] && \
|
|
||||||
ebegin " Stopping courier-imapd" && ${sbindir}/courier-imapd stop
|
|
||||||
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courier-imapd-ssl ] && \
|
|
||||||
ebegin " Stopping courier-imapd-ssl" && ${sbindir}/courier-imapd-ssl stop
|
|
||||||
|
|
||||||
ebegin " Stopping courierd"
|
|
||||||
${sbindir}/courier stop
|
|
||||||
|
|
||||||
[ -x ${sbindir}/courierldapaliasd ] && \
|
|
||||||
( ${sbindir}/courierldapaliasd stop ; ebegin " Stopping courierldapaliasd" )
|
|
||||||
|
|
||||||
[ -x ${sbindir}/webmaild ] && \
|
|
||||||
( ${sbindir}/webmaild stop ; ebegin " Stopping webmaild" )
|
|
||||||
|
|
||||||
[ ! -d /etc/courier/authlib ] && [ -x ${libexecdir}/authlib/authdaemond ] && \
|
|
||||||
( ${libexecdir}/authlib/authdaemond stop ; ebegin " Stopping authdaemond" )
|
|
||||||
|
|
||||||
${sbindir}/courierfilter stop
|
|
||||||
ebegin " Stopping courierfilterd"
|
|
||||||
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
|| dotforward
|
|
||||||
./.maildir/
|
|
@ -1,6 +0,0 @@
|
|||||||
# Execute the "real" sendmail program, named /usr/sbin/sendmail
|
|
||||||
#
|
|
||||||
sendmail /usr/bin/sendmail.courier
|
|
||||||
send-mail /usr/bin/sendmail.courier
|
|
||||||
mailq /usr/bin/mailq.courier
|
|
||||||
rmail /usr/bin/rmail.courier
|
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# this has to be called with a list of configuration files to apply the
|
|
||||||
# changes
|
|
||||||
# example: ./set-mime /etc/courier/esmtpd /etc/courier/esmtpd-ssl
|
|
||||||
|
|
||||||
files=$*
|
|
||||||
|
|
||||||
chk_badmime='##NAME: BOFHBADMIME:0'
|
|
||||||
pos_badmime='##NAME: NOADDMSGID:0'
|
|
||||||
ins_badmime='\
|
|
||||||
##NAME: BOFHBADMIME:0\
|
|
||||||
#\
|
|
||||||
# set BOFHBADMIME\
|
|
||||||
# to \"reject\" to return mail with invalid MIME header\
|
|
||||||
# to \"wrap\" to wrap mail with invalid MIME header in an attachmant\
|
|
||||||
# to \"accept\" to pass mail with invalid MIME header untouched\
|
|
||||||
\
|
|
||||||
BOFHBADMIME=accept\
|
|
||||||
'
|
|
||||||
|
|
||||||
for f in ${files}
|
|
||||||
do
|
|
||||||
if ! grep -q "${chk_badmime}" "${f}"
|
|
||||||
then
|
|
||||||
echo "adding parameter ${chk_badmime} to ${f}"
|
|
||||||
cat ${f} | sed -e"/${pos_badmime}/ i ${ins_badmime}" > "${f}.tmp" && mv -f "${f}.tmp" "${f}"
|
|
||||||
fi
|
|
||||||
done
|
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsaequal/alsaequal-0.6-r1.ebuild,v 1.2 2014/06/18 19:59:11 mgorny Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit eutils multilib toolchain-funcs multilib-minimal
|
|
||||||
|
|
||||||
DESCRIPTION="a real-time adjustable equalizer plugin for ALSA"
|
|
||||||
HOMEPAGE="http://www.thedigitalmachine.net/alsaequal.html"
|
|
||||||
SRC_URI="http://www.thedigitalmachine.net/tools/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}]
|
|
||||||
>=media-plugins/caps-plugins-0.4.5-r2[${MULTILIB_USEDEP}]
|
|
||||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3
|
|
||||||
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}
|
|
||||||
DOCS=( README )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake \
|
|
||||||
CC="$(tc-getCC)" \
|
|
||||||
CFLAGS="${CFLAGS} -Wall -fPIC -DPIC" \
|
|
||||||
LD="$(tc-getCC)" \
|
|
||||||
LDFLAGS="${LDFLAGS} -shared" \
|
|
||||||
Q= \
|
|
||||||
SND_PCM_LIBS="-lasound" \
|
|
||||||
SND_CTL_LIBS="-lasound" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
exeinto /usr/$(get_libdir)/alsa-lib
|
|
||||||
doexe *.so || die
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsaequal/alsaequal-0.6.ebuild,v 1.3 2010/09/25 12:30:17 ssuominen Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
inherit eutils multilib toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="a real-time adjustable equalizer plugin for ALSA"
|
|
||||||
HOMEPAGE="http://www.thedigitalmachine.net/alsaequal.html"
|
|
||||||
SRC_URI="http://www.thedigitalmachine.net/tools/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="media-libs/alsa-lib
|
|
||||||
media-plugins/caps-plugins"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake \
|
|
||||||
CC="$(tc-getCC)" \
|
|
||||||
CFLAGS="${CFLAGS} -Wall -fPIC -DPIC" \
|
|
||||||
LD="$(tc-getCC)" \
|
|
||||||
LDFLAGS="${LDFLAGS} -shared" \
|
|
||||||
SND_PCM_LIBS="-lasound" \
|
|
||||||
SND_CTL_LIBS="-lasound" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/$(get_libdir)/alsa-lib
|
|
||||||
doexe *.so || die
|
|
||||||
dodoc README || die
|
|
||||||
}
|
|
@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/dcaenc/dcaenc-2-r1.ebuild,v 1.1 2014/09/03 11:53:02 ssuominen Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
AUTOTOOLS_AUTORECONF=1
|
||||||
|
EGIT_REPO_URI="git://gitorious.org/dtsenc/dtsenc.git"
|
||||||
|
else
|
||||||
|
SRC_URI="http://aepatrakov.narod.ru/olderfiles/1/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit autotools autotools-multilib
|
||||||
|
|
||||||
|
[[ ${PV} == 9999* ]] && inherit git-r3
|
||||||
|
|
||||||
|
DESCRIPTION="DTS Coherent Acoustics audio encoder"
|
||||||
|
HOMEPAGE="http://aepatrakov.narod.ru/index/0-2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="alsa"
|
||||||
|
|
||||||
|
RDEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
@ -1,24 +1,28 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/dcaenc/dcaenc-9999.ebuild,v 1.1 2014/08/22 23:40:53 beandog Exp $
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/dcaenc/dcaenc-9999.ebuild,v 1.2 2014/09/03 11:53:02 ssuominen Exp $
|
||||||
|
|
||||||
EAPI=5
|
EAPI=5
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
AUTOTOOLS_AUTORECONF=1
|
||||||
EGIT_REPO_URI="git://gitorious.org/dtsenc/dtsenc.git"
|
EGIT_REPO_URI="git://gitorious.org/dtsenc/dtsenc.git"
|
||||||
SRC_URI=""
|
else
|
||||||
|
SRC_URI="http://aepatrakov.narod.ru/olderfiles/1/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
inherit git-r3 autotools
|
inherit autotools autotools-multilib
|
||||||
|
|
||||||
|
[[ ${PV} == 9999* ]] && inherit git-r3
|
||||||
|
|
||||||
DESCRIPTION="DTS Coherent Acoustics audio encoder"
|
DESCRIPTION="DTS Coherent Acoustics audio encoder"
|
||||||
HOMEPAGE="http://aepatrakov.narod.ru/index/0-2"
|
HOMEPAGE="http://aepatrakov.narod.ru/index/0-2"
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="alsa"
|
IUSE="alsa"
|
||||||
|
|
||||||
DEPEND="alsa? ( media-libs/alsa-lib )"
|
RDEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
src_prepare() {
|
virtual/pkgconfig"
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed, 03 Sep 2014 08:07:00 +0000
|
Wed, 03 Sep 2014 14:07:00 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed, 03 Sep 2014 08:07:00 +0000
|
Wed, 03 Sep 2014 14:07:00 +0000
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst prepare test unpack
|
||||||
|
DEPEND=>=sys-libs/zlib-1.2.8-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(-)?] icu? ( >=dev-libs/icu-51.2-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(-)?] ) lzma? ( >=app-arch/xz-utils-5.0.5-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(-)?] ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[xml] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml] ) python_targets_python3_4? ( dev-lang/python:3.4[xml] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] ) readline? ( sys-libs/readline:= ) dev-util/gtk-doc-am virtual/pkgconfig hppa? ( >=sys-devel/binutils-2.15.92.0.2 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||||
|
DESCRIPTION=Version 2 of the library to manipulate XML files
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://www.xmlsoft.org/
|
||||||
|
IUSE=debug examples icu ipv6 lzma python readline static-libs test python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_python3_4 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 ~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 ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt
|
||||||
|
LICENSE=MIT
|
||||||
|
RDEPEND=>=sys-libs/zlib-1.2.8-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(-)?] icu? ( >=dev-libs/icu-51.2-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(-)?] ) lzma? ( >=app-arch/xz-utils-5.0.5-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(-)?] ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[xml] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml] ) python_targets_python3_4? ( dev-lang/python:3.4[xml] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] ) readline? ( sys-libs/readline:= ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r6 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||||
|
SLOT=2
|
||||||
|
SRC_URI=ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz test? ( http://www.w3.org/XML/2004/xml-schema-test-suite/xmlschema2002-01-16/xsts-2002-01-16.tar.gz http://www.w3.org/XML/2004/xml-schema-test-suite/xmlschema2004-01-14/xsts-2004-01-14.tar.gz http://www.w3.org/XML/Test/xmlts20080827.tar.gz )
|
||||||
|
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 prefix 21058c21ca48453d771df15500873ede python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
|
_md5_=52e7ba0dcafdc7598ae4a61896e70589
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DEPEND=>=dev-libs/libxml2-2.9.1-r5:2[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(-)?] crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[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(-)?] ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-libs/libxml2:2[python,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r20 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||||
|
DESCRIPTION=XSLT libraries and tools
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://www.xmlsoft.org/
|
||||||
|
IUSE=crypt debug python static-libs python_targets_python2_7 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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~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=>=dev-libs/libxml2-2.9.1-r5:2[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(-)?] crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[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(-)?] ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-libs/libxml2:2[python,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r20 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||||
|
REQUIRED_USE=python? ( || ( python_targets_python2_7 ) )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=ftp://xmlsoft.org/libxslt/libxslt-1.1.28.tar.gz
|
||||||
|
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
|
_md5_=985ae6ac14c57477c12a30a435c54872
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test unpack
|
|
||||||
DEPEND=dev-perl/libwww-perl virtual/perl-Digest-MD5 virtual/perl-Storable test? ( dev-perl/Test-Pod dev-perl/Test-Pod-Coverage ) || ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )
|
|
||||||
DESCRIPTION=Cache the result of http get-requests persistently
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=http://search.cpan.org/dist/HTTP-Cache-Transparent/
|
|
||||||
IUSE=test
|
|
||||||
KEYWORDS=amd64 ia64 ppc sparc x86
|
|
||||||
LICENSE=|| ( Artistic GPL-1 GPL-2 GPL-3 )
|
|
||||||
RDEPEND=dev-perl/libwww-perl virtual/perl-Digest-MD5 virtual/perl-Storable || ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://cpan/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-1.0.tar.gz
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 perl-module a6a2d5c77bdaeba2794b167689cafb7a toolchain-funcs 0f1760274637a138b99bb649202ea402 unpacker f300a7ca9131b1024a79762e8edd3c52
|
|
||||||
_md5_=42047d03ffe6ae70f128199ce8d9a408
|
|
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install postinst postrm prepare
|
|
||||||
DEPEND=media-libs/alsa-lib dev-python/setuptools =dev-lang/python-2*
|
|
||||||
DESCRIPTION=Python bindings for ALSA library
|
|
||||||
EAPI=2
|
|
||||||
HOMEPAGE=http://alsa-project.org/
|
|
||||||
KEYWORDS=amd64 ppc ppc64 sparc x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=media-libs/alsa-lib =dev-lang/python-2*
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://alsaproject/pyalsa/pyalsa-1.0.26.tar.bz2
|
|
||||||
_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=00038058cdedb56a0780c7acceccf34e
|
|
@ -1,14 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
|
||||||
DEPEND=test? ( latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra ) app-text/htmltidy ) ruby_targets_ruby19? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby19] ) test? ( >=dev-ruby/coderay-1.0.0[ruby_targets_ruby19] ) ) ruby_targets_jruby? ( doc? ( dev-ruby/rdoc[ruby_targets_jruby] ) test? ( >=dev-ruby/coderay-1.0.0[ruby_targets_jruby] ) ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_jruby? ( dev-java/jruby ) ruby_targets_ruby19? ( doc? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_jruby? ( doc? ( dev-ruby/rake[ruby_targets_jruby] ) ) ruby_targets_ruby19? ( test? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_jruby? ( test? ( dev-ruby/rake[ruby_targets_jruby] ) ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_jruby? ( virtual/rubygems[ruby_targets_jruby] ) test? ( ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_jruby? ( virtual/rubygems[ruby_targets_jruby] ) )
|
|
||||||
DESCRIPTION=yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://kramdown.rubyforge.org/
|
|
||||||
IUSE=latex elibc_FreeBSD ruby_targets_ruby19 ruby_targets_jruby doc test test
|
|
||||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86
|
|
||||||
LICENSE=GPL-3
|
|
||||||
RDEPEND=latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_jruby? ( dev-java/jruby ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_jruby? ( virtual/rubygems[ruby_targets_jruby] )
|
|
||||||
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_jruby )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://rubygems/kramdown-0.14.2.gem
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf ruby-fakegem 738ee4b7f8b16d4a734b4d37717db89b ruby-ng 14f0490e24cbad7c17cece628b3d111e toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f
|
|
||||||
_md5_=8a7ee8554a78b99b7caa963ab75ff6d8
|
|
@ -1,14 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
|
||||||
DEPEND=test? ( latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra ) app-text/htmltidy ) ruby_targets_ruby19? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby19] ) test? ( >=dev-ruby/coderay-1.0.0[ruby_targets_ruby19] >=dev-ruby/stringex-1.5.1[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby20] ) test? ( >=dev-ruby/coderay-1.0.0[ruby_targets_ruby20] >=dev-ruby/stringex-1.5.1[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby21] ) test? ( >=dev-ruby/coderay-1.0.0[ruby_targets_ruby21] >=dev-ruby/stringex-1.5.1[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby19? ( doc? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( doc? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( doc? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( test? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) test? ( ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) )
|
|
||||||
DESCRIPTION=Yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://kramdown.rubyforge.org/
|
|
||||||
IUSE=latex elibc_FreeBSD ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 doc test test
|
|
||||||
KEYWORDS=~amd64 ~arm ~ppc ~ppc64 ~x86
|
|
||||||
LICENSE=MIT
|
|
||||||
RDEPEND=latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] )
|
|
||||||
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://rubygems/kramdown-1.2.0.gem
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf ruby-fakegem 738ee4b7f8b16d4a734b4d37717db89b ruby-ng 14f0490e24cbad7c17cece628b3d111e toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f
|
|
||||||
_md5_=415da1fa185bdf6040fd3c7ac734c130
|
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||||
|
DEPEND=ruby_targets_ruby19? ( >=dev-ruby/hoe-3.7[ruby_targets_ruby19] test? ( dev-ruby/minitest:5[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( >=dev-ruby/hoe-3.7[ruby_targets_ruby20] test? ( dev-ruby/minitest:5[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( >=dev-ruby/hoe-3.7[ruby_targets_ruby21] test? ( dev-ruby/minitest:5[ruby_targets_ruby21] ) ) test? ( ruby_targets_ruby19? ( >=dev-ruby/nokogiri-1.4.4-r1[ruby_targets_ruby19] >=dev-ruby/net-http-digest_auth-1.1.1[ruby_targets_ruby19] >=dev-ruby/net-http-persistent-2.5.2[ruby_targets_ruby19] >=dev-ruby/ntlm-http-0.1.1[ruby_targets_ruby19] >=dev-ruby/webrobots-0.0.9[ruby_targets_ruby19] >=dev-ruby/http-cookie-1.0.2[ruby_targets_ruby19] >=dev-ruby/mime-types-2.0[ruby_targets_ruby19] >=dev-ruby/domain_name-0.5.1[ruby_targets_ruby19] ) ruby_targets_ruby20? ( >=dev-ruby/nokogiri-1.4.4-r1[ruby_targets_ruby20] >=dev-ruby/net-http-digest_auth-1.1.1[ruby_targets_ruby20] >=dev-ruby/net-http-persistent-2.5.2[ruby_targets_ruby20] >=dev-ruby/ntlm-http-0.1.1[ruby_targets_ruby20] >=dev-ruby/webrobots-0.0.9[ruby_targets_ruby20] >=dev-ruby/http-cookie-1.0.2[ruby_targets_ruby20] >=dev-ruby/mime-types-2.0[ruby_targets_ruby20] >=dev-ruby/domain_name-0.5.1[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/nokogiri-1.4.4-r1[ruby_targets_ruby21] >=dev-ruby/net-http-digest_auth-1.1.1[ruby_targets_ruby21] >=dev-ruby/net-http-persistent-2.5.2[ruby_targets_ruby21] >=dev-ruby/ntlm-http-0.1.1[ruby_targets_ruby21] >=dev-ruby/webrobots-0.0.9[ruby_targets_ruby21] >=dev-ruby/http-cookie-1.0.2[ruby_targets_ruby21] >=dev-ruby/mime-types-2.0[ruby_targets_ruby21] >=dev-ruby/domain_name-0.5.1[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby19? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( test? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) test? ( ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) )
|
||||||
|
DESCRIPTION=A Ruby library used for automating interaction with websites
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=https://github.com/sparklemotion/mechanize
|
||||||
|
IUSE=test elibc_FreeBSD ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 doc test test
|
||||||
|
KEYWORDS=~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=ruby_targets_ruby19? ( >=dev-ruby/nokogiri-1.4.4-r1[ruby_targets_ruby19] >=dev-ruby/net-http-digest_auth-1.1.1[ruby_targets_ruby19] >=dev-ruby/net-http-persistent-2.5.2[ruby_targets_ruby19] >=dev-ruby/ntlm-http-0.1.1[ruby_targets_ruby19] >=dev-ruby/webrobots-0.0.9[ruby_targets_ruby19] >=dev-ruby/http-cookie-1.0.2[ruby_targets_ruby19] >=dev-ruby/mime-types-2.0[ruby_targets_ruby19] >=dev-ruby/domain_name-0.5.1[ruby_targets_ruby19] ) ruby_targets_ruby20? ( >=dev-ruby/nokogiri-1.4.4-r1[ruby_targets_ruby20] >=dev-ruby/net-http-digest_auth-1.1.1[ruby_targets_ruby20] >=dev-ruby/net-http-persistent-2.5.2[ruby_targets_ruby20] >=dev-ruby/ntlm-http-0.1.1[ruby_targets_ruby20] >=dev-ruby/webrobots-0.0.9[ruby_targets_ruby20] >=dev-ruby/http-cookie-1.0.2[ruby_targets_ruby20] >=dev-ruby/mime-types-2.0[ruby_targets_ruby20] >=dev-ruby/domain_name-0.5.1[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/nokogiri-1.4.4-r1[ruby_targets_ruby21] >=dev-ruby/net-http-digest_auth-1.1.1[ruby_targets_ruby21] >=dev-ruby/net-http-persistent-2.5.2[ruby_targets_ruby21] >=dev-ruby/ntlm-http-0.1.1[ruby_targets_ruby21] >=dev-ruby/webrobots-0.0.9[ruby_targets_ruby21] >=dev-ruby/http-cookie-1.0.2[ruby_targets_ruby21] >=dev-ruby/mime-types-2.0[ruby_targets_ruby21] >=dev-ruby/domain_name-0.5.1[ruby_targets_ruby21] ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] )
|
||||||
|
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://rubygems/mechanize-2.7.3.gem
|
||||||
|
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf ruby-fakegem 738ee4b7f8b16d4a734b4d37717db89b ruby-ng 14f0490e24cbad7c17cece628b3d111e toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||||
|
_md5_=578ea75313b01750885b9a9c63ddac0c
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup unpack
|
||||||
|
DEPEND=>=dev-libs/glib-2.6:2 >=dev-lang/perl-5.6 >=app-text/openjade-1.3.1 dev-libs/libxslt >=dev-libs/libxml2-2.3.6:2 ~app-text/docbook-xml-dtd-4.3 app-text/docbook-xsl-stylesheets ~app-text/docbook-sgml-dtd-3.0 >=app-text/docbook-dsssl-stylesheets-1.40 emacs? ( virtual/emacs ) highlight? ( vim? ( || ( app-editors/vim app-editors/gvim ) ) !vim? ( dev-util/source-highlight ) ) !!<dev-tex/tex4ht-20090611_p1038-r1 ~dev-util/gtk-doc-am-1.21 app-text/yelp-tools >=app-text/scrollkeeper-0.3.14 virtual/pkgconfig test? ( app-text/scrollkeeper-dtd ) app-arch/xz-utils >=sys-apps/sed-4
|
||||||
|
DESCRIPTION=GTK+ Documentation Generator
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://www.gtk.org/gtk-doc/
|
||||||
|
IUSE=doc emacs highlight vim test debug python_targets_python2_7 python_single_target_python2_7
|
||||||
|
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris
|
||||||
|
LICENSE=GPL-2 FDL-1.1
|
||||||
|
RDEPEND=>=dev-libs/glib-2.6:2 >=dev-lang/perl-5.6 >=app-text/openjade-1.3.1 dev-libs/libxslt >=dev-libs/libxml2-2.3.6:2 ~app-text/docbook-xml-dtd-4.3 app-text/docbook-xsl-stylesheets ~app-text/docbook-sgml-dtd-3.0 >=app-text/docbook-dsssl-stylesheets-1.40 emacs? ( virtual/emacs ) highlight? ( vim? ( || ( app-editors/vim app-editors/gvim ) ) !vim? ( dev-util/source-highlight ) ) !!<dev-tex/tex4ht-20090611_p1038-r1
|
||||||
|
REQUIRED_USE=python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://gnome/sources/gtk-doc/1.21/gtk-doc-1.21.tar.xz
|
||||||
|
_eclasses_=elisp-common 1aa23b3de5dae55456fa2071428eb5bf eutils 06133990e861be0fe60c2b428fd025d9 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 9637c29fc715b17a6328f24251129557 gnome2-utils f658eba3cc594a21cf6eef4af47daa90 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b readme.gentoo 106edea5533517715013de909a333abd toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||||
|
_md5_=b8c3896f325defb7b514d0328647257b
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install
|
||||||
|
DEPEND=>=dev-lang/perl-5.6 !<dev-util/gtk-doc-1.21 app-arch/xz-utils
|
||||||
|
DESCRIPTION=Automake files from gtk-doc
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://www.gtk.org/gtk-doc/
|
||||||
|
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 ~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=GPL-2 FDL-1.1
|
||||||
|
PDEPEND=virtual/pkgconfig
|
||||||
|
RDEPEND=>=dev-lang/perl-5.6
|
||||||
|
RESTRICT=test
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://gnome/sources/gtk-doc/1.21/gtk-doc-1.21.tar.xz
|
||||||
|
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 gnome.org 8fef8f967214f56e08fa92d61163d891 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||||
|
_md5_=fe1d052456c486303488a869e01087a4
|
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=configure install setup
|
||||||
|
DESCRIPTION=Free Win64 runtime and import library definitions
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://mingw-w64.sourceforge.net/
|
||||||
|
IUSE=crosscompile_opts_headers-only idl
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=BSD
|
||||||
|
RESTRICT=strip
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v3.2.0.tar.bz2
|
||||||
|
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
|
_md5_=dea4ec929925357a19d45f0373634aa0
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile config install postinst test unpack
|
|
||||||
DEPEND=>=net-libs/courier-authlib-0.61.0 >=dev-libs/openssl-0.9.6 >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd
|
|
||||||
DESCRIPTION=An MTA designed specifically for maildirs
|
|
||||||
HOMEPAGE=http://www.courier-mta.org/
|
|
||||||
IUSE=postgres ldap mysql pam nls ipv6 spell fax crypt norewrite fam web webmail
|
|
||||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
PDEPEND=pam? ( net-mail/mailbase ) crypt? ( >=app-crypt/gnupg-1.0.4 )
|
|
||||||
RDEPEND=>=net-libs/courier-authlib-0.61.0 >=dev-libs/openssl-0.9.6 >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd dev-lang/perl sys-process/procps !net-mail/bincimap !net-mail/courier-imap !net-mail/cyrus-imapd !net-mail/uw-imap
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/courier/courier-0.65.2.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=c4f714aebe2fab751d209b00b6d106a5
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile config install postinst test unpack
|
|
||||||
DEPEND=>=net-libs/courier-authlib-0.61.0 >=dev-libs/openssl-0.9.6 >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd
|
|
||||||
DESCRIPTION=An MTA designed specifically for maildirs
|
|
||||||
HOMEPAGE=http://www.courier-mta.org/
|
|
||||||
IUSE=postgres ldap mysql pam nls ipv6 spell fax crypt norewrite fam web webmail
|
|
||||||
KEYWORDS=alpha amd64 hppa ia64 ppc sparc x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
PDEPEND=pam? ( net-mail/mailbase ) crypt? ( >=app-crypt/gnupg-1.0.4 )
|
|
||||||
RDEPEND=>=net-libs/courier-authlib-0.61.0 >=dev-libs/openssl-0.9.6 >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd dev-lang/perl sys-process/procps !net-mail/bincimap !net-mail/courier-imap !net-mail/cyrus-imapd !net-mail/uw-imap
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/courier/courier-0.65.2.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=8c8664061766f5df7271b7c4b3b504d8
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile config install postinst test unpack
|
|
||||||
DEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd
|
|
||||||
DESCRIPTION=An MTA designed specifically for maildirs
|
|
||||||
HOMEPAGE=http://www.courier-mta.org/
|
|
||||||
IUSE=postgres ldap mysql pam nls ipv6 spell fax crypt norewrite fam web webmail gnutls
|
|
||||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
PDEPEND=pam? ( net-mail/mailbase ) crypt? ( >=app-crypt/gnupg-1.0.4 )
|
|
||||||
RDEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd dev-lang/perl sys-process/procps !net-mail/bincimap !net-mail/courier-imap !net-mail/cyrus-imapd !net-mail/uw-imap
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/courier/courier-0.66.3.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=7cb59998a4bc198a575b2e4c06b4a9a7
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile config install postinst test unpack
|
|
||||||
DEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd
|
|
||||||
DESCRIPTION=An MTA designed specifically for maildirs
|
|
||||||
HOMEPAGE=http://www.courier-mta.org/
|
|
||||||
IUSE=postgres ldap mysql pam nls ipv6 spell fax crypt norewrite fam web webmail gnutls
|
|
||||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
PDEPEND=pam? ( net-mail/mailbase ) crypt? ( >=app-crypt/gnupg-1.0.4 )
|
|
||||||
RDEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd dev-lang/perl sys-process/procps !net-mail/bincimap !net-mail/courier-imap !net-mail/cyrus-imapd !net-mail/uw-imap
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/courier/courier-0.68.2.20120626.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=e10bb0a145a27551b711c0fa07e09b66
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile config install postinst test unpack
|
|
||||||
DEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd !net-mail/dot-forward !sys-apps/ucspi-tcp
|
|
||||||
DESCRIPTION=An MTA designed specifically for maildirs
|
|
||||||
HOMEPAGE=http://www.courier-mta.org/
|
|
||||||
IUSE=postgres ldap mysql pam nls ipv6 spell fax crypt norewrite fam web webmail gnutls
|
|
||||||
KEYWORDS=alpha amd64 hppa ia64 ppc sparc x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
PDEPEND=pam? ( net-mail/mailbase ) crypt? ( >=app-crypt/gnupg-1.0.4 )
|
|
||||||
RDEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd !net-mail/dot-forward !sys-apps/ucspi-tcp dev-lang/perl sys-process/procps !net-mail/bincimap !net-mail/courier-imap !net-mail/cyrus-imapd !net-mail/uw-imap
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/courier/courier-0.69.0.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=0dafe6574c834cffad212a7c22671f00
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile config install postinst test unpack
|
|
||||||
DEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd !net-mail/dot-forward !sys-apps/ucspi-tcp
|
|
||||||
DESCRIPTION=An MTA designed specifically for maildirs
|
|
||||||
HOMEPAGE=http://www.courier-mta.org/
|
|
||||||
IUSE=postgres ldap mysql pam nls ipv6 spell fax crypt norewrite fam web webmail gnutls
|
|
||||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
PDEPEND=pam? ( net-mail/mailbase ) crypt? ( >=app-crypt/gnupg-1.0.4 )
|
|
||||||
RDEPEND=>=net-libs/courier-authlib-0.61.0 !gnutls? ( >=dev-libs/openssl-0.9.6 ) gnutls? ( net-libs/gnutls ) >=sys-libs/gdbm-1.8.0 dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) pam? ( virtual/pam ) mysql? ( virtual/mysql ) ldap? ( >=net-nds/openldap-1.2.11 ) postgres? ( dev-db/postgresql-base ) spell? ( app-text/aspell ) fam? ( virtual/fam ) !mail-filter/maildrop !mail-mta/esmtp !mail-mta/exim !mail-mta/mini-qmail !mail-mta/msmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !mail-mta/ssmtp !mail-mta/opensmtpd !net-mail/dot-forward !sys-apps/ucspi-tcp dev-lang/perl sys-process/procps !net-mail/bincimap !net-mail/courier-imap !net-mail/cyrus-imapd !net-mail/uw-imap
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/courier/courier-0.70.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=1dc6d48ef7148921f51e1fea3675f421
|
|
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install prepare
|
|
||||||
DEPEND=media-libs/alsa-lib media-plugins/caps-plugins
|
|
||||||
DESCRIPTION=a real-time adjustable equalizer plugin for ALSA
|
|
||||||
EAPI=2
|
|
||||||
HOMEPAGE=http://www.thedigitalmachine.net/alsaequal.html
|
|
||||||
KEYWORDS=amd64 x86
|
|
||||||
LICENSE=LGPL-2.1
|
|
||||||
RDEPEND=media-libs/alsa-lib media-plugins/caps-plugins
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://www.thedigitalmachine.net/tools/alsaequal-0.6.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=ec82ccf20364de6df564995833efef78
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=>=media-libs/alsa-lib-1.0.27.2[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(-)?] >=media-plugins/caps-plugins-0.4.5-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(-)?] abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3 !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )
|
|
||||||
DESCRIPTION=a real-time adjustable equalizer plugin for ALSA
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://www.thedigitalmachine.net/alsaequal.html
|
|
||||||
IUSE=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=~amd64 ~x86
|
|
||||||
LICENSE=LGPL-2.1
|
|
||||||
RDEPEND=>=media-libs/alsa-lib-1.0.27.2[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(-)?] >=media-plugins/caps-plugins-0.4.5-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(-)?] abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3 !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://www.thedigitalmachine.net/tools/alsaequal-0.6.tar.bz2
|
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=10d026de8837d857563d883f0b3c2730
|
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DEPEND=alsa? ( media-libs/alsa-lib[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(-)?] ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||||
|
DESCRIPTION=DTS Coherent Acoustics audio encoder
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://aepatrakov.narod.ru/index/0-2
|
||||||
|
IUSE=alsa 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=~amd64 ~x86
|
||||||
|
LICENSE=LGPL-2.1+
|
||||||
|
RDEPEND=alsa? ( media-libs/alsa-lib[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(-)?] )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://aepatrakov.narod.ru/olderfiles/1/dcaenc-2.tar.gz
|
||||||
|
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-multilib 037c4046d25f29e78dd44dccabd5d66b autotools-utils 3727db64c7b960903d5033280f108080 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
|
_md5_=5974b378808630058023c14f4f6ebdbe
|
@ -1,10 +1,11 @@
|
|||||||
DEFINED_PHASES=prepare unpack
|
DEFINED_PHASES=compile configure install prepare test unpack
|
||||||
DEPEND=alsa? ( media-libs/alsa-lib ) >=dev-vcs/git-1.8.2.1 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
DEPEND=alsa? ( media-libs/alsa-lib[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(-)?] ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool >=dev-vcs/git-1.8.2.1
|
||||||
DESCRIPTION=DTS Coherent Acoustics audio encoder
|
DESCRIPTION=DTS Coherent Acoustics audio encoder
|
||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=http://aepatrakov.narod.ru/index/0-2
|
HOMEPAGE=http://aepatrakov.narod.ru/index/0-2
|
||||||
IUSE=alsa
|
IUSE=alsa 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
|
||||||
LICENSE=LGPL-2.1+
|
LICENSE=LGPL-2.1+
|
||||||
|
RDEPEND=alsa? ( media-libs/alsa-lib[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(-)?] )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 git-r3 6ebae45064cb04482f3c702632dd9528 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-multilib 037c4046d25f29e78dd44dccabd5d66b autotools-utils 3727db64c7b960903d5033280f108080 eutils 06133990e861be0fe60c2b428fd025d9 git-r3 6ebae45064cb04482f3c702632dd9528 libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
_md5_=43a56d9799266a54c2affdb9daebf032
|
_md5_=1517d4dae52c4fd31a7143db4d42d176
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install unpack
|
|
||||||
DEPEND=x11-libs/libX11 xinerama? ( x11-libs/libXinerama ) xpm? ( x11-libs/libXpm ) xinerama? ( x11-proto/xineramaproto )
|
|
||||||
DESCRIPTION=a general purpose messaging, notification and menuing program for X11.
|
|
||||||
HOMEPAGE=http://gotmor.googlepages.com/dzen
|
|
||||||
IUSE=minimal xinerama xpm
|
|
||||||
KEYWORDS=amd64 x86
|
|
||||||
LICENSE=MIT
|
|
||||||
RDEPEND=x11-libs/libX11 xinerama? ( x11-libs/libXinerama ) xpm? ( x11-libs/libXpm )
|
|
||||||
SLOT=2
|
|
||||||
SRC_URI=http://gotmor.googlepages.com/dzen2-0.8.5.tar.gz
|
|
||||||
_eclasses_=multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
|
||||||
_md5_=ff8edb27cf3ca249396a81b20fe03ebd
|
|
@ -1,13 +1,13 @@
|
|||||||
DEFINED_PHASES=configure install postinst prepare
|
DEFINED_PHASES=configure install prepare
|
||||||
DEPEND=dev-libs/glib x11-libs/gtk+:2 x11-libs/gdk-pixbuf virtual/pkgconfig nls? ( sys-devel/gettext )
|
DEPEND=dev-libs/glib:2 x11-libs/gdk-pixbuf x11-libs/gtk+:2 virtual/pkgconfig nls? ( sys-devel/gettext )
|
||||||
DESCRIPTION=a GTK+ application launcher with nice features such as a history
|
DESCRIPTION=gRun is a GTK based Run dialog that closely resembles the Windows Run dialog, just like xexec
|
||||||
EAPI=2
|
EAPI=5
|
||||||
HOMEPAGE=http://code.google.com/p/grun/
|
HOMEPAGE=http://code.google.com/p/grun/
|
||||||
IUSE=nls
|
IUSE=nls
|
||||||
KEYWORDS=amd64 ppc x86 ~x86-fbsd
|
KEYWORDS=amd64 ppc x86 ~x86-fbsd
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
RDEPEND=dev-libs/glib x11-libs/gtk+:2 x11-libs/gdk-pixbuf
|
RDEPEND=dev-libs/glib:2 x11-libs/gdk-pixbuf x11-libs/gtk+:2
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=http://grun.googlecode.com/files/grun-0.9.3.tar.gz
|
SRC_URI=http://grun.googlecode.com/files/grun-0.9.3.tar.gz
|
||||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
_md5_=063944a369590f0f2f743fe73362b3e3
|
_md5_=2f7f40afa9422bbb5f34438645d4d788
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
DEFINED_PHASES=install
|
|
||||||
DEPEND=x11-libs/libX11 x11-libs/libXtst x11-proto/inputproto x11-proto/xproto
|
|
||||||
DESCRIPTION=Wayv is hand-writing/gesturing recognition software for X
|
|
||||||
HOMEPAGE=http://www.stressbunny.com/wayv
|
|
||||||
KEYWORDS=x86 ~ppc
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=x11-libs/libX11 x11-libs/libXtst
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://www.stressbunny.com/gimme/wayv/wayv-0.3.tar.gz
|
|
||||||
_md5_=eac65e0137fbdb4f8dc8bc02ab567ccc
|
|
@ -1,13 +1,13 @@
|
|||||||
DEFINED_PHASES=configure install prepare
|
DEFINED_PHASES=configure install prepare
|
||||||
DEPEND=>=x11-libs/gtk+-2.2:2 virtual/pkgconfig nls? ( sys-devel/gettext ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
DEPEND=dev-libs/glib:2 >=x11-libs/gtk+-2.2:2 virtual/pkgconfig nls? ( sys-devel/gettext ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||||
DESCRIPTION=drop-in replacement for cdialog using GTK
|
DESCRIPTION=drop-in replacement for cdialog using GTK
|
||||||
EAPI=2
|
EAPI=5
|
||||||
HOMEPAGE=http://xdialog.free.fr/
|
HOMEPAGE=http://xdialog.free.fr/
|
||||||
IUSE=doc examples nls
|
IUSE=doc examples nls
|
||||||
KEYWORDS=alpha amd64 ~hppa ppc x86
|
KEYWORDS=alpha amd64 ~hppa ppc x86
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
RDEPEND=>=x11-libs/gtk+-2.2:2
|
RDEPEND=dev-libs/glib:2 >=x11-libs/gtk+-2.2:2
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=http://xdialog.free.fr/Xdialog-2.3.1.tar.bz2
|
SRC_URI=http://xdialog.free.fr/Xdialog-2.3.1.tar.bz2
|
||||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
_md5_=379a47b4ce7d891a785ee04a535ae2b1
|
_md5_=da8042215eca277e9a05a831c605c08f
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
DEFINED_PHASES=install
|
DEFINED_PHASES=prepare
|
||||||
DEPEND=x11-libs/libX11 x11-libs/libXtst x11-proto/inputproto x11-proto/xextproto x11-proto/xproto
|
DEPEND=x11-libs/libX11 x11-libs/libXtst x11-proto/inputproto x11-proto/xextproto x11-proto/xproto
|
||||||
DESCRIPTION=small tool to report and change the keyboard LED states of an X display
|
DESCRIPTION=small tool to report and change the keyboard LED states of an X display
|
||||||
|
EAPI=5
|
||||||
HOMEPAGE=ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/
|
HOMEPAGE=ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/
|
||||||
KEYWORDS=x86 ppc sparc alpha hppa ~mips amd64 ia64
|
KEYWORDS=x86 ppc sparc alpha hppa ~mips amd64 ia64
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
RDEPEND=x11-libs/libX11 x11-libs/libXtst
|
RDEPEND=x11-libs/libX11 x11-libs/libXtst
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/src/xsetleds-0.1.3.tar.gz
|
SRC_URI=ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/src/xsetleds-0.1.3.tar.gz
|
||||||
_md5_=12941f0da2cfd9a5bc5dddc06d38bbf9
|
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
|
_md5_=77b38b8e1cfa3e083c84b4bb9e8f4ddc
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=prepare
|
||||||
|
DEPEND=x11-libs/libX11 x11-libs/libXtst x11-proto/inputproto x11-proto/xextproto x11-proto/xproto
|
||||||
|
DESCRIPTION=small tool to report and change the keyboard LED states of an X display
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/
|
||||||
|
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=x11-libs/libX11 x11-libs/libXtst
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/src/xsetleds-0.1.3.tar.gz
|
||||||
|
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||||
|
_md5_=816618ba5207e9c61701515455d8660f
|
@ -1 +1 @@
|
|||||||
Wed, 03 Sep 2014 08:07:03 +0000
|
Wed, 03 Sep 2014 14:07:03 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed Sep 3 08:07:00 UTC 2014
|
Wed Sep 3 14:07:00 UTC 2014
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed, 03 Sep 2014 08:30:01 +0000
|
Wed, 03 Sep 2014 14:30:01 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
1409731501 Wed 03 Sep 2014 08:05:01 AM UTC UTC
|
1409753101 Wed 03 Sep 2014 02:05:01 PM UTC UTC
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
From e7f7217b9b9dbb3304116eae2b0ad90c84ede034 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= <amade@asmblr.net>
|
||||||
|
Date: Wed, 3 Sep 2014 11:01:31 +0200
|
||||||
|
Subject: [PATCH] link libudev against SELINUX
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
|
||||||
|
---
|
||||||
|
src/libudev/Makefile.am | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
|
||||||
|
index 868a9fc..72e43bc 100644
|
||||||
|
--- a/src/libudev/Makefile.am
|
||||||
|
+++ b/src/libudev/Makefile.am
|
||||||
|
@@ -54,7 +54,8 @@ libudev_la_LDFLAGS = \
|
||||||
|
-Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
|
||||||
|
|
||||||
|
libudev_la_LIBADD = \
|
||||||
|
- $(top_builddir)/src/shared/libudev_shared.la
|
||||||
|
+ $(top_builddir)/src/shared/libudev_shared.la \
|
||||||
|
+ $(SELINUX_LIBS)
|
||||||
|
|
||||||
|
libudev_private_la_SOURCES = \
|
||||||
|
$(libudev_la_SOURCES) \
|
||||||
|
--
|
||||||
|
2.1.0
|
||||||
|
|
@ -1,74 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/x11-misc/dzen/dzen-0.8.5.ebuild,v 1.6 2010/06/06 09:49:15 ssuominen Exp $
|
|
||||||
|
|
||||||
inherit toolchain-funcs multilib
|
|
||||||
|
|
||||||
SLOT="2"
|
|
||||||
MY_P="${PN}${SLOT}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="a general purpose messaging, notification and menuing program for
|
|
||||||
X11."
|
|
||||||
HOMEPAGE="http://gotmor.googlepages.com/dzen"
|
|
||||||
SRC_URI="http://gotmor.googlepages.com/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="minimal xinerama xpm"
|
|
||||||
|
|
||||||
RDEPEND="x11-libs/libX11
|
|
||||||
xinerama? ( x11-libs/libXinerama )
|
|
||||||
xpm? ( x11-libs/libXpm )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
xinerama? ( x11-proto/xineramaproto )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
sed -i \
|
|
||||||
-e 's:../dzen2:dzen2:' \
|
|
||||||
gadgets/kittscanner.sh || die
|
|
||||||
|
|
||||||
sed -e "s:/usr/local:/usr:g" \
|
|
||||||
-e 's:-Os::g' \
|
|
||||||
-e "s:CFLAGS =:CFLAGS +=:g" \
|
|
||||||
-e '/^CC.*/d' \
|
|
||||||
-e 's:^LDFLAGS =:LDFLAGS +=:' \
|
|
||||||
-e "s:/usr/lib :/usr/$(get_libdir):" \
|
|
||||||
-i config.mk gadgets/config.mk || die "sed failed"
|
|
||||||
sed -i -e "/strip/d" Makefile gadgets/Makefile || die "sed failed"
|
|
||||||
if use xinerama ; then
|
|
||||||
sed -e "/^LIBS/s/$/\ -lXinerama/" \
|
|
||||||
-e "/^CFLAGS/s/$/\ -DDZEN_XINERAMA/" \
|
|
||||||
-i config.mk || die "sed failed"
|
|
||||||
fi
|
|
||||||
if use xpm ; then
|
|
||||||
sed -e "/^LIBS/s/$/\ -lXpm/" \
|
|
||||||
-e "/^CFLAGS/s/$/\ -DDZEN_XPM/" \
|
|
||||||
-i config.mk || die "sed failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake || die "emake failed"
|
|
||||||
|
|
||||||
if ! use minimal ; then
|
|
||||||
cd "${S}"/gadgets
|
|
||||||
emake || die "emake gadgets failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "emake install failed"
|
|
||||||
dodoc README || die
|
|
||||||
|
|
||||||
if ! use minimal ; then
|
|
||||||
cd "${S}"/gadgets
|
|
||||||
emake DESTDIR="${D}" install || die "emake gadgets install failed"
|
|
||||||
dobin *.sh || die
|
|
||||||
dodoc README* || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,95 @@
|
|||||||
|
--- a/config.mk
|
||||||
|
+++ b/config.mk
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
# Customize below to fit your system
|
||||||
|
|
||||||
|
# paths
|
||||||
|
-PREFIX = /usr/local
|
||||||
|
+PREFIX = /usr
|
||||||
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
||||||
|
X11INC = /usr/X11R6/include
|
||||||
|
@@ -19,55 +19,12 @@
|
||||||
|
# Comment : Add # to the beginning of the respective lines
|
||||||
|
|
||||||
|
## Option 1: No Xinerama no XPM no XFT
|
||||||
|
-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
|
||||||
|
-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-## Option 2: No Xinerama with XPM
|
||||||
|
-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm
|
||||||
|
-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Option 3: With Xinerama no XPM
|
||||||
|
-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama
|
||||||
|
-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-## Option 4: With Xinerama and XPM
|
||||||
|
-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm
|
||||||
|
-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-## Option 5: With XFT
|
||||||
|
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft`
|
||||||
|
-CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XFT `pkg-config --cflags xft`
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-## Option 6: With XPM and XFT
|
||||||
|
-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm `pkg-config --libs xft`
|
||||||
|
-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-## Option 7: With Xinerama and XPM and XFT
|
||||||
|
-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm `pkg-config --libs xft`
|
||||||
|
-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
|
||||||
|
-
|
||||||
|
-
|
||||||
|
+LIBS = -lX11
|
||||||
|
+CFLAGS += -Wall ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
|
|
||||||
|
# END of feature configuration
|
||||||
|
|
||||||
|
-
|
||||||
|
-LDFLAGS = ${LIBS}
|
||||||
|
-
|
||||||
|
-# Solaris, uncomment for Solaris
|
||||||
|
-#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
|
-#LDFLAGS = ${LIBS}
|
||||||
|
-#CFLAGS += -xtarget=ultra
|
||||||
|
-
|
||||||
|
-# Debugging
|
||||||
|
-#CFLAGS = ${INCS} -DVERSION=\"${VERSION}\" -std=gnu89 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -O2 -pipe -DDZEN_XFT `pkg-config --cflags xft`
|
||||||
|
-#LDFLAGS = ${LIBS}
|
||||||
|
+LDFLAGS += ${LIBS}
|
||||||
|
|
||||||
|
# compiler and linker
|
||||||
|
-CC = gcc
|
||||||
|
-LD = ${CC}
|
||||||
|
+LD = $(CC)
|
||||||
|
--- a/gadgets/config.mk
|
||||||
|
+++ b/gadgets/config.mk
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
# Customize below to fit your system
|
||||||
|
|
||||||
|
# paths
|
||||||
|
-PREFIX = /usr/local
|
||||||
|
+PREFIX = /usr
|
||||||
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
||||||
|
X11INC = /usr/X11R6/include
|
||||||
|
@@ -10,9 +10,8 @@
|
||||||
|
X11LIB = /usr/X11R6/lib
|
||||||
|
LIBS = -L/usr/lib
|
||||||
|
|
||||||
|
-CFLAGS = -Os ${INCS}
|
||||||
|
-LDFLAGS = ${LIBS}
|
||||||
|
+CFLAGS += ${INCS}
|
||||||
|
+LDFLAGS += ${LIBS}
|
||||||
|
|
||||||
|
# compiler and linker
|
||||||
|
-CC = gcc
|
||||||
|
-LD = ${CC}
|
||||||
|
+LD = $(CC)
|
@ -1 +1 @@
|
|||||||
DIST grun-0.9.3.tar.gz 368318 SHA256 c484d80e4636a69c6ad6491a4769f555be20595e67cb4bfd34c3c91e501b95dd
|
DIST grun-0.9.3.tar.gz 368318 SHA256 c484d80e4636a69c6ad6491a4769f555be20595e67cb4bfd34c3c91e501b95dd SHA512 cac78955f59d9981b2b39dce701fa508d00b1d39c8c05ac417cf8ed81419092949765e572f2f3d01bc1d916c28d0a428f84282111264adda9078261fa286e7d0 WHIRLPOOL 12e7278201eab7750dbe4258116c980d376c28cd2f037ef18ab23c5b98aa94332757c7d4dad762e2c3c18187dfca2a909d9ac608e43e10db9b74fe0af940930f
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/x11-misc/wayv/wayv-0.3-r1.ebuild,v 1.5 2008/06/17 12:31:06 nelchael Exp $
|
|
||||||
|
|
||||||
DESCRIPTION="Wayv is hand-writing/gesturing recognition software for X"
|
|
||||||
HOMEPAGE="http://www.stressbunny.com/wayv"
|
|
||||||
SRC_URI="http://www.stressbunny.com/gimme/wayv/${P}.tar.gz"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="x86 ~ppc"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="x11-libs/libX11
|
|
||||||
x11-libs/libXtst"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
x11-proto/inputproto
|
|
||||||
x11-proto/xproto"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einstall || die
|
|
||||||
cd doc
|
|
||||||
einstall || die
|
|
||||||
dodoc HOWTO*
|
|
||||||
}
|
|
@ -1 +1 @@
|
|||||||
DIST Xdialog-2.3.1.tar.bz2 457938 RMD160 12085dfddc9217fe5f07510c76755eb75446e658 SHA1 292c552506633c54a28d51aa290277b7b5c0c708 SHA256 1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a
|
DIST Xdialog-2.3.1.tar.bz2 457938 SHA256 1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a SHA512 2a0f6e15297ae3ef54a41da1b1fe2ef376d28757d47433df2b8e9918cd4f95871a630b94ec544bd848e518df7f86934030a71bf0371a1466286bf7d912335525 WHIRLPOOL 27a2a25bf2eea348a9dbdf04aed334fa70e35f8d84d56e8ee561ebb345e8c457c6b9cff83a99c9df07686dc20e25d3bb980fae6b9d774d601ddbff2a04f49010
|
||||||
|
@ -1 +1 @@
|
|||||||
DIST xsetleds-0.1.3.tar.gz 221399 SHA256 e844ea61a11bde39e9b46f2eacd08b88bfadd29ee7857fc0b8455357640d3b96
|
DIST xsetleds-0.1.3.tar.gz 221399 SHA256 e844ea61a11bde39e9b46f2eacd08b88bfadd29ee7857fc0b8455357640d3b96 SHA512 7fe6baa77b4b2c8f57dfc331776bb457520facdb2f54a5c101764c590d7c5556cd00477e56d36e64cb7264a8de28698422b99ec4852798069189fbe6c1c19f72 WHIRLPOOL 1d3edc2247595f283846ea4f25bffbc226a33dc541d79af842a014e5d4f6ebe6eb8f177e4a5897e86cb6c1c559539393d662cb46d76dc8cab22a1a9f8c8b8616
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/utils.c
|
||||||
|
+++ b/src/utils.c
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
{
|
||||||
|
const char *p;
|
||||||
|
|
||||||
|
- if (p = strrchr (filename, '/'))
|
||||||
|
+ if ((p = strrchr (filename, '/')))
|
||||||
|
p = strrchr (filename, '/') + 1;
|
||||||
|
else
|
||||||
|
p = filename;
|
@ -0,0 +1,13 @@
|
|||||||
|
--- a/src/xsetleds.c
|
||||||
|
+++ b/src/xsetleds.c
|
||||||
|
@@ -29,8 +29,9 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
+#include <ctype.h> /* isalpha() */
|
||||||
|
|
||||||
|
-#include <xsetleds.h>
|
||||||
|
+#include "xsetleds.h"
|
||||||
|
|
||||||
|
|
||||||
|
struct key keytab[] = {
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsetleds/xsetleds-0.1.3-r1.ebuild,v 1.1 2014/09/03 09:03:56 jer Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="small tool to report and change the keyboard LED states of an X display"
|
||||||
|
HOMEPAGE="ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/"
|
||||||
|
SRC_URI="ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/src/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXtst
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
x11-proto/inputproto
|
||||||
|
x11-proto/xextproto
|
||||||
|
x11-proto/xproto
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch \
|
||||||
|
"${FILESDIR}"/${P}-assignment.patch \
|
||||||
|
"${FILESDIR}"/${P}-isalpha.patch
|
||||||
|
tc-export CC
|
||||||
|
}
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog README TODO )
|
Loading…
Reference in new issue