parent
57171120a4
commit
b23aca6cc6
@ -1,5 +1,4 @@
|
||||
DIST rsyslog-5.8.11.tar.gz 2393222 RMD160 be13514e02f121ae7b78e0177063ce8cd8a9d859 SHA1 eabba672b9cace696207028da703cf073956d505 SHA256 f75b39cf22506f7a28d986d0a446a09a0806f253dba661f125a241a1b47d6285
|
||||
DIST rsyslog-5.8.5.tar.gz 2364874 RMD160 46b20433e0e5feb807b4777bb8141221fe5dd65b SHA1 a5dc735714b573f577db2892f596dcb0ef35c747 SHA256 a519704c06de1026847f69d99f31a2a32783e9547f5249dddefe805bfbc3ea50
|
||||
DIST rsyslog-5.8.6.tar.gz 2373078 RMD160 96beddd94eea0c635c41409f92c897d3620182c0 SHA1 1afe39077253dc9f636f676e8374d09a101a9c94 SHA256 c51206e3b11c7b4cddf92607b9d6ddd07430ff7dd8d06849804c9ea1c9191825
|
||||
DIST rsyslog-5.8.7.tar.gz 2382972 RMD160 c7d5399826c8b90d8fa307cab604bfd2bb694834 SHA1 48e715361b74d2114a97ac8df2668f344dee3f4c SHA256 ff206ff59b2c0d6913f9edb8c4ec341b6dd5061113cf9155f5ec0c5d821df942
|
||||
DIST rsyslog-5.8.8.tar.gz 2387606 RMD160 db043264814e4146189d9bfb44aa45614a9e8a94 SHA1 d25bfadb08f68f8b261cf4b0db9d4951db37f673 SHA256 3e9c8db459e4e363b2289381923d54d84f2ede29c2f9c542cf21672b163aa570
|
||||
DIST rsyslog-zeromq.tar.gz 22223 RMD160 632a1888d3972da4ce623c8f6973c72b026b035c SHA1 e6f02c25af19022d0cc9d4782f58db3fc27a9f0f SHA256 3cca6ce8722ec5035744a9b88e65b89b35f6b2e6bbdbc9c9bba89d22addd2753
|
||||
|
@ -1,253 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.7.ebuild,v 1.2 2012/05/03 18:02:22 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more."
|
||||
HOMEPAGE="http://www.rsyslog.com/"
|
||||
SRC_URI="http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> ${PN}-zeromq.tar.gz )"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib"
|
||||
|
||||
RDEPEND="dbi? ( dev-db/libdbi )
|
||||
extras? ( net-libs/libnet )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
oracle? ( dev-db/oracle-instantclient-basic )
|
||||
relp? ( >=dev-libs/librelp-0.1.3 )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
ssl? ( net-libs/gnutls )
|
||||
zeromq? ( net-libs/zeromq )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
BRANCH="5-stable"
|
||||
|
||||
# need access to certain device nodes
|
||||
RESTRICT="test"
|
||||
|
||||
# Maitainer note : open a bug to upstream
|
||||
# showing that building in a separate dir fails
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=(AUTHORS ChangeLog doc/rsyslog-example.conf)
|
||||
|
||||
src_prepare() {
|
||||
# Maintainer notes:
|
||||
# ZeroMQ support, for now it is done by hand until upstream process bug.
|
||||
# Bugzilla : http://bugzilla.adiscon.com/show_bug.cgi?id=277
|
||||
if use zeromq; then
|
||||
local ZEROPATH=${WORKDIR}/aggregateknowledge-rsyslog-zeromq-44b551a
|
||||
epatch ${ZEROPATH}/rsyslog-zeromq.patch
|
||||
cp -r ${ZEROPATH}/{i,o}mzeromq "${S}/plugins"
|
||||
fi
|
||||
|
||||
# Don't force '-g' CFLAG
|
||||
sed -i 's/CFLAGS="\(.*\) -g"/CFLAGS="\1"/g' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * rfc3195 needs a library and development of that library
|
||||
# is suspended, so we disable it
|
||||
# * About the java GUI:
|
||||
# The maintainer says there is no real installation support
|
||||
# for the java GUI, so we disable it for now.
|
||||
local myeconfargs=(
|
||||
--disable-gui
|
||||
--disable-rfc3195
|
||||
--enable-largefile
|
||||
--enable-unlimited-select
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imtemplate
|
||||
--enable-imptcp
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omstdout
|
||||
--enable-omtemplate
|
||||
--enable-omdbalerting
|
||||
--enable-omuxsock
|
||||
--enable-pmlastmsg
|
||||
--enable-pmrfc3164sd
|
||||
--enable-pmcisconames
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmsnare
|
||||
$(use_enable extras omudpspoof)
|
||||
$(use_enable zlib)
|
||||
$(use_enable mysql)
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable oracle oracle)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable relp)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable debug)
|
||||
$(use_enable debug rtinst)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug valgrind)
|
||||
)
|
||||
|
||||
use zeromq && myeconfargs=(
|
||||
${myeconfargs[@]-}
|
||||
$(use_enable zeromq imzeromq)
|
||||
$(use_enable zeromq omzeromq)
|
||||
)
|
||||
|
||||
systemd_to_myeconfargs
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=(doc/)
|
||||
autotools-utils_src_install
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}-gentoo.conf" ${PN}.conf
|
||||
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd" ${PN}
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
CERTDIR="${ROOT}/etc/ssl/${PN}"
|
||||
if [ ! -d "${CERTDIR}" ]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<_EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<_EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<_EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
diff --git a/vmblock-only/linux/filesystem.c b/vmblock-only/linux/filesystem.c
|
||||
index b7c535e..a36a01e 100644
|
||||
--- a/vmblock-only/linux/filesystem.c
|
||||
+++ b/vmblock-only/linux/filesystem.c
|
||||
@@ -525,7 +525,11 @@ FsOpReadSuper(struct super_block *sb, // OUT: Superblock object
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
|
||||
rootDentry = d_alloc_root(rootInode);
|
||||
+#else
|
||||
+ rootDentry = d_make_root(rootInode);
|
||||
+#endif
|
||||
if (!rootDentry) {
|
||||
iput(rootInode);
|
||||
return -ENOMEM;
|
@ -1,6 +1,2 @@
|
||||
DIST eix-0.23.10.tar.xz 438336 RMD160 a12710983fd33e04350fe519b99c9b62fe647e15 SHA1 d96c06bfe1f6a9a796813841fb7b30876a069d92 SHA256 6525b65de08dc3c5946f008b57c8027e5725d2bbc0bf5b980afda65ea207b356
|
||||
DIST eix-0.23.3.tar.xz 443364 RMD160 ad7b6842ceeaa4d93bdf7fa6fcdc85f773b54970 SHA1 55d9a6ef2ebf07ba4293b9b2b78443658c47b12f SHA256 c9525a4f8605250469600667e364e2d9325d7964b3476653bb8908f28cccb828
|
||||
DIST eix-0.24.0.tar.xz 430532 RMD160 293918654907c068dd50d69c02c6efa0a10a3bea SHA1 f7ed5e7a51435d13d180311145fa865091f7844b SHA256 13526c5ce547cf3df1de40df632dacf2c60b84f3e69735ba76ae489fe9b1a24a
|
||||
DIST eix-0.25.3.tar.xz 432360 RMD160 ebd856614bd9e8be425b7427848c9f8ec7b85205 SHA1 0c68f5fb2eb9a189e65dce7fa5c141c980d46559 SHA256 b0fcbdf4e1184ca9996f8cfd057e27b159cca3cece17b4158dcd3b0068b28353
|
||||
DIST eix-0.25.4.tar.xz 435936 RMD160 518758615be1a905c169a1501d2d9d3e4a3ab980 SHA1 4da4f8e2e500e42bc8c7652474f958219f265978 SHA256 bcce245933c2551650468208b0c18517d7d51800c756fd9b5e66ff96539a9cf3
|
||||
DIST eix-0.25.5.tar.xz 487608 RMD160 a354ddf819ddb540aaf8db8b8e86fcff3e28766f SHA1 b5bbae884f448cefe1e568e0d00d64ae0bcae513 SHA256 bc0ff803063e7a20ad6cd24763808f5a2b95600bf2b6525fff402e4e430606c6
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.23.3-r1.ebuild,v 1.8 2012/01/27 20:50:16 ranger Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib bash-completion-r1
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
|
||||
HOMEPAGE="http://eix.berlios.de"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls optimization security strong-optimization sqlite tools zsh-completion"
|
||||
|
||||
RDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )
|
||||
zsh-completion? ( !!<app-shells/zsh-completion-20091203-r1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_with zsh-completion) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
--without-bzip2 \
|
||||
--with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.24.0.ebuild,v 1.1 2012/03/04 04:40:33 darkside Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib bash-completion-r1
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
|
||||
HOMEPAGE="http://eix.berlios.de"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls optimization security strong-optimization sqlite tools zsh-completion"
|
||||
|
||||
RDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )
|
||||
zsh-completion? ( !!<app-shells/zsh-completion-20091203-r1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_with zsh-completion) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
--without-bzip2 \
|
||||
--with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.25.3.ebuild,v 1.3 2012/05/05 22:59:28 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib bash-completion-r1
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
|
||||
HOMEPAGE="http://eix.berlios.de"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion"
|
||||
|
||||
RDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )
|
||||
zsh-completion? ( !!<app-shells/zsh-completion-20091203-r1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<${CATEGORY}/${PN}-0.25.3"; then
|
||||
local eixcache="${EROOT}"/var/cache/${PN}
|
||||
[[ -f ${eixcache} ]] && rm -f "${eixcache}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_with zsh-completion) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
$(use_with dep dep-default) \
|
||||
--with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
keepdir "/var/cache/${PN}"
|
||||
fowners portage:portage "/var/cache/${PN}"
|
||||
fperms 775 "/var/cache/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# fowners in src_install doesn't work for owner/group portage:
|
||||
# merging changes this owner/group back to root.
|
||||
use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
|
||||
local obs="${EROOT}var/cache/eix.previous"
|
||||
! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.25.4.ebuild,v 1.1 2012/05/06 20:28:51 darkside Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib bash-completion-r1
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
|
||||
HOMEPAGE="http://eix.berlios.de"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion"
|
||||
|
||||
RDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )
|
||||
zsh-completion? ( !!<app-shells/zsh-completion-20091203-r1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<${CATEGORY}/${PN}-0.25.3"; then
|
||||
local eixcache="${EROOT}"/var/cache/${PN}
|
||||
[[ -f ${eixcache} ]] && rm -f "${eixcache}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_with zsh-completion) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
$(use_with dep dep-default) \
|
||||
--with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
keepdir "/var/cache/${PN}"
|
||||
fowners portage:portage "/var/cache/${PN}"
|
||||
fperms 775 "/var/cache/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# fowners in src_install doesn't work for owner/group portage:
|
||||
# merging changes this owner/group back to root.
|
||||
use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
|
||||
local obs="${EROOT}var/cache/eix.previous"
|
||||
! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>base-system</herd>
|
||||
<maintainer>
|
||||
<email>robbat2@gentoo.org</email>
|
||||
<name>Robin H. Johnson</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST libusbx-1.0.11.tar.bz2 398126 RMD160 8f4ebe82366df9a386edfb36417915006f18e94e SHA1 8ad4cbc47eb9380663ce46ee74e50c1f098beb47 SHA256 38eb9d847650049a8d606bf356cf2237a5c7cc10bf6e72ae52fd0fe381f63690
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/libusbx-1.0.11.ebuild,v 1.1 2012/05/22 15:58:13 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Userspace access to USB devices"
|
||||
HOMEPAGE="http://libusbx.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="debug doc static-libs"
|
||||
|
||||
RDEPEND="!dev-libs/libusb:1"
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS="AUTHORS NEWS PORTING README THANKS TODO"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug debug-log)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
use doc && emake -C doc docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
|
||||
dohtml doc/html/*
|
||||
fi
|
||||
|
||||
rm -f "${ED}"/usr/lib*/lib*.la
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
|
||||
<herd>base-system</herd>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST xmlrpc-epi-0.54.2.tar.bz2 348478 RMD160 1359cb6491479bfbc81bf92c3d32dd6e6315082e SHA1 08380364d956b3792bf91b23929bf152c55caacf SHA256 c74ef8fb680b140890138a82f37619714b67f69025a775b9ba2009d62cded0b8
|
||||
DIST xmlrpc-epi-0.54.tar.gz 491572 RMD160 4f51c47f1e84a21b0041e770d9362c8be371c242 SHA1 e547f2399c008a818b43161c1df593a0490c7567 SHA256 bd685ec51a477a28735188c10313d9f9ca35a7725a740ad49ccdcf62d9ca0e3f
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild,v 1.1 2012/05/22 11:21:13 polynomial-c Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Epinions implementation of XML-RPC protocol in C"
|
||||
HOMEPAGE="http://xmlrpc-epi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xmlrpc-epi/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Epinions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
DEPEND="dev-libs/expat"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# NOTES:
|
||||
# to prevent conflict with xmlrpc-c, headers are installed in
|
||||
# /usr/include/${PN} instead of /usr/include (bug 274291)
|
||||
|
||||
src_prepare() {
|
||||
# do not build examples
|
||||
sed -i -e "s:sample::" Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--includedir=/usr/include/${PN} \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if ! use static-libs; then
|
||||
# remove useless la files
|
||||
rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
|
||||
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins sample/*.c sample/*.php || die "doins failed"
|
||||
doins -r sample/tests || die "doins failed"
|
||||
fi
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST Whoosh-2.3.2.tar.gz 882717 RMD160 cb74761d583e72ba3eb9235d74fe895097369982 SHA1 100234126ef7388dddd7ed2f64460e4f380f3ea3 SHA256 15d451a6045bffed6dfc141a72647ec350e08d218ac0f550b0120af81e5152c7
|
@ -1,42 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Matt Chaput <matt@whoosh.ca>
|
||||
# Date 1324378116 18000
|
||||
# Node ID d8001e7edb2854a664570edd9ca97d93aba7c4e3
|
||||
# Parent 3544fa894e795ef62bf5ea00f11a393655a8b70f
|
||||
Removed print_function import to fix error in Python 2.5.
|
||||
Removed debug flag from parsing test.
|
||||
|
||||
diff -r 3544fa894e795ef62bf5ea00f11a393655a8b70f -r d8001e7edb2854a664570edd9ca97d93aba7c4e3 src/whoosh/qparser/common.py
|
||||
--- a/src/whoosh/qparser/common.py Tue Dec 20 01:33:13 2011 -0500
|
||||
+++ b/src/whoosh/qparser/common.py Tue Dec 20 05:48:36 2011 -0500
|
||||
@@ -30,7 +30,8 @@
|
||||
parser modules.
|
||||
"""
|
||||
|
||||
-from __future__ import print_function
|
||||
+import sys
|
||||
+
|
||||
from whoosh.compat import string_type
|
||||
|
||||
|
||||
@@ -55,6 +56,6 @@
|
||||
return q
|
||||
|
||||
|
||||
-def print_debug(level, msg):
|
||||
+def print_debug(level, msg, out=sys.stderr):
|
||||
if level:
|
||||
- print(" " * (level - 1), msg)
|
||||
+ out.write("%s%s\n" % (" " * (level - 1), msg))
|
||||
diff -r 3544fa894e795ef62bf5ea00f11a393655a8b70f -r d8001e7edb2854a664570edd9ca97d93aba7c4e3 tests/test_parsing.py
|
||||
--- a/tests/test_parsing.py Tue Dec 20 01:33:13 2011 -0500
|
||||
+++ b/tests/test_parsing.py Tue Dec 20 05:48:36 2011 -0500
|
||||
@@ -608,7 +608,7 @@
|
||||
def test_stopped():
|
||||
schema = fields.Schema(text=fields.TEXT)
|
||||
qp = default.QueryParser("text", schema)
|
||||
- q = qp.parse(u("a b"), debug=True)
|
||||
+ q = qp.parse(u("a b"))
|
||||
assert_equal(q, query.NullQuery)
|
||||
|
||||
def test_analyzing_terms():
|
@ -1,3 +1 @@
|
||||
DIST netifaces-0.5.tar.gz 9069 RMD160 0cc9cfffdc1abd057aea2ed27403b269e92dba69 SHA1 8b79e65bc6871bbb5d8160ae52fa4983e97ed347 SHA256 6348530ac1ea3af93547ffe5af83776e1f107efa86e8af082ea8c05975986b46
|
||||
DIST netifaces-0.6.tar.gz 14546 RMD160 755811579d24687f9422aaef8312340bc63d2c58 SHA1 5f1e696600be5627b7bd7a60d2104e57a88fe4f3 SHA256 6abb5e2d638a72415d730374bfc40fc4b0b9b2130d5a1f8b822e797ffd55a66f
|
||||
DIST netifaces-0.8.tar.gz 15484 RMD160 e5204d8415d1ae1ec84118eeb86928a1ea770f18 SHA1 a483338e1cb75dd572109467d523e152088c026d SHA256 53a711038db3d6e5cf7129d6f751185fd052f830f12f271fbfe17bd2671ab1ec
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/netifaces/netifaces-0.5.ebuild,v 1.3 2012/02/22 08:34:34 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils python
|
||||
|
||||
DESCRIPTION="Portable network interface information"
|
||||
HOMEPAGE="http://alastairs-place.net/netifaces/"
|
||||
SRC_URI="http://alastairs-place.net/2007/03/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/netifaces/netifaces-0.6.ebuild,v 1.4 2012/04/09 16:00:26 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils python
|
||||
|
||||
DESCRIPTION="Portable network interface information"
|
||||
HOMEPAGE="http://alastairs-place.net/netifaces/"
|
||||
SRC_URI="http://alastairs-place.net/projects/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
@ -0,0 +1 @@
|
||||
DIST Whoosh-2.4.0.tar.gz 923742 RMD160 6006cfc342141ca85c1cde86593e85bd3232c493 SHA1 d8994d1913e0fa4850702609efc75d0aaa928458 SHA256 12d55e0a844dce25a5764b1b0dedcc12fe91d2f5082ee1015fcc693acdba9198
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>bugs@bergstroem.nu</email>
|
||||
<name>Johan Bergström</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Whoosh is a fast, featureful full-text indexing and searching
|
||||
library implemented in pure Python. Programmers can use it to
|
||||
easily add search functionality to their applications and websites.
|
||||
Every part of how Whoosh works can be extended or replaced to meet
|
||||
your needs exactly.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,35 @@
|
||||
Downloaded from https://projects.archlinux.org/svntogit/community.git/plain/trunk/regexxer-glib2.32.patch?h=packages/regexxer
|
||||
for bug 417049
|
||||
|
||||
--- regexxer-0.10/src/fileshared.h
|
||||
+++ regexxer-0.10/src/fileshared.h
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "sharedptr.h"
|
||||
|
||||
+#include <glibmm/regex.h>
|
||||
#include <gtkmm/textbuffer.h>
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
--- regexxer-0.10/src/globalstrings.h
|
||||
+++ regexxer-0.10/src/globalstrings.h
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED
|
||||
#define REGEXXER_GLOBALSTRINGS_H_INCLUDED
|
||||
|
||||
-#include <glib/gutils.h> /* for G_DIR_SEPARATOR_S */
|
||||
+#include <glib.h> /* for G_DIR_SEPARATOR_S */
|
||||
|
||||
namespace Regexxer
|
||||
{
|
||||
--- regexxer-0.10/src/translation.h
|
||||
+++ regexxer-0.10/src/translation.h
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef REGEXXER_TRANSLATION_H_INCLUDED
|
||||
#define REGEXXER_TRANSLATION_H_INCLUDED
|
||||
|
||||
-#include <glib/gmacros.h>
|
||||
+#include <glib.h>
|
||||
#include <glibmm/ustring.h>
|
||||
|
||||
#ifndef gettext_noop
|
@ -0,0 +1,43 @@
|
||||
core/configure.ac | 6 ++++++
|
||||
core/src/Makefile.am | 2 +-
|
||||
2 files changed, 7 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/core/configure.ac b/core/configure.ac
|
||||
index c5fbb84..ae9e235 100644
|
||||
--- a/core/configure.ac
|
||||
+++ b/core/configure.ac
|
||||
@@ -616,6 +616,7 @@ AS_IF(
|
||||
AC_SUBST([PNG_CFLAGS])
|
||||
AC_SUBST([PNG_LIBS])
|
||||
|
||||
+BZ2_LIBS=
|
||||
AS_IF(
|
||||
[test "x${config_ttf}" = "xyes"],
|
||||
[
|
||||
@@ -625,8 +626,13 @@ AS_IF(
|
||||
,
|
||||
[AC_MSG_ERROR([freetype was not found.])]
|
||||
)
|
||||
+ AC_CHECK_LIB([bz2], [BZ2_bzDecompress],
|
||||
+ [BZ2_LIBS="${BZ2_LIBS} -lbz2"],
|
||||
+ [AC_MSG_ERROR(['libbz2' library was not found.])]
|
||||
+ )
|
||||
]
|
||||
)
|
||||
+AC_SUBST([BZ2_LIBS])
|
||||
|
||||
AH_TOP([#ifndef __SPLASH_CONFIG_H
|
||||
#define __SPLASH_CONFIG_H])
|
||||
diff --git a/core/src/Makefile.am b/core/src/Makefile.am
|
||||
index d6ce315..349b5e7 100644
|
||||
--- a/core/src/Makefile.am
|
||||
+++ b/core/src/Makefile.am
|
||||
@@ -190,7 +190,7 @@ fbsplashctl_SOURCES = $(fbsplashd_SOURCES) $(splash_util_SOURCES) fbspla
|
||||
fbsplashctl_CFLAGS = $(AM_CFLAGS) $(PTHREAD_STATIC_CFLAGS) $(RT_CFLAGS) $(libfbsplashrender_la_CFLAGS) -DUNIFIED_BUILD
|
||||
fbsplashctl_CPPFLAGS = $(fbsplashd_CPPFLAGS) $(splash_util_CPPFLAGS)
|
||||
fbsplashctl_LDFLAGS = $(AM_LDFLAGS) -all-static
|
||||
-fbsplashctl_LDADD = libfbsplashrender.la libfbsplash.la $(PTHREAD_STATIC_LIBS) $(RT_LIBS) $(GPM_LIBS)
|
||||
+fbsplashctl_LDADD = libfbsplashrender.la libfbsplash.la $(PTHREAD_STATIC_LIBS) $(RT_LIBS) $(GPM_LIBS) $(BZ2_LIBS)
|
||||
|
||||
if CONFIG_FBCON_DECOR
|
||||
fbsplashctl_SOURCES += $(fbcondecor_ctl_SOURCES)
|
@ -0,0 +1,239 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild,v 1.1 2012/05/22 13:16:35 xmw Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs
|
||||
|
||||
MISCSPLASH="miscsplashutils-0.1.8"
|
||||
GENTOOSPLASH="splashutils-gentoo-1.0.17"
|
||||
V_JPEG="8a"
|
||||
V_PNG="1.4.3"
|
||||
V_ZLIB="1.2.3"
|
||||
V_FT="2.3.12"
|
||||
|
||||
ZLIBSRC="libs/zlib-${V_ZLIB}"
|
||||
LPNGSRC="libs/libpng-${V_PNG}"
|
||||
JPEGSRC="libs/jpeg-${V_JPEG}"
|
||||
FT2SRC="libs/freetype-${V_FT}"
|
||||
|
||||
RESTRICT="test"
|
||||
IUSE="hardened +png +truetype +mng gpm fbcondecor"
|
||||
|
||||
DESCRIPTION="Framebuffer splash utilities."
|
||||
HOMEPAGE="http://fbsplash.berlios.de"
|
||||
SRC_URI="mirror://berlios/fbsplash/${PN}-lite-${PV}.tar.bz2
|
||||
mirror://berlios/fbsplash/${GENTOOSPLASH}.tar.bz2
|
||||
mirror://gentoo/${MISCSPLASH}.tar.bz2
|
||||
mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2
|
||||
ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz
|
||||
mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2
|
||||
http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
RDEPEND="gpm? ( sys-libs/gpm )
|
||||
truetype? ( >=media-libs/freetype-2[static-libs]
|
||||
|| ( <app-arch/bzip2-1.0.6-r3 app-arch/bzip2[static-libs] )
|
||||
|| ( <sys-libs/zlib-1.2.5.1-r2 sys-libs/zlib[static-libs] ) )
|
||||
png? ( >=media-libs/libpng-1.4.3[static-libs] )
|
||||
mng? (
|
||||
media-libs/lcms:0[static-libs]
|
||||
|| ( media-libs/libmng[static-libs] <media-libs/libmng-1.0.10-r1 )
|
||||
)
|
||||
virtual/jpeg[static-libs]
|
||||
>=sys-apps/baselayout-1.9.4-r5
|
||||
app-arch/cpio
|
||||
media-gfx/fbgrab
|
||||
!sys-apps/lcdsplash"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/klibc-1.5
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
SG="${WORKDIR}/${GENTOOSPLASH}"
|
||||
SM="${WORKDIR}/${MISCSPLASH}"
|
||||
|
||||
pkg_setup() {
|
||||
if use hardened; then
|
||||
ewarn "Due to problems with klibc, it is currently impossible to compile splashutils"
|
||||
ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with"
|
||||
ewarn "-fno-stack-protector. Hardened GCC features will not be used while building"
|
||||
ewarn "the splash kernel helper."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mv "${WORKDIR}"/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} "${S}/libs"
|
||||
# We need to delete the Makefile and let it be rebuilt when splashutils
|
||||
# is being configured. Either that, or we end up with a segfaulting kernel
|
||||
# helper.
|
||||
rm "${S}/libs/zlib-${V_ZLIB}/Makefile"
|
||||
|
||||
cd "${SG}"
|
||||
epatch "${FILESDIR}/splashutils-1.5.4.4-gentoo-typo-fix.patch"
|
||||
|
||||
if use truetype ; then
|
||||
cd "${SM}"
|
||||
epatch "${FILESDIR}/splashutils-1.5.4.4-freetype-bz2.patch"
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
ln -sf "${S}/src" "${WORKDIR}/core"
|
||||
|
||||
epatch "${FILESDIR}/${P}-bzip2.patch"
|
||||
|
||||
if ! tc-is-cross-compiler && \
|
||||
has_version "sys-devel/gcc:$(gcc-version)[vanilla]" ; then
|
||||
ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile"
|
||||
ewarn "splashutils, you're on your own, as this configuration is not supported."
|
||||
else
|
||||
# This should make splashutils compile on systems with hardened GCC.
|
||||
sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i "${S}/Makefile.in"
|
||||
fi
|
||||
|
||||
if ! use truetype ; then
|
||||
sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile"
|
||||
fi
|
||||
|
||||
# Latest version of klibc defined its own version of ferror, so there is
|
||||
# not need for the hack in klibc_compat.h
|
||||
if has_version ">=dev-libs/klibc-1.5.20"; then
|
||||
echo > "libs/klibc_compat.h"
|
||||
fi
|
||||
|
||||
rm -f m4/*
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
cd "${SM}"
|
||||
emake CC="${CC}" LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils"
|
||||
|
||||
cd "${S}"
|
||||
econf \
|
||||
$(use_with png) \
|
||||
$(use_with mng) \
|
||||
$(use_with gpm) \
|
||||
$(use_with truetype ttf) \
|
||||
$(use_with truetype ttf-kernel) \
|
||||
$(use_enable fbcondecor) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-freetype2-src=${FT2SRC} \
|
||||
--with-jpeg-src=${JPEGSRC} \
|
||||
--with-lpng-src=${LPNGSRC} \
|
||||
--with-zlib-src=${ZLIBSRC} \
|
||||
--with-essential-libdir=/$(get_libdir) || die "failed to configure splashutils"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="${CC}" STRIP="true" || die "failed to build splashutils"
|
||||
|
||||
if has_version ">=sys-apps/baselayout-1.13.99"; then
|
||||
cd "${SG}"
|
||||
emake LIB=$(get_libdir) || die "failed to build the splash plugin"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local LIB=$(get_libdir)
|
||||
|
||||
cd "${SM}"
|
||||
make DESTDIR="${D}" LIB=${LIB} install || die
|
||||
|
||||
cd "${S}"
|
||||
make DESTDIR="${D}" STRIP="true" install || die
|
||||
|
||||
mv "${D}"/usr/${LIB}/libfbsplash.so* "${D}"/${LIB}/
|
||||
gen_usr_ldscript libfbsplash.so
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash
|
||||
doenvd 99splash
|
||||
|
||||
if use fbcondecor ; then
|
||||
newinitd "${SG}"/init-fbcondecor fbcondecor
|
||||
newconfd "${SG}"/fbcondecor.conf fbcondecor
|
||||
fi
|
||||
newconfd "${SG}"/splash.conf splash
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins "${SG}"/initrd.splash
|
||||
|
||||
insinto /etc/splash
|
||||
doins "${SM}"/fbtruetype/luxisri.ttf
|
||||
|
||||
if has_version ">=sys-apps/baselayout-1.13.99"; then
|
||||
cd "${SG}"
|
||||
make DESTDIR="${D}" LIB=${LIB} install || die "failed to install the splash plugin"
|
||||
else
|
||||
cp "${SG}"/splash-functions-bl1.sh "${D}"/sbin/
|
||||
fi
|
||||
|
||||
sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh
|
||||
keepdir /${LIB}/splash/{tmp,cache,bin,sys}
|
||||
dosym /${LIB}/splash/bin/fbres /sbin/fbres
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version "<${CATEGORY}/${PN}-1.0"
|
||||
previous_less_than_1_0=$?
|
||||
|
||||
has_version "<${CATEGORY}/${PN}-1.5.3"
|
||||
previous_less_than_1_5_3=$?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version sys-fs/devfsd || ! has_version sys-fs/udev ; then
|
||||
elog "This package has been designed with udev in mind. Other solutions, such as"
|
||||
elog "devfs or a static /dev tree might work, but are generally discouraged and"
|
||||
elog "not supported. If you decide to switch to udev, you might want to have a"
|
||||
elog "look at 'The Gentoo udev Guide', which can be found at"
|
||||
elog " http://www.gentoo.org/doc/en/udev-guide.xml"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
if [[ $previous_less_than_1_0 = 0 ]] ; then
|
||||
elog "Since you are upgrading from a pre-1.0 version, please make sure that you"
|
||||
elog "rebuild your initrds. You can use the splash_geninitramfs script to do that."
|
||||
elog ""
|
||||
fi
|
||||
|
||||
if [[ $previous_less_than_1_5_3 = 0 ]] && ! use fbcondecor ; then
|
||||
elog "Starting with splashutils-1.5.3, support for the fbcondecor kernel patch"
|
||||
elog "is optional and dependent on the the 'fbcondecor' USE flag. If you wish"
|
||||
elog "to use fbcondecor, run:"
|
||||
elog " echo \"media-gfx/splashutils fbcondecor\" >> /etc/portage/package.use"
|
||||
elog "and re-emerge splashutils."
|
||||
fi
|
||||
|
||||
if ! test -f /proc/cmdline ||
|
||||
! egrep -q '(console=tty1|CONSOLE=/dev/tty1)' /proc/cmdline ; then
|
||||
elog "It is required that you add 'console=tty1' to your kernel"
|
||||
elog "command line parameters."
|
||||
elog ""
|
||||
elog "After these modifications, the relevant part of the kernel command"
|
||||
elog "line might look like:"
|
||||
elog " splash=silent,fadein,theme:emergence console=tty1"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
if ! has_version 'media-gfx/splash-themes-livecd' &&
|
||||
! has_version 'media-gfx/splash-themes-gentoo'; then
|
||||
elog "The sample Gentoo themes (emergence, gentoo) have been removed from the"
|
||||
elog "core splashutils package. To get some themes you might want to emerge:"
|
||||
elog " media-gfx/splash-themes-livecd"
|
||||
elog " media-gfx/splash-themes-gentoo"
|
||||
fi
|
||||
|
||||
elog "Please note that the 'fbsplash' kernel patch has now been renamed to"
|
||||
elog "'fbcondecor'. Accordingly, the old 'splash' initscript is now called"
|
||||
elog "'fbcondecor'. Make sure you update your system. See:"
|
||||
elog " http://dev.gentoo.org/~spock/projects/fbcondecor/#history"
|
||||
elog "for further info about the name changes."
|
||||
elog ""
|
||||
elog "Also note that splash_util has now been split into splash_util, fbsplashd"
|
||||
elog "and fbcondecor_ctl."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST kwave-0.8.7-1.tar.bz2 2867049 RMD160 a97f6e8c3e321e18706840a177a8190e077e04d9 SHA1 3a4a784aafa1ca9c61460cdd57bd11bdc98ec896 SHA256 3874af895ed80986505613df013e08704cce56ef773296907eab39e09498aec7
|
||||
DIST kwave-0.8.8-1.tar.bz2 2915758 RMD160 0cee4616117ca120a8a6c74683e597f56743dd65 SHA1 26b1a2a4a3b15e639592a7a8e009363f5b5d54a9 SHA256 4e7a6ed9bfd08b41a310d9a74a0d1c567c2b1e3921e99b63c9df62dc85fe15d5
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/kwave-0.8.8.ebuild,v 1.2 2012/05/22 15:26:32 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="cs de fr"
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="A sound editor for KDE that can edit many types of audio files"
|
||||
HOMEPAGE="http://kwave.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/kwave/${P}-1.tar.bz2"
|
||||
|
||||
LICENSE="BSD FDL-1.2 GPL-2 LGPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa debug flac libsamplerate mad oss pulseaudio vorbis"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/audiofile
|
||||
>=sci-libs/fftw-3
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
flac? ( media-libs/flac )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? (
|
||||
media-libs/id3lib
|
||||
media-libs/libmad
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vorbis? (
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
$(add_kdebase_dep kdesdk-misc extras)
|
||||
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[imagemagick,png] )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CHANGES README TODO )
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/ -Wl,--add-needed//' -i plugins/CMakeLists.txt \
|
||||
|| die "sed failed"
|
||||
kde4-base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_SAMPLERATE=ON
|
||||
-DWITH_PHONON=ON
|
||||
$(cmake-utils_use_with alsa)
|
||||
$(cmake-utils_use_with flac)
|
||||
$(cmake-utils_use_with libsamplerate SAMPLERATE)
|
||||
$(cmake-utils_use_with mad MP3)
|
||||
$(cmake-utils_use_with vorbis OGG)
|
||||
$(cmake-utils_use_with oss)
|
||||
$(cmake-utils_use_with pulseaudio)
|
||||
$(cmake-utils_use debug)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib ) virtual/pkgconfig !<sys-apps/systemd-29-r4 !=sys-apps/systemd-37-r1
|
||||
dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib )
|
||||
dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls dev-libs/libgcrypt ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib ) virtual/pkgconfig !<sys-apps/systemd-29-r4 !=sys-apps/systemd-37-r1
|
||||
dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls dev-libs/libgcrypt ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib )
|
||||
0
|
||||
http://www.rsyslog.com/files/download/rsyslog/rsyslog-5.8.7.tar.gz zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> rsyslog-zeromq.tar.gz )
|
||||
http://www.rsyslog.com/files/download/rsyslog/rsyslog-5.8.11.tar.gz zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> rsyslog-zeromq.tar.gz )
|
||||
test
|
||||
http://www.rsyslog.com/
|
||||
GPL-3 LGPL-3
|
||||
GPL-3 LGPL-3 Apache-2.0
|
||||
An enhanced multi-threaded syslogd with database support and more.
|
||||
~amd64 ~arm ~hppa ~sparc ~x86
|
||||
autotools autotools-utils eutils libtool multilib systemd toolchain-funcs user
|
@ -1,22 +0,0 @@
|
||||
dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib ) virtual/pkgconfig !<sys-apps/systemd-29-r4 !=sys-apps/systemd-37-r1
|
||||
dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib )
|
||||
0
|
||||
http://www.rsyslog.com/files/download/rsyslog/rsyslog-5.8.6.tar.gz zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> rsyslog-zeromq.tar.gz )
|
||||
test
|
||||
http://www.rsyslog.com/
|
||||
GPL-3 LGPL-3
|
||||
An enhanced multi-threaded syslogd with database support and more.
|
||||
~amd64 ~arm ~hppa ~sparc ~x86
|
||||
autotools autotools-utils eutils libtool multilib systemd toolchain-funcs user
|
||||
dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile config configure install postinst prepare test
|
||||
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue