parent
15cccb4a65
commit
f96e5d5910
@ -1 +1,2 @@
|
||||
DIST ec2-ami-tools-1.4.0.2.zip 139153 SHA256 e80cf8b27e35efee516068e84eb2bd2042a8ea870c5c41e3fc83e5a188c18c36 SHA512 95e13c6f50844cee5e1c30a58eb2137bdb4196a5bad17193b53d3c93db833853b4decd675fd403accf1384792010173f5bd9000db01e4e6b5d08b3861252de36 WHIRLPOOL c6b698bb239c8e1b4b9309188a99cfa179592ea9a1c8c000a4c3da0409bb60172b9b1e04ed9479aee34b73d81deda3851bcf4b9c378465531aa6a498e29b382c
|
||||
DIST ec2-ami-tools-1.4.0.5.zip 139373 SHA256 e5a8f49826c85c9df2421e36d618fb9bc1951bb0eeb45680c4379a0362c50d6e SHA512 e9754b26b61e168760002ac3c15d83c8d9f702e478c2295df42ae9e08e7d1788c73b60f7292867d8df553225a82e70ac335419dbcc226e3f0e251f1950a66621 WHIRLPOOL c71b102824595ceeeee693ad5cfca5dd7120510b2f4165fd7010f9cf9de3d4bcb5242166ee58b8295f4ff7f2a1dccaa834bb277ccf325928ede9307bd18da980
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.4.0.5.ebuild,v 1.1 2013/03/13 21:01:48 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service."
|
||||
HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&categoryID=88"
|
||||
SRC_URI="http://s3.amazonaws.com/ec2-downloads/${P}.zip"
|
||||
|
||||
LICENSE="Amazon"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="dev-lang/ruby:1.8[ssl]
|
||||
net-misc/rsync
|
||||
net-misc/curl"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
src_prepare() {
|
||||
find . -name '*.cmd' -delete || die
|
||||
|
||||
# simplify the scripts to always run ruby18, since that seems to
|
||||
# be what upstream has been using, and we support alternative
|
||||
# implementations as well.
|
||||
sed -i -e '$s:^ruby:exec ruby18:' bin/* || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${PN}
|
||||
doins -r lib bin etc
|
||||
|
||||
chmod 0755 "${D}/opt/${PN}/bin/"*
|
||||
|
||||
dodir /etc/env.d
|
||||
cat - > "${T}"/99${PN} <<EOF
|
||||
EC2_AMITOOL_HOME=/opt/${PN}
|
||||
PATH=/opt/${PN}/bin
|
||||
ROOTPATH=/opt/${PN}/bin
|
||||
EOF
|
||||
doenvd "${T}"/99${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Remember to run: env-update && source /etc/profile if you plan"
|
||||
ewarn "to use these tools in a shell before logging out (or restarting"
|
||||
ewarn "your login manager)"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ec2-api-tools-1.5.6.1.zip 13995825 SHA256 0ae6d5da0f4715c1279c4a39ffaa1f14cb425bd4ed0fe821f71f00fd138a74bf SHA512 f06c2299fe1772755dfb7037401644e6587012a41c9c98eb941a2ebee33b1ab134bf19d3e271a846c6066dceba4d91d607e55f7ef57d14e83431eb31d4061a98 WHIRLPOOL 676f159b5c6cf46ca5455bae3684237bf76df4cfa1458f5abd3ae074a905c5c183928d900870290c7a5d1207227b074e9c9c7a3c4bc657cef7a2ee0ad9978499
|
||||
DIST ec2-api-tools-1.6.0.0.zip 13997508 SHA256 c7a67eb92849a6104ef9f118263e545340f54900cc5970f0653837e415f4b72d SHA512 e3b2bbb406941e3ba0403137d81834a9161da6df97b0b92b89a5bfd7f4330d49a981325b6155a8ca272732c9b85c97a8bc8ce1c4d3cc0ede83d5b11029d1979c WHIRLPOOL f62b3fe69651faa44f83c78a2362c8ea8ba62e04065d1a89f0c19b7cbab7b70195fac0b2650ba6356742d0eb5b320febd8e7d70a94595c56d4782d009e124bff
|
||||
DIST ec2-api-tools-1.6.0.1.zip 14008355 SHA256 0219bef69eedc9ed28402d2796f13cce59838ceaeb6b938a28891bdbc0439e45 SHA512 fe24d06aa5921a8fc66e63ae821abce0c1f78907e542e7f0a3ac97c67dbea5131aef7db5ab63840e69536445317553cb2e924df4e5c66b33144054ad25cc3bff WHIRLPOOL af396f8ebbdcbcd364e0ed0f6392c458689181aaab07dfb7c13e4dcf2f554181f5db3c1b222bf9c8be6d195a42ecd78d92d79562dfd0bbd0e612e584e4a6bcbc
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ec2-api-tools-1.6.0.1.ebuild,v 1.1 2013/03/13 21:20:04 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service"
|
||||
HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88"
|
||||
SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PN}-${PV}.zip"
|
||||
|
||||
S=${WORKDIR}/${PN}-${PV}
|
||||
|
||||
LICENSE="Amazon"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="virtual/jre"
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}" || die
|
||||
find . -name '*.cmd' -delete || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${PN}
|
||||
insinto /opt/${PN}/lib
|
||||
doins -r "${S}"/lib/*
|
||||
exeinto /opt/${PN}/bin
|
||||
doexe "${S}"/bin/*
|
||||
|
||||
dodir /etc/env.d
|
||||
cat - > "${T}"/99${PN} <<EOF
|
||||
EC2_HOME=/opt/${PN}
|
||||
PATH=/opt/${PN}/bin
|
||||
ROOTPATH=/opt/${PN}/bin
|
||||
EOF
|
||||
doenvd "${T}"/99${PN}
|
||||
|
||||
dodoc THIRDPARTYLICENSE.TXT
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Remember to run: env-update && source /etc/profile if you plan"
|
||||
ewarn "to use these tools in a shell before logging out (or restarting"
|
||||
ewarn "your login manager)"
|
||||
elog ""
|
||||
elog ""
|
||||
elog "You need to put the following in your ~/.bashrc replacing the"
|
||||
elog "values with the full paths to your key and certificate."
|
||||
elog ""
|
||||
elog " export EC2_PRIVATE_KEY=/path/to/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem"
|
||||
elog " export EC2_CERT=/path/to/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem"
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>TomWij@gentoo.org</email>
|
||||
<name>Tom Wijsman</name>
|
||||
</maintainer>
|
||||
<longdescription>Split-screen terminal/ncurses based log viewer</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST puppet-2.7.18.gem 1920000 SHA256 147cd18ec39d2768bbc40f2735a84f770d9dde1b5679ba21f37edd6f7db19089 SHA512 e51c09baf2eee908f3b4ad1d90c252eb0eca3a1eb550522d0b612db919de305b724a13fdcc7abac51da31291b4a703b2478d2fc9ebfc5aa995ad677aabc42c83 WHIRLPOOL 9f2f4d30acfddd78f0d57ab0a58f400d6c1218e6f5e6541a5f224b9243f5ef5c2dee64bde5a69dff16df42242fa3f44ee226b4aa411a249fc8acafdd1ae17bf3
|
||||
DIST puppet-2.7.19.gem 1936384 SHA256 aaa225d83a8fe545a6bcd1b1b6c10373f9cec7c41e38caf56bd0d956892cf2f3 SHA512 3d003c22663226996aa6422d18af446768bd81b67e76e8d1aedf18430bb85df73c3695de9d49340e51f948f661f4c6e24bc83d9d428c9f10634219e01fd641b6 WHIRLPOOL 0ffd63338cc55c13f6bb49bf1487f3b890be04a5ce83939848bace35dd51ff4b01b93ddde146197888455cc65cf8fb4228056c749c7802cd471d9b43dcca5c8c
|
||||
DIST puppet-3.0.1.tar.gz 1505102 SHA256 5e4d0cfdd6989faf4f6c5c76c0d3bcfa0364e380549be1a2f7c3abd22b0b562b SHA512 a55e7f30d867d72031d8d8ce5f55e1c7447f08227009164579e72974f4af158350ad568b5dee91e15cfd64c74d7df062bc2249244368bba96216ec8310f9d342 WHIRLPOOL a83716081ccabb590bb1cc86f0e666ae608914450abe722613fc9f4c2c94e9f25c657cf113f8145c73cceb4a1f5b79b851d3f084fd70dd19b245b2a3d3cf9688
|
||||
DIST puppet-3.1.0.tar.gz 1578045 SHA256 51e490e5aa6ff757d3ccafbff5aeb0cc1936d3d5bf2e9b6a380ffa600cdbe80a SHA512 3a929bad7192301409a0bc1bdebacf718289a5e32b77c4c0489ef677bed9b7e682085793e34aae481e6b649855dd9a4e5b844e832286bb96d57d88123145b31b WHIRLPOOL f6daa545edc9b416df87d5774af2481297772af0fd76abd953346c16d29d0f154e451e16154872415ec387faea138119046f716ff1f2b9e805c2d95300ad9f50
|
||||
DIST puppet-2.7.21.gem 2031616 SHA256 a5eecdbe68cde5ebfd576a9af5ddb0c8c17dae224a7d0b3ec240ef54e6bd88a1 SHA512 638c188b945791fe86c1657343f9d7ec3ef7e86342c35e03dacfae4e99e63d8c09160dd1faf840f244b275e6a0aea3b969668debe9dc1b60cef68cb2513068b5 WHIRLPOOL a4bcb4181e57bda6aaf79fdd484903114e94dcf5196105203538d6d8a1bfefcd6db44f74cbef1c209b086d7b2bfab53d62069da1be034e6c35fe686fd00898bc
|
||||
DIST puppet-3.1.1.tar.gz 1587190 SHA256 4401f6388bb96b1301a107f247af6fa558127d78467bb5cef1a1e0ff66b4463d SHA512 48759776b68f83a125a0c703ecc9ad3efe34f10e6cfd9ddcd9e596ff082c9f40bdb7e0489bf7eb0bb0ce8bdb4ad0ae87049d2ad3133e839d0a5a6caa8419074e WHIRLPOOL d7152ba5397edadba9784f3c1800c8cf31ddd547691b35567ad52a42e82e741256326d2ee0bccec0642e82f533ffb74babcaddf3a0ee54361626b875cc618b2f
|
||||
|
@ -1,159 +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/puppet/puppet-3.0.1-r1.ebuild,v 1.2 2013/02/09 01:00:03 prometheanfire Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-ng versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://www.puppetlabs.com/downloads/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/facter-1.6.2
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite3? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
RDEPEND="${RDEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
${RUBY} install.rb --destdir="${D}" install || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
newinitd "${FILESDIR}"/puppet.init-r1 puppet
|
||||
|
||||
# Initial configuration files
|
||||
insinto /etc/puppet
|
||||
|
||||
# Location of log and data files
|
||||
keepdir /var/log/puppet
|
||||
fowners -R puppet:puppet /var/log/puppet
|
||||
|
||||
if use minimal ; then
|
||||
rm "${ED}/etc/puppet/auth.conf"
|
||||
else
|
||||
newinitd "${FILESDIR}"/puppetmaster.init puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
insinto /etc/puppet
|
||||
|
||||
keepdir /etc/puppet/manifests
|
||||
keepdir /etc/puppet/modules
|
||||
|
||||
keepdir /var/lib/puppet/ssl
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
docinto conf; dodoc conf/namespaceauth.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Puppet uses eix to get information about currently installed packages,"
|
||||
elog "so please keep the eix metadata cache updated so puppet is able to properly"
|
||||
elog "handle package installations."
|
||||
elog
|
||||
elog "Currently puppet only supports adding and removing services to the default"
|
||||
elog "runlevel, if you want to add/remove a service from another runlevel you may"
|
||||
elog "do so using symlinking."
|
||||
elog
|
||||
|
||||
if [ \
|
||||
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
|
||||
] ; then
|
||||
elog
|
||||
elog "Please remove deprecated config files."
|
||||
elog " /etc/puppet/puppetca.conf"
|
||||
elog " /etc/puppet/puppetd.conf"
|
||||
elog " /etc/puppet/puppetmasterd.conf"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 2.x then we strongly suggest you to read:"
|
||||
elog "http://docs.puppetlabs.com/guides/upgrading.html"
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.1.0.ebuild,v 1.1 2013/02/11 16:43:38 prometheanfire Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.1.1.ebuild,v 1.1 2013/03/13 17:38:32 prometheanfire Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST usermin-1.430.tar.gz 6059219 SHA256 2886f30bf843632f386d97b28d77f393af1157bb13b69694553a4d5e509d67a9 SHA512 1b9c9e59072663f0e057a831622893fb1b214d6a51fa8b0eeb292acd9fc82b0903d2dbe0a2f50ff1daffb4d00be1709d3b31f71a5e20c6b26dc2882135edd008 WHIRLPOOL 7efd2b751f7ae14dfa2a2e64035eaff12cc30f2665f92a049d4c6efd86a1fee228361fc3340a949990950045b9d30c1ed856c538f6f0c13dbe6108c42d6bcf09
|
||||
DIST usermin-1.530.tar.gz 9117223 SHA256 d9196276c2dfe0615964d0e1df89d7a5991abc33c4d1eaa6180733797c466d33 SHA512 6cf5bc062ed09ceb2993a00e47d4bfadba4af4a2263b7cb0d9f37c61e987bdda925435d26ca9258f2c552126116bba0330bc1d63b307783ed6238abe60223f13 WHIRLPOOL 0433c308c481fc8b6ff36305ebca279f361b12d26df24b3ef35057319743de1855b69aac698e7df50377534e9cd34c672bdeb829073a976e5a96f629db27fc38
|
||||
DIST usermin-1.540.tar.gz 9135732 SHA256 e3025ebfb455a36599b7bb88afb99fa24b0e263fdea5684448eac6d1a2242028 SHA512 7940de94da5d96060e1feae9f7f47f5d746f4e146792fc8bb595fca2e569eac84925d1018c12ba8d8e9564b3dc005363a7523889b089c058214adb086b888db2 WHIRLPOOL 5a7682a6961da2ba74fb628795a5a6cb44022a35fd8a6280be1278a47b32e74068e6f8732afd689dea1eeefde1170928d38bc4b3116477a5ed260ff6d7f725e8
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.540.ebuild,v 1.1 2013/03/13 21:24:00 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
IUSE="ssl"
|
||||
|
||||
inherit eutils pam
|
||||
|
||||
DESCRIPTION="A web-based user administration interface"
|
||||
HOMEPAGE="http://www.webmin.com/index6.html"
|
||||
SRC_URI="mirror://sourceforge/webadmin/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
sys-process/lsof
|
||||
ssl? ( dev-perl/Net-SSLeay )"
|
||||
|
||||
# pam? ( dev-perl/Authen-PAM )
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
|
||||
# Point to the correct mysql location
|
||||
sed -i -e "s:/usr/local/mysql:/usr:g" mysql/config
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.080-safestop.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.150-setup-nocheck.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Change /usr/local/bin/perl references
|
||||
find . -type f | xargs sed -i -e 's:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:'
|
||||
|
||||
dodir /usr/libexec/usermin
|
||||
cp -pR * "${D}"/usr/libexec/usermin
|
||||
|
||||
newinitd "${FILESDIR}"/init.d.usermin usermin
|
||||
|
||||
newpamd "${FILESDIR}"/${PN}.pam-include.1 ${PN}
|
||||
|
||||
# Fix ownership
|
||||
chown -R root:0 "${D}"
|
||||
|
||||
dodir /etc/usermin
|
||||
dodir /var/log/usermin
|
||||
|
||||
config_dir=${D}/etc/usermin
|
||||
var_dir=${D}/var/log/usermin
|
||||
perl=/usr/bin/perl
|
||||
autoos=1
|
||||
port=20000
|
||||
login=root
|
||||
crypt="XXX"
|
||||
host=`hostname`
|
||||
use ssl && ssl=1 || ssl=0
|
||||
atboot=0
|
||||
nostart=1
|
||||
nochown=1
|
||||
autothird=1
|
||||
nouninstall=1
|
||||
noperlpath=1
|
||||
tempdir="${T}"
|
||||
export config_dir var_dir perl autoos port login crypt host ssl atboot nostart nochown autothird nouninstall noperlpath tempdir
|
||||
"${D}"/usr/libexec/usermin/setup.sh > "${T}"/usermin-setup.out 2>&1 || die "Failed to create initial usermin configuration."
|
||||
|
||||
# Fixup the config files to use their real locations
|
||||
sed -i -e "s:^pidfile=.*$:pidfile=/var/run/usermin.pid:" "${D}"/etc/usermin/miniserv.conf
|
||||
find "${D}"/etc/usermin -type f | xargs sed -i -e "s:${D}:/:g"
|
||||
|
||||
# Cleanup from the config script
|
||||
rm -rf "${D}"/var/log/usermin
|
||||
keepdir /var/log/usermin/
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To make usermin start at boot time, run: 'rc-update add usermin default'."
|
||||
elog "Point your web browser to https://localhost:20000 to use usermin."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST yaala-0.6.3.tar.bz2 35363 SHA256 eb0fe75667242ad07d5a8ef6bee90602789b311a5229c84f39fd6b283c627aaf SHA512 0ab57f1414bda0348e2e9a9b77cba8157bcb038b8b7226ac0c38b376c7644777e95e76f0df973c6cb348cef5469a13d729c51936d42b1460fad9688c7b0ec91f WHIRLPOOL 964069ff5f0638b9df0fd5ada01c16b4a241b29c0b36f92a875fd3b8860c3a6a2c32baf32653d65269c95c52888049862f6e309fc21f58dec77f6c53e9869038
|
||||
DIST yaala-0.7.2.tar.bz2 40628 SHA256 8a9f38718bb12af07ab823d788f03d04a94fd5bfa28ea4a3462d88921d523cf9 SHA512 d183919ce7191c8894b210a17331c7934bbba231734eea9972ce800099562ca7225a0efd710fc7929cc9921dab3d6b35e4f6f2cdaf2f87cd58b8da1f40334b41 WHIRLPOOL 355aaf11558434b3b1442a12219738d0d8eaf719559fe99e0002e7abebba1da1c5f77bca43c423e23729c17799829c468abbe3a1a223bcdb7298b0ecd87b97f3
|
||||
DIST yaala-0.7.3.tar.bz2 41528 SHA256 a2c3a2173ed2f09aae7992ed11c8257ffce631fbe1dc99c286a911f1743ff936 SHA512 30ad37c2c612f47472a840ea40aa924ffa59828455e7268dc29eb3d0276aab835b54396a29eabce88ef0e357523086b182ca1ec366b50851ecb8d2530f4eac01 WHIRLPOOL 949159522a230ce9892bd64537afc8c826dff0496f68e2dd30660ebe099d9dbd59e83cda9acbbd8501026532bd9eb02fe3da3fce3b98a7242eb269c04469d2da
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/yaala/yaala-0.7.3.ebuild,v 1.2 2013/03/13 21:45:55 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Yet Another Log Analyzer"
|
||||
HOMEPAGE="http://www.yaala.org/"
|
||||
SRC_URI="http://www.yaala.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
src_install() {
|
||||
dobin yaala
|
||||
|
||||
exeinto /usr/lib64/perl5/vendor_perl/Yaala/
|
||||
doexe lib/Yaala/*.pm
|
||||
|
||||
dodoc AUTHORS CHANGELOG README{,.persistency,.selections}
|
||||
|
||||
insinto /usr/share/yaala
|
||||
doins reports {,webserver.}config sample_configs
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
doins packaging/yaala.cron yaala
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Example configuration files can be found in /usr/share/yaala."
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST ppmd_10.1-5.debian.tar.gz 13961 SHA256 f16807685e5a5a27479ea5aa8a243cddcda2e75c2550c19ee335f8b8ffcc221e SHA512 2ed53df72491fe8bce3b8a3b5b3d5ca483f702bc981495f9fd04a5b7828a9fd87057be21083ab2bddd868c5016de868c930e7a2abd9825ec501f3e03276e0137 WHIRLPOOL 7b726891d01321b5690c731433d811c543d0f7093ebf4344e61ceea9e5d6c0eb054562c73e52a044df5969deff991a963f792cd393c846881d1e61d77268d07c
|
||||
DIST ppmd_10.1.orig.tar.gz 22048 SHA256 827eb40401a2432551bb97262760462be32613cbbd4afbd94d50067d72570a1c SHA512 8349a24f3a46a0c3dfd779766507d3d12a208f8c988ffe87054b513fa1240a0749a8ea3c9112ba31dc1dfe271574295aa1cb953bedb02efa4992a870d699cf54 WHIRLPOOL 3403365464f545874b0a5debd76abcd001506069b6209a15ae598774ad73f528f6f5432cc75445ff878cba01b02107daeb458bf41b8cd663a0c0359e25880dc5
|
||||
DIST ppmd_9.1-14.diff.gz 11929 SHA256 323189cb90cd130debd4dbceb84d1649a0a4ca476a29fb2802319b42af001b5b SHA512 73905f755a4ace015134475c2399f5d7b66ac6ecd8bf52c26aa9959c3ce497e7abd4d2e63c746830863a696894353e6668c5736a5a2918d8982e316c18728257 WHIRLPOOL 50ce768da79bca26d06dec2d1231e727337fc838f7bd691bb4059ddb0e03f7b1f1a1dc710dfdfb500e7c177bb110db93abc3b4159172e1f1b644f417e226940b
|
||||
DIST ppmd_9.1-16.debian.tar.gz 12750 SHA256 2b2a5d723f622145c9566e44d1480d916a356fe220d7a9fb6f7a66b47ee954de SHA512 6748d088154b9bde1a562c881d6a03f88c02f0c9d92e2aef290b3ee864f11c0b2a0c0b8514743a5e77f9535076bdadbc64aa47c40b3e1f5d957105ba03ceca3c WHIRLPOOL c3b2251159f302ce93b4550fd8d300d211b4b6d370a72ab14ee482e66e58010523c3c60c880e231c16cc767336b7b4e9821a70a072fda7375c061507db93f2ee
|
||||
DIST ppmd_9.1.orig.tar.gz 48508 SHA256 5667c1345d450206d04259ef718ba74c15d0af86906adb0e0399c09b0c01b689 SHA512 35f0d2550fa6236c143d752d6af68e8abc125d85430194f99b17977b2d64bf10ad232f64ff68903e7d4e61a84b33f680461f0640e83b48574d8d09bec1d223e9 WHIRLPOOL a93dbc96cd5dcf4685f749baa049400cbc4850f148cc5ed33f8425c26a2aa72b3fac5f26b724f05810831b23a9fac4bd9657e762aab22e951c6630be344a6f36
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ppmd-10.1_p5.ebuild,v 1.2 2013/03/13 22:06:59 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
PATCHV="${P##*_p}"
|
||||
MY_P="${P%%_*}"
|
||||
MY_P="${MY_P/-/_}"
|
||||
|
||||
DESCRIPTION="PPM based compressor -- better behaved than bzip2"
|
||||
HOMEPAGE="http://packages.qa.debian.org/p/ppmd.html"
|
||||
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${MY_P}.orig.tar.gz
|
||||
mirror://debian/pool/main/${PN::1}/${PN}/${MY_P}-${PATCHV}.debian.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="-alpha -amd64 ~hppa -ia64 ~mips ~ppc ~sparc ~x86 ~x86-interix -amd64-linux -ia64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
S="${WORKDIR}/${P%%_*}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/debian/patches/
|
||||
epatch "${FILESDIR}/${PN}-p10-makefile.patch"
|
||||
sed b/Makefile \
|
||||
-e 's|$(CXX)|& $(CFLAGS) $(LDFLAGS)|g' > Makefile \
|
||||
|| die "sed b/Makefile"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
replace-flags -O3 -O2
|
||||
append-flags -fno-inline-functions -fno-exceptions -fno-rtti
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install DESTDIR="${ED}"
|
||||
doman "${WORKDIR}/debian/ppmd.1"
|
||||
dodoc "read_me.txt"
|
||||
}
|
@ -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-arch/upx-bin/upx-bin-3.09.ebuild,v 1.1 2013/03/13 22:10:19 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit pax-utils
|
||||
|
||||
MY_P="${PN/-bin}-${PV}"
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (binary version with proprietary NRV compression)"
|
||||
HOMEPAGE="http://upx.sourceforge.net/"
|
||||
SRC_URI="x86? ( http://upx.sourceforge.net/download/${MY_P}-i386_linux.tar.bz2 )
|
||||
amd64? ( http://upx.sourceforge.net/download/${MY_P}-amd64_linux.tar.bz2 )
|
||||
ppc? ( http://upx.sourceforge.net/download/${MY_P}-powerpc_linux.tar.bz2 )
|
||||
arm? ( http://upx.sourceforge.net/download/${MY_P}-armeb_linux.tar.bz2 )
|
||||
mips? ( http://upx.sourceforge.net/download/${MY_P}-mipsel_linux.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="!app-arch/upx-ucl"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/opt/bin/upx"
|
||||
|
||||
src_install() {
|
||||
cd ${MY_P}*
|
||||
into /opt
|
||||
dobin upx
|
||||
pax-mark -m "${ED}"/opt/bin/upx
|
||||
doman upx.1
|
||||
dodoc upx.doc BUGS NEWS README* THANKS TODO
|
||||
dohtml upx.html
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lzma465.tar.bz2 288122 SHA256 c935fd04dd8e0e8c688a3078f3675d699679a90be81c12686837e0880aa0fa1e SHA512 690f005cfa9d3a65db03baddad57cf8dd79f861ac72d2e1bc18a151f3673d5f8043e3331f5dc3fba713dfd7b01ebf0817a2c0b6a1b22e1f7d8255a42b85ea4ac WHIRLPOOL 34a08888ac6874c1ac4ff181774b02eec993cc90a28531596122183c975c2e29fd9852d066acd24c0fe1f213ae9e03e7daf3fc9417c587043e968d973551027f
|
||||
DIST upx-3.08-src.tar.bz2 877691 SHA256 c6d873925ef0d5422b9320c7075ef9be5981a6f99418469ce067becd68de65eb SHA512 21d327cf130d41d239d8727df8c11c8f7778455d13aa5a9973fdae95733204001430de723ad36788cbc20d822b1891ad0a5a0aa5c57af79bbf8e01468576a8f5 WHIRLPOOL 90580ad24e23b687dcfceecfc48796188c45cdcb821fcd44845f15bfd2e655183730b8e5ec8fdc36af1f55ea70f42322c55948378dcad75d9e28fe24a4ceddd8
|
||||
DIST upx-3.09-src.tar.bz2 884001 SHA256 f61a95694d9b8f8c486ee25c9cceab483b9262a29d6ed31c8d3ae4aca0f55c9a SHA512 5dfc4587cb6e0c1f668f7363eccbda0a329e5438837c22afe5b66e1b7d6a2502ec911013efc1ceb91186b6af2e0a590df2de5260fefde7fba49544ded3e66a25 WHIRLPOOL 760edbbeba8874dbae85d893e2f7b944ea2d3a8862a6c3f21e3a6c27f557f12ed12998a9f6f29c108849ce830e882d51447739365bb033c14c24fa7dad4df972
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-3.09.ebuild,v 1.2 2013/03/13 22:20:37 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
LZMA_VER=465
|
||||
#LZMA_VER=920
|
||||
MY_P="${P/-ucl}-src"
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="http://upx.sourceforge.net/"
|
||||
SRC_URI="http://upx.sourceforge.net/download/${MY_P}.tar.bz2
|
||||
lzma? ( mirror://sourceforge/sevenzip/lzma${LZMA_VER}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="lzma zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/ucl-1.02
|
||||
!app-arch/upx
|
||||
!app-arch/upx-bin"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
use zlib && append-cppflags -DWITH_ZLIB=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake UPX_LZMADIR="${WORKDIR}" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin src/upx.out upx
|
||||
dodoc BUGS NEWS PROJECTS README* THANKS TODO doc/*.txt
|
||||
dohtml doc/upx.html
|
||||
doman doc/upx.1
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST fte-20051115-common.zip 187849 SHA256 794031dd1d06156259d21ddcb3dec3196001818ea7116e9786b54314484dabf4 SHA512 18e1657a6fe1b48449dc97a357f00bfeb6626450520b48647e2751cc946d9d1bfc6d77d4b0fbdff0a980121502da870f739846b1db9569ff0b305530ee717323 WHIRLPOOL 5d515bdac01d5730a961b153df202e9ed6535ef536d1163166f9934dea002bb7fe7a6ac4b48d552e7c0ac1b1c96b3a44b6e0d4a7f32c25948f94691a910eb11b
|
||||
DIST fte-20051115-src.zip 549216 SHA256 bb4135e5c39223fa346d20613052e69090b14ed46855d5134bf2dbc4ba40d962 SHA512 320c2c4f27041ff5e7417288e5acc8c776013da4aa7cfc187e6207086851642a7ed961383ca19f6ae6c1717a59453c6a9ca40a1c7eb77dae6e5b9184cd7c346a WHIRLPOOL e8c3e84b7986a7900ea81dfc2b5285edb1f8d413769b400898a3b08083a7b954502d8e57f8a0d74d3d487ad7ea93227e334a89a6e178112cf1dfcf72c25357e4
|
||||
DIST fte-20110708-common.zip 200007 SHA256 58411578b31958765f42d2bf29b7aedd9f916955c2c19c96909a1c03e0246af7 SHA512 0bb59a5b6b4a5ef6c1234dadd8922cd50a13ad1f0c06d6046b74a95592ad55f720b43bbc78a42cab63dfc68c5e073d44d5179bd6ed72f346563f43f3c5c146f1 WHIRLPOOL 9d3ed7205b8daf8c4959b8683e979d47a3c842471f312fdcf03a6c6dc36f66bd7dede6a3bb9d4e91f7a91f554165b7360c755857d685dfe55478ae18672cbe55
|
||||
DIST fte-20110708-src.zip 504199 SHA256 d6311c542d3f0f2890a54a661c3b67228e27b894b4164e9faf29f014f254499e SHA512 2d59fadcdd988ee85b87425c343341e1b768a7e9ef838c5f8a1f22c4adc5bf2cc37d547f36354ca1740bce07b33d5ae93d14e24001b9dbd3b1b267986564a089 WHIRLPOOL 8a2c7a9053780092fe690b19dfb419bdb66c0617ac49c1fec312ce75fd480bbf691d24da34eeeb38ee267af0eafbc5fd6c6caf06c25ee809b917caa32a9dce51
|
||||
|
@ -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-editors/fte/fte-20110708.ebuild,v 1.1 2013/03/13 22:30:18 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lightweight text-mode editor"
|
||||
HOMEPAGE="http://${PN}.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip
|
||||
mirror://sourceforge/${PN}/${P}-common.zip"
|
||||
|
||||
LICENSE="|| ( GPL-2 Artistic )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc -sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="gpm slang X"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.2
|
||||
X? (
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXau
|
||||
x11-libs/libX11
|
||||
x11-libs/libXpm
|
||||
)
|
||||
gpm? ( >=sys-libs/gpm-1.20 )"
|
||||
DEPEND="${RDEPEND}
|
||||
slang? ( >=sys-libs/slang-2.1.3 )
|
||||
app-arch/unzip"
|
||||
|
||||
set_targets() {
|
||||
export TARGETS=""
|
||||
use slang && TARGETS="${TARGETS} s${PN}"
|
||||
use X && TARGETS="${TARGETS} x${PN}"
|
||||
|
||||
[[ ${CHOST} == *-linux-gnu* ]] \
|
||||
&& TARGETS="${TARGETS} v${PN}" \
|
||||
|| TARGETS="${TARGETS} n${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Do not apply anymore, posibly deprecated. TODO: Check and clean up.
|
||||
# epatch "${FILESDIR}"/${PN}-gcc34
|
||||
# epatch "${FILESDIR}"/${PN}-new_keyword.patch
|
||||
# epatch "${FILESDIR}"/${PN}-slang.patch
|
||||
# epatch "${FILESDIR}"/${PN}-interix.patch
|
||||
|
||||
[[ -e /usr/include/linux/keyboard.h ]] && \
|
||||
sed /usr/include/linux/keyboard.h -e '/wait.h/d' > src/hacked_keyboard.h
|
||||
|
||||
sed \
|
||||
-e "s:<linux/keyboard.h>:\"hacked_keyboard.h\":" \
|
||||
-i src/con_linux.cpp || die "sed keyboard"
|
||||
sed \
|
||||
-e 's:^OPTIMIZE:#&:g' \
|
||||
-e '/^LDFLAGS/s:=:+=:g' \
|
||||
-e 's:= g++:= $(CXX):g' \
|
||||
-i src/${PN}-unix.mak || die "sed CFLAGS, LDFLAGS, CC"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
set_targets
|
||||
sed \
|
||||
-e "s:@targets@:${TARGETS}:" \
|
||||
-e '/^XINCDIR =/c\XINCDIR =' \
|
||||
-e '/^XLIBDIR =/c\XLIBDIR = -lstdc++' \
|
||||
-e '/^SINCDIR =/c\SINCDIR = -I'"${EPREFIX}"'/usr/include/slang' \
|
||||
-i src/${PN}-unix.mak || die "sed targets"
|
||||
|
||||
if ! use gpm; then
|
||||
sed \
|
||||
-e "s:#define USE_GPM://#define USE_GPM:" \
|
||||
-i src/con_linux.cpp || die "sed USE_GPM"
|
||||
sed \
|
||||
-e "s:-lgpm::" \
|
||||
-i src/fte-unix.mak || die "sed -lgpm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local os="-DLINUX" # by now the default in makefile
|
||||
[[ ${CHOST} == *-interix* ]] && os=
|
||||
|
||||
DEFFLAGS="PREFIX='${EPREFIX}'/usr CONFIGDIR='${EPREFIX}'/usr/share/${PN} \
|
||||
DEFAULT_FTE_CONFIG=../config/main.${PN} UOS=${os}"
|
||||
|
||||
set_targets
|
||||
emake CXX=$(tc-getCXX) OPTIMIZE="${CXXFLAGS}" ${DEFFLAGS} TARGETS="${TARGETS}" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local files
|
||||
|
||||
keepdir /etc/${PN}
|
||||
|
||||
into /usr
|
||||
|
||||
set_targets
|
||||
files="${TARGETS} c${PN}"
|
||||
|
||||
for i in ${files}; do
|
||||
dobin src/$i
|
||||
done
|
||||
|
||||
dobin "${FILESDIR}"/${PN}
|
||||
|
||||
dodoc BUGS README TODO
|
||||
dohtml doc/*
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r config/*
|
||||
|
||||
rm -rf "${ED}"/usr/share/${PN}/CVS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Compiling configuration"
|
||||
cd "${EPREFIX}"/usr/share/${PN} || die "missing configuration dir"
|
||||
"${EPREFIX}"/usr/bin/c${PN} main.${PN} "${EPREFIX}"/etc/${PN}/system.${PN}rc
|
||||
eend $?
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST libvirt-1.0.0.tar.gz 21868950 SHA256 14c8a30ebfb939c82cab5f759a95d09646b43b4210e45490e92459ae65123076 SHA512 b4c3c34b2813f08653b33de5e1ebf030f2eafe77cb6107724494b83643a4e744b3f2c290a1755bcc586c8c7ebe0d8955540d3455736685484e27b07f677dca2c WHIRLPOOL 398af483a630294d7306f2cef95712613a0391da19bd654f5b24aff54d99df8940f79e560a61b3e978f3a62b89778a1b3e6a171188b9a8c42e31e2029a93f3d0
|
||||
DIST libvirt-1.0.2-1b2f2439.tar.xz 3184 SHA256 fb7cbd3add0b54927b1be4bc753e0f0279e11f5b85bb692d44fb9b99b85722da SHA512 a45cd0896dbf845472135cb3548eff731f6a6c89af2d90c44094d3c07a8f19c8c8422dc43228a0c4b0c04b1b11bae2bc2a271f02bea598d36b52c42fb60ddc19 WHIRLPOOL bf0760fcf5245d0c3347f1969605fcb3df86c93e183b468c0421b88801db5f0984c4d1ce5a3ebc7b72a53f585d17db7fa984f7fbfa6e8f1d2c65819f3fd3ed27
|
||||
DIST libvirt-1.0.2.tar.gz 22971729 SHA256 9b8c2752f78658b65ef1c608b3775be0978d60855a9b5e2778f79c113201c179 SHA512 c35b6dc46594a93d4d633ad42df2cf1da7cbbf7327205ba4c608d4f95f0017cb4041518c3dafa3d5ab7dadaafad116779415c843e0d4e67ef1df31bd9a9295e7 WHIRLPOOL cf56954392f263fe686c79e320f238cc657424512bf3b136bd68747777640cd564affc38f7ed077a1e00f2d2511ab607b236a9b6ea4fbc8f089a2a0267b214ce
|
||||
DIST libvirt-1.0.3-2102e03d.tar.xz 4180 SHA256 a66e7b5f60461d203caa7fc38237d1742c6e550e9d8baa8835ea7df584cb70c0 SHA512 55c7c7fe7285ff399d2b13756653ebfe9a7e9e21ce2e9b91a366a7867ef10ffac9846dcf72af2941abd996efb9d115982f980abc88d1c629f0833c5e20f1f692 WHIRLPOOL 644ff645393367c69c97d19c73bc2e0e8eac8a219f67041ae0c44069a760e03527f77d41c7d37c2483896bfe4439f450fe35af64f6316fa634d947665f105149
|
||||
DIST libvirt-1.0.3.tar.gz 23238381 SHA256 f64f4acd7cdcfc6ab5e803195ed58b949f262b54e3659d8c37b33f0fec112757 SHA512 f0002d40a018e22bd05c9bc990db0b14e0ec815613f54d04fc3b631081d87b6659620188da9f0ba376f290206d979467013274ab99b7394c66bde54c82e08fb4 WHIRLPOOL 29dad8e6b1e4d61fe83fc450436c0fdc200b360f93772c2fefe40ab443ec2a7cb6566e634d15290beb4f7ea1f461503b1cd86accddde59659ed46b60b56e3d76
|
||||
|
@ -0,0 +1,422 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.3-r1.ebuild,v 1.2 2013/03/14 04:43:03 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=2102e03d
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CPUSETS
|
||||
~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_SCHED
|
||||
~BLK_CGROUP
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
|
||||
LXC_CONFIG_CHECK+=" ~MEMCG"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
From 5a51812b7c1457feb8acaa106f43d7d5252b3980 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Breitenlohner <peb@mppmu.mpg.de>
|
||||
Date: Tue, 12 Mar 2013 20:25:50 +0100
|
||||
Subject: [PATCH] Fix compile when not using libjpeg
|
||||
|
||||
---
|
||||
poppler/Stream.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/poppler/Stream.h b/poppler/Stream.h
|
||||
index 7a5ff1c..76d6a1f 100644
|
||||
--- a/poppler/Stream.h
|
||||
+++ b/poppler/Stream.h
|
||||
@@ -22,6 +22,7 @@
|
||||
// Copyright (C) 2011, 2012 William Bader <williambader@hotmail.com>
|
||||
// Copyright (C) 2012, 2013 Thomas Freitag <Thomas.Freitag@alfa.de>
|
||||
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
|
||||
+// Copyright (C) 2013 Peter Breitenlohner <peb@mppmu.mpg.de>
|
||||
//
|
||||
// To see a description of the changes please see the Changelog file that
|
||||
// came with your tarball or type make ChangeLog if you are building from git
|
||||
@@ -850,7 +851,7 @@ struct DCTHuffTable {
|
||||
class DCTStream: public FilterStream {
|
||||
public:
|
||||
|
||||
- DCTStream(Stream *strA, int colorXformA);
|
||||
+ DCTStream(Stream *strA, int colorXformA, Object *dict);
|
||||
virtual ~DCTStream();
|
||||
virtual StreamKind getKind() { return strDCT; }
|
||||
virtual void reset();
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,134 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.30.ebuild,v 1.1 2013/03/14 01:02:16 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
MY_EXTRAS_VER="20130120-0100Z"
|
||||
|
||||
# Build system
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^noinst_PROGRAMS/s/basic-t//g' \
|
||||
"${S}"/unittest/mytap/t/Makefile.am
|
||||
mysql-v2_src_prepare
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
# plugins.unix_socket
|
||||
# fails because portage strips out the USER enviornment variable
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.30.ebuild,v 1.1 2013/03/14 01:03:14 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20130120-2303Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST v8-3.15.11.15.tar.bz2 10396424 SHA256 b5064a3c9d27479532f2ad63182285fde5fe4fea0327715a60f8455f490603e0 SHA512 d24d83794ec41651f61c6d4df668100e64d8006478c2fb942a7df477356effef65edb0e8b71444bf0c3ba5b5ee95825bae845d80910c5e2ef81dee87f5449330 WHIRLPOOL 24b1b0daeda44a9ca0065617d3d3fffad35d510d2d3cc827d1aed7916356ef5d8e3b3ecc7e14f6e429fb3954c8eeeccc842ccd19bb607ea57e678673ad2efd31
|
||||
DIST v8-3.16.14.1.tar.bz2 10458074 SHA256 672e71c4fa8506261e0b4ad47f753e4db93386d6610ccf37d52040957828e231 SHA512 3cf6b3e3626b809733dd4ea6637c457d364756cdc9ec688c55d35e128d75d925a673aa1ec34a12d5ac0b7a3cefe81c7a34f917fa6c7cda0858804e4d77d47107 WHIRLPOOL c5620d299205c71c1e389cfc0833a15a0753c214e149f10388a1ef4575789f525f0e7c417e9e397e3db89de70b10db3169d35845684052adafecf8373cb59b7b
|
||||
DIST v8-3.16.14.2.tar.bz2 10457382 SHA256 b1894ae796b19ebd68fc53059547326214a7e5f9dd85c7260581bae1a437aed9 SHA512 165cc565842a94fdff6c17d72926a877ad4da77cc04dda33f807b45db599359ff327fb581bbfb5234fcba4e7ca1feefc482a5f2a258439a878b09c726d22b41f WHIRLPOOL fe10d969ae67cb7304f15520c9a4bdbdac2b3ff6e44a871977ff6c669d65504170885941e2a93c2bd3af55e6e8eeb14962ec728613f8a48bb8a8410cbcc25d81
|
||||
DIST v8-3.17.5.tar.bz2 10489668 SHA256 42cf060a1600527e35a209d28ddf5695e7486985937a61410a9be4e9916b2b3a SHA512 7b871f97074c7079cb52cd6aaccd6bf2942c5a56edc1e1057cda10bd601024d4cb21085da361b1182552596ee4908942bffc99e19024c707f0ed0a008caa85bf WHIRLPOOL b470b7e888af3e8489ec566e536c1eb2ba4aa461ef19b46161366588656023e4643d52400d0d7f1c08b03f1fcd20f09f2c43008d2bf79f6d7ae027efe9b08ebb
|
||||
DIST v8-3.17.6.tar.bz2 10496403 SHA256 6294138be1d6a2d50935101f8c52ef48c4ba8d95bfbd4798c45d70c229a38302 SHA512 91791a2693ddfa1c30815a858fe8930de5279d5ec8044486df6af70d047f78109774df921d911bb2ffab2edcfe541fd13235ba80f82ec0d2f0b59c221001f0fc WHIRLPOOL dc206645361b0f23ce37e60bac5970bd2f0723dddab9c2b86adf72b07056e225423ba737e19ad566bba5c6e03c978e984dc3b15422b70768205751f515e7a5a4
|
||||
DIST v8-3.17.9.tar.bz2 10510824 SHA256 604e2ed947ec1c066f53a87b0018b5e55041c433b663b812cc874eff3e7ea863 SHA512 47fca2c88d6b5d4049121802fcdb6f5da0d4d2725e176fe312d746b8b6ab50274f9a3d450ab4d05a5ad83644c7a3cf1a90207a716cf2707d664611afd0054869 WHIRLPOOL 828d779ab0da8465155fdc488f75c6c6c4c01c4296f0ce70bb6e7c1093460f075c5810314d5ae64acd876d1742e9216061465d73fc51e70d21eff91e884501cb
|
||||
|
@ -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/dev-libs/mpfr/mpfr-3.1.2.ebuild,v 1.1 2013/03/14 03:55:28 dirtyepic Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
|
||||
inherit eutils multilib
|
||||
|
||||
MY_PV=${PV/_p*}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
PLEVEL=${PV/*p}
|
||||
DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
|
||||
HOMEPAGE="http://www.mpfr.org/"
|
||||
SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PLEVEL} == ${PV} ]] && return 0
|
||||
for ((i=1; i<=PLEVEL; ++i)) ; do
|
||||
patch=patch$(printf '%02d' ${i})
|
||||
if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
|
||||
epatch "${FILESDIR}"/${MY_PV}/${patch}
|
||||
elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
|
||||
epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
|
||||
else
|
||||
ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
|
||||
die "patch ${i} missing - please report to bugs.gentoo.org"
|
||||
fi
|
||||
done
|
||||
sed -i '/if test/s:==:=:' configure #261016
|
||||
find . -type f -print0 | xargs -0 touch -r configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libmpfr.la
|
||||
|
||||
# clean up html/license install
|
||||
pushd "${ED}"/usr/share/doc/${PF} >/dev/null
|
||||
dohtml *.html && rm COPYING* *.html || die
|
||||
popd >/dev/null
|
||||
# some, but not all, are already installed
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS README TODO
|
||||
prepalldocs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST ccl-1.7-linuxx86.tar.gz 40848212 SHA256 fcf21e794248ba2b15ac0473a29cd7cfca78e6053722fce9a9dccf6ed3f4c0b4 SHA512 bffda37bdbcef93e805e7ac06ee8c33a410ebb4664ef666ce182885946250f71a0c71c73c972822598b727b758f2df26c8ca0fc042a0bb9ca29da0686c0ac1d5 WHIRLPOOL f8d0fd4ed0ade62ce9a1c3ae750fd335827b63499bd85dfb288ca2394abf14bc6fd949ffa24f52ac88f7bbb3baafff5183563df95ff1f840510f498d5399923d
|
||||
DIST ccl-1.8-linuxx86.tar.gz 43187545 SHA256 01dcafa9efef7b8fd09d17a213447dc2f47ff882c660dd62374a33119132efb5 SHA512 3e2a114a45e9e29b5db1b8827e239ffd5e10de17cdea98b95c61b973727842e8d95bcf31090e86454794233bcc87d53f7880d8f56ab3988176e8cd0ec8e639a1 WHIRLPOOL d7691cd7850ddd853dbe941f8787143bc0bbd3f51cb6dfbad2b24253c76a857381b416c5a05933e91555b5893310b2d9accc23dc61aaabe9840f2ad699318b50
|
||||
DIST ccl-1.9-linuxx86.tar.gz 43708212 SHA256 e9d1bd2e7260bdd13e63be1ead95b3cae9c8b0d18b1a1633a135724ada3e60e9 SHA512 88da805b084954055e76797b9980fd03b88879f7b52992662223030845f3b50cd2ef323fa8c90d32c630cb07e175302589e0167c30b9cbf50d20db0acd18fff3 WHIRLPOOL d33faf0b92bec5f2d11610878d098c33067b6a0d706ce920c3c94c9ce7e06f9483f28c779e226a52c4f4b06cb4c17e01d868940b4a999754f8ae13b640e7e93d
|
||||
|
@ -1 +1,2 @@
|
||||
DIST Paver-1.1.1.tar.gz 304881 SHA256 7a269091c3c82dc0b862ad70e26031225c2569bca89f0913f39c766c6c8e2f7e SHA512 fd9b44ee826b47352381ebd6c79938a64f271cf2a31ea2cab591316d671066447b0df003fd535176f67bf911dcc008ae0660302ea6c637ab771f5e2c9b80f2e2 WHIRLPOOL 4ac6f7a267569395768451ebdb098f246672fb42b8aad9d09d36d03a5bf484bc3845703d4aee91cf87538dbc1105653f57ca64314db0351b3e3f1a01324cd81e
|
||||
DIST Paver-1.2.0.tar.gz 106219 SHA256 0ec05b5225ceb19ca67e42e57e0cce47d7b72ac6d5db0fb3f625ffb2c2c0dbd0 SHA512 7997c82ecff3cb7089b693758813e733b7dc786b91efd6bf87dd253406dc6463a4f00282d3b8666a08fa0edba210d4404f9a74989d842dc003548c5d5abea37e WHIRLPOOL 9914affa1edff9cfcc35ae1caefef827bfd2d4d5243115692c810a94f2f8061bcf6ef4c194273b6628d06da2bf9d9c32ace24c483b943b9ccb6dcdaa96103b80
|
||||
|
@ -0,0 +1,34 @@
|
||||
From 1b9641cd841fe5d22ba4c5ef4198e47995c74f04 Mon Sep 17 00:00:00 2001
|
||||
From: Almad <bugs@almad.net>
|
||||
Date: Wed, 27 Feb 2013 02:56:12 +0100
|
||||
Subject: [PATCH] Skip cog tests if tests are not installed (refs #93)
|
||||
|
||||
---
|
||||
paver/tests/test_doctools.py | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/paver/tests/test_doctools.py b/paver/tests/test_doctools.py
|
||||
index bc0cf8c..6104b3f 100644
|
||||
--- a/paver/tests/test_doctools.py
|
||||
+++ b/paver/tests/test_doctools.py
|
||||
@@ -137,6 +137,8 @@ def test_include_lookup():
|
||||
""", "Second was '%s'" % (second)
|
||||
|
||||
def test_cogging():
|
||||
+ if not paver.doctools.has_cog:
|
||||
+ raise SkipTest("Cog must be installed for this test")
|
||||
_no25()
|
||||
env = tasks.Environment(doctools)
|
||||
tasks.environment = env
|
||||
@@ -159,6 +161,8 @@ def test_cogging():
|
||||
assert "print sys.path" not in data
|
||||
|
||||
def test_cogging_with_markers_removed():
|
||||
+ if not paver.doctools.has_cog:
|
||||
+ raise SkipTest("Cog must be installed for this test")
|
||||
_no25()
|
||||
env = tasks.Environment(doctools)
|
||||
tasks.environment = env
|
||||
--
|
||||
1.7.10
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/paver/paver-1.2.0.ebuild,v 1.1 2013/03/14 03:01:47 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/p/P}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Python-based software project scripting tool along the lines of Make"
|
||||
HOMEPAGE="http://www.blueskyonmars.com/projects/paver/ http://pypi.python.org/pypi/Paver"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS="README.rst"
|
||||
PATCHES=( "${FILESDIR}/${P}-skip-cog-tests.patch" )
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST amqp-1.0.6.tar.gz 69511 SHA256 fcc667a4e160c770fc41bd2b9b635ba0963db3dfd277491a8a10f8ccfba13e4f SHA512 40d1b9a2e692b1a89bdf7ffd098010437ecc6c51c7c7da6271283d199d47950be3f709370deb583ee8c4d2f7396789618ffeda8903f67bdc399d0b0902a2ebd6 WHIRLPOOL 476695f1c72ffa106ba73f6e4fe2dba796feca1ad7d2f72c7c2e1e750586eefe01c083f9d422d99e2a7ecf8df0f12e14d9630a490bd2f7ec9ff32e95af69cc05
|
||||
DIST amqp-1.0.8.tar.gz 69976 SHA256 cc91d7aa03c6777454fda5e1631426952103b072c68a02c5bb7b17945e28f94b SHA512 cbe3261bf4378ccbb9bb31a72db4567654ae3f84d953bfe0c9b4443a52e05e056ff598dbf1966ef935b172ef8a655be4370f4d93fa0c591d2ca8b9ac60965396 WHIRLPOOL 9417571344673ea80e3048d3694f4fe644e33a5e5f62c3457d7d27277f8323dae36e5bc0207c7f853e40f7dd305cf77bfd14567860fe921f9fcdc9b25c83212a
|
||||
DIST amqp-1.0.9.tar.gz 70180 SHA256 c31217630cbe2057b9f9c689820f950104ad1aea9cbb05df319d2bb7c916857b SHA512 4e3d38536d96cf4ac788c0a06f3a3a43d29b6b8837864d25d6b854a1d45e066935f4c465868467cc62da719c10b560c3d6170f80494328c1e408f3f1f0f5ea08 WHIRLPOOL 59637941ee2c6e4a600c9134b202e5568f2ae9fda3016f444b2a7afdee0bff2e515b8323be3ff0125d28c7d4418a13375907535a4437264c4894d62ca196b8aa
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/py-amqp-1.0.9.ebuild,v 1.1 2013/03/13 17:39:10 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="amqp"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
|
||||
HOMEPAGE="https://github.com/celery/py-amqp http://pypi.python.org/pypi/amqp/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples extras test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.0.6_disable_socket_tests.patch )
|
||||
|
||||
python_test() {
|
||||
cp -r -l funtests "${BUILD_DIR}"/lib/ || die
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
if [[ ${EPYTHON:6:1} == 3 ]]; then
|
||||
# Notes:
|
||||
# -W is not supported by python3.1
|
||||
# -n causes Python to write into hardlinked files
|
||||
2to3 --no-diffs -w funtests || die
|
||||
fi
|
||||
"${PYTHON}" funtests/run_all.py || ewarn "Tests fail with ${EPYTHON}"
|
||||
rm -rf funtests/ || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc -r docs/.
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
docinto examples
|
||||
dodoc -r demo/.
|
||||
fi
|
||||
if use extras; then
|
||||
insinto /usr/share/${PF}
|
||||
doins -r extra
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST listen-0.7.0-git.tgz 34574 SHA256 b4bdc27756ea7a43e624deb9575ace7b30b0b8e57901ae27173b4c43ab971b64 SHA512 ed50fb0df93a13ca56638186f3b0e3b4abfbdbcc3d92611b4d915fbe0d765a977f39ca291ee3f91edfa704c5a031edf7c33b95a543db6f1446556b5f7ec6c50d WHIRLPOOL 8d3296969f62d4de5a245acecceecd94edabcb90730e5f6f8d15eaf8c03feb1b2b5547cd65b1afac66923182ccf5230c161c51f4efd76a15e5f134bb53f6b325
|
||||
DIST listen-0.7.2-git.tgz 34804 SHA256 67ca0a2b4dd47b156265804d8b2230188430afcf59309dbcfec8458f52d14eb1 SHA512 1d12c78fafc9d0f9d60c89784338a4fb9e1600989aefdcfe1aadf330b321fc7deae62e8df746585591027a08c84cd505b55ca218ea256ae387911bec286b97ea WHIRLPOOL 027777ffdeecddf92c8ba143e4b736c5516f162379555912ee863b4f8a4686ac9d1843f18e107f210db04e2ef9989204650e6265d3db411f99718d081a9daddf
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/listen-0.7.0.ebuild,v 1.2 2013/01/15 06:43:36 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Listens to file modifications and notifies you about the changes."
|
||||
HOMEPAGE="https://github.com/guard/listen"
|
||||
SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rb-inotify-0.8.8"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/listen-0.7.2.ebuild,v 1.2 2013/01/15 06:43:37 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Listens to file modifications and notifies you about the changes."
|
||||
HOMEPAGE="https://github.com/guard/listen"
|
||||
SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rb-inotify-0.8.8"
|
@ -1 +1,2 @@
|
||||
DIST ArxFatalis_1.21_MULTILANG.exe 9064611 SHA256 97c3483a5db7ca99f5ae8001c148517eda3be4cb96d41cc4c1e42f5741456cf3 SHA512 885260c6173ee5f2d6d6072bcfd14d085f11b997a0ce45cbdee9a347612e96da13477ef7d71b9c015fb02f2e47bdfb968a2aa89b0c92e9327abbd75b724e47c2 WHIRLPOOL 1dc785f3b3e28aca928668f7bb7056db0a7ef39f803e50502f1eaf138248a2321011331366c33b4d90791265ece9a114ad7f4c090352940036c8a5bc74b15c56
|
||||
DIST setup_arx_fatalis.exe 547521812 SHA256 dc8f62e1ca731844f84f6e80efd28272708ca4c7d4085b0f0125d1f56e50d462 SHA512 4f2021657bd1c5b89d40a29fca0f77a7755e191b8b3e297bb614e557b18ad943a76eb6670f66fb7f0ae1ad92353f1988c0f3bd0c27e220a35fa38a9cdffe0970 WHIRLPOOL 6d456314751e1a2b06f3effd02c50b498e0b3966851253f338c21e2de6e221bc338e4204d13e7d77158b3cbf3dafcef4f8c4cdabcd68abe21ad3758bc149320f
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-fatalis-data/arx-fatalis-data-1.21-r2.ebuild,v 1.1 2013/03/14 01:00:40 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
CDROM_OPTIONAL="yes"
|
||||
inherit eutils cdrom check-reqs games
|
||||
|
||||
DESCRIPTION="Arx Fatalis data files"
|
||||
HOMEPAGE="http://www.arkane-studios.com/uk/arx.php"
|
||||
SRC_URI="cdinstall? ( http://download.zenimax.com/arxfatalis/patches/1.21/ArxFatalis_1.21_MULTILANG.exe )
|
||||
gog? ( setup_arx_fatalis.exe )"
|
||||
|
||||
LICENSE="cdinstall? ( ArxFatalis-EULA-JoWooD ) gog? ( ArxFatalis-EULA-GOG )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gog"
|
||||
REQUIRED_USE="^^ ( cdinstall gog )"
|
||||
RESTRICT="binchecks mirror gog? ( fetch )"
|
||||
|
||||
RDEPEND="games-rpg/arx-libertatis"
|
||||
DEPEND="app-arch/innoextract
|
||||
cdinstall? ( app-arch/cabextract )"
|
||||
|
||||
CHECKREQS_DISK_BUILD="621M"
|
||||
CHECKREQS_DISK_USR="617M"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
detect_language() {
|
||||
speech_checksum=$(find '.' -iname "speech.pak" \
|
||||
-exec md5sum -b '{}' \; | sed "s/ .*//g")
|
||||
if [[ -z $speech_checksum ]] ; then
|
||||
speech_checksum=$(find '.' -iname "speech_default.pak" \
|
||||
-exec md5sum -b '{}' \; | sed "s/ .*//g")
|
||||
fi
|
||||
|
||||
# check if the checksum is of a known localisation and set data_lang to
|
||||
# the language string to be used with the 1.21 patch installer
|
||||
case "$speech_checksum" in
|
||||
'4c3fdb1f702700255924afde49081b6e') data_lang='german' ;;
|
||||
# Bundled version of AF included with NVIDIA card
|
||||
'ab8a93161688d793a7c78fbefd7d133e') data_lang='german' ;;
|
||||
'4e8f962d8204bcfd79ce6f3226d6d6de') data_lang='english' ;;
|
||||
'2f88c67ae1537919e69386d27583125b') data_lang='spanish' ;;
|
||||
'4edf9f8c799190590b4cd52cfa5f91b1') data_lang='french' ;;
|
||||
'81f05dea47c52d43f01c9b44dd8fe962') data_lang='italian' ;;
|
||||
'677163bc319cd1e9aa1b53b5fb3e9402') data_lang='russian' ;;
|
||||
'') eerror "speech*.pak not found"
|
||||
die "speech*.pak not found" ;;
|
||||
*) eerror "unsupported data language - speech*.pak checksum:" \
|
||||
"$speech_checksum" \
|
||||
"please file a gentoo bug"
|
||||
die "unsupported data language, file a gentoo bug" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${A} from your GOG.com account after buying Arx Fatalis"
|
||||
einfo "and put it into ${DISTDIR}."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local data_lang
|
||||
|
||||
if use cdinstall ; then
|
||||
cdrom_get_cds bin/Arx.ttf
|
||||
find "${CDROM_ROOT}" -iname "setup*.cab" -exec cabextract '{}' \;
|
||||
detect_language
|
||||
else
|
||||
# gog only offers english
|
||||
data_lang="english"
|
||||
fi
|
||||
|
||||
einfo "Data language: $data_lang"
|
||||
innoextract --lowercase --language=${data_lang} \
|
||||
"${DISTDIR}"/${A} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${GAMES_DATADIR}"/arx
|
||||
doins -r app/{graph,misc}
|
||||
find . -iname "*.pak" -exec doins '{}' \;
|
||||
|
||||
dodoc app/{manual,map}.pdf
|
||||
|
||||
# convert to lowercase
|
||||
cd "${D}"
|
||||
find . -type f -exec sh -c 'echo "${1}"
|
||||
lower="`echo "${1}" | tr [:upper:] [:lower:]`"
|
||||
[ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST arx-libertatis-1.0.2.tar.xz 912096 SHA256 cd40510563f93149f237df55d373900f85eb05c9cc5731efe4d173f314d4fadd SHA512 87b52feac0edaea009c25cab84cf206322be7440dc4ee04484578ae18bd340a11dde3fd10dce13c801d510d335d0afb219d4b6fb2eae4fdda2136caeaf1e9e9e WHIRLPOOL 7c8855868fd9fa865af1eaa88aa8c99e59f1db8a62eb3de407e5163eeb8f529e6709c7269ef8cd617131f0b5c5f5efdf97270bb2590be8f2291baeaee6267bbb
|
||||
DIST arx-libertatis-1.0.3.tar.xz 912288 SHA256 5719e1602051f6a6dc13ac0366ff03804f914ffbd855e7e06fdeb0d065fb6d32 SHA512 e1e8d581b6a7928911abad124a6f9670c28f2a56bc7f7f3bae965f717977a0e9a3953514a663c3f7eb4a802cca8e5607feec829a3b7ffeccc83a835fd77a74b6 WHIRLPOOL 321ec489a474b9a63a762756d929371bd8c05ea5d2fa7994c597a86dc20009f385c5f8d23c1da5f978e9f358949a96bf23bf218245633fd5f4393294fbecee75
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/arx-libertatis-1.0.2-r1.ebuild,v 1.7 2013/03/02 21:20:49 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils cmake-utils gnome2-utils games
|
||||
|
||||
DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game"
|
||||
HOMEPAGE="http://arx-libertatis.org/"
|
||||
SRC_URI="mirror://sourceforge/arx/${P}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="cdinstall demo debug unity-build crash-reporter tools"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/boost-1.39
|
||||
media-libs/devil[jpeg]
|
||||
media-libs/freetype
|
||||
media-libs/glew
|
||||
media-libs/libsdl[opengl]
|
||||
media-libs/openal
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
crash-reporter? (
|
||||
dev-qt/qtcore:4[ssl]
|
||||
dev-qt/qtgui:4
|
||||
)"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
crash-reporter? ( sys-devel/gdb )"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
PDEPEND="cdinstall? ( >=games-rpg/arx-fatalis-data-1.21 )
|
||||
demo? ( games-rpg/arx-fatalis-demo )"
|
||||
|
||||
DOCS=( README.md AUTHORS CHANGELOG )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-{gentoo,cmake2.8}.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && CMAKE_BUILD_TYPE=Debug
|
||||
|
||||
# editor does not build
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use unity-build UNITY_BUILD)
|
||||
$(cmake-utils_use_build tools TOOLS)
|
||||
$(cmake-utils_use_build crash-reporter CRASHREPORTER)
|
||||
-DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
|
||||
-DGAMESBINDIR="${GAMES_BINDIR}"
|
||||
-DCMAKE_INSTALL_DATAROOTDIR="${GAMES_DATADIR_BASE}"
|
||||
-DICONDIR=/usr/share/icons/hicolor/128x128/apps
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dogamesbin "${FILESDIR}"/arx-data-copy
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "This package only installs the game binary."
|
||||
if ! use cdinstall || ! use demo ; then
|
||||
elog "You need the demo or full game data."
|
||||
elog "See http://wiki.arx-libertatis.org/Getting_the_game_data for more information"
|
||||
elog
|
||||
elog "You might want to enable cdinstall or demo useflag."
|
||||
elog
|
||||
elog "If you have already installed the game or use the STEAM version,"
|
||||
elog "run \"${GAMES_BINDIR}/arx-data-copy /path/to/installed-arx /usr/local/share/games/arx\"."
|
||||
fi
|
||||
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
From 1cd224fe2933edf33fa1fe7003fc6580e38217fa Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Scharrer <daniel@constexpr.org>
|
||||
Date: Sat, 3 Nov 2012 04:43:42 +0100
|
||||
Subject: [PATCH] Fix build with CMake 2.8.10
|
||||
|
||||
Previously we checked for SDL by using
|
||||
find_package(SDL 1.2 EXACT)
|
||||
|
||||
This worked with earlier CMake versions as the find script for SDL
|
||||
didn't provide any version, so CMake just ignored the '1.2 EXACT' part.
|
||||
|
||||
In CMake 2.8.10, FindSDL.cmake reports the SDL version number as
|
||||
major.minor.patch, which is never exactly equal to 1.2.
|
||||
|
||||
This commit relaxes the check by removing the 'EXACT' requirement.
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 14ec2fe..5690176 100755
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -145,7 +145,7 @@ if(USE_SDL)
|
||||
# due to the need to have NSApplication correctly setup by SDLmain.
|
||||
set(SDL_BUILDING_LIBRARY 1)
|
||||
endif()
|
||||
- find_package(SDL 1.2 EXACT)
|
||||
+ find_package(SDL 1.2)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
--
|
||||
1.7.10
|
||||
|
||||
|
@ -1,74 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Wed Jun 27 22:04:32 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
respect flags
|
||||
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -365,21 +365,6 @@
|
||||
|
||||
endif()
|
||||
|
||||
- # Warning level
|
||||
- add_cxxflag("-Wall")
|
||||
- add_cxxflag("-Wextra")
|
||||
- add_cxxflag("-Wformat=2")
|
||||
- add_cxxflag("-Wundef")
|
||||
- add_cxxflag("-Wpointer-arith")
|
||||
- add_cxxflag("-Wcast-qual")
|
||||
- add_cxxflag("-Woverloaded-virtual")
|
||||
- add_cxxflag("-Wlogical-op")
|
||||
-
|
||||
- add_cxxflag("-Wliteral-conversion")
|
||||
- add_cxxflag("-Wshift-overflow")
|
||||
- add_cxxflag("-Woverflow")
|
||||
- add_cxxflag("-Wbool-conversions")
|
||||
-
|
||||
# TODO enable:
|
||||
# add_cxxflag("-Wconversion") # very noisy
|
||||
# add_cxxflag("-Wsign-conversion") # very noisy
|
||||
@@ -391,27 +376,12 @@
|
||||
endif()
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
-
|
||||
- #Debug
|
||||
add_definitions(-D_DEBUG)
|
||||
-
|
||||
- check_compiler_flag(RESULT "-g3")
|
||||
- if(NOT RESULT STREQUAL "")
|
||||
- string(REGEX REPLACE "-g(|[0-9]|gdb)" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
||||
- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}")
|
||||
- endif()
|
||||
-
|
||||
- check_compiler_flag(RESULT "-O0")
|
||||
- string(REGEX REPLACE "-O[0-9]" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
||||
- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}")
|
||||
-
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
-
|
||||
if((NOT CMAKE_CXX_FLAGS MATCHES "-g(|[0-9]|gdb)")
|
||||
AND (NOT CMAKE_CXX_FLAGS_RELEASE MATCHES "-g(|[0-9]|gdb)"))
|
||||
add_cxxflag("-g2")
|
||||
endif()
|
||||
-
|
||||
endif()
|
||||
|
||||
if(DEBUG_EXTRA)
|
||||
@@ -419,15 +389,7 @@
|
||||
add_cxxflag("-fbounds-checking")
|
||||
add_cxxflag("-fcatch-undefined-behavior")
|
||||
add_cxxflag("-Wstrict-aliasing=1")
|
||||
- else()
|
||||
- # -Wuninitialized causes too many false positives
|
||||
- add_cxxflag("-Wno-uninitialized")
|
||||
- # (clang only) Conflicts with using const variables for configuration.
|
||||
- add_cxxflag("-Wno-constant-logical-operand")
|
||||
endif()
|
||||
-
|
||||
- # Because we are lazy
|
||||
- add_ldflag("-Wl,--as-needed")
|
||||
|
||||
# Xcode does not support -isystem yet
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
@ -1,3 +1,2 @@
|
||||
DIST FisicaLab-0.2.1.tar.gz 4197741 SHA256 ea6f42e229e994613420795426b4d663c8451fd619ca9129e4cfd0f136cb7da2
|
||||
DIST FisicaLab-0.2.2.tar.gz 4201921 SHA256 6c92da70ba75666c43f899b6bdfb5fcbde2c3d921bad684d8c0263c21821cf77 SHA512 bd42a25b01bcb502de2ae79e7cddeebbd0bc677487b47614797e5fa3fb2dd871d15afbfc416b11f835c253cb57172c8d657fed6d4f9718346c05d41e96facd8a WHIRLPOOL 4942276953a7cef630ea7aab32da7460eb1de6d33bddbdadc26d7b41451591c005c6c86ab4642b3c6285dcfedb3f3f5dfbf0004f53e9129b887870dfbb972f1a
|
||||
DIST FisicaLab-0.3.0.tar.gz 5308189 SHA256 e21e21e5bbbde4de99572af54a6e49bf7fb8cbdce7e16f8d8177d1ec76e6d95a SHA512 d27e0986ffd06312819161c0da9228ce210c10b16cb3e617dd7db86b857f842fb45be8080daa12ca65e752843eec72f031d6097bfafdba3dfc13828767054d41 WHIRLPOOL f19711112c5656ce1203f6abacedb68007915a88f1b05fa1250435264d5ff492631e4e214d7551f77c98190737d76a8d2dfdac5ea17f9efc82f504f65388a40d
|
||||
DIST fisicalab-0.3.2.tar.gz 5342054 SHA256 0966baa72835f2bc5da3bc05ee1f9a93c5fb01dfe19dd3780d829a48f9815cdb SHA512 270bc6ed198db4d64ab632cc6b953b0626ce4081c8db43017fdca32bd6050514e84b76ea6e8662de29f1e63ca7d40925e571409fb965deaeb292e0ad0723d320 WHIRLPOOL 41ecba4c6b681e104c0e11d76cec69dcd53fa8a88703ad8270cb97795a0889015f5f007f5c033b161fab2e913babd4a844615d7f3d814cca5e9af112a87a8fc6
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- GNUmakefile.preamble.orig 2009-07-21 13:59:31.000000000 +0200
|
||||
+++ GNUmakefile.preamble 2009-07-21 13:59:33.000000000 +0200
|
||||
@@ -12,7 +12,7 @@
|
||||
ADDITIONAL_CFLAGS +=
|
||||
|
||||
# Additional flags to pass to the linker
|
||||
-ADDITIONAL_LDFLAGS += -lgsl -lgslcblas
|
||||
+ADDITIONAL_LDFLAGS +=
|
||||
|
||||
# Additional include directories the compiler should search
|
||||
ADDITIONAL_INCLUDE_DIRS += -I/usr/include
|
||||
@@ -21,5 +21,5 @@
|
||||
ADDITIONAL_LIB_DIRS += -L/usr/lib
|
||||
|
||||
# Additional GUI libraries to link
|
||||
-ADDITIONAL_GUI_LIBS +=
|
||||
+ADDITIONAL_GUI_LIBS += -lgsl -lgslcblas
|
||||
|
@ -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/gnustep-apps/fisicalab/fisicalab-0.2.1.ebuild,v 1.1 2011/06/28 15:35:43 voyageur Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit gnustep-2
|
||||
|
||||
MY_P=FisicaLab-${PV}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DESCRIPTION="educational application to solve physics problems"
|
||||
HOMEPAGE="http://www.nongnu.org/fisicalab"
|
||||
SRC_URI="mirror://nongnu/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sci-libs/gsl-1.10
|
||||
>=virtual/gnustep-back-0.16.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.1-as-needed.patch
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ufraw-0.18.tar.gz 1219440 SHA256 24fe739c61e9e14de1900008477c8662553e93427569c1d595556d440e6b9205 SHA512 3f1279b2fc9fe1dd19670a9f4e84dcbc9766de5efcb070ced006e6b7ad4956d7bc51cec437a9c47f1bbfbe22eb348c67afb8d6e5772e07a135b0c7b4abf2d7e6 WHIRLPOOL ec1998c32f6aab2402dc502d6150b09819e24b6ae06c42140930ee0bc746f49e020a7326eace92678131fc0fee92f1949598eabaff1a41b14f35686e69182a8a
|
||||
DIST ufraw-0.19.1.tar.gz 1249766 SHA256 c9fc5168628481effa42e802fdced44a2b166bf2efa7f691ed37d0a4e0332573 SHA512 342595182d034c06130c6d46d1f2ef07c778bf696253c9d2d7b6e46c506f66d5275bea9995746485b0ca3609c46b3438c87c93ae57d007ef09f4f91d8d9b1e40 WHIRLPOOL 047d1c3d269def9f4df8c4571df717ecdbd34166c72474c013de93be824160a23cffbf2ca623b56093a7a322fb0e42d2f7c1ee241b7955157fd2f45ae0ffd00e
|
||||
DIST ufraw-0.19.tar.gz 1251852 SHA256 12d551418c5e69ae904cb92e9ac11b4d2e4327a857ee13ac890f34320eb58b9a SHA512 49268ca663758e1cb1a8fbed3ccc236f1c89cb8b609cf2dd946750af26159ef4387f06fd22f4da5d1e4a198355616288e8cbd5738dbfdefce92676482cbde1f3 WHIRLPOOL b2a460b48eedc708d8534eddadaef6cc0ddee5414da4af078c0aded1182b0787e7f4c699f91591ea03a916e34a1ff19e441d7ffd05d0c002e9a24a59510e545b
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.19.1.ebuild,v 1.1 2013/03/13 20:39:49 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils fdo-mime gnome2-utils
|
||||
|
||||
DESCRIPTION="RAW Image format viewer and GIMP plugin"
|
||||
HOMEPAGE="http://ufraw.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE="contrast fits gimp gnome gtk openmp timezone"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
>=media-gfx/exiv2-0.11
|
||||
virtual/jpeg
|
||||
media-libs/lcms:0
|
||||
>=media-libs/lensfun-0.2.5
|
||||
media-libs/tiff
|
||||
fits? ( sci-libs/cfitsio )
|
||||
gnome? ( >=gnome-base/gconf-2 )
|
||||
gtk? ( >=x11-libs/gtk+-2.6:2
|
||||
>=media-gfx/gtkimageview-1.5 )
|
||||
gimp? ( >=x11-libs/gtk+-2.6:2
|
||||
>=media-gfx/gtkimageview-1.5
|
||||
>=media-gfx/gimp-2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.17-cfitsio-automagic.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--without-cinepaint \
|
||||
$(use_enable contrast) \
|
||||
$(use_with fits cfitsio) \
|
||||
$(use_with gimp) \
|
||||
$(use_enable gnome mime) \
|
||||
$(use_with gtk) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable timezone dst-correction) \
|
||||
$(usex gimp --with-gtk "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" schemasdir=/etc/gconf/schemas install
|
||||
dodoc README TODO
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use gnome; then
|
||||
gnome2_gconf_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gnome; then
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_gconf_install
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gnome; then
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
fi
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/libwebp-0.2.1-r1.ebuild,v 1.1 2013/03/13 19:08:18 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A lossy image compression format"
|
||||
HOMEPAGE="http://code.google.com/p/webp/"
|
||||
SRC_URI="http://webp.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="experimental static-libs"
|
||||
|
||||
RDEPEND="media-libs/libpng:0=
|
||||
media-libs/tiff:0=
|
||||
virtual/jpeg"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
multilib_src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable experimental) \
|
||||
--enable-experimental-libwebpmux
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
dodoc AUTHORS ChangeLog doc/*.txt NEWS README{,.mux}
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST flrig-1.3.08.tar.gz 554818 SHA256 b2c377c42527d155c7b83c60fc90d62f92bec74e777d0d167e0f2ab7d72e4abf SHA512 8b654e578b83bbeddf7bcbd560de5ed55b034f23428fc574b60bd18450a6ffea530f42004aef0b85cb7f2018d3603a789f3ccc77569d61506beb02eca2ea043c WHIRLPOOL 7c4fab9711191d125a777264e8194fb8e1480cfc5c4964456c0ae711b11b417574d3d8802dc78fd8545b1cdd7bfd4f83ec73a9a8df5d572910b361dd2e1ae1b1
|
||||
DIST flrig-1.3.09.tar.gz 555504 SHA256 675e01514ef689db30492dd9d725b5e25050e66075f9a59ae874b6b46e5e3897 SHA512 6a900caf678e14dbe10e395cb3924716077b38fe21967ef5155022c34a6aa844e4feaa45c2bb954fc07e32759205f9a61b57a97e99d5863428380e74b55cb393 WHIRLPOOL 4c8e6c4439555fd4a80db10df6b1bf3181da5d7ee679e4ecf8d40cf9608eb467af6457175ff441a2186ea398d6ff53ca10efc335910e5cf53cc159c3aa4ebced
|
||||
DIST flrig-1.3.10.tar.gz 568139 SHA256 823b66306ac4a53a24bcfd66d05f2f51ae5f730e46701f0dda4aaf1b32d76188 SHA512 186358cf3bbadb5fbebe4f34c0e5499068186a048dac688614daa16d21694dda0fde9fe90bce039db59d86918f2bcf1f9000e3d0a06043eba79c02970deb903d WHIRLPOOL 2fb0ba051cb7673316f7b199d267e65518ff51caf548a4e9be8ba9db83f4b48c834a846ed1586e6e99f31c8a018418161ec0e97f940c6e6c856c8e60a97821d2
|
||||
DIST flrig-1.3.11.tar.gz 568236 SHA256 ed8c43d4cffd5394c22cb134b0ca8404e1acaecfff9f51eb443c90119e98f289 SHA512 2a4606c4ccb5224067a47f94c4922cc2a3756d647505cffeb02fc486d9565073ef409f4638d05cf5fd4214ea76ccf7dc42cabcd5405b7f517914bfa91977e482 WHIRLPOOL 46bfe2a2e8f08b4591d52f7c15772a0efebc7726bc77c3c4018d424b1e58da50ff320cb5808b15bd59ec9efd880a2aca9eb85a7fb319f0acc0e51c2510ae9c8c
|
||||
|
@ -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/media-radio/flrig/flrig-1.3.08.ebuild,v 1.4 2012/12/14 18:03:24 tomjbe Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Transceiver control program for Amateur Radio use"
|
||||
HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html"
|
||||
SRC_URI="http://www.w1hkj.com/downloads/flrig/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
x11-libs/fltk:1
|
||||
x11-misc/xdg-utils"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog README || die
|
||||
}
|
@ -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/media-radio/flrig/flrig-1.3.09.ebuild,v 1.2 2012/12/14 18:03:24 tomjbe Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Transceiver control program for Amateur Radio use"
|
||||
HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html"
|
||||
SRC_URI="http://www.w1hkj.com/downloads/flrig/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
x11-libs/fltk:1
|
||||
x11-misc/xdg-utils"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog README || die
|
||||
}
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/spotify/spotify-0.8.8.323-r2.ebuild,v 1.1 2013/03/14 06:02:39 prometheanfire Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils pax-utils
|
||||
|
||||
DESCRIPTION="Spotify is a social music platform"
|
||||
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
|
||||
MY_PV="${PV}.gd143501.250-1"
|
||||
MY_P="${PN}-client_${MY_PV}"
|
||||
SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}/"
|
||||
#SRC_BASE="http://download.spotify.com/preview/"
|
||||
SRC_URI="
|
||||
x86? ( ${SRC_BASE}${MY_P}_i386.deb )
|
||||
amd64? ( ${SRC_BASE}${MY_P}_amd64.deb )
|
||||
"
|
||||
LICENSE="Spotify"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnome pax_kernel pulseaudio"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
x11-libs/libxcb
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXext
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtwebkit:4
|
||||
x11-misc/xdg-utils
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
dev-libs/openssl:0
|
||||
dev-libs/glib:2
|
||||
media-libs/libpng:1.2
|
||||
dev-db/sqlite:3
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
sys-apps/dbus
|
||||
sys-apps/util-linux
|
||||
dev-libs/expat
|
||||
>=dev-libs/nspr-4.9
|
||||
gnome-base/gconf:2
|
||||
x11-libs/gtk+:2
|
||||
dev-libs/nss
|
||||
dev-libs/glib:2
|
||||
net-print/cups
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.21 )
|
||||
gnome? ( gnome-extra/gnome-integration-spotify )"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
QA_PREBUILT="/opt/spotify/spotify-client/spotify
|
||||
/opt/spotify/spotify-client/libcef.so"
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${P}"
|
||||
cd "${P}"
|
||||
unpack ${A}
|
||||
unpack ./data.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# link against openssl-1.0.0 as it crashes with 0.9.8
|
||||
sed -i \
|
||||
-e 's/\(lib\(ssl\|crypto\).so\).0.9.8/\1.1.0.0/g' \
|
||||
opt/spotify/spotify-client/spotify || die "sed failed"
|
||||
# different NSPR / NSS library names for some reason
|
||||
sed -i \
|
||||
-e 's/\(lib\(nss3\|nssutil3\|smime3\).so\).1d/\1.12/g' \
|
||||
-e 's/\(lib\(plc4\|nspr4\).so\).0d\(.\)/\1.9\3\3/g' \
|
||||
opt/spotify/spotify-client/libcef.so || die "sed failed"
|
||||
# Fix desktop entry to launch spotify-dbus.py for GNOME integration
|
||||
if use gnome ; then
|
||||
sed -i \
|
||||
-e 's/spotify \%U/spotify-dbus.py \%U/g' \
|
||||
opt/spotify/spotify-client/spotify.desktop || die "sed failed"
|
||||
fi
|
||||
#and fix other stuff in the desktop file as well
|
||||
sed -i \
|
||||
-e 's/x-scheme-handler\/spotify$/x-scheme-handler\/spotify\;/g' \
|
||||
-e 's/AudioVideo$/AudioVideo\;/g' \
|
||||
opt/spotify/spotify-client/spotify.desktop || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc opt/spotify/spotify-client/changelog
|
||||
dodoc usr/share/doc/spotify-client/changelog.Debian.gz
|
||||
dodoc usr/share/doc/spotify-client/copyright
|
||||
|
||||
insinto /usr/share/pixmaps
|
||||
doins opt/spotify/spotify-client/Icons/*.png
|
||||
|
||||
# install in /opt/spotify
|
||||
SPOTIFY_HOME=/opt/spotify/spotify-client
|
||||
insinto ${SPOTIFY_HOME}
|
||||
doins -r opt/spotify/spotify-client/*
|
||||
fperms +x ${SPOTIFY_HOME}/spotify
|
||||
|
||||
dodir /usr/bin
|
||||
cat <<-EOF >"${D}"/usr/bin/spotify
|
||||
#! /bin/sh
|
||||
LD_PRELOAD="\${LD_PRELOAD} ${SPOTIFY_HOME}/libcef.so"
|
||||
export LD_PRELOAD
|
||||
exec ${SPOTIFY_HOME}/spotify "\$@"
|
||||
EOF
|
||||
fperms +x /usr/bin/spotify
|
||||
|
||||
# revdep-rebuild produces a false positive because of symbol versioning
|
||||
dodir /etc/revdep-rebuild
|
||||
cat <<-EOF >"${D}"/etc/revdep-rebuild/10${PN}
|
||||
SEARCH_DIRS_MASK="${SPOTIFY_HOME}"
|
||||
EOF
|
||||
|
||||
for size in 16 22 24 32 48 64 128 256; do
|
||||
newicon -s ${size} "${S}${SPOTIFY_HOME}/Icons/spotify-linux-${size}.png" \
|
||||
"spotify-client.png"
|
||||
done
|
||||
domenu "${S}${SPOTIFY_HOME}/spotify.desktop"
|
||||
|
||||
if use pax_kernel; then
|
||||
#create the headers, reset them to default, then paxmark -m them
|
||||
pax-mark C "${ED}"/opt/${PN}/spotify-client/${PN} || die
|
||||
pax-mark z "${ED}"/opt/${PN}/spotify-client/${PN} || die
|
||||
pax-mark m "${ED}"/opt/${PN}/spotify-client/${PN} || die
|
||||
eqawarn "You have set USE=pax_kernel meaning that you intendto run"
|
||||
eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
|
||||
eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
|
||||
eqawarn "you suspect that ${PN} is being broken by this modification,"
|
||||
eqawarn "please open a bug."
|
||||
fi
|
||||
|
||||
#hack to fix the nspr linking in spotify
|
||||
dosym /usr/lib/libnspr4.so /opt/spotify/spotify-client/libnspr4.so.9
|
||||
dosym /usr/lib/libplc4.so /opt/spotify/spotify-client/libplc4.so.9
|
||||
sed -i \
|
||||
's/libcef\.so/libcef\.so\ \/opt\/spotify\/spotify\-client\/libnspr4\.so\.9\ \/opt\/spotify\/spotify\-client\/libplc4\.so\.9/g' \
|
||||
${ED}/usr/bin/spotify
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
|
||||
ewarn "To remove the cache:"
|
||||
ewarn "rm -rf ~/.cache/spotify"
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 13 Mar 2013 17:36:54 +0000
|
||||
Thu, 14 Mar 2013 06:36:53 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 13 Mar 2013 17:36:55 +0000
|
||||
Thu, 14 Mar 2013 06:36:53 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue