From: "Robin H. Johnson (robbat2)" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/OpenSRF: ChangeLog OpenSRF-1.0.7.ebuild
Date: Tue, 10 Nov 2009 08:39:26 +0000 [thread overview]
Message-ID: <E1N7mG6-00046z-J3@stork.gentoo.org> (raw)
robbat2 09/11/10 08:39:26
Modified: ChangeLog
Added: OpenSRF-1.0.7.ebuild
Log:
More work on Evergreen, a new spin of the OpenSRF package.
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Revision Changes Path
1.6 dev-libs/OpenSRF/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/OpenSRF/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/OpenSRF/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/OpenSRF/ChangeLog?r1=1.5&r2=1.6
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/OpenSRF/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -p -w -b -B -u -u -r1.5 -r1.6
--- ChangeLog 26 May 2009 17:28:31 -0000 1.5
+++ ChangeLog 10 Nov 2009 08:39:25 -0000 1.6
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/OpenSRF
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/OpenSRF/ChangeLog,v 1.5 2009/05/26 17:28:31 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/OpenSRF/ChangeLog,v 1.6 2009/11/10 08:39:25 robbat2 Exp $
+
+*OpenSRF-1.0.7 (10 Nov 2009)
+
+ 10 Nov 2009; Robin H. Johnson <robbat2@gentoo.org> +OpenSRF-1.0.7.ebuild,
+ +files/OpenSRF-1.0.7-buildfix.patch:
+ More work on Evergreen, a new spin of the OpenSRF package.
26 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
OpenSRF-1.0.1.ebuild:
1.1 dev-libs/OpenSRF/OpenSRF-1.0.7.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/OpenSRF/OpenSRF-1.0.7.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/OpenSRF/OpenSRF-1.0.7.ebuild?rev=1.1&content-type=text/plain
Index: OpenSRF-1.0.7.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/OpenSRF/OpenSRF-1.0.7.ebuild,v 1.1 2009/11/10 08:39:25 robbat2 Exp $
EAPI=2
inherit eutils multilib flag-o-matic apache-module autotools perl-module
DESCRIPTION="OpenSRF is a framework that allows the development of software without requiring a detailed knowledge of Evergreen's structure."
HOMEPAGE="http://open-ils.org/"
SRC_URI="http://open-ils.org/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="postgres +sqlite"
DEPEND=">=www-servers/apache-2.2.9
>=dev-db/libdbi-drivers-0.8.2
>=dev-db/libdbi-0.8.2
net-im/ejabberd
dev-libs/libmemcache
dev-perl/Cache-Memcached
dev-perl/Class-DBI-AbstractSearch
sqlite? ( dev-perl/DBD-SQLite )
postgres? ( dev-perl/DBD-Pg )
virtual/perl-Digest-MD5
dev-perl/JSON-XS
dev-perl/net-server
dev-perl/UNIVERSAL-require
dev-perl/Unix-Syslog
dev-perl/XML-LibXML
"
PERL_S="${S}/src/perl"
APXS2_S="${S}/src/gateway/.libs/"
APACHE2_MOD_FILE="${APXS2_S}/osrf_json_gateway.so ${APXS2_S}/osrf_http_translator.so"
#APACHE2_MOD_CONF="42_${PN}"
#APACHE2_MOD_DEFINE="FOO"
#DOCFILES="docs/*.html"
need_apache2_2
RDEPEND="${DEPEND}"
pkg_setup() {
perl-module_pkg_setup
}
src_prepare() {
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.0.7-buildfix.patch
eautoreconf
}
#src_compile() {
# LIBXML2_CFLAGS=$(xml2-config --cflags)
# LIBXML2_CFLAGS="${LIBXML2_CFLAGS//*-I}"
# LIBXML2_HEADERS="${LIBXML2_CFLAGS// *}"
# APR_HEADERS=$(apr-1-config --includedir)
# APACHE2_HEADERS=$(apxs2 -q INCLUDEDIR)
# sed -i \
# -e '/^export PREFIX=/s,/.*,/usr,' \
# -e '/^export BINDIR=/s,/.*,${PREFIX}/bin,' \
# -e "/^export LIBDIR=/s,/.*,\${PREFIX}/$(get_libdir)," \
# -e '/^export PERLDIR=/s,/.*,${LIBDIR}/perl5,' \
# -e '/^export INCLUDEDIR=/s,/.*,${PREFIX}/include,' \
# -e '/^export ETCDIR=/s,/.*,/etc,' \
# -e '/^export SOCK=/s,/.*,/var/run/opensrf,' \
# -e '/^export PID=/s,/.*,/var/run/opensrf,' \
# -e '/^export LOG=/s,/.*,/var/log,' \
# -e '/^export TMP=/s,/.*,/tmp,' \
# -e '/^export APXS2=/s,/.*,/usr/sbin/apxs2,' \
# -e "/^export APACHE2_HEADERS=/s,/.*,${APACHE2_HEADERS}," \
# -e "/^export APR_HEADERS=/s,/.*,${APR_HEADERS}," \
# -e "/^export LIBXML2_HEADERS=/s,/.*,${LIBXML2_HEADERS}," \
# install.conf
# emake verbose || die "Failed to build"
#}
src_configure() {
econf \
--with-apxs=/usr/sbin/apxs2 \
--sysconfdir=/etc/opensrf \
--localstatedir=/var \
|| die "econf failed"
}
src_compile() {
cd "${S}" && emake || die "main emake failed"
cd "${PERL_S}" && S="${PERL_S}" perl-module_src_compile || die "perl-module_src_compile failed"
}
src_install() {
einfo "Doing src_install"
#emake install-verbose DESTDIR="${D}" || die "Failed to install"
emake install DESTDIR="${D}" || die "Failed to install"
apache-module_src_install || die "apache-module_src_install failed"
cd "${PERL_S}" && S="${PERL_S}" perl-module_src_install || die "perl-module_src_install failed"
cd "${S}"
# Docs
dodoc README doc/*
# Fixup upstream javascript install
#insinto /usr/share/opensrf
#doins src/javascript/*js
#rm -rf "${D}"/usr/$(get_libdir)/javascript/
}
src_test() {
emake check || die "emake check failed"
cd "${PERL_S}" && S="${PERL_S}" perl-module_src_test || die "perl-module_src_test failed"
}
pkg_config() {
:
#JABBER_SERVER=${JABBER_SERVER:=localhost}
#JABBER_PORT=${JABBER_PORT:=5222}
#PASSWORD=${PASSWORD:=osrf}
#einfo "Using Jabber server at ${JABBER_SERVER}:${JABBER_PORT}"
#einfo "Adding 'osrf' and 'router' users with password ${PASSWORD}"
#cd "${ROOT}"/usr/share/doc/${PF}/examples
#for user in osrf router ; do
# perl register.pl ${JABBER_SERVER} ${JABBER_PORT} ${user} ${PASSWORD} \
# || die "Failed to add $user user to server"
#done
}
next reply other threads:[~2009-11-10 8:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 8:39 Robin H. Johnson (robbat2) [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-10 8:42 [gentoo-commits] gentoo-x86 commit in dev-libs/OpenSRF: ChangeLog OpenSRF-1.0.7.ebuild Robin H. Johnson (robbat2)
2013-09-04 12:31 Ian Delaney (idella4)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1N7mG6-00046z-J3@stork.gentoo.org \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox