parent
467dac8d04
commit
36ee727e31
@ -1,5 +1,2 @@
|
||||
DIST eselect-php-0.6.2.bz2 1454 SHA256 c4eecb73aaf50538a8eaf8afb0d52b3666b45ef19e5f26f7998682bac56566c4 SHA512 cb2639ddf97c77336195db57a9a5021200693ee4f1382d7ed6cda22a27f5b0f76be88abf376e13245a72223c12065d019e0537494f934f9cbe40e0fdcbfe2b22 WHIRLPOOL 523f3a0c30705599ee91c5ce0a691c140226a18c0a1ba73df4a0f9835a92644748a0f0ed73f1ea101de65cf270947f054a8feeb3c36609f644f8682d611aaa11
|
||||
DIST eselect-php-0.6.4.bz2 1533 SHA256 6481f82c89ffe15ede967ffa8b895496ad23ac638931ee58108e91a4badbeef1 SHA512 aaea307e3e3f8e85a92847b2ef4ce2f7ccacd18219d34c6b3c3af974741e72174134db4debce334bd44f342b56dc443a4692273881afb228af0b75b13b34f712 WHIRLPOOL 25da6ba132f0ed6cccc5c24371ba4a8949ea607b30b5e965353884474a1b0e1550601469af3411794d33dd99c443e0918905f86593d9d60ceded73583be46286
|
||||
DIST eselect-php-0.6.6.bz2 1837 SHA256 7324d92086dad38942dfc053f2775af6f41f3e2f9d19472a7569e4f58aae0f86 SHA512 ba7cc1fc4183a401e2d344348f6a624f0fe947200c0ff69f9ac948b6ff56fa476a3beb9b4cc19f70ec15c4856897a9cf69c7b69d1909321287c071171c59009f WHIRLPOOL dde3be270f42775feec923c5094da68d897c961498a4c94de825954809eeb390ef2766e0e8c910560c9db4289a0144830c6ba401608b2d9536e8bd0b30418243
|
||||
DIST eselect-php-0.6.7.bz2 1840 SHA256 59cd22ee84c7754bcb416d841302e13d0367bc4d282bd3174590165070c473fa SHA512 4a37f031a20967c2d32972647b3594ec8239e55909cb2e131d63b6421665b003d6d6a512b0ed33c36a51e431cf6bc40061bb003fc8a79801799396835816b511 WHIRLPOOL efa64529bd24a3f565c084c3108a7093fa973f974a66697ff71acf7e3f97915d0918ead7e4ea5f071d845c3784edc1f97ed3225c0ad94486393b6abe24c4532a
|
||||
DIST eselect-php-0.7.0.bz2 2252 SHA256 386abbab747e617e18a39d359c816ccd94cdf8048ea51e6e185370be157f0194 SHA512 be36e23bb7940b013941da9d0e73e29184cc55a929c1c59b81ae265203dceed9b040950925eafa723adc041afe6cf841e54f3db0e3d76627e974f075f4528e9e WHIRLPOOL ca7f5507ce37ce8d9b9560797836e6a8610a8a9f61a125858b38a78e7418356a2b9787d92cf09ef13196f379b548710b2ea23b3333aba7e499dd685c0110ab86
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-php/eselect-php-0.6.4.ebuild,v 1.1 2011/02/28 12:34:04 olemarkus Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="http://www.gentoo.org"
|
||||
SRC_URI="http://olemarkus.org/~olemarkus/gentoo/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4
|
||||
!app-admin/php-toolkit"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-php/eselect-php-0.6.6.ebuild,v 1.4 2012/05/29 16:54:30 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="http://www.gentoo.org"
|
||||
SRC_URI="http://olemarkus.org/~olemarkus/gentoo/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4
|
||||
!app-admin/php-toolkit"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-php/eselect-php-0.6.7.ebuild,v 1.5 2012/09/12 03:04:01 ottxor Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="http://www.gentoo.org"
|
||||
SRC_URI="http://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST salt-0.11.0.tar.gz 846339 SHA256 d5ecc48ff6c9a81686db59921e1b24e1c876f889214e7865f95d646ab572a3de SHA512 53c8ef06b2387b5cceb661c2b4805f6cfe84e888668169eec035f1d9edbe8587d2ff9b079e2545ae3d01ffdcf35243ca27fdebef926c830a54c5ca5567f640a4 WHIRLPOOL 5363855ac0921e0316c5435f379cc4fa0e7414e479dd7e550e44e472a61e47d9edd9100556633b6ffea13d857e46210f6cfee6c6b6c89f545b33be8a982167a7
|
||||
DIST salt-0.12.0.tar.gz 943176 SHA256 854ab304c111f114b3a3c0089423cd2e022afdef43d4cd74b5b1a0016c3f64c5 SHA512 86f910e1d2b6f4fabb277de9b72a03ccaa7415915b313d38a3e0c493f982c9bf711a35409518759aab61122becf47f3a78833f83788f499aca587c5335d3191a WHIRLPOOL fd81d26f6e83997e9e1e0cab601b7b4474b11865a173ed31a1ee3d8fedd789b920c68251031f24e7988f0d8e7053e429e066a9930964b3ae696b0ef2ea75b682
|
||||
DIST salt-0.12.1.tar.gz 940994 SHA256 54ef4c4ce4c002a94e3f5f530f3115d09a1e8f28a3a11c18db5c7f70d5eeba23 SHA512 3b77472d131641df2ad228c424b3f445ecf6e5f91f44f5f928a1e375ad1a97811856bef4f181e14ccd4ff70a4e3f37175b260969317d471bf6853549aa21fb97 WHIRLPOOL 24d6dac1af88f9e9577fc0088557a65f1a49801042d115849e921098ce9163dd9c02becc41371039ad60e4631d19253e3051603b1c9b05f604c1d0fa917dfef4
|
||||
DIST salt-0.13.1.tar.gz 1016399 SHA256 944caedffef0d3d4ecdb34e3cf32749e32cdddf5b78fee759f43f63a3fd0430c SHA512 7fc4e63683f25b323e9717fe71e5bf397c60484f0cc65dec9f8a1a0b2f978d231a7a4f847abd523a5406d7afc80a7e38525fe480feeced28b6ed753c84931e4d WHIRLPOOL 21e590bb0f0ccaadeb27fbbeadb6029e68d1b62849e11c0dbc5b128d5339f2c50b924f2c61ee466126cf0cb295bbdcb79067ade0939710f233a644e561f65893
|
||||
DIST salt-0.14.0.tar.gz 3343825 SHA256 219b3b1a81407ba107a22754753ef882369df697da5b0ac74cfbbf67a702c664 SHA512 b59d211ee5693338d0a2d3026618ee9a35314f8ea86dfde9344d505e0b9a4d60385dea01e8f38fd5fff77fa6d1615fcd2c85064185b9e60302a03b3e184107e3 WHIRLPOOL d487c799f0f98518986b30bd6e02502227ea036bfe4ae78a1dd933fe80742f8992991b8ed84ec89bb62db9dca412e865866459509a439d421531eebbbf7d7687
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.12.0.ebuild,v 1.1 2013/01/16 21:57:44 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7})
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager."
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="ldap libvirt mongodb mysql openssl redis test"
|
||||
|
||||
RDEPEND=">=dev-python/pyzmq-2.1.9
|
||||
dev-python/msgpack
|
||||
dev-python/pyyaml
|
||||
dev-python/m2crypto
|
||||
dev-python/pycrypto
|
||||
dev-python/pycryptopp
|
||||
dev-python/jinja
|
||||
ldap? ( dev-python/python-ldap )
|
||||
openssl? ( dev-python/pyopenssl )
|
||||
libvirt? ( app-emulation/libvirt[python] )
|
||||
mongodb? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysql-python )
|
||||
redis? ( dev-python/redis-py )"
|
||||
DEPEND="test? (
|
||||
dev-python/virtualenv
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/install_requires=/ d' setup.py || die "sed failed"
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
for s in minion master syndic; do
|
||||
newinitd "${FILESDIR}"/${s}-initd-1 salt-${s}
|
||||
newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
|
||||
done
|
||||
|
||||
dodoc README.rst AUTHORS
|
||||
}
|
||||
|
||||
python_test() {
|
||||
SHELL="/bin/bash" ./tests/runtests.py --unit-tests --no-report || die
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.12.1.ebuild,v 1.1 2013/01/22 21:51:46 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7})
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager."
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="ldap libvirt mongodb mysql openssl redis test"
|
||||
|
||||
RDEPEND=">=dev-python/pyzmq-2.1.9
|
||||
dev-python/msgpack
|
||||
dev-python/pyyaml
|
||||
dev-python/m2crypto
|
||||
dev-python/pycrypto
|
||||
dev-python/pycryptopp
|
||||
dev-python/jinja
|
||||
ldap? ( dev-python/python-ldap )
|
||||
openssl? ( dev-python/pyopenssl )
|
||||
libvirt? ( app-emulation/libvirt[python] )
|
||||
mongodb? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysql-python )
|
||||
redis? ( dev-python/redis-py )"
|
||||
DEPEND="test? (
|
||||
dev-python/virtualenv
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/install_requires=/ d' setup.py || die "sed failed"
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
for s in minion master syndic; do
|
||||
newinitd "${FILESDIR}"/${s}-initd-1 salt-${s}
|
||||
newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
|
||||
done
|
||||
|
||||
dodoc README.rst AUTHORS
|
||||
}
|
||||
|
||||
python_test() {
|
||||
SHELL="/bin/bash" ./tests/runtests.py --unit-tests --no-report || die
|
||||
}
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.7-r1.ebuild,v 1.1 2013/03/25 14:34:52 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic user
|
||||
|
||||
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
|
||||
sys-devel/libtool"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.97-nls.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup clamav
|
||||
enewuser clamav -1 -1 /dev/null clamav
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use ppc64 && append-flags -mminimal-toic
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-experimental \
|
||||
--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-r4 clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf clamd
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
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
|
||||
cat > "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,121 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.initd-r4,v 1.1 2013/03/25 14:34:52 eras Exp $
|
||||
|
||||
daemon_clamd="/usr/sbin/clamd"
|
||||
daemon_freshclam="/usr/bin/freshclam"
|
||||
daemon_milter="/usr/sbin/clamav-milter"
|
||||
|
||||
extra_commands="logfix"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
provide antivirus
|
||||
}
|
||||
|
||||
get_config() {
|
||||
clamconf | sed 's/["=]//g' | \
|
||||
awk "{
|
||||
if(\$0==\"Config file: $1.conf\") S=1
|
||||
if(S==1&&\$0==\"\") {
|
||||
print \"$3\"
|
||||
exit
|
||||
}
|
||||
if(S==1&&\$1~\"^$2\$\") {
|
||||
print \$2!=\"disabled\"?\$2:\"$3\"
|
||||
exit
|
||||
}
|
||||
}"
|
||||
}
|
||||
|
||||
start() {
|
||||
logfix
|
||||
|
||||
if [ "${START_CLAMD}" = "yes" ]; then
|
||||
checkpath --quiet --mode 755 \
|
||||
--owner "${clamd_user}":"${clamd_user}" \
|
||||
--directory `dirname ${clamd_socket}`
|
||||
if [ -S "${clamd_socket}" ]; then
|
||||
rm -f ${clamd_socket}
|
||||
fi
|
||||
ebegin "Starting clamd"
|
||||
start-stop-daemon --start --quiet \
|
||||
--nicelevel ${CLAMD_NICELEVEL:-0} \
|
||||
--exec ${daemon_clamd}
|
||||
eend $? "Failed to start clamd"
|
||||
fi
|
||||
|
||||
if [ "${START_FRESHCLAM}" = "yes" ]; then
|
||||
ebegin "Starting freshclam"
|
||||
start-stop-daemon --start --quiet \
|
||||
--nicelevel ${FRESHCLAM_NICELEVEL:-0} \
|
||||
--exec ${daemon_freshclam} -- -d
|
||||
retcode=$?
|
||||
if [ ${retcode} = 1 ]; then
|
||||
eend 0
|
||||
einfo "Virus databases are already up to date."
|
||||
else
|
||||
eend ${retcode} "Failed to start freshclam"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${START_MILTER}" = "yes" ]; then
|
||||
if [ -z "${MILTER_CONF_FILE}" ]; then
|
||||
MILTER_CONF_FILE="/etc/clamav-milter.conf"
|
||||
fi
|
||||
|
||||
ebegin "Starting clamav-milter"
|
||||
start-stop-daemon --start --quiet \
|
||||
--nicelevel ${MILTER_NICELEVEL:-0} \
|
||||
--exec ${daemon_milter} -- -c ${MILTER_CONF_FILE}
|
||||
eend $? "Failed to start clamav-milter"
|
||||
fi
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [ "${START_CLAMD}" = "yes" ]; then
|
||||
ebegin "Stopping clamd"
|
||||
start-stop-daemon --stop --quiet --name clamd
|
||||
eend $? "Failed to stop clamd"
|
||||
fi
|
||||
if [ "${START_FRESHCLAM}" = "yes" ]; then
|
||||
ebegin "Stopping freshclam"
|
||||
start-stop-daemon --stop --quiet --name freshclam
|
||||
eend $? "Failed to stop freshclam"
|
||||
fi
|
||||
if [ "${START_MILTER}" = "yes" ]; then
|
||||
ebegin "Stopping clamav-milter"
|
||||
start-stop-daemon --stop --quiet --name clamav-milter
|
||||
eend $? "Failed to stop clamav-milter"
|
||||
fi
|
||||
}
|
||||
|
||||
logfix() {
|
||||
clamd_socket=$(get_config clamd LocalSocket /var/run/clamav/clamd.sock)
|
||||
clamd_user=$(get_config clamd User clamav)
|
||||
freshclam_user=$(get_config freshclam DatabaseOwner clamav)
|
||||
if [ "${START_CLAMD}" = "yes" ]; then
|
||||
# fix clamd log permissions
|
||||
# (might be clobbered by logrotate or something)
|
||||
local logfile=$(get_config clamd LogFile)
|
||||
if [ -n "${logfile}" ]; then
|
||||
checkpath --quiet \
|
||||
--owner "${clamd_user}":"${clamd_user}" \
|
||||
--mode 640 \
|
||||
--file ${logfile}
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${START_FRESHCLAM}" = "yes" ]; then
|
||||
# fix freshclam log permissions
|
||||
# (might be clobbered by logrotate or something)
|
||||
local logfile=$(get_config freshclam UpdateLogFile)
|
||||
if [ -n "${logfile}" ]; then
|
||||
checkpath --quiet \
|
||||
--owner "${freshclam_user}":"${freshclam_user}" \
|
||||
--mode 640 \
|
||||
--file ${logfile}
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
--- libpar2-0.2/par2repairer.cpp
|
||||
+++ libpar2-0.2/par2repairer.cpp
|
||||
@@ -78,6 +78,7 @@
|
||||
|
||||
delete mainpacket;
|
||||
delete creatorpacket;
|
||||
+ delete headers;
|
||||
}
|
||||
|
||||
|
||||
@@ -1261,7 +1262,7 @@
|
||||
DiskFile::SplitFilename(filename, path, name);
|
||||
|
||||
cout << "Target: \"" << name << "\" - missing." << endl;
|
||||
- sig_done.emit(name, 0, sourcefile->GetVerificationPacket()->BlockCount());
|
||||
+ sig_done.emit(name, 0, sourcefile->GetVerificationPacket() ? sourcefile->GetVerificationPacket()->BlockCount() : 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1804,7 +1805,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
- sig_done.emit(name,count,sourcefile->GetVerificationPacket()->BlockCount());
|
||||
+ sig_done.emit(name,count, sourcefile->GetVerificationPacket() ? sourcefile->GetVerificationPacket()->BlockCount() : 0);
|
||||
sig_progress.emit(1000.0);
|
||||
return true;
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/libpar2/libpar2-0.2-r1.ebuild,v 1.6 2012/09/30 18:23:58 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit base
|
||||
|
||||
DESCRIPTION="A library for par2, extracted from par2cmdline"
|
||||
HOMEPAGE="http://parchive.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/parchive/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libsigc++:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/libpar2-0.2-bugfixes.patch" )
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/libpar2/libpar2-0.2-r3.ebuild,v 1.7 2012/09/30 18:23:58 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A library for par2, extracted from par2cmdline"
|
||||
HOMEPAGE="http://parchive.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/parchive/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/libsigc++:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-bugfixes.patch )
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
# Needed to install all headers properly (bug #391815)
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
@ -1 +1,2 @@
|
||||
DIST ltp-20120903.tar.bz2 3964698 SHA256 41d2f4cd88619aa7b5cdad93cb7691b69166f7751bc9f2f72558937cbef581c2 SHA512 2c24327c9311944d1334d81f995ca889909a8f039d5d577a3b43a05b7e6d437491e340f21aa2767ae8dd5c3739de9f5dfbdf7720dceea4d0a9b1997b28652c78 WHIRLPOOL 33187777de385b5d961bac6032538e5e98802e37fc5832cc1b96e66f02ac02fb1ec5fd930290df35f213cd86252b1e511732c4e7b7423d3c78df9c4fd48be6a6
|
||||
DIST ltp-20130109.tar.bz2 3816172 SHA256 471b21f1d6f952957f534cd0c5ee5bcbbf50b9fcb83519b0293be141e6f2338d SHA512 40d87824e1205c1ea9e6ca03925a18d0a61724dfba275a9df66bb2ab0b11f74ddce1ea37110ae188d3e564ef01e494e3f8775e96d64930452824f4fdc275d980 WHIRLPOOL 0336c03631e0ac45fb28706578a8f396f0b7eb7f0774445fa39ebb8be520290bc9dad8d8b297762eb2517c6fcbd295d2b5f7d242a45af936b5631745391c3c14
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20130109.ebuild,v 1.1 2013/03/25 20:51:50 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils readme.gentoo
|
||||
|
||||
MY_PN="${PN}-full"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A testsuite for the linux kernel"
|
||||
HOMEPAGE="http://ltp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/ltp/LTP%20Source/${P}/${MY_P}.bz2 -> ${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="expect perl pm open-posix python rt"
|
||||
|
||||
DEPEND="expect? ( dev-tcltk/expect )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( dev-lang/python )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
# Don't create groups
|
||||
export CREATE=0
|
||||
|
||||
DOC_CONTENTS="LTP requires root access to run the tests.
|
||||
The LTP root directory is located in /opt/${PN}.
|
||||
For more information please read the ltp-howto located in
|
||||
/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# regenerate
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME: improve me
|
||||
local myconf=
|
||||
use open-posix && myconf+="--with open-posix-testsuite "
|
||||
use pm && mytconf+="--with-power-management-testsuite "
|
||||
use rt && myconf+="--with-realtime-testsuite "
|
||||
use perl && myconf+="--with-perl "
|
||||
use python && myconf+="--with-python "
|
||||
use expect && myconf+="--with-expect "
|
||||
|
||||
# Better put it into /opt/${PN} as everything needs to
|
||||
# be under the same directory..
|
||||
|
||||
econf --prefix=/opt/${PN} ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Posix testsuite does not seem to build with -j>1
|
||||
# Is this maintained anymore?
|
||||
if use open-posix; then
|
||||
export MAKEOPTS="-j1"
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dosym /usr/libexec/${PN}/runltp /usr/bin/runltp
|
||||
# install docs
|
||||
dodoc doc/MaintNotes
|
||||
for txt in doc/*.txt; do
|
||||
dodoc ${txt}
|
||||
done
|
||||
dodoc -r doc/examples doc/testcases
|
||||
dohtml -r doc/automation-*.html
|
||||
doman doc/man1/*.1
|
||||
doman doc/man3/*.3
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST appliance-1.20.0.tar.xz 53676256 SHA256 2ce9950c303b4e01b8d9d9e46248b4256a2a290dd44cc6c593cb1029a05272e8 SHA512 f4dcf6b33e2fe8620e343fd29e1b7340700fc8c654a4b2c4fbf122e6d5775a613b542d08f81aae750f973e593764da57cb3da331ae1922aea992392a2c404252 WHIRLPOOL 10a0685a98246b2701c17cae44e37ef7a6d6154489e62b634e00986b5380f72132d8be059cd516330f86478fffb38855b9792321fefd3e8fb9554c0806428314
|
@ -0,0 +1 @@
|
||||
LIBGUESTFS_PATH=/usr/share/guestfs/appliance/
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs-appliance/libguestfs-appliance-1.20.0.ebuild,v 1.1 2013/03/25 12:06:45 maksbotan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
CHECKREQS_DISK_USR=5G
|
||||
CHECKREQS_DISK_BUILD=5G
|
||||
|
||||
inherit check-reqs
|
||||
|
||||
DESCRIPTION="VM applance disk image used in libguestfs package"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r appliance/
|
||||
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please run:"
|
||||
elog " env-update && source /etc/profile"
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>andreis.vinogradovs@gmail.com</email>
|
||||
<name>Andreis Vinogradovs</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>maksbotan@gentoo.org</email>
|
||||
<name>Maxim Koltsov</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>rich@annexia.org</email>
|
||||
<name>Richard Jones</name>
|
||||
<description>Upstream - please CC on bugs that concerns upstream</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,6 +1,3 @@
|
||||
DIST appliance-1.17.14.tar.xz 46644196 SHA256 7cf81ef8a31d5d9ce6c8b1b601a8bf83cbd5521a397879fb7d1c55814b8b9be3 SHA512 d6ef9cecde12c4cc5d5744d99e75069f6aa2e6c1c7cd50e03ce81b8c77cf7b92a91d2dc94350e077510b94f9f11c985e1f78bdc15af4f1178534a74296e7cdf3 WHIRLPOOL 2d3b635eb55ad0b63d13c282d58f3a6f4b499c1cd1dc08260c77a21cd2ee298dffc4c36d8b4d05c73c2cc91dd93fde6232642c09731d174447cf069c0f3fff82
|
||||
DIST appliance-1.18.5.tar.xz 46800644 SHA256 b281df1ba5a91c75979a3d4fb919bb39c0cdbfd390811f49669252dc5abb61da SHA512 4603ac8ae8bff8d9fec5b79368577c443af05b040ebc4fce66f3944fe0632d53440f29582cbc08f66070bd062559ed3fa9d3dce85bf6002d63a3872bfe3e121e WHIRLPOOL 222784ac1dcf51aaf5185896d49bd4476a9cb4cbe10fc712a05055ac37941daae0b5b7085a3cd96aeb3241bf8006198029083641cc7cd9527be790e20ddfa6f9
|
||||
DIST appliance-1.18.9.tar.xz 48228180 SHA256 eaf56515673218e3fda20dd7a4dd5cfc102d1b4196f408876716a64c9e12cc3b SHA512 50d348430e533982078672ab31d026f8e12922ed4476ecc6c45061faa4ea47426de762b2e783b654790ec1eb4934d0444dfc639fb7644b5e131db461e2266929 WHIRLPOOL 5f771455c56d071025d99a7351e7ec10928f3afad9c8a29e60e06a96e12682c5a3b512a997bd112e8989f7ca5225403baee9ae7c5551dfa11001d95ca6108b99
|
||||
DIST libguestfs-1.16.25.tar.gz 6632470 SHA256 7811d27afbf645d1e34e5e60fc23eab2695532a256116a2bda6e0cfdf3661e0e SHA512 cb5963e9d10c9fe28c1a5b1ef41351faa5659ff05337cbe930aaf2d6adbbab64cfec5cfe8e742e781f6ae82bce072a44173cd5b32bb47f85928514bde9d4b958 WHIRLPOOL 6115031a8b075e43cecae9b7ae76e14e7a909525c84a5dad7fb557a46515efff0389280a6098b535c53edcfabac2fbd4cd1c7af2d727de101d2d58a4220ad664
|
||||
DIST libguestfs-1.18.10.tar.gz 7684383 SHA256 091c7b81aeae0eb243ff1ee7e3c5d5655532787e860de015dd408f5ca57dbc4e SHA512 c86dfc35ca88f197cf29c0be5786a29278ae1b3b12d1d37d0eddcc56333e487d036ee09dc5a3953b63feb7c116f3029d5919ffd514a96782c05186fff8364713 WHIRLPOOL d71ac65f3ff5b425fafe085b66f48c43ff247a57bb1e8de9b890f242f888e77ca3becdc88e69a7823f45aa395b6f2a5beaae2e20872387f524fd6f098ab6dc7c
|
||||
DIST libguestfs-1.18.9.tar.gz 7808189 SHA256 adb88b3fabb700129f02676d828c335e2098464ccd370d802a6a44d7243a2d53 SHA512 7b2ffdd4115bc42caac3858c5682eae87592e9b4a615f4564a446ec08aec62db332ed956d0582d684ba6e9253f5482ab54da2f58775adefda62ebc0d90ceee5a WHIRLPOOL ecd71090498e19e4c3d80565bcfaac7a6b75c2fc244a25cfddd96d4bf70aad8887fdb7aa9b78a45b6d4e91f49b20a80e9ef4d4beb897c077d9032f2cbda0a07f
|
||||
DIST libguestfs-1.16.34.tar.gz 6951548 SHA256 79fdc0a5e169a90e7ab044a0d2d9585b9875ab0e105bd750aa444eae147cd3ce SHA512 1d709490189afaf841e918fdbc2aef1cc8213e5af8f2a21e8a48f37dcb94982ebe59ab7aab31f3170297d751f8c33f46b458788f89b366a577c1f0330469eb41 WHIRLPOOL c72ebbacbbee66ecacec98ed12b6a78069cb47b34da494801e8abf4732ff142dbf1c1f48d25fadea740aa988dc1bd82cf526b6b590f47b8cc275a17fe732f78f
|
||||
DIST libguestfs-1.18.11.tar.gz 8008490 SHA256 5292697b503abade4146f91f8a6e7cd00ed6d5ce6c5d6cf50efee181dfb7d0eb SHA512 2d3f59d547bf76a08ac2578eccd9ffc00b3accdd3bf42ebf8724a5a16bb76f0c8a5d629ccd7f86e5e1b847234664464a19a253edc41b6daebf08723744858f79 WHIRLPOOL cb9318a13ccca732a7a5dc9919e5863efb360e8c193340a9840fa27d67613eae627d23f62ade2214f4ba8cb01be9f04fcf15edbac5346aef0e9dd64cd8ccccde
|
||||
DIST libguestfs-1.20.4.tar.gz 9534467 SHA256 86e07ecf80e603c2642c3cf7f6011d02ff91a204d2562a1037861ab05f1cc209 SHA512 ea0076a0f71b3b3933b5bf1ca40d95867d538fdf6a319f8f393ca167a15230670d6152f5e5f641b78bc340bcbd124c128ecef1a6cb2c7cdf70d8c3c2cfc3abd9 WHIRLPOOL 9d89dfb08702684464a43b6f9851ad3ee651ad02d504c93f71d59f4e3d1d5ecec8a3575bf618fe02c33ba78e070d9fee83827853b306ea9bf272a7a33001cbed
|
||||
|
@ -0,0 +1,15 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -482,6 +482,11 @@
|
||||
DISTRO=UBUNTU
|
||||
fi
|
||||
fi
|
||||
+
|
||||
+if test -f /etc/gentoo-release; then
|
||||
+ DISTRO=GENTOO
|
||||
+fi
|
||||
+
|
||||
if test -f /etc/arch-release; then
|
||||
DISTRO=ARCHLINUX
|
||||
fi
|
@ -0,0 +1,16 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1487,8 +1487,10 @@
|
||||
|
||||
dnl Replace libtool with a wrapper that clobbers dependency_libs in *.la files
|
||||
dnl http://lists.fedoraproject.org/pipermail/devel/2010-November/146343.html
|
||||
-LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool'
|
||||
-AC_SUBST([LIBTOOL])
|
||||
+dnl LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool'
|
||||
+dnl AC_SUBST([LIBTOOL])
|
||||
+LT_INIT
|
||||
+
|
||||
|
||||
dnl Produce output files.
|
||||
AC_CONFIG_HEADERS([config.h])
|
@ -0,0 +1,33 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -521,7 +521,7 @@
|
||||
dnl Check for functions not available in earlier versions of Augeas.
|
||||
AC_CHECK_FUNCS([aug_load aug_defvar aug_defnode])
|
||||
LIBS="$old_LIBS"
|
||||
-],[AC_MSG_WARN([augeas not found, some core features will be disabled])])
|
||||
+],[AC_MSG_ERROR([augeas not found, some core features will be disabled])])
|
||||
|
||||
dnl Check for libselinux (optional).
|
||||
AC_CHECK_HEADERS([selinux/selinux.h])
|
||||
@@ -594,11 +594,19 @@
|
||||
|
||||
dnl Check for optional xmllint.
|
||||
AC_CHECK_PROG([XMLLINT],[xmllint],[xmllint],[no])
|
||||
+AS_IF([test "xXMLLINT" = "xno"], [AC_MSG_ERROR([xmllint not installed])],[])
|
||||
+
|
||||
AM_CONDITIONAL([HAVE_XMLLINT],[test "x$XMLLINT" != "xno"])
|
||||
|
||||
dnl po4a for translating man pages and POD files (optional).
|
||||
AC_CHECK_PROG([PO4A],[po4a],[po4a],[no])
|
||||
-AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"])
|
||||
+
|
||||
+AC_ARG_ENABLE([doc],
|
||||
+ AS_HELP_STRING([--enable-doc], [Enable generation translating man pages and doc]),
|
||||
+ [enable_doc=no],
|
||||
+ [enable_doc=yes])
|
||||
+AS_IF([test "xPO4A" = "xno"], [AC_MSG_WARN([po4a not installed])],[])
|
||||
+AM_CONDITIONAL([HAVE_PO4A],[test "x$PO4A" != "xno" && test "x$enable_doc" != "xno"])
|
||||
|
||||
dnl Check for db_dump, db_load (optional).
|
||||
AC_CHECK_PROGS([DB_DUMP],
|
@ -0,0 +1,57 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -621,28 +621,36 @@
|
||||
fi
|
||||
|
||||
dnl Check for netpbm programs (optional).
|
||||
-AC_CHECK_PROGS([PBMTEXT],[pbmtext],[no])
|
||||
-AC_CHECK_PROGS([PNMTOPNG],[pnmtopng],[no])
|
||||
-AC_CHECK_PROGS([BMPTOPNM],[bmptopnm],[no])
|
||||
-AC_CHECK_PROGS([PAMCUT],[pamcut],[no])
|
||||
-if test "x$PBMTEXT" != "xno"; then
|
||||
- AC_DEFINE_UNQUOTED([PBMTEXT],["$PBMTEXT"],[Name of pbmtext program.])
|
||||
-fi
|
||||
-if test "x$PNMTOPNG" != "xno"; then
|
||||
- AC_DEFINE_UNQUOTED([PNMTOPNG],["$PNMTOPNG"],[Name of pnmtopng program.])
|
||||
-fi
|
||||
-if test "x$BMPTOPNM" != "xno"; then
|
||||
- AC_DEFINE_UNQUOTED([BMPTOPNM],["$BMPTOPNM"],[Name of bmptopnm program.])
|
||||
-fi
|
||||
-if test "x$PAMCUT" != "xno"; then
|
||||
- AC_DEFINE_UNQUOTED([PAMCUT],["$PAMCUT"],[Name of pamcut program.])
|
||||
-fi
|
||||
+AC_ARG_ENABLE([icoutils],
|
||||
+ AS_HELP_STRING([with-icoutils], [ Enable ico and bmp icon file inspection]),
|
||||
+ [enable_icoutils=no],
|
||||
+ [enable_icoutils=yes])
|
||||
+AS_IF([test "enable_icoutils" != "xno"],
|
||||
+ [
|
||||
+ AC_CHECK_PROGS([PBMTEXT],[pbmtext],[no])
|
||||
+ AC_CHECK_PROGS([PNMTOPNG],[pnmtopng],[no])
|
||||
+ AC_CHECK_PROGS([BMPTOPNM],[bmptopnm],[no])
|
||||
+ AC_CHECK_PROGS([PAMCUT],[pamcut],[no])
|
||||
+ if test "x$PBMTEXT" != "xno"; then
|
||||
+ AC_DEFINE_UNQUOTED([PBMTEXT],["$PBMTEXT"],[Name of pbmtext program.])
|
||||
+ fi
|
||||
+ if test "x$PNMTOPNG" != "xno"; then
|
||||
+ AC_DEFINE_UNQUOTED([PNMTOPNG],["$PNMTOPNG"],[Name of pnmtopng program.])
|
||||
+ fi
|
||||
+ if test "x$BMPTOPNM" != "xno"; then
|
||||
+ AC_DEFINE_UNQUOTED([BMPTOPNM],["$BMPTOPNM"],[Name of bmptopnm program.])
|
||||
+ fi
|
||||
+ if test "x$PAMCUT" != "xno"; then
|
||||
+ AC_DEFINE_UNQUOTED([PAMCUT],["$PAMCUT"],[Name of pamcut program.])
|
||||
+ fi
|
||||
|
||||
dnl Check for icoutils (optional).
|
||||
AC_CHECK_PROGS([WRESTOOL],[wrestool],[no])
|
||||
if test "x$WRESTOOL" != "xno"; then
|
||||
- AC_DEFINE_UNQUOTED([WRESTOOL],["$WRESTOOL"],[Name of wrestool program.])
|
||||
+ AC_DEFINE_UNQUOTED([WRESTOOL],["$WRESTOOL"],[Name of wrestool program.])
|
||||
fi
|
||||
+],
|
||||
+[])
|
||||
|
||||
dnl Check for QEMU for running binaries on this $host_cpu, fall
|
||||
dnl back to basic 'qemu'. Allow the user to override it.
|
@ -0,0 +1,21 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1491,11 +1491,12 @@
|
||||
])
|
||||
|
||||
# check for gtk-doc
|
||||
-m4_ifdef([GTK_DOC_CHECK], [
|
||||
- GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
|
||||
-],[
|
||||
- AM_CONDITIONAL([ENABLE_GTK_DOC], false)
|
||||
-])
|
||||
+#m4_ifdef([GTK_DOC_CHECK], [
|
||||
+# GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
|
||||
+#],[
|
||||
+# AM_CONDITIONAL([ENABLE_GTK_DOC], false)
|
||||
+#])
|
||||
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
|
||||
|
||||
dnl Library versioning.
|
||||
MAX_PROC_NR=`cat $srcdir/src/MAX_PROC_NR`
|
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -88,9 +88,6 @@
|
||||
if HAVE_HASKELL
|
||||
SUBDIRS += haskell
|
||||
endif
|
||||
-if HAVE_PHP
|
||||
-SUBDIRS += php
|
||||
-endif
|
||||
if HAVE_ERLANG
|
||||
SUBDIRS += erlang erlang/examples
|
||||
endif
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/dvtm-9999.ebuild,v 1.1 2013/03/25 20:18:00 chithanh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit savedconfig toolchain-funcs
|
||||
|
||||
DESCRIPTION="Dynamic virtual terminal manager"
|
||||
HOMEPAGE="http://www.brain-dump.org/projects/dvtm/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://repo.or.cz/dvtm.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="unicode"
|
||||
|
||||
DEPEND="sys-libs/ncurses[unicode?]"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's|FLAGS =|FLAGS +=|' \
|
||||
-e 's|-I/usr/local/include||' \
|
||||
-e 's|-L/usr/local/lib||' \
|
||||
-e 's|-Os||' \
|
||||
config.mk || die "sed config.mk failed"
|
||||
use unicode || {
|
||||
sed -i \
|
||||
-e 's|-lncursesw|-lncurses|' \
|
||||
config.mk || die "sed config.mk failed"
|
||||
}
|
||||
sed -i \
|
||||
-e '/strip/d' \
|
||||
-e 's:@tic :@tic -o ${DESTDIR}${PREFIX}/share/terminfo :g' \
|
||||
Makefile || die "sed Makefile failed"
|
||||
|
||||
restore_config config.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local msg=""
|
||||
use savedconfig && msg=", please check the configfile"
|
||||
emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
newins config.h ${PF}.config.h
|
||||
|
||||
dodoc README
|
||||
|
||||
save_config config.h
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This ebuild has support for user defined configs"
|
||||
elog "Please read this ebuild for more details and re-emerge as needed"
|
||||
elog "if you want to add or remove functionality for ${PN}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST guava-13.0.1-sources.jar 1060992 SHA256 6968729f41bd225c00ce6c9212674fe5fa64346ca267072860253c87156507d3 SHA512 07b29cf199229e82a6ec42aad4a6f700c4230ae4b3d41d64f46786619884d572b71dace9f2b521b5f0a50359b460ae6f123dafc80bc982b04856a0dd3a9a0663 WHIRLPOOL dc1a1b978b57d8a36747d03ef88778cb9f4060313c7377c5188948cf4d58cae7e9cb0b304e7a449730955235f1f744a8d4b96b82f0844eb37857824f920faad7
|
||||
DIST guava-14.0.1-sources.jar 1170076 SHA256 a41f35daf37667524bf76c33f8d14ff2a2bb8bfb38e876327628f62f7592e53e SHA512 0a495da0fcc460308faa017b4754a3460eeff08cbfcbfa1cb976fccf3cf9a0fb191e1b88a6c7a753b816b878dd4368f5ba27d5644bbe4c3132dc44e940a8372c WHIRLPOOL 7f2c1d694e54378b81046c0162b1bcc68951d2e37601fbf44d517b6205a3fb42ac0b107f504d533230595d7f7c9c3228294a3f1ccf07b1da7d0d1b10616969ec
|
||||
DIST guava-r07.zip 3044916 SHA256 3d0da5843235b26dc5d47b75df48a6f06f0cc428534580762352b3b00fa45c40 SHA512 1ea4c0b4a7747fb555150283eb851da9d96ec705f1b8e05709b533e923a2615dd82979afbf729093c493e0c11a5f7841f576a6a56a4e9fd5a7e8af224aca956f WHIRLPOOL 3718e030038eaf597b1d35e318eeb708df8d5b66a606d5ffa1fc0e7a742f22f271d6fa6d72d1ce138fcd206e32c7680c5bccf4400f3fc969f41623a7d1f88013
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue