parent
ce30df4037
commit
a1cb895144
@ -1,3 +1,4 @@
|
||||
DIST clamav-0.98.1.tar.gz 15431484 SHA256 35f5e84d734cdd4532c1cc6c92560c5b31d1c24f2e1e203bef0ca1351eb223dc SHA512 5daac24d346a03acc7e4d8f9e5962a009a908326663008557cbc2af4426e6059cbebbb8fac6d718edf9a567075b823c457f3f9a3aea3c558f5ee272274030b42 WHIRLPOOL 0af4baeefb5e384db0679bdbad2902ced213adb4993c61755fb4065845106779b3467e61dd6fc38b4d7fcecf492069e2a02178a259c618fd6e2f309faf9d1eb1
|
||||
DIST clamav-0.98.3.tar.gz 15543335 SHA256 2792a9e8706a516d2e81339846fc38f94fa8dd3f604b2fde9d0b07593727f62b SHA512 5b3fadfeb3446ecdb47281d196a46709365f573abf3b459b875eacea55d788d03875817a2f2d48a064647187a6c6d6df1e67a9fe39bda8c1f53e81b897d3c7b9 WHIRLPOOL 095c433bc6a91ab5efdafa72b66e37c713570ca0495f97f04c393676ebd8aad146cdc5d305e7321fff505ebe5e97a9ffb0a67f5b56d276a74b8f109095e6b0a3
|
||||
DIST clamav-0.98.4.tar.gz 15537593 SHA256 d3006747abcf750f395a8bfa8267ab314c7b63196c4b41e7717948aaaafa3e1c SHA512 f928db33c7e4258ddd2ede86b7b998547dc6beee0f886a9f567aa89734bc62526a4f5fb60646cddb1c13d35837b8c04f98a74d57c8d348ca90a4fe8a4af261d8 WHIRLPOOL f15adc30018418a7468b8c6548d4d2add61936ec19317af653e5f5debb6491518236a74b2aa0e119c119b1e74e6f8cfdff5a6c21a4b0e6c7608fe1e42206cf0e
|
||||
DIST clamav-0.98.tar.gz 37075245 SHA256 113450537f46ed47f010a179be333a0dcd79eac13f264dce26db7aac8d52b3b6 SHA512 532f9fa2616065879b3ecace2672fad26cf3863943e0ecb8835fbed7e5907600ef50b8df820a08a6586bf77c9bf7c6e50af671f31b7c3ee372c31745a173099f WHIRLPOOL a4ee9efd09193aee7fd740dbb60acabdd4a1f6d5171a4e0fa220441457e3431bf99b27c7300ca0e3e124bb5406f65acf106fa51bfc34d87335ca83ccbc942979
|
||||
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.98.4.ebuild,v 1.1 2014/06/17 08:10:36 lordvan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic user systemd
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="http://www.clamav.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc"
|
||||
|
||||
CDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses )
|
||||
iconv? ( virtual/libiconv )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libtommath
|
||||
>=sys-libs/zlib-1.2.2
|
||||
dev-libs/openssl
|
||||
sys-devel/libtool"
|
||||
# openssl is now *required* see this link as to why
|
||||
# http://www.clamav.net/lang/en/2014/02/22/introducing-openssl-as-a-dependency-to-clamav/
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup clamav
|
||||
enewuser clamav -1 -1 /dev/null clamav
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-experimental \
|
||||
--disable-fanotify \
|
||||
--enable-id-check \
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav \
|
||||
--with-system-tommath \
|
||||
--with-zlib="${EPREFIX}"/usr \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable clamdtop) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable milter) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with iconv)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav
|
||||
newinitd "${FILESDIR}"/clamd.initd-r6 clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf-r1 clamd
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_dounit "${FILESDIR}/freshclamd.service"
|
||||
|
||||
keepdir /var/lib/clamav
|
||||
fowners clamav:clamav /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fowners clamav:clamav /var/log/clamav
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \
|
||||
-e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/clamd.conf.sample || die
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \
|
||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/freshclam.conf.sample || die
|
||||
|
||||
if use milter ; then
|
||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
||||
# inet: which we want to leave
|
||||
dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \
|
||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
||||
fi
|
||||
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
[[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,}
|
||||
done
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database files"
|
||||
ewarn "before starting clamav for the first time.\n"
|
||||
fi
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
--- a/SConstruct 2014-06-16 19:32:46.274507258 +0200
|
||||
+++ b/SConstruct 2014-06-16 19:34:04.763586829 +0200
|
||||
@@ -813,7 +813,6 @@
|
||||
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
|
||||
env.Append( CCFLAGS=["-fPIC",
|
||||
"-fno-strict-aliasing",
|
||||
- "-ggdb",
|
||||
"-pthread",
|
||||
"-Wall",
|
||||
"-Wsign-compare",
|
||||
@@ -821,13 +820,13 @@
|
||||
"-Winvalid-pch"] )
|
||||
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
|
||||
if linux or darwin:
|
||||
- env.Append( CCFLAGS=["-pipe"] )
|
||||
if not has_option("disable-warnings-as-errors"):
|
||||
env.Append( CCFLAGS=["-Werror"] )
|
||||
|
||||
env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
|
||||
- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
|
||||
env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
|
||||
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
|
||||
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
|
||||
|
||||
# SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
|
||||
# startup.
|
||||
@@ -844,7 +843,7 @@
|
||||
if not darwin:
|
||||
env.Append( LINKFLAGS=["-rdynamic"] )
|
||||
|
||||
- env.Append( LIBS=[] )
|
||||
+ env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] )
|
||||
|
||||
#make scons colorgcc friendly
|
||||
for key in ('HOME', 'TERM'):
|
@ -0,0 +1,166 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.6.2.ebuild,v 1.1 2014/06/17 07:46:55 ultrabug Exp $
|
||||
|
||||
EAPI=5
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit eutils flag-o-matic multilib scons-utils systemd user versionator check-reqs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20140409-mms-monitoring-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kerberos mms-agent ssl static-libs"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo app-arch/unzip )"
|
||||
RDEPEND="
|
||||
app-arch/snappy
|
||||
>=dev-cpp/yaml-cpp-0.5.1
|
||||
>=dev-libs/boost-1.50[threads(+)]
|
||||
>=dev-libs/libpcre-8.30[cxx]
|
||||
dev-libs/snowball-stemmer
|
||||
dev-util/google-perftools[-minimal]
|
||||
net-libs/libpcap
|
||||
ssl? ( >=dev-libs/openssl-1.0.1g )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
|
||||
scons_opts+=" --disable-warnings-as-errors"
|
||||
scons_opts+=" --use-system-boost"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-stemmer"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-yaml"
|
||||
scons_opts+=" --usev8"
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
|
||||
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.6.2-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.4-fix-v8-pythonpath.patch"
|
||||
|
||||
# fix yaml-cpp detection
|
||||
sed -i -e "s/\[\"yaml\"\]/\[\"yaml-cpp\"\]/" SConstruct || die
|
||||
|
||||
# bug #462606
|
||||
sed -i -e "s@\$INSTALL_DIR/lib@\$INSTALL_DIR/$(get_libdir)@g" src/SConscript.client || die
|
||||
|
||||
# bug #482576
|
||||
sed -i -e "/-Werror/d" src/third_party/v8/SConscript || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r2" ${PN}.conf
|
||||
newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
|
||||
insinto /etc
|
||||
newins "${WORKDIR}/${MY_PN}/settings.py" mms-agent.conf
|
||||
rm "${WORKDIR}/${MY_PN}/settings.py"
|
||||
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
dosym /etc/mms-agent.conf ${MY_D}/settings.py
|
||||
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd-r2" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 2.6 ]]; then
|
||||
ewarn "!! IMPORTANT !!"
|
||||
ewarn " "
|
||||
ewarn "${PN} configuration files have changed !"
|
||||
ewarn " "
|
||||
ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/manual/reference/configuration-options/"
|
||||
ewarn " "
|
||||
ewarn "Make sure you also follow the upgrading process :"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/2.6-upgrade/"
|
||||
ewarn " "
|
||||
if use mms-agent; then
|
||||
ewarn "MMS Agent configuration file has been moved to :"
|
||||
ewarn " /etc/mms-agent.conf"
|
||||
fi
|
||||
else
|
||||
if use mms-agent; then
|
||||
elog "Edit your MMS Agent configuration file :"
|
||||
elog " /etc/mms-agent.conf"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 17 Jun 2014 07:37:02 +0000
|
||||
Tue, 17 Jun 2014 09:37:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 17 Jun 2014 07:37:03 +0000
|
||||
Tue, 17 Jun 2014 09:37:02 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst prepare setup
|
||||
DEPEND=bzip2? ( app-arch/bzip2 ) clamdtop? ( sys-libs/ncurses ) iconv? ( virtual/libiconv ) milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) dev-libs/libtommath >=sys-libs/zlib-1.2.2 dev-libs/openssl sys-devel/libtool virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=Clam Anti-Virus Scanner
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.clamav.net/
|
||||
IUSE=bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=bzip2? ( app-arch/bzip2 ) clamdtop? ( sys-libs/ncurses ) iconv? ( virtual/libiconv ) milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) dev-libs/libtommath >=sys-libs/zlib-1.2.2 dev-libs/openssl sys-devel/libtool selinux? ( sec-policy/selinux-clamav )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/clamav/clamav-0.98.4.tar.gz
|
||||
_eclasses_=eutils 025442f2eecab39ad0b4e541b6e142af flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multilib fac675dcccf94392371a6abee62d909f systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 48b38a216afb92db6314d6c3187abea3 user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=43f4a1154f312ee6e6063b7d7fa02e16
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst preinst prepare pretend setup test
|
||||
DEPEND=app-arch/snappy >=dev-cpp/yaml-cpp-0.5.1 >=dev-libs/boost-1.50[threads(+)] >=dev-libs/libpcre-8.30[cxx] dev-libs/snowball-stemmer dev-util/google-perftools[-minimal] net-libs/libpcap ssl? ( >=dev-libs/openssl-1.0.1g ) sys-libs/ncurses sys-libs/readline kerberos? ( dev-libs/cyrus-sasl[kerberos] ) >=dev-util/scons-1.2.0 virtual/pkgconfig
|
||||
DESCRIPTION=A high-performance, open source, schema-free document-oriented database
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.mongodb.org
|
||||
IUSE=kerberos mms-agent ssl static-libs
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=AGPL-3 Apache-2.0
|
||||
PDEPEND=mms-agent? ( dev-python/pymongo app-arch/unzip )
|
||||
RDEPEND=app-arch/snappy >=dev-cpp/yaml-cpp-0.5.1 >=dev-libs/boost-1.50[threads(+)] >=dev-libs/libpcre-8.30[cxx] dev-libs/snowball-stemmer dev-util/google-perftools[-minimal] net-libs/libpcap ssl? ( >=dev-libs/openssl-1.0.1g )
|
||||
SLOT=0
|
||||
SRC_URI=http://downloads.mongodb.org/src/mongodb-src-r2.6.2.tar.gz mms-agent? ( http://dev.gentoo.org/~ultrabug/20140409-mms-monitoring-agent.zip )
|
||||
_eclasses_=check-reqs a7f404bfb16e0a996700c5d3ac4edad3 eutils 025442f2eecab39ad0b4e541b6e142af flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multilib fac675dcccf94392371a6abee62d909f scons-utils 988e24b9e2e4642189b4e97c03e5ae71 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 48b38a216afb92db6314d6c3187abea3 user d0a4d0735a6c0183d707ca919bd72f28 versionator a8a3963967d6140be9a14b08bb8f047f
|
||||
_md5_=352f498dfb8122f25319b6ee5a7f4e2d
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare pretend setup unpack
|
||||
DEPEND=dev-db/sqlite:3= >=dev-libs/glib-2.36:2 >=media-libs/lcms-2.5:2= gusb? ( >=dev-libs/libgusb-0.1.1[introspection?] ) introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) policykit? ( >=sys-auth/polkit-0.103 ) scanner? ( media-gfx/sane-backends ) systemd? ( >=sys-apps/systemd-44:0= ) udev? ( virtual/udev:=[gudev] ) dev-libs/libxslt >=dev-util/gtk-doc-am-1.9 >=dev-util/intltool-0.35 >=sys-devel/gettext-0.17 virtual/pkgconfig extra-print-profiles? ( media-gfx/argyllcms ) vala? ( || ( dev-lang/vala:0.24[vapigen] dev-lang/vala:0.22[vapigen] dev-lang/vala:0.20[vapigen] dev-lang/vala:0.18[vapigen] ) ) app-arch/xz-utils >=sys-apps/sed-4 virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=System service to accurately color manage input and output devices
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.freedesktop.org/software/colord/
|
||||
IUSE=examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=dev-db/sqlite:3= >=dev-libs/glib-2.36:2 >=media-libs/lcms-2.5:2= gusb? ( >=dev-libs/libgusb-0.1.1[introspection?] ) introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) policykit? ( >=sys-auth/polkit-0.103 ) scanner? ( media-gfx/sane-backends ) systemd? ( >=sys-apps/systemd-44:0= ) udev? ( virtual/udev:=[gudev] ) !media-gfx/shared-color-profiles
|
||||
REQUIRED_USE=gusb? ( udev ) scanner? ( udev ) vala? ( introspection )
|
||||
RESTRICT=test
|
||||
SLOT=0/2
|
||||
SRC_URI=http://www.freedesktop.org/software/colord/releases/colord-1.2.1.tar.xz
|
||||
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e check-reqs a7f404bfb16e0a996700c5d3ac4edad3 eutils 025442f2eecab39ad0b4e541b6e142af fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 9637c29fc715b17a6328f24251129557 gnome2-utils f658eba3cc594a21cf6eef4af47daa90 libtool 2964b38e7ad7f6998406386ad1c6dbcf multilib fac675dcccf94392371a6abee62d909f systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 48b38a216afb92db6314d6c3187abea3 udev a9a8d051efb42bfe884c1db82ce161de user d0a4d0735a6c0183d707ca919bd72f28 vala d8f392783fdc2395fc64af046f2ca961 versionator a8a3963967d6140be9a14b08bb8f047f
|
||||
_md5_=b0b520c8c5b37cc0e12a030971f3a3fc
|
@ -1 +1 @@
|
||||
Tue, 17 Jun 2014 07:37:05 +0000
|
||||
Tue, 17 Jun 2014 09:37:04 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Jun 17 07:37:02 UTC 2014
|
||||
Tue Jun 17 09:37:01 UTC 2014
|
||||
|
@ -1 +1 @@
|
||||
Tue, 17 Jun 2014 08:00:01 +0000
|
||||
Tue, 17 Jun 2014 10:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1402990501 Tue 17 Jun 2014 07:35:01 AM UTC UTC
|
||||
1402997702 Tue 17 Jun 2014 09:35:02 AM UTC UTC
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST colord-1.0.3.tar.xz 1082868 SHA256 b4292ad5640135a2a1b773bffe0d94bc83abccc72c7fc8cf6407e7e7b25286d7 SHA512 9f187897411a67760738817414be028e4b188e102d3cd5a11c2082b92bb8b45b5875d3c385a9bdc954853406e431dafc0d7f8af184656ad934e3e7f650f9aa2e WHIRLPOOL dcee5d0bd63bee191bc9cc384f3fc0979009ee765a3c5bb8e1c1e43bc763ef8a55dc9eb6248e91b9f5d2857aa0db1aa3cd0f59bf38e76671ffd60c3ef32b3fc1
|
||||
DIST colord-1.2.0.tar.xz 1155920 SHA256 decbad07f7dbdebabe552f3280582008511f46201b47e0a91ea266d54072155e SHA512 8a486d7caa711ac7ac306f6acef66968245c97a01ae903dc753295d8ef385954dca67d6fd850c68a80430742a291ddc64daca2ce136f598b4a6b3baaae7d8c4c WHIRLPOOL a1e80dbc131bfb96258231c4a479d31f42496a2b9f59220fc3bde5c77743f45b65083006bcbc10f594d8ee47a262a724af87abbf31e17c2cd68b22510fe0b5b1
|
||||
DIST colord-1.2.1.tar.xz 1164544 SHA256 2db8c7002f7c859dce71a988de7c39f8370a6ab99a62b1037488208b43829bea SHA512 a0f6756f1f30a671ab723286cab445394c90013c5da6689786d91e28b6b272fa3cbb6afccf55af3b643890092187fc9ef0500a469ece8c16f7afc1b2b018ca03 WHIRLPOOL c3e00b89f4b8b720f2997e3b530b7b2db932c1cbeba98ce453c48e84f9768cade09f73a7fe9a8b1dbef0ed3f35362b652a535b09846b8b1eef53985e05467e5e
|
||||
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-1.2.1.ebuild,v 1.1 2014/06/17 08:32:56 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
|
||||
inherit bash-completion-r1 check-reqs eutils gnome2 user systemd udev vala
|
||||
|
||||
DESCRIPTION="System service to accurately color manage input and output devices"
|
||||
HOMEPAGE="http://www.freedesktop.org/software/colord/"
|
||||
SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/2" # subslot = libcolord soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
# We prefer policykit enabled by default, bug #448058
|
||||
IUSE="examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala"
|
||||
REQUIRED_USE="
|
||||
gusb? ( udev )
|
||||
scanner? ( udev )
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-db/sqlite:3=
|
||||
>=dev-libs/glib-2.36:2
|
||||
>=media-libs/lcms-2.5:2=
|
||||
gusb? ( >=dev-libs/libgusb-0.1.1[introspection?] )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
|
||||
policykit? ( >=sys-auth/polkit-0.103 )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
systemd? ( >=sys-apps/systemd-44:0= )
|
||||
udev? ( virtual/udev:=[gudev] )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!media-gfx/shared-color-profiles
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/gtk-doc-am-1.9
|
||||
>=dev-util/intltool-0.35
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
extra-print-profiles? ( media-gfx/argyllcms )
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
# FIXME: needs pre-installed dbus service files
|
||||
RESTRICT="test"
|
||||
|
||||
# According to upstream comment in colord.spec.in, building the extra print
|
||||
# profiles requires >=4G of memory
|
||||
CHECKREQS_MEMORY="4G"
|
||||
|
||||
pkg_pretend() {
|
||||
use extra-print-profiles && check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use extra-print-profiles && check-reqs_pkg_setup
|
||||
enewgroup colord
|
||||
enewuser colord -1 -1 /var/lib/colord colord
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Reverse tools require gusb
|
||||
# bash-completion test does not work on gentoo
|
||||
gnome2_src_configure \
|
||||
--disable-bash-completion \
|
||||
--disable-examples \
|
||||
--disable-static \
|
||||
--enable-libcolordcompat \
|
||||
--with-daemon-user=colord \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
$(use_enable extra-print-profiles print-profiles) \
|
||||
$(usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "") \
|
||||
$(use_enable gusb) \
|
||||
$(use_enable gusb reverse) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable policykit polkit) \
|
||||
$(use_enable scanner sane) \
|
||||
$(use_enable systemd systemd-login) \
|
||||
$(use_enable udev) \
|
||||
--with-udevrulesdir="$(udev_get_udevdir)"/rules.d \
|
||||
$(use_enable vala) \
|
||||
"$(systemd_with_unitdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README.md TODO"
|
||||
gnome2_src_install
|
||||
|
||||
newbashcomp data/colormgr colormgr
|
||||
rm -vr "${ED}etc/bash_completion.d"
|
||||
|
||||
# Ensure config and profile directories exist and /var/lib/colord/*
|
||||
# is writable by colord user
|
||||
keepdir /var/lib/color{,d}/icc
|
||||
fowners colord:colord /var/lib/colord{,/icc}
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue