parent
a11a53fcf7
commit
e2ce04f257
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/pip/pip-1.2-r1.ebuild,v 1.4 2012/12/03 21:04:20 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/pip/pip-1.2-r2.ebuild,v 1.1 2014/11/02 13:43:04 zlogene Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
inherit eutils perl-app
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.25.ebuild,v 1.4 2012/03/06 21:10:32 ranger Exp $
|
||||
|
||||
ORIG_NAME="jdk-6u25-fcs-bin-b04-apidocs-04_Apr_2011.zip"
|
||||
SRC_URI="jdk-6u25-fcs-bin-b04-apidocs-04_Apr_2011.zip"
|
||||
DESCRIPTION="Sun's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/6/docs/index.html"
|
||||
LICENSE="oracle-java-documentation"
|
||||
SLOT="1.6.0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
RESTRICT="fetch"
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-doc-download-355137.html"
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.25.ebuild,v 1.4 2014/05/05 12:28:46 tomwij Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
ORIG_NAME="jdk-7u$(get_version_component_range 4)-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.51.ebuild,v 1.1 2014/02/26 17:27:08 tomwij Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
ORIG_NAME="jdk-7u$(get_version_component_range 4)-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.55.ebuild,v 1.2 2014/05/23 13:26:21 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
ORIG_NAME="jdk-7u$(get_version_component_range 4)-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.60.ebuild,v 1.5 2014/07/13 14:12:47 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
ORIG_NAME="jdk-7u$(get_version_component_range 4)-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.67.ebuild,v 1.1 2014/09/26 11:02:04 fordfrog Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
ORIG_NAME="jdk-7u$(get_version_component_range 4)-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.0.ebuild,v 1.1 2014/03/28 13:20:38 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html"
|
||||
|
||||
[[ "$(get_version_component_range 4)" == 0 ]] \
|
||||
|| MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
ORIG_NAME="jdk-${MY_PV}-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/8/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-8"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="app-arch/unzip:0"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.5.ebuild,v 1.1 2014/05/04 20:32:07 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html"
|
||||
|
||||
[[ "$(get_version_component_range 4)" == 0 ]] \
|
||||
|| MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
ORIG_NAME="jdk-${MY_PV}-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/8/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-8"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="app-arch/unzip:0"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,802 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.32.ebuild,v 1.10 2014/10/10 18:04:18 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/stas/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="2"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.7.1-r3[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to ${phpinisrc}"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> ${phpinisrc}
|
||||
fi
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_with curlwrappers curlwrappers "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqlnd pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/portage/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/portage/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1,784 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.16.ebuild,v 1.10 2014/10/10 18:04:18 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/dsp/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="${PHP_SRC_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql libmysqlclient mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.7.1-r3[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
libmysqlclient? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
vpx? ( media-libs/libvpx )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
vpx? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
libmysqlclient? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> "${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_enable opcache opcache )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)
|
||||
$(use_with vpx vpx-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
use libmysqlclient && mysqllib="${EPREFIX}/usr"
|
||||
use libmysqlclient && mysqlilib="${EPREFIX}/usr/bin/mysql_config"
|
||||
|
||||
my_conf+=" $(use_with mysql mysql $mysqllib)"
|
||||
my_conf+=" $(use_with mysqli mysqli $mysqlilib)"
|
||||
|
||||
local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
if use mysql ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
elif use mysqli ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )
|
||||
$(use_with mysql pdo-mysql ${mysqllib})
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/portage/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/portage/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1,8 +1,2 @@
|
||||
DIST GeoIP.dat.gz 393946 SHA256 fc7f90a8236b958d3fdbcc333f657651b1680a3083fc398828c88b67500241a0 SHA512 00bc54ad6ec92f3fe963041dc0d714649b9df1a43fee217a56cebbb9cccb289d49510bfee98315d31003c75e7aad9603e05ce089776b699eb56fafebbda4e4ae WHIRLPOOL 19915f5d2ede5bcb4160a5a39ea48dbb8ed400b1983bbfef9fe43ee5007d87f3ba5b18a1fa6438fc183f5855312184cbb176676dbd6f5462d6531fba4ecdd1bd
|
||||
DIST GeoIPASNum.dat.gz 1966360 SHA256 499cee393bb524a12feafeb78f28cb076e43b793f3c9d2d3928d7f1afa706284 SHA512 7f5d86dedf175134d975fe28d60f1946727b16d983de3c9cabe4e86884f1ad5fdaf77a4e39fa39804f08f573dbc2d8923db6cc21268e6143fb3d3f34a32696f5 WHIRLPOOL fd0394d9ea35a3c4135fc2b60ca4d86d8aef3ed03299c251e493fbe2a3a15b12338c133a1d919d23b9fec5addd6a260dd6c3bbc0b1ea7aa614caa0d457b1cdf0
|
||||
DIST GeoIPv6.dat.gz 613971 SHA256 ba76c683d525a7119c3e588ea0ed97ec0dbb52c93d506a355d67bc6a88caef52 SHA512 7c63426caee53c851c141b52175156fca916bf7a075093f4deb2160471fdbdd305821760aba354f5f44a6154e8739fbe0e95442d555ba9794a331acceb64e124 WHIRLPOOL c00cb796c2555c7710f42ea0b0b5fe37b0bad1d63da167e2f555366519a126f737d3361ecec4c8a351bc64f1dbbe1d869a97f0bb5a542161c2ecf42184119eb4
|
||||
DIST GeoLiteCity.dat.gz 11312286 SHA256 998b3a90122807b003c21d714b1114d6c4f882b44efd2bad3f8b74f5a0c9afcb SHA512 9ef440e9ab8b383346b60f78b475621f054a9a8897cebb699d63b6b204e2662217a990eb37abb440c6b802363d0fa4d98ddd2d729472f1af7af51e04b0762907 WHIRLPOOL 15052c95d8b758d7e60bfb3dd5f76390b55dd4b6d24000b09509371e9cdc85dcb4fa9979a6644bc9bd1c724097b5fc0a3087e7ad126ceae0d962f225fee1f4b6
|
||||
DIST GeoLiteCityv6.dat.gz 11538424 SHA256 520ac5834cc1b060ee071f55f280348098bd0315a8607cd58fabd954e2931cd6 SHA512 c40f5781c69201c9a0cda9b6fbd80ccc234be21158a754501303df153da1ac82a4d562d0138076121584928ec63be69fac24ebc100c66d6e16a92879bec058a1 WHIRLPOOL c165a26a29a8b171bc2b9e005587e6cfc14849fd092af8c24c64d685115ba98699c3796abbd2f69b0c5a31b9165f03e699dad0b986b3103461978d2b9ee10b4a
|
||||
DIST geoip-1.6.0.tar.gz 160178 SHA256 61bed5907e9544d5b1071ea962a55154dd0827c04bd8a5814fb5863897c9a024 SHA512 b8cb2fff83ebf5a96981aa91d8d1d54e421ca290116ec4ecbf799c67c77524a245316db67fa538ae17a4e123338a1414e85c641ee156fb385887647c31a1a9e9 WHIRLPOOL 3689ffd74fec7e59afbe5db470cb15457b3dfd9c36a93577e4126425fcd64cdec59c51fa09b30e14cea31994f1f372c41c5d1bae45b9356448a4cc280220cad1
|
||||
DIST geoip-1.6.2.tar.gz 162932 SHA256 72562fc10792eea6cfa662d93ef40c6541b73619df8057a6e411144e671a9174 SHA512 4795584dedfa84f46783e5c2beb414c33159e0f181acafef455e56359ad66e5693caadac8c93cff92279fadce23deb7ee5f6413fceafe49efb83de5e01755a67 WHIRLPOOL c8565d32e3434be72de241b57f0f99ad0145d88f582b36588b741cf46e30a005c09347a5c67c92373ed6f77af7009267ebe1be8e64c71c5e9102edaa4c164c5f
|
||||
DIST geoip-1.6.3.tar.gz 164218 SHA256 17d39b73432a3e0792128a440760bf3eba92e17f7514d2aee7fd311843f573f4 SHA512 40ce99b8bda44720f34d42f677fcd29f4e54ebb76d8034fdf972a3a2ca04fc03ad0bb6c70c127dad5c1d61916edd17dd2343fc3038d3dfc3a683046f18115412 WHIRLPOOL 35d452a536c85bf3c7e662743eb4c0ed02f68bee5f9ec62db5d40d94a846ec8e0d8ee92058ec078d8d10b2758488f3589f68a22bec0a15c40a44a9efeaa1312d
|
||||
|
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
GEOIP_MIRROR="https://geolite.maxmind.com/download/geoip/database"
|
||||
GEOIPDIR=/usr/share/GeoIP
|
||||
TMPDIR=
|
||||
|
||||
DATABASES="GeoLiteCity GeoLiteCountry/GeoIP asnum/GeoIPASNum GeoIPv6 GeoLiteCityv6-beta/GeoLiteCityv6"
|
||||
|
||||
if [ -d "${GEOIPDIR}" ]; then
|
||||
cd $GEOIPDIR
|
||||
if [ -n "${DATABASES}" ]; then
|
||||
TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX)
|
||||
|
||||
echo "Updating GeoIP databases..."
|
||||
|
||||
for db in $DATABASES; do
|
||||
fname=$(basename $db)
|
||||
|
||||
if [ -f "${GEOIPDIR}/${fname}.dat" ]; then
|
||||
wget --no-verbose -t 3 -T 60 \
|
||||
"${GEOIP_MIRROR}/${db}.dat.gz" \
|
||||
-O "${TMPDIR}/${fname}.dat.gz"
|
||||
if [ $? -eq 0 ]; then
|
||||
gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat"
|
||||
mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat"
|
||||
chmod 0644 "${GEOIPDIR}/${fname}.dat"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
[ -d "${TMPDIR}" ] && rm -rf $TMPDIR
|
||||
fi
|
||||
fi
|
||||
|
@ -1,36 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
GEOIP_MIRROR="https://geolite.maxmind.com/download/geoip/database"
|
||||
GEOIPDIR=@PREFIX@/usr/share/GeoIP
|
||||
TMPDIR=
|
||||
|
||||
DATABASES="GeoLiteCity GeoLiteCountry/GeoIP asnum/GeoIPASNum GeoIPv6 GeoLiteCityv6-beta/GeoLiteCityv6"
|
||||
|
||||
if [ "${1}" = -f ] || [ "${1}" = --force ]; then
|
||||
force=true
|
||||
fi
|
||||
|
||||
if [ -d "${GEOIPDIR}" ]; then
|
||||
cd $GEOIPDIR
|
||||
if [ -n "${DATABASES}" ]; then
|
||||
TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX)
|
||||
|
||||
echo "Updating GeoIP databases..."
|
||||
|
||||
for db in $DATABASES; do
|
||||
fname=$(basename $db)
|
||||
|
||||
if [ -f "${GEOIPDIR}/${fname}.dat" ] || [ ${force} ]; then
|
||||
wget --no-verbose -t 3 -T 60 \
|
||||
"${GEOIP_MIRROR}/${db}.dat.gz" \
|
||||
-O "${TMPDIR}/${fname}.dat.gz"
|
||||
if [ $? -eq 0 ]; then
|
||||
gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat"
|
||||
mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat"
|
||||
chmod 0644 "${GEOIPDIR}/${fname}.dat"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
[ -d "${TMPDIR}" ] && rm -rf $TMPDIR
|
||||
fi
|
||||
fi
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r1.ebuild,v 1.18 2014/09/04 01:10:13 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
GEOLITE_URI="https://geolite.maxmind.com/download/geoip/database/"
|
||||
|
||||
DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
|
||||
HOMEPAGE="https://github.com/maxmind/geoip-api-c"
|
||||
SRC_URI="
|
||||
https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${GEOLITE_URI}GeoLiteCountry/GeoIP.dat.gz
|
||||
${GEOLITE_URI}asnum/GeoIPASNum.dat.gz
|
||||
city? ( ${GEOLITE_URI}GeoLiteCity.dat.gz )
|
||||
ipv6? (
|
||||
${GEOLITE_URI}GeoIPv6.dat.gz
|
||||
city? ( ${GEOLITE_URI}GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz )
|
||||
)
|
||||
"
|
||||
|
||||
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
|
||||
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="city ipv6 static-libs"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-api-c-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's|yahoo.com|98.139.183.24|g' \
|
||||
-i test/country_test_name.txt test/region_test.txt || die
|
||||
|
||||
# used in src_test() (bug #494650):
|
||||
mkdir data/ || die
|
||||
cp "${WORKDIR}"/GeoIP.dat data/ || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc AUTHORS ChangeLog README* TODO
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
insinto /usr/share/GeoIP
|
||||
doins "${WORKDIR}"/{GeoIP,GeoIPASNum}.dat
|
||||
use city && newins "${WORKDIR}"/GeoLiteCity.dat GeoIPCity.dat
|
||||
|
||||
if use ipv6; then
|
||||
doins "${WORKDIR}/GeoIPv6.dat"
|
||||
use city && newins "${WORKDIR}"/GeoLiteCityv6.dat GeoIPCityv6.dat
|
||||
fi
|
||||
|
||||
newsbin "${FILESDIR}/geoipupdate-r2.sh" geoipupdate.sh
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r3.ebuild,v 1.3 2014/09/04 01:10:13 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
|
||||
HOMEPAGE="https://github.com/maxmind/geoip-api-c"
|
||||
SRC_URI="
|
||||
https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
|
||||
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="static-libs"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="net-misc/wget"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-api-c-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r3.sh > geoipupdate.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc AUTHORS ChangeLog README* TODO
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
keepdir /usr/share/GeoIP
|
||||
|
||||
dosbin geoipupdate.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
"${ROOT}"/usr/sbin/geoipupdate.sh --force
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
[[ -z "${REPLACED_BY_VERSION}" ]] && rm -f "${ROOT}"/usr/share/GeoIP/*.dat
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST qof-0.8.1.tar.gz 885073 SHA256 53fa6db79140ae5ff0863298bdd1c09cfdf187d3967a90ca519a5713fec9c154 SHA512 ca6c8ab891627117993e5113065959dcfdd9cbe8b836151d75e2bea22ddbb98b0b68fa1e5fc52656242228303771eec36146aba3e43a4c70c10d7d0e7df70971 WHIRLPOOL 05c3740743e4908d14a9aaaf1078b4a6d02edc4c0d0879817a6db753492683744f7d3ca511d4f51eedd6550635ec4c6f6e7fd4cdf5a4b04d0c761928bf063854
|
||||
DIST qof_0.8.7.orig.tar.gz 932957 SHA256 86fd671390dc13ee6fd2e1e13775786c518b0ebff5e886f27bbd394de1e73094 SHA512 ed121aa599f785aab861e3441a96cc20e82f3a4d8fe4292d27fedbae4ffa79408811c98bb841ef9be5a465e482ad67c4878589098dc0b5477948151e41ee298c WHIRLPOOL e49f36cfaf5b8604ce4def5f7d3910ff9daf419dcfc65a41825c97a0dfb76d435b01fd71d01f647a7e6bbc9774155cccadf30da7b78fc4978cf0ee39ea56458b
|
||||
DIST qof_0.8.8.orig.tar.gz 962548 SHA256 2cecb942bb42fc77c42417cf9118512c73911c16ccea6e72ab28b8bdf60a4e2e SHA512 f62597180f614067d72b5c6dcf4175aa9241e33d2437d6f18215a8c7389c67dd25ccd48dcdfd4c31794e0273e979e72aa0d4e66bb6d832c6f2da644889f848c4 WHIRLPOOL 337bb87354f6c2618f388e5247756d884eedd8c61f9fca0336ae090ba97713c5ca30715cfbc54a01e5b7b04bdc9850a873fb6a48183ac0a046b30e907a5878ba
|
||||
|
@ -0,0 +1,36 @@
|
||||
From 1c56fc78f2a04625ae8c3aebd55236556ce28a90 Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Sun, 2 Nov 2014 12:04:24 +0100
|
||||
Subject: [PATCH 1/2] Remove some CFLAGS
|
||||
|
||||
* Debugging level is only useful for debugging.
|
||||
* Werror is taken care of in error-on-warning configure switch.
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b38da9b..d80e7e5 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -393,7 +393,7 @@ dnl # *************************************
|
||||
AC_MSG_CHECKING(what extra warning flags to pass to the C compiler)
|
||||
if test ${GCC}x = yesx; then
|
||||
warnFLAGS=
|
||||
- CFLAGS="${CFLAGS} -g2 -Wall"
|
||||
+ CFLAGS="${CFLAGS} -Wall"
|
||||
AC_ARG_ENABLE(error-on-warning,
|
||||
[ --disable-error-on-warning
|
||||
disable treating compile warnings as errors],
|
||||
@@ -431,7 +431,7 @@ AC_ARG_ENABLE(compile-warnings,
|
||||
|
||||
if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
|
||||
warnFLAGS="$warnFLAGS -Wcast-align -Wsign-compare \
|
||||
- -Wmissing-prototypes -Wmissing-declarations -Werror -Wmissing-include-dirs \
|
||||
+ -Wmissing-prototypes -Wmissing-declarations -Wmissing-include-dirs \
|
||||
-Wstrict-prototypes -Winline -Wnested-externs -Wpointer-arith \
|
||||
-Wmissing-field-initializers"
|
||||
# LDFLAGS="$LDFLAGS -Wl,-z,defs"
|
||||
--
|
||||
2.1.2
|
||||
|
@ -0,0 +1,44 @@
|
||||
From 21315eb014eb908ce3472fa75917412e21fcea29 Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Sun, 2 Nov 2014 12:06:39 +0100
|
||||
Subject: [PATCH 2/2] Make unittest build on demand
|
||||
|
||||
Unittests need not be built when not run.
|
||||
Also, solves a dependency problem where libqofsql would not be built
|
||||
before sql_backend_test is linked.
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=197999
|
||||
---
|
||||
lib/libsql/Makefile.am | 2 +-
|
||||
qof/test/Makefile.am | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/libsql/Makefile.am b/lib/libsql/Makefile.am
|
||||
index b410689..c9534fb 100644
|
||||
--- a/lib/libsql/Makefile.am
|
||||
+++ b/lib/libsql/Makefile.am
|
||||
@@ -21,7 +21,7 @@ libqofsql_la_LIBADD = ${GLIB_LIBS}
|
||||
qofsqlincludedir = ${pkgincludedir}
|
||||
qofsqlinclude_HEADERS = sql_parser.h
|
||||
|
||||
-noinst_PROGRAMS = sql_parse_test
|
||||
+check_PROGRAMS = sql_parse_test
|
||||
|
||||
EXTRA_DIST = \
|
||||
README \
|
||||
diff --git a/qof/test/Makefile.am b/qof/test/Makefile.am
|
||||
index da7f28f..0760f45 100644
|
||||
--- a/qof/test/Makefile.am
|
||||
+++ b/qof/test/Makefile.am
|
||||
@@ -65,7 +65,7 @@ test_sql_SOURCES = \
|
||||
test-stuff.c \
|
||||
test-sql.c
|
||||
|
||||
-noinst_PROGRAMS = \
|
||||
+check_PROGRAMS = \
|
||||
test-book-merge \
|
||||
test-date \
|
||||
test-guid \
|
||||
--
|
||||
2.1.2
|
||||
|
@ -0,0 +1,69 @@
|
||||
From 118b7287f776b789a7c122f7c7e8a1cc1084e15e Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Sun, 2 Nov 2014 13:01:36 +0100
|
||||
Subject: [PATCH 4/5] Fix use of lex/yacc
|
||||
|
||||
http://www.gnu.org/software/automake/manual/html_node/Yacc-and-Lex.html
|
||||
---
|
||||
configure.ac | 1 +
|
||||
lib/libsql/Makefile.am | 17 +++++++----------
|
||||
2 files changed, 8 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 30ea37a..23865ea 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -45,6 +45,7 @@ AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_HEADER_STDC
|
||||
+AM_PROG_LEX
|
||||
AC_PROG_YACC
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
diff --git a/lib/libsql/Makefile.am b/lib/libsql/Makefile.am
|
||||
index c9534fb..78f26cc 100644
|
||||
--- a/lib/libsql/Makefile.am
|
||||
+++ b/lib/libsql/Makefile.am
|
||||
@@ -5,9 +5,8 @@ lib_LTLIBRARIES = libqofsql.la
|
||||
libqofsql_la_LDFLAGS= -version-info $(LIBQOFSQL_LIBRARY_VERSION)
|
||||
|
||||
libqofsql_la_SOURCES = \
|
||||
- parser.c \
|
||||
- parser.h \
|
||||
- lexer.c \
|
||||
+ parser.y \
|
||||
+ lexer.l \
|
||||
sql_parser.c \
|
||||
sql_parser.h \
|
||||
mem.c \
|
||||
@@ -24,9 +23,7 @@ qofsqlinclude_HEADERS = sql_parser.h
|
||||
check_PROGRAMS = sql_parse_test
|
||||
|
||||
EXTRA_DIST = \
|
||||
- README \
|
||||
- lexer.l \
|
||||
- parser.y
|
||||
+ README
|
||||
|
||||
AM_CFLAGS = -g \
|
||||
${CFLAGS} \
|
||||
@@ -35,11 +32,11 @@ AM_CFLAGS = -g \
|
||||
#INCLUDES = \
|
||||
# -I$(includedir)
|
||||
|
||||
-parser.c: parser.y
|
||||
- $(YACC) -v -d -o parser.c -p sql parser.y
|
||||
+AM_YFLAGS = -v -d -p sql
|
||||
+AM_LFLAGS = -Psql -o$@
|
||||
|
||||
-lexer.c: lexer.l parser.c
|
||||
- $(LEX) -olexer.c -Psql lexer.l
|
||||
+BUILT_SOURCES = parser.h
|
||||
+CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
sql_parse_test_SOURCES=sql_parse_test.c
|
||||
# sql_parse_test_LDFLAGS = $(LIBGDA_LIBS)
|
||||
--
|
||||
2.1.2
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/qof-0.8.8.ebuild,v 1.1 2014/11/02 13:18:23 eva Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="A Query Object Framework"
|
||||
HOMEPAGE="https://alioth.debian.org/projects/qof/"
|
||||
SRC_URI="mirror://debian//pool/main/q/${PN}/${PN}_${PV}.orig.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc nls sqlite"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2
|
||||
dev-libs/glib:2
|
||||
sqlite? ( >=dev-db/sqlite-2.8.0:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
>=sys-devel/gettext-0.19.2
|
||||
!dev-libs/qof:0
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-texlive/texlive-latex )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Remove some CFLAGS
|
||||
epatch "${FILESDIR}"/${PN}-0.8.8-cflags.patch
|
||||
|
||||
# Delay build of unittests, bug #197999
|
||||
epatch "${FILESDIR}"/${PN}-0.8.8-unittest.patch
|
||||
|
||||
# Fix use and build with yacc
|
||||
epatch "${FILESDIR}"/${PN}-0.8.8-unistd-define.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.8.8-yacc-build.patch
|
||||
rm lib/libsql/{lexer.c,parser.c,parser.h} || die
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-error-on-warning \
|
||||
--disable-static \
|
||||
--disable-gdasql \
|
||||
--disable-gdabackend \
|
||||
$(use_enable nls) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable doc doxygen) \
|
||||
$(use_enable doc latex-docs) \
|
||||
$(use_enable doc html-docs)
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST serd-0.14.0.tar.bz2 298512 SHA256 8f728436735ead9ef26e3006ea3e2ac64cdeaae64fec73b7804e586e01d76f08 SHA512 636e513967911e2fdcc3421f76992e4ffdfdc5bbce37747d40a193e913656076178639c6395b32cd27bb5299b40bdf328fba5f7d137d6f4ebcfa18ff19dd318d WHIRLPOOL 97a2f1e405999ed71c01f61aaff3bbfe77c7585900f91f3ec8b68e453cc6cedcf1cf390ee9f46da2a499e5733867de83af51f9ccb626cb7281eebbec7bb593cb
|
||||
DIST serd-0.18.0.tar.bz2 283387 SHA256 37b8641382876a8f2c25697021cfcd153bc3c6c62983590edc8df0df2dea54aa SHA512 a0bd81be719827241835a50115ec870f18ebeb98c4a40793162a6539610f0c35df55bfb1c6fa20ec78722aaf16a6743c7484a86afef2887ebbba7d8610fa2b20 WHIRLPOOL 077d385ad5b154696d8c0168ab318c55fcfc37a6db6b184826f82a0178cd41b015e8f514d671b2f0441a3c8d7f991c4063b31b34dc640dc252b564deed7610f3
|
||||
DIST serd-0.18.2.tar.bz2 291053 SHA256 8e3d8402c33fa217572d3ee936919037420fb237fb8603a7b024ab482a94eac1 SHA512 2e775f50efbefa88d291999a26bf8e6602b5791affc9b9073451eb1406db654a63d2b91eb862ba7e714b5ce9ad51f7b7b259714476cd1532cf17fc072a923c3f WHIRLPOOL 85d8599a3c4f1c26d438b741b70f75b0c3b7265a973b93bafa45f59f3a669b664d979ff49f9894f36c76d1c1826818222a089051b7202a71b85f30d2cba80980
|
||||
DIST serd-0.5.0.tar.bz2 281802 SHA256 2b25033bca2ce903e3c901e5c2ceb500eebb1a56ca68a1018ec623aaeb7df8d0 SHA512 89a75daf1c38b5d82d7bdc754603e0a6aca99cda511b1e33deb1add81bd543693cfe46225ad7ccaeb019709c4b3b254ad562d289cce246745c75c88b694de3c0 WHIRLPOOL d700dd64d94a0c4bf2ba031689ee2f4cf05eddf50df060144d5bf35331e93367cb8af1ce464149029664b265d842547adfc99c62d4fd163095bfd076e98c4527
|
||||
DIST serd-0.20.0.tar.bz2 363807 SHA256 64515f4f5eb27ba2ba151027a72a77672f6ee8a2a3b58991ad5c045135feabbf SHA512 d313abb6423b0b1dd30b5c4f7ede45a5e51b3c8676b49215e106a75d73280e07c48b3895f2d88aeac2117eaf9c82cdb58bfc530895ad17a34d810c256868d1ef WHIRLPOOL 0cb4e6b9c870cc2bf5a34eb5c25a4a5fbcc90737ac646688338b9529baa774da29cd9f8659cdcc8f13e714949ea0ed840af28ed81a869465f8902b3e24cbeb27
|
||||
|
@ -1,12 +0,0 @@
|
||||
Index: serd-0.4.2/wscript
|
||||
===================================================================
|
||||
--- serd-0.4.2.orig/wscript
|
||||
+++ serd-0.4.2/wscript
|
||||
@@ -125,7 +125,6 @@ def build(bld):
|
||||
# Man page
|
||||
bld.install_files('${MANDIR}/man1', 'doc/serdi.1')
|
||||
|
||||
- bld.add_post_fun(autowaf.run_ldconfig)
|
||||
if bld.env['DOCS']:
|
||||
bld.add_post_fun(fix_docs)
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/serd/serd-0.14.0.ebuild,v 1.1 2012/04/22 02:22:49 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit waf-utils
|
||||
|
||||
DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples"
|
||||
HOMEPAGE="http://drobilla.net/software/serd/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/ldconfig.patch" )
|
||||
DOCS=( "AUTHORS" "NEWS" "README" )
|
||||
|
||||
src_configure() {
|
||||
waf-utils_src_configure \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static")
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/serd/serd-0.18.0.ebuild,v 1.2 2012/12/11 19:13:44 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/serd/serd-0.20.0.ebuild,v 1.1 2014/11/02 18:45:36 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/serd/serd-0.5.0.ebuild,v 1.2 2012/03/01 13:45:52 tomka Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit base multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples"
|
||||
HOMEPAGE="http://drobilla.net/software/serd/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/ldconfig.patch" )
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX CPP AR RANLIB
|
||||
./waf configure \
|
||||
--prefix=/usr \
|
||||
--libdir="/usr/$(get_libdir)" \
|
||||
--mandir=/usr/share/man \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./waf || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./waf install --destdir="${D}" || die
|
||||
dodoc AUTHORS README ChangeLog || die
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST sord-0.10.0.tar.bz2 272243 SHA256 d8233b3f1386d9ab6c7735a65f41cd75f7f97d68eeeb38985e77087acd81f1b5 SHA512 4550f3d0fb5f61582b59a708d0f556ae686e3a6c3e29c0ce1011b0543217943325905b00d2851ff485c1139863704134818baeeb71d530d0f1509f3167857d82 WHIRLPOOL b88b94746474f41becb54c8fcfaac67d706094160f6320405d29f6b4028a40e8ff302c55c29f26c562d34037d8d147f14a0e62aac62fe5c2d80c25c0d2c135a5
|
||||
DIST sord-0.10.4.tar.bz2 275574 SHA256 188b8b22c6aa05a36989093e771264676e8d4f3c43592e805bf26f8422d20f3f SHA512 7e4797631f8a16600eeaddd945418607de504c0c0c15a11f2124240095edcddbd314f96f06cc41045d9cf62b5a683b9759917de54ea96e1eaaf376141e3c1265 WHIRLPOOL 03c9f282a3d333d9c54332cfdc84ac4f2d8b01e38cc78ca3f799ee1c255fb666bf5416f9e3b4200486c58c2cf41233025922cdf7f54b53a4c4301c1a4334b54f
|
||||
DIST sord-0.12.0.tar.bz2 285075 SHA256 126baa06480b6930f874e8c519d4168d8224f7a3203a49b287e24c6bfdf91cb8 SHA512 c24c82fd4d9f74d10923d0cf405d2eabbaabd66b3b11e29719115515edcd8ccbc4a32866ca510dc676ca6ca833b0d9c8ccf43d36f6b0ef010d0211cee821db02 WHIRLPOOL 76d392bd63270fc2c0cb19ce89fc5bc1cc0777ae230912d831ed74705df96d6b7528f36679e53f0d929825db9042592f88746a31af8d65ee187bcb40ae7d1a1c
|
||||
DIST sord-0.5.0.tar.bz2 279917 SHA256 0f18879ed9d5c4d056cddb5af9057090d1de874d3f3996386cf716d8060625ef SHA512 620d6bab583f91c60fb635f2470bf73ab1e55912cbe1a8a97c6e51ea281e8dd78f3e480696fc7c0c5170594c75715b1778e94a11192fd8a3604bf16d1b192360 WHIRLPOOL 311aebae8f8540f0974571f6c0c455712b0c0042d55e62e10d39e9ab0ad56572704f7fd45a4149d1bffcdfd8795c281fccf981fdcf13f9c97c8d0fe1a1dbbde9
|
||||
DIST sord-0.8.0.tar.bz2 286325 SHA256 99df73a0a859fbfc6423a7d5930d019c8c0e17e04ed101114c54f1911dbd8a59 SHA512 d8b2110851c653806b27e052884f4d6260e24ffffba6f2fdf4164629f867eca50d3e28ee411f8fc6881a016e2277b9891700ccb6aa8895caeb3a3fcf457d2b41 WHIRLPOOL 7ed9f3f43d55f4416644bcc799a06b8e9438b002f71cec91c347c47c4a9e7bb255816d51f5df6e150b229b1c246cce0bc39c066d827d5ff6654a97e7a29eb09b
|
||||
DIST sord-0.12.2.tar.bz2 303365 SHA256 bd0538d37de5e782023a7261d8ee9d83a792a12eeea7d94dec7a93dd9cda0767 SHA512 2906808138658f89cb6ab939c20e0a092180535629c75b1a0277648af18fb019055dd3cde53f57d7b0d635666be98848bed021ba0bd922a34cfaae3a98c66cbd WHIRLPOOL c731ceb92650b1af7ce4cb53bf209cfc632d74a204eae0b2ea1fcc1ccbca5564a22c83f6e746c1ad9761be4ec155b62cecc5fe90079dff613826d2e275a09df6
|
||||
|
@ -1,12 +0,0 @@
|
||||
Index: serd-0.4.2/wscript
|
||||
===================================================================
|
||||
--- serd-0.4.2.orig/wscript
|
||||
+++ serd-0.4.2/wscript
|
||||
@@ -125,7 +125,6 @@ def build(bld):
|
||||
# Man page
|
||||
bld.install_files('${MANDIR}/man1', 'doc/serdi.1')
|
||||
|
||||
- bld.add_post_fun(autowaf.run_ldconfig)
|
||||
if bld.env['DOCS']:
|
||||
bld.add_post_fun(fix_docs)
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/sord/sord-0.10.0.ebuild,v 1.1 2012/08/30 22:15:56 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit waf-utils
|
||||
|
||||
DESCRIPTION="Library for storing RDF data in memory"
|
||||
HOMEPAGE="http://drobilla.net/software/sord/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/serd-0.14.0"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( "AUTHORS" "NEWS" "README" )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
waf-utils_src_configure \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static")
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/sord/sord-0.10.4.ebuild,v 1.2 2012/12/11 19:14:01 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/sord/sord-0.12.2.ebuild,v 1.1 2014/11/02 18:25:33 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/sord/sord-0.5.0.ebuild,v 1.3 2012/05/04 18:35:54 jdhore Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit base multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Library for storing RDF data in memory"
|
||||
HOMEPAGE="http://drobilla.net/software/sord/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/serd-0.5.0"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/ldconfig.patch" )
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX CPP AR RANLIB
|
||||
./waf configure \
|
||||
--prefix=/usr \
|
||||
--libdir="/usr/$(get_libdir)" \
|
||||
--mandir=/usr/share/man \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./waf || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./waf install --destdir="${D}" || die
|
||||
dodoc AUTHORS README ChangeLog || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/sord/sord-0.8.0.ebuild,v 1.2 2012/05/04 18:35:54 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit waf-utils
|
||||
|
||||
DESCRIPTION="Library for storing RDF data in memory"
|
||||
HOMEPAGE="http://drobilla.net/software/sord/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/serd-0.14.0"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/ldconfig.patch" )
|
||||
DOCS=( "AUTHORS" "NEWS" "README" )
|
||||
|
||||
src_configure() {
|
||||
waf-utils_src_configure \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static")
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST MogileFS-Client-1.14.tar.gz 23378 SHA256 eb5305a0656d3445f491e6bbdedafa8e031c144a4a63742c59a58fa8fc095a58 SHA512 035bd609e3897a4a40ad4085d5171ece23ad1ecfa4ce6d5746288ecb49efb8cadbca2a0a86f5f4d7813c5dc7c77d996e3c859d59b76ed41d483d1f2aae84b09d WHIRLPOOL f79d27d580e483afd7fdc3fb3af035218b51e3ae25d85f60e72f1f0b4d1c37b6c13abe88f87e46cc0e5934edc833e1130da90d580126ddfb7225435edcebbd70
|
||||
DIST MogileFS-Client-1.15.tar.gz 23477 SHA256 54edb7620b4bd1d01253150422a340e1a64c845ea178a51d78ad5ed570a726bb SHA512 3102e57102f8f2183df07696af422876d7438162d8e56b29f29c8936d3439cf0428cd5b5efbf33220bfadd6cda5aa796b01cc56352e9b37d62517821be3dd2cc WHIRLPOOL 0e3ed2ae160b08332b1838472d87dc2ce4f04d4fd11ebd8efc7b0acb7c9c2ba9a994b06b64f2ec33c3d3cd5748cd07344a29333a209e95d25792cd35bbbcb0b3
|
||||
DIST MogileFS-Client-1.16.tar.gz 23528 SHA256 a1bd67c2af01353d3556b239006a02a61a50f01369d5f5e24290ec3c82511f91 SHA512 35486758eb45fbca4da41878be63ae1bbbcd19dc9fa1ca81055c62ade725fe5da63d30a6edd19148732fbbf0cac717ec0c52f4a0a0a9b7c060eddf4f6a3fb43d WHIRLPOOL 69ddfea36a8165502a952074f1192bdeaaff627b1ea122704eacafbe08720c9d4508e6f7dcfaf100bab990fe0455c38ad1b6846d4546f24e9f30d408500705fe
|
||||
DIST MogileFS-Client-1.17.tar.gz 24315 SHA256 7b9e4effc3ade60363af940f5c3babbf608d3ff9a3357c0d778463da382ea4f2 SHA512 5de4eb69134615cd10c099bc5494f11935740387032f5461fb04db91683bb17b9b49db0071df8347e3023eb1249d5b5c2b910ff21e7abdc07777493021748282 WHIRLPOOL 03735d02f2e30bccb1e4480003d46dfb3aea5a87f75f4934147d39b8ba0bb245789ebc9a85422be31b4503e61c0e508b41057fbf6e629bee466b299ffa4af4be
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Client/MogileFS-Client-1.140.0.ebuild,v 1.1 2011/08/29 17:56:14 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=1.14
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Client library for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-perl/IO-stringy-2.110
|
||||
dev-perl/libwww-perl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Tests only available if you have a local mogilefsd on 127.0.0.1:7001
|
||||
#SRC_TEST="do"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Client/MogileFS-Client-1.150.0.ebuild,v 1.2 2012/04/21 02:24:49 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Client library for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-perl/IO-stringy-2.110
|
||||
dev-perl/libwww-perl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Tests only available if you have a local mogilefsd on 127.0.0.1:7001
|
||||
#SRC_TEST="do"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Client/MogileFS-Client-1.160.0.ebuild,v 1.1 2012/04/21 02:24:49 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Client library for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-perl/IO-stringy-2.110
|
||||
dev-perl/libwww-perl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Tests only available if you have a local mogilefsd on 127.0.0.1:7001
|
||||
#SRC_TEST="do"
|
@ -1,7 +1 @@
|
||||
DIST MogileFS-Utils-2.20.tar.gz 38524 SHA256 e4b704f150d4901b20265e62e006abcf78ae9a4854ec604b607fbf04a8f2d027 SHA512 192f3de266da62d76eb809b0d37e1cb79d00bcfe58a972dee04dd6d4c3934ae9e0fec78160d183e1a1d05668f1880a61c39fd08284112a1dfeb67a9441a2e7d9 WHIRLPOOL faaa3e4d5fc63745d0b6113994c452c2ccf3e547e9886b872f5582a5c3e213e28bb1637e93a85d79a28c7b9ab5521f266b84f467631295e888f83082dd77430d
|
||||
DIST MogileFS-Utils-2.21.tar.gz 38662 SHA256 346c37ce6525596c1c48a220c26b4bf855dedb4498c344db99e1476f7a4489e3 SHA512 57267c4470940fa7b4a4f5cf8fedfb5449b496b04ae5ec3b628e33ae7a3837f3e109bf75be6c5bf36f590869b33723ba074083ca094c0bf20921a4672b1c1944 WHIRLPOOL d473748b8592683979435cdccb3bcf907a62549e78b27a8c8222e51835f0b1fff556f21ef3850609c8caec18cabea175e0596008bcf0475dab946200acee2b22
|
||||
DIST MogileFS-Utils-2.22.tar.gz 39361 SHA256 c1fc4cc8d2d689fbcf6ae323c42cfe1d6785f374a586a9a6a01f1db78f02b90e SHA512 96729e5944eae797c3a61f34ffee8647c351b4a82c5d592ac54ca8e831d0af1c9d9e10bea92ca0ff20d1e2e0ca7721efad9371801bf31f02d1c520b6f67e9263 WHIRLPOOL 02c43b08d0338b8d1f05dec5e85a1dbd83303812b19d9944b2632df5dd7eb9e35bbee293374bb5d362fa2b56fe0f507ae4dbc8c08af77cf1a4a64814bac32f65
|
||||
DIST MogileFS-Utils-2.23.tar.gz 39660 SHA256 2b6ef41721e8ccfcfdfba115794b00f1469b51d0f1b7ae2a373c4cd20e0dbff8 SHA512 33c189e701864e530f092540ee826f93a50ee50fcf57897dfbd62c2b9829ca8232cb06c5f1990634a64561759a9f6adbc3f1456d4de94aebc4e059d9f68268d0 WHIRLPOOL a6135d98db6070ad10b04981b9c92aa92017bec0ba86527d5c96f566e17ee14bd66701db8813f311efa27ee272a65f20b63ccc0e4cf48aba5f76daee21f44863
|
||||
DIST MogileFS-Utils-2.25.tar.gz 40055 SHA256 c688e56ea54e2fd93a6a7cafa7b66d98fb6e2be3a69055402165fd50cefa3ede SHA512 befb72c29abf366c0637d20fe50c2862bbe5b476f95e8911513f8ded138e9c9a860fdfcf487816836ae8596e1f91cb60c781fb52151e9765d9eb676d39081bbe WHIRLPOOL 603c497c03540b75898e8f734b7773281c63c14e14f56a8f78cc4c55ef391250264a4c578da06c93d6c6726d925fe131b643bd60e24a7dd034d5db5aa85b98f9
|
||||
DIST MogileFS-Utils-2.26.tar.gz 40130 SHA256 234f972aa0788ee00dea4a87eae1150c8cf0147fa6a5b08ea0b0d37abb13068e SHA512 b7a2707b2b6ba313a4ac7a4e494e1e7df9594f177925b7bb9e6d43bfef679ee3d0b2733db26a2fa0d6924d348e84a077480ef21587fb257f8c0438c22473f956 WHIRLPOOL 83e4a4167ad1077bd79043bcf45b50767909dafbdb31012e4499f36efb3a950816c20d12b4b1f041c5c862d8328a7425413ce532c25ca0cdaac2feea60afeabc
|
||||
DIST MogileFS-Utils-2.28.tar.gz 40822 SHA256 16875b6f52d245fd50c4ccde78285251373339efb713e77a414ee82aa9901932 SHA512 fb8391e08ee9a2834bf1ecd89d395d293c23e26352dc91987fd9285b12279bb23ff2d0bb754e3c36ae0fd8460a2e2d80dce1de0285faf96cadf61612c0cac121 WHIRLPOOL 71f04c259e57f772568ed2b6c2528fef620af14ac4f948ee1af1c832240ee435d597267d45d24b7f17e71692607640ac80d7623704ed0b7836852054bcbd1d6c
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/MogileFS-Utils-2.200.0.ebuild,v 1.1 2011/08/29 17:54:05 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=2.20
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-IO-Compress
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/MogileFS-Utils-2.210.0.ebuild,v 1.1 2011/11/06 08:24:01 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=2.21
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-IO-Compress
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/MogileFS-Utils-2.220.0.ebuild,v 1.2 2012/04/21 02:26:53 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-IO-Compress
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/MogileFS-Utils-2.230.0.ebuild,v 1.1 2012/04/21 02:26:53 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-IO-Compress
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.16"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/MogileFS-Utils-2.250.0.ebuild,v 1.1 2012/06/29 17:09:40 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-IO-Compress
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.16"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/MogileFS-Utils-2.260.0.ebuild,v 1.1 2012/08/16 21:29:17 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-IO-Compress
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.16"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,16 +1 @@
|
||||
DIST MogileFS-Server-2.53.tar.gz 277664 SHA256 e2e451efe4bad5cca4e0715883198bfcff0a1bec0655248bcadba50ff3722c21 SHA512 1d04777a355dd31c6f4c56ad50661311e223d06157e0dd1c05855f45b367f7fa8103f6d8a566cf0b19ba024b934d71daf18d4cb79b951f1adc4775e5c72fbc7d WHIRLPOOL bad61cd580e6b0939f550832c61a3fd5e3b59dc2702c606f47851fd2712fbecd488a8417162dfd659b65847d19164632bcb7a66a608ffa3f4d3cdd0271ba7813
|
||||
DIST MogileFS-Server-2.54.tar.gz 278578 SHA256 1ba639d82da72390576f4c13d64bd9843fd2ddbd09e2275a5c670ba97e392e33 SHA512 af8777ff84b114b41a42b39217b5de7364af6db5535217fc1f2287f15910cfa6f7ee2cafbb7e9552e27b89aab8df751a509fa7aa580a32719736b8b3746e6160 WHIRLPOOL 56e93b29fe6767b816d05722ffe020b952d8f7bacbd1eeb71ede1f198a49977a28dd337113dacd8c68f410fd4247ba37e6a9f54e28966fdbed6669a6f33f72a7
|
||||
DIST MogileFS-Server-2.55.tar.gz 278915 SHA256 479e4b36f0ca1aa54a3ab482ee89c34a65d3323575929e287d1b21c531b1715c SHA512 cb5dee11a19bdb0a7aaf53ce0363ec0d2676fe2ad50ae91b3f909b29f69cbeb2934df17a9bd5c16014886e00f401537beca72f858cad31a19c7e6562404d0019 WHIRLPOOL ef91af45865fb997d548f213cbf78d97899bdb707ef34dd8f354a73055bb935e9c0a332c3cdfc5abc13f8d162f470a1927ee9f6b61849eddae3b7d13d7507b74
|
||||
DIST MogileFS-Server-2.56.tar.gz 153506 SHA256 58044213f7ee06eaf20e312f085190f89e57fbe57928df1190f661b3c58bb3fe SHA512 f69745f3170e9913ece1233dac1ca4200864058ec428aaa0c26a7a460c1b956e47adadbc2b45c0caff1852a30a6b97c8ded1e74a2cff2185414ac5ad6af72a09 WHIRLPOOL fa06e883808c88c2f3d6e6fff01f160e57e3e65893cb553c88e99efe3876315f3befdffc1c8a7a49685e21036e282d43b5f4f1575352d60ce6f829f7767a0b16
|
||||
DIST MogileFS-Server-2.57.tar.gz 153876 SHA256 318c5ceece6465fef43613310ab3c84914bea528c58a667ccad01fa31a56bfe5 SHA512 c4b1e136a1ccee68a5e994f746c77711e5138ea7a2d7c9bb98a3238ac136c7a25d88a8c2526a454c634b2a8fbb5fdfafdc154b7b81a6a65af962c9acedbf409b WHIRLPOOL a5f29b0402dbd02cd6ba17b28f5d65d2d44fe927086ff7e332b6de16d486a47d63418f845f9b8196b7603b3c8a9b2378fb2c4d98e4478fa17f5d203673bcdfca
|
||||
DIST MogileFS-Server-2.58.tar.gz 155061 SHA256 e93f25bda03fbe8ac57b62a2d60f9f478387343f584c85453e658dcb348460c6 SHA512 65369393723a0b0b49bbb192ef7c789ca9f3a0678bd32fef2f5cb1ec01c955c2e159a82854b438952ebac00e27ca600548192c2b43545e67525f69cc75a486df WHIRLPOOL 4af8b0bcaed415f607a3b0818d04fd0d7d026cbb6555b9a72edbe12541558bd7fb298e633c62cf1825691569341abc48c9fa43440a6d91a097cef30099049bc2
|
||||
DIST MogileFS-Server-2.59.tar.gz 155095 SHA256 edd64d6d5dbb645848bab7c6bdf37fd45f6fd11268560bc8eb5a8bf186848e04 SHA512 3a29214ceaf9ad3950d6b20af40b778c4c55fb36ead2cda5fd99c85c8e44b55933522fc8f956a99fda02ea13761f9bcaa0c1d759bd07b8b13f474c8bed2e9b1f WHIRLPOOL 6b5580b8e413da0032a997384a234261f46b47e883015755749443df17d26e27b0d7657a4183f73d7fad78a43afe8505080b91d580045c9ab94313f1de8a5fca
|
||||
DIST MogileFS-Server-2.60.tar.gz 166840 SHA256 430b47ff0152f225c3af867910afa60516472d740f9b44f6e0c36a8a919238e2 SHA512 6229464c5d6da5dda1726fc260c616c7f489049f23a59f0e65b4b05c7f25d112fc6ba57573d0037d7249f873245227e2cf37e26e4c070f000c016abaf373558e WHIRLPOOL 6f19db389a9d428b800d695b9d201cb199f1c32d757f04381d0ae915772c5a5628d75725888bf517c1afd3559d84fe524fb7dce7b644fbf975905009d0035c5b
|
||||
DIST MogileFS-Server-2.61.tar.gz 173555 SHA256 c3a92c7b1006ce5e0b41875b716ea0049585360195abc61125d2756ddfaaf8e6 SHA512 f495c43992a2eebbcd95b817169799978b786938b6ac87715342ba1cdacddad5450bd8d4681f157d008556a6b937155983eda444fe9b5186a7f0b1fad6501fcb WHIRLPOOL 693c63187bba072bb66ec6d757d61c10df9e13897c6452b148c3838c329f83734c9d04bc86ef63b60d64f047ff785f1f6ffc6e86a22b91d980b354629628b309
|
||||
DIST MogileFS-Server-2.62.tar.gz 173736 SHA256 1585dbaa20260fcf0cd2fe3cfc40588cbe064e51ad102da13b12a0f2bfc1ba39 SHA512 8d3567a9f9562a66629b540ccee18755d45cd3b97fda9ce630451b7ac1e0c99ba9d761fe450957c0fcac303aa1218dd27a3c90757c36d3c66b2bb46c329c2466 WHIRLPOOL 1a2ab1832540ce4ecd996457a8174c1b65adac74539701e0c0f3ad36a3600aa93565f4293cb648a3ffc6df27b79baf3924674ea136b0b1eaf969cc8df8cf899d
|
||||
DIST MogileFS-Server-2.63.tar.gz 173793 SHA256 d090fbe9858afac95a57c3a14ca06b112d56ba55a6d9ec9ddf284b4216961c98 SHA512 caf21208e30babc88f3e31b19da6a442d09cd50c00585c64e44767c47731c7c877f7f6cd032af07ce94ccc4f427a6dcda597303df964a63488fc9974e6d6678b WHIRLPOOL c65957e9070fdb6bf5dfaef3bf5bfcfbcbb8882730f05efd0f2f0f4b5bb212e0b89e3fc422da3476c7cde5fe1ed2b4aac3f9f78f34fdde5d7183e5d13a4124df
|
||||
DIST MogileFS-Server-2.64.tar.gz 175482 SHA256 8361dea97b71503be2d055679f01e8b2305247e247f88961be67921a2a380a13 SHA512 87e0eb32e7d48832671a791a409cbc01d2d202e5a4d0ccd9fc56bf2341591183574c791c9cfb8f2631a85c1d3a29be4b0010fbcf44b84f8cdb0aa66d3e684f40 WHIRLPOOL 7800062a9bf61bf1e0fce0fb55962eb8f65402f146544e94cffa85c3735bc0350c23c36b666a65e3c0f5dd3b66e570373ecdde1be3be348f22e958437a728050
|
||||
DIST MogileFS-Server-2.65.tar.gz 177009 SHA256 d87fe4f182737153dc7daee762b8a429bea7ab2488f43d44b37ab76f2039efda SHA512 21172fa40516b7243211fad359b17a054f987929c68fef420584917abc134501fa0a45e0b9e171d24b6811627345d70b30fc54b75f9b1f101f537e24884a272b WHIRLPOOL 1cc1d3d4ab4601dc6a4a9248db648c3bec6437b4081911ba68ef68c4a084e2d8410a61d3bf49fd44c3d9a4e07a69be16dc5a09ef1ac8c0b683ff72fb200ff43c
|
||||
DIST MogileFS-Server-2.67.tar.gz 181847 SHA256 9347f762875ec99b132a096b9ef74237d79fcb1f198372e78b1764d3569071dd SHA512 de3183d52a2852491f851dad3a19daca4ce2e9adfc13a6c62abbde8b15d3a7e0dd66473a88880ff3a253370a477fa54fadf6e6ca9d50987d7ea3e7acd602b41f WHIRLPOOL bb1d8b530fee1cc593bb4d149970c9016d992c0456cd6f4a730d41c7477e7a94f105249c67b5c28f5954e8a1bd33533de660fa5d494991275be9827297b3c766
|
||||
DIST MogileFS-Server-2.68.tar.gz 186022 SHA256 535fb28a3ec40fd6eb7f62712fd19c03544e0c502d8494d789e124f9841da6b1 SHA512 0a25365883f083465d1c95c1fc0ab638f010b1e9b3ce3d373499a9faa64102a0b780f7435e3436ae61446fb2372ed655c9b4c42ec5c41a9bd3da2b4fd7906432 WHIRLPOOL 48ff45f5eca602267d913692424774771a397103440c0242a8ef80eda6004bc9c535b1bdd08157086c4cc3e5ceaae05b8a812cffb1ef78e8e04e60e479d0b484
|
||||
DIST MogileFS-Server-2.70.tar.gz 199850 SHA256 686f328a4a6dacdb6c6153e7c1837875580d8437bf91ebd74ef197b1caefa7a6 SHA512 e5dd7dbfd8422d69d1ffbe9d6cf5f8845e33484a7c812fe60285c0aa17d812a5de33d1a0503972749d70fed92767eedc1119bea650712150d9d5d4e4fdbccb8f WHIRLPOOL c47a79e0002b38d605d1b4407bab886a53f818f3b664421e6e83696a2db152fb71cd093acbaecc6fc46f2bb69a43339c105d4bf566af1e834492aa4a44adedcd
|
||||
|
@ -1,28 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16,v 1.2 2009/11/04 02:29:23 robbat2 Exp $
|
||||
|
||||
NAME="mogilefsd"
|
||||
BINARY="/usr/bin/mogilefsd"
|
||||
MOGILE_UID="mogile"
|
||||
MOGILE_GID="mogile"
|
||||
|
||||
depend() {
|
||||
use net mysql postgresql
|
||||
after mysql postgresql
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting $NAME"
|
||||
start-stop-daemon --chuid ${MOGILE_UID}:${MOGILE_GID} --start \
|
||||
--pidfile ${PIDFILE} --exec ${BINARY} \
|
||||
-- ${MOGILEFSD_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping $NAME"
|
||||
start-stop-daemon --stop --quiet --pidfile="${PIDFILE}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
# vim: ft=gentoo-init-d:
|
@ -1,26 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-init.d-2.30,v 1.2 2009/11/04 02:29:23 robbat2 Exp $
|
||||
|
||||
NAME="mogstored"
|
||||
BINARY="/usr/bin/mogstored"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
before mogilefsd
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting $NAME"
|
||||
start-stop-daemon --start --quiet \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${BINARY} -- ${MOGSTORED_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping $NAME"
|
||||
start-stop-daemon --stop --quiet --pidfile="${PIDFILE}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
# vim: ft=gentoo-init-d:
|
@ -1,27 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-init.d-2.50,v 1.2 2011/12/16 19:53:23 swegener Exp $
|
||||
|
||||
NAME="mogstored"
|
||||
BINARY="/usr/bin/mogstored"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
before mogilefsd
|
||||
need mogautomount
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting $NAME"
|
||||
start-stop-daemon --start --quiet \
|
||||
--pidfile=${PIDFILE} --exec ${BINARY} \
|
||||
-- --daemonize --pidfile=${PIDFILE} ${MOGSTORED_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping $NAME"
|
||||
start-stop-daemon --stop --quiet --pidfile="${PIDFILE}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
# vim: ft=gentoo-init-d:
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.530.0.ebuild,v 1.3 2012/06/03 16:31:19 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=2.53
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.540.0.ebuild,v 1.3 2012/06/03 16:31:18 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=2.54
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.550.0.ebuild,v 1.3 2012/06/03 16:31:18 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV:0:4}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.560.0.ebuild,v 1.2 2012/06/03 16:31:19 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV:0:4}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.570.0.ebuild,v 1.2 2012/06/03 16:31:19 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV:0:4}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.580.0.ebuild,v 1.2 2012/06/03 16:31:18 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV:0:4}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.590.0.ebuild,v 1.2 2012/06/03 16:31:18 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV:0:4}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.600.0.ebuild,v 1.3 2012/06/03 16:31:19 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.16
|
||||
>=dev-perl/MogileFS-Utils-2.23
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.610.0.ebuild,v 1.2 2012/06/03 16:31:19 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.16
|
||||
>=dev-perl/MogileFS-Utils-2.23
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.620.0.ebuild,v 1.2 2012/06/03 16:31:18 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.16
|
||||
>=dev-perl/MogileFS-Utils-2.23
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.630.0.ebuild,v 1.1 2012/06/09 08:57:34 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.16
|
||||
>=dev-perl/MogileFS-Utils-2.23
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.640.0.ebuild,v 1.1 2012/06/29 17:18:03 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.610.0
|
||||
>=dev-perl/Sys-Syscall-0.220.0
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.160.0
|
||||
>=dev-perl/MogileFS-Utils-2.250.0
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.650.0.ebuild,v 1.1 2012/08/16 21:48:54 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.610.0
|
||||
>=dev-perl/Sys-Syscall-0.220.0
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.160.0
|
||||
>=dev-perl/MogileFS-Utils-2.250.0
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.670.0.ebuild,v 1.1 2013/06/25 04:20:45 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.610.0
|
||||
>=dev-perl/Sys-Syscall-0.220.0
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.160.0
|
||||
>=dev-perl/MogileFS-Utils-2.250.0
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.66 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.66 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.680.0.ebuild,v 1.1 2013/08/15 06:48:44 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit user perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.610.0
|
||||
>=dev-perl/Sys-Syscall-0.220.0
|
||||
>=dev-perl/Perlbal-1.790
|
||||
>=dev-perl/IO-AIO-4
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.160.0
|
||||
>=dev-perl/MogileFS-Utils-2.250.0
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.66 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.66 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST docker-py-0.3.2.tar.gz 18639 SHA256 146de3243219e6358e63c93fcd34116330b165669b8bdc0880bfc2271c552e65 SHA512 f6873b56b1ce87cdb907abe1a84383b435b1fe21cb71c5132a2cfd6d2434c6b71675b2de007f9fcbe5641ab7eb21bccdc5df6d009f0542e1aff6dc7c64014bda WHIRLPOOL c931fae60a51bc3866287c6d4dbb854da4d0d9ce0aa9e92244db683354b21cbebb2edd901efd5a7f2eda59229a50a3a54aad17ee7408940df4e11bf96da3392b
|
||||
DIST docker-py-0.5.0.tar.gz 22770 SHA256 fe68c7eecce7ce26d8e125e603686b367e3f1369fbaf5302af125afa515015ae SHA512 3543ca7b04779c6bd5c146ae99125eff5c72a6507933283d2679a83318815f15015a16f18a36ce47419d2666fdf01eb43c3fc4b81116637111e63b88b0c76086 WHIRLPOOL 230af99de3b93a5a8a1606790ad65137364f91c9e3474474a247e1c262c0adc10ea32666b649c20438495dd52a9124d11f3939d8b8db776d8730110e4f5e35ba
|
||||
DIST docker-py-0.5.3.tar.gz 23021 SHA256 db279666e5b9957211e2f16b47fda3f07208b824315718e99d77945c1a61edde SHA512 6f91d4feb6809a0b0d9e8e64923b74f19d67b229195e6813b36f3efad2c94861d66b3bd55021cdeb72a5f7a84f97319626ef1acb6018f491bdb75e0e3b0c0cbd WHIRLPOOL 028244a9edd8ae6cc2ec3545ebde4bc424f1fd599e7c4d0b74a3e448911332d52dfc1c234616eee2b5ba920b890b383c5bde76695ae8b939c5bee630c9e96bd9
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/docker-py/docker-py-0.3.2.ebuild,v 1.4 2014/09/01 02:03:08 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4}} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An API client for docker"
|
||||
HOMEPAGE="https://github.com/dotcloud/docker-py"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/websocket-client[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-no-version-lock.patch
|
||||
)
|
||||
|
||||
# upstream archive does not include the tests
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}" esetup.py test || die
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
diff --git a/requirements.txt b/requirements.txt
|
||||
index a1cc1af..d4920a7 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -1,3 +1,3 @@
|
||||
-requests==2.2.1
|
||||
+requests>=2.2.1
|
||||
six>=1.3.0
|
||||
-websocket-client==0.11.0
|
||||
+websocket-client>=0.11.0
|
||||
diff --git a/requirements3.txt b/requirements3.txt
|
||||
index 68533d1..ab74f44 100644
|
||||
--- a/requirements3.txt
|
||||
+++ b/requirements3.txt
|
||||
@@ -1,2 +1,2 @@
|
||||
-requests==2.2.1
|
||||
+requests>=2.2.1
|
||||
six>=1.3.0
|
||||
diff --git a/test-requirements.txt b/test-requirements.txt
|
||||
index 5857671..0a52703 100644
|
||||
--- a/test-requirements.txt
|
||||
+++ b/test-requirements.txt
|
||||
@@ -1 +1 @@
|
||||
-mock==1.0.1
|
||||
\ No newline at end of file
|
||||
+mock>=1.0.1
|
@ -0,0 +1 @@
|
||||
DIST oslo.i18n-1.0.0.tar.gz 31042 SHA256 008f86bc297ee05c63b1e2e4a85985802f086c81b16b0853e8e47df0592b23bc SHA512 907971cf4a85bfd2f935faf30dced837614eaa08397b7243a497c6fb50c1228c5cd5f562fb452ebc2a0ad929073724b1e44b38df9b5f424833ed958dcbfc96ab WHIRLPOOL b6ffb2bfce611bb5dd99bd62d24709dfa8626bc93edc7e51aa27e422f556851b31a3525e15fcb2481a72d6b225acc957ecf1ae64bdd38dcae8411173cc8b999d
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-i18n/oslo-i18n-1.0.0.ebuild,v 1.1 2014/11/02 18:29:45 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/-/.}
|
||||
|
||||
DESCRIPTION="oslo.i18n library"
|
||||
HOMEPAGE="http://launchpad.net/oslo"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST httpclient-2.2.5.tgz 273306 SHA256 81a15e45c83416d5d77ebbe2eaa0b346bcd08eb092aa9a1e52be356662baefc2 SHA512 c0fdb174dd90a726332c5749ed89414a831ff32997d3ecfa7cbd2bc78eb5fc901dce0c6a3fc1f8762a3bcf17690f29dabbbd0933717f91f4e24445b1e50def51 WHIRLPOOL 52b5a2c02f2527c5587ce3b0ce715e3ec93d0a13c5ea8a12b28bd73180f4a07db9b720191dd2a53a9c8abb016d5fcbe7b7763429619d47cc375d562258834a79
|
||||
DIST httpclient-2.3.4.1.tgz 217837 SHA256 045f388bdc8a0b9549396253d927cbfc6538f8ea4fcd8af747d81559065670c1 SHA512 214640577aec8d6124966c4f4d86c101f92679fe8699d97964be27cff6771ce8f13f60378730c4247585a01b14f860eaeed536843c257b995137f92fc06e6912 WHIRLPOOL a4d90ea28daac86e81a68952e6343ff6016646266b548ed3f3699f3ca5e92e1776aa69f271a12478b682169eef11218913a041d6494be8e717f6c5ecf45a6dd3
|
||||
DIST httpclient-2.4.0.tgz 297207 SHA256 9c454d2640d12c15651c188eff1d98c3f74fd43d11ba11784271c93c0a5bc503 SHA512 a482a791c070fcd1dab168c1e613eb1b086b8a74a8b6d23a307e80b359d23b4186bb6442b15e228184e435517a5038f1b125e0569407fa36623398487d8f53a3 WHIRLPOOL ba6b529e5edbf26f11e9ea34a3c41ec967b4f970f53e97f8501d2175420a1c5c725fca4e28bd8ed52c24c5310d4995c1824eac972aab7983e0c09c171e54014e
|
||||
DIST httpclient-2.5.1.tgz 298376 SHA256 be3fd2f64aa98cbf856a36af193f17b5a1cc9854a0ab6ad47cd95c7458bbb658 SHA512 e9522a73f321358ba089fab9ee5e036bcb2f528579225b1aacaf95da7115b069e5c682183e81a14e4e2e57d0b6b49ebce70220bbeb6b33995c433234d455035f WHIRLPOOL c830ee1093a8cd589c8d2be61c4d3c89143657f80239598f7afd68d0c0ffa5afdce22f22b300f15d53036467088b486b6ac0b277f0e2bf7cac14ab81774215e9
|
||||
DIST httpclient-2.5.2.tgz 299259 SHA256 472d42990cf1f72191a61203fc31b670618291b5c2019c8c00d0779c7cdf3702 SHA512 51df1b96a07632f2b14d61f71764e117d8a19e833f728dc8185611f9e842715362473643651ee0ceeefbe44b9928c188a22cc3e0eee9c5702075fe68bc8457af WHIRLPOOL 889aa976facf173aac23c30be5e42384189318cdfaf97d81b5fd7eb70c617867791cf324b071ba2a66d57edf396dba3377e3be15b2ed2cbcedd02a78ea4ed753
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.3.4.1.ebuild,v 1.2 2014/04/05 13:56:04 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="-Ilib test"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
|
||||
HOMEPAGE="https://github.com/nahi/httpclient"
|
||||
SRC_URI="https://github.com/nahi/httpclient/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="nahi-httpclient-*"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!dev-ruby/http-access2"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
|
||||
|
||||
all_ruby_prepare () {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
|
||||
|
||||
# Remove mandatory CI reports since we don't need this for testing.
|
||||
sed -i -e '/reporter/s:^:#:' Rakefile || die
|
||||
|
||||
# Remove mandatory simplecov dependency
|
||||
sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' test/helper.rb || die
|
||||
|
||||
# Comment out test requiring network access that makes assumptions
|
||||
# about the environment, bug 395155
|
||||
sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -S testrb test/test_*.rb || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pdf-inspector-1.1.0.gem 25600 SHA256 bd65f7d254c66acdcb7bda4d42146441bea5fe7b01d768e3f9ee516434d13448 SHA512 71c8af4275421f952711bcc945c52adb6d19b153606fc067325951092cec58998e56373819aa55fa8c0e1cc4736204e3e11f03c3bc3ec121f5eb4e1327a48779 WHIRLPOOL 32e297d0dd73a5b159a03696bf68368e3797bbe73aac7dfac88d5a65af27b8b54a03a6be2282b3441f0d716f0b29a61ecae900efceced13033e6512870a21d8d
|
||||
DIST pdf-inspector-1.2.0.gem 26112 SHA256 f5a38d809593d513f00bae996bac7cc88a2366cfdc3c977fcd0472d05de7fa87 SHA512 7d009ff305faf4caa7bbd3b5267ec93092e83fa9a4bdd2a9ac5f2b1e1932f1d718f8dd97f8824bef7f396aa89896ad2a81e13ca7276035c166b396dd1ec0dc1a WHIRLPOOL 98e4da7f015119470bcfc0db22e829820fbfb6db37e4d6d53b214870fa747baf039e71315f5476ee2478e40eafe06697c21bf055938920dab349fccb4abc898e
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST prawn-table-0.1.1.gem 64000 SHA256 7bd54fd8564ae09d714d72b3c80ff96e1af723adbe488b6f29c9687ce880c44c SHA512 48bfd21dccd055bff7d466bea9f154acfc607f447f4c998cdf18890c455224c089e79399ff062af7a961d8b058ad2a062d98f81fb3c56000346c7347b26373af WHIRLPOOL 4e45961c32fe24ed13bdaeeee52075de496a7229f0cea6dbf535489944155b9837fbddcf846aeaf6dbcead0bdf496d06f2d5851156dc0ca1f899b2fbf38014d3
|
||||
DIST prawn-table-0.1.2.gem 64000 SHA256 e7b85b901b579239f1fefbb5664fb61f769607f5e5cc3f88371f587af340a528 SHA512 efa58a323bb3a7de9c576ac43ab83a094d2d89f208456d8588d2c822af0f9094aa1298322f62847e5a87c634f330bceb733d1dcf315531e58998a10a1ef5ebe5 WHIRLPOOL ece39fbfcb7b44fb9d02a2395514ddf7807e5861e4f4db97804d7a9bb20d5398756f77e57f3230dd696b48cc2e12f45d017b2fc53a92394398247f9d7ff76cd4
|
||||
DIST prawn-table-0.2.0.gem 64000 SHA256 5304ee7dbb6d0e19ab1ecb3d84e7cdb26e374d3f8a982f2a23a5b4345b1c6548 SHA512 a1dad1267cb0878573a35b25371387c83c7ca52aa62936f3f72312f464d552aacdcf2a5957aa927d3506f6c44a897f2154818f4b0d84c188767932ec8bcf949e WHIRLPOOL c8054cc3524cb6ead616ad7c5a89496c115d29180f1c36de1d99da5056d8b52bdc70840ddf00d8236440b8208d45c546aa825bafe38b7a1a75e6e71b8f5fd11d
|
||||
DIST prawn-table-0.2.1.gem 64000 SHA256 e939e465846fe94ecc6866b4a988ee004dd5bd7ce094d7d0f41e2e5597982584 SHA512 8adfe3a44c95f3bcd8aa12582e2187b66caec2dc41ec13de49004b59c329da3f9d2651e9fbf72c52b0932175a4bdb3f11aece8dfe01a1159de291e53fea36c5c WHIRLPOOL 4c75de771d79f3e0f4b2c85513078022e22170bc4c1ea078cf1a5271d45d9c118b8cb207e0564c591923431a671b604b6841c7e248280ea449f8844afddd4f28
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-table/prawn-table-0.1.1.ebuild,v 1.1 2014/08/30 10:14:22 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Provides support for tables in Prawn"
|
||||
HOMEPAGE="http://prawn.majesticseacreature.com/"
|
||||
LICENSE="|| ( GPL-2+ Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/mocha
|
||||
>=dev-ruby/pdf-inspector-1.1.0
|
||||
>=dev-ruby/pdf-reader-1.2
|
||||
>=dev-ruby/prawn-1.2.1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/[Bb]undler/s/^/#/" spec/spec_helper.rb || die
|
||||
# Remove failing test
|
||||
# See https://github.com/prawnpdf/prawn-table/issues/10
|
||||
sed -i -e "/Prints table on one page when using subtable with colspan > 1/,+24 s/^/#/" spec/table_spec.rb || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ruby-openid-2.2.2.gem 272384 SHA256 a55298e4e95477c7a91cdb70209cb353a925a7586f013ae8fd81e8996dca2857 SHA512 cb4609c32c357f6c065f6f62ed051e045a3df52d4a08e1a4abf94e83f5f2af3ffcdaa6178ad0da349c55d0b8947c2a87bd79170dcb9e6be72a121b8100f8d46f WHIRLPOOL aaf80883b1d2368fe4c7a85280dacbf58f164ccac8eaba1ca006e86a80154528c372464c8b1161b7d2d45d9dc65245fc0e34161c0142edcd95dc3aec16bad343
|
||||
DIST ruby-openid-2.5.0.tar.gz 513780 SHA256 4533460180de02b11941afd9d0cc6c5799bc8714493154f85286f624ff5ffd65 SHA512 f23af64e42d0bbe96a9ca52b2e9aa0d82376a570bef92365aabbdd424a22f1f8cf45ccdc11bfc1e687efe2f4d4ed165545f0e009cf29a864f7338b2c134bc68b WHIRLPOOL 707b19d82fab06dd6925f59a4d169f7e91a4a2a2dfab8c4d3734cef5e09ebc6f2870d094e34017e6bccfdf88b124ee0978ad8fd3d1278f4aa1da727a585d6f6f
|
||||
DIST ruby-openid-2.6.0.tar.gz 514492 SHA256 5c820410d4d83a02cbc778d647e81848a74c7e2f08db0fa560c481ec3d562df3 SHA512 ffe544a8c34c0f2b85073ee679728a6138f0c4da9d16d54001c5aa50251bf51e097baeda5ea748218d06c3bdb69f4f0948c561f888741c88c829bd5d58e7ba44 WHIRLPOOL 11b26774069831a232cbc893c2d6d47fcf71a366b45a92a6e3732a31fa10c879b4cc12217bec16ea42d51938cdeb8b31d9b1d49dd036635fab7135af755df3cd
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-openid/ruby-openid-2.6.0.ebuild,v 1.1 2014/11/02 19:00:42 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md NOTICE UPGRADE.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A robust library for verifying and serving OpenID identities"
|
||||
HOMEPAGE="http://ruby-openid.rubyforge.org/"
|
||||
SRC_URI="https://github.com/openid/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/[Bb]undler/d" Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST sqlite3-1.3.10.gem 60416 SHA256 70d815be84bd9630a0b68b236fd2811eef4297a8e4b53e3df89dd39f2d39efe3 SHA512 0a35896a4b9ce4f1e0f29ef9385f13b418b089d9bad467290e21eb12a4d09ce755231f5844c5009013ac9c73a27f7050ce899660d93d6ecc9e919f048a073cfe WHIRLPOOL 95f5f6d2944012cd4778f5d29e63ae43208e247ff5a9d184409dec4756beb14b90878c5ae6b337bf3f3d1fb9049de0cf65625a8544a429c735d5d9b66f90cd1d
|
||||
DIST sqlite3-1.3.6.gem 57344 SHA256 b0063859dd46819dd228f9629adfbc16649dfeef35b90eba9757537c0be1ecdb SHA512 952bbea9863a3fd65b217fed62f37356e76fbb40fb9b2599876113e069611d65c9d1bac891580700a0d0e809411881f50774d18fdbe0ad1202ac792c366b7030 WHIRLPOOL a020b7bba1bdcb27864767bd2b8e9db023706d0f52b356f63acf78a01b81be4c5d83e10d5cfa0c11ad2525bda1cb1457186cf572bee2a065d21e98e4b3a3fb48
|
||||
DIST sqlite3-1.3.8.gem 58880 SHA256 6a97b019e177d33472bac1aab199d9ae8c24f18eb63461cadc3223607a82287a SHA512 376e5e0f40697a5cf3d3140aee041f41114bdbadb55425eaa0e5c663e17ff6872f466cc08abfbede319d5e377fd47f73aaf1aa9134cf609fbdbea39480bbe56f WHIRLPOOL 615c0005918898fca7dabe3a234fe3a615e7144c557a9cd7e5517a01adfced98d80fff6f4a19c13511624c57cb6b349a10f420e1e641afbe077570bcd0c1e886
|
||||
DIST sqlite3-1.3.9.gem 60928 SHA256 9984744afb5f44ca4a82aec66e257ff60783920afd48f06606d1fb4a9d51a61e SHA512 5c20ca40fc17ab7a0655f96a7d017164fc68a5e8b4d7a6e226cbd0ce6a850e46815379f97056f2a8c4c6c7b8c67f4fa14a985cdf13239f845f74f948a8c87834 WHIRLPOOL f89c5cf35e769d6baf225b933aa59e959c61d7dc77f7fdc4bbeb49a8ac7943d6f85bc785e8d86ea454207a98ebc1acfadf6c9c96563715035176c3fe0fe8a5d2
|
||||
|
@ -1,368 +0,0 @@
|
||||
From eadb20b065c33d46b49c8c95d8cde0c9fe7c62a4 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Johnson <robbat2@gentoo.org>
|
||||
Date: Wed, 22 Aug 2012 04:25:06 +0000
|
||||
Subject: [PATCH] Makefile: Add NO_CVS define to disable all CVS interface
|
||||
utilities
|
||||
|
||||
Forward-ported from 1.7.10.2 to current git.git v1.7.12 tag PLUS fix-svn branch.
|
||||
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/Makefile git-1.7.12/Makefile
|
||||
--- git-1.7.12.orig/Makefile 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/Makefile 2012-08-22 04:23:48.335032122 +0000
|
||||
@@ -224,6 +224,8 @@
|
||||
#
|
||||
# Define NO_TCLTK if you do not want Tcl/Tk GUI.
|
||||
#
|
||||
+# Define NO_CVS if you do not want any CVS interface utilities.
|
||||
+#
|
||||
# The TCL_PATH variable governs the location of the Tcl interpreter
|
||||
# used to optimize git-gui for your system. Only used if NO_TCLTK
|
||||
# is not set. Defaults to the bare 'tclsh'.
|
||||
@@ -405,6 +407,7 @@
|
||||
PROGRAM_OBJS =
|
||||
PROGRAMS =
|
||||
SCRIPT_PERL =
|
||||
+SCRIPT_PERL_CVS =
|
||||
SCRIPT_PYTHON =
|
||||
SCRIPT_SH =
|
||||
SCRIPT_LIB =
|
||||
@@ -445,18 +448,19 @@
|
||||
SCRIPT_PERL += git-add--interactive.perl
|
||||
SCRIPT_PERL += git-difftool.perl
|
||||
SCRIPT_PERL += git-archimport.perl
|
||||
-SCRIPT_PERL += git-cvsexportcommit.perl
|
||||
-SCRIPT_PERL += git-cvsimport.perl
|
||||
-SCRIPT_PERL += git-cvsserver.perl
|
||||
SCRIPT_PERL += git-relink.perl
|
||||
SCRIPT_PERL += git-send-email.perl
|
||||
SCRIPT_PERL += git-svn.perl
|
||||
|
||||
+SCRIPT_PERL_CVS += git-cvsexportcommit.perl
|
||||
+SCRIPT_PERL_CVS += git-cvsimport.perl
|
||||
+SCRIPT_PERL_CVS += git-cvsserver.perl
|
||||
+
|
||||
SCRIPT_PYTHON += git-remote-testgit.py
|
||||
SCRIPT_PYTHON += git-p4.py
|
||||
|
||||
SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \
|
||||
- $(patsubst %.perl,%,$(SCRIPT_PERL)) \
|
||||
+ $(patsubst %.perl,%,$(SCRIPT_PERL) $(SCRIPT_PERL_CVS)) \
|
||||
$(patsubst %.py,%,$(SCRIPT_PYTHON)) \
|
||||
git-instaweb
|
||||
|
||||
@@ -2088,8 +2092,18 @@
|
||||
$(QUIET_GEN)$(cmd_munge_script) && \
|
||||
mv $@+ $@
|
||||
|
||||
+_SCRIPT_PERL_BUILD =
|
||||
+_SCRIPT_PERL_NOBUILD =
|
||||
+
|
||||
ifndef NO_PERL
|
||||
-$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak
|
||||
+
|
||||
+_SCRIPT_PERL_BUILD += $(SCRIPT_PERL)
|
||||
+
|
||||
+ifndef NO_CVS
|
||||
+_SCRIPT_PERL_BUILD += $(SCRIPT_PERL_CVS)
|
||||
+else # NO_CVS
|
||||
+_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL_CVS)
|
||||
+endif # NO_CVS
|
||||
|
||||
perl/perl.mak: perl/PM.stamp
|
||||
|
||||
@@ -2101,7 +2115,7 @@
|
||||
perl/perl.mak: GIT-CFLAGS GIT-PREFIX perl/Makefile perl/Makefile.PL
|
||||
$(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F)
|
||||
|
||||
-$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl GIT-VERSION-FILE
|
||||
+$(patsubst %.perl,%,$(_SCRIPT_PERL_BUILD)): % : %.perl GIT-VERSION-FILE
|
||||
$(QUIET_GEN)$(RM) $@ $@+ && \
|
||||
INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \
|
||||
sed -e '1{' \
|
||||
@@ -2126,14 +2140,17 @@
|
||||
chmod +x $@+ && \
|
||||
mv $@+ $@
|
||||
else # NO_PERL
|
||||
-$(patsubst %.perl,%,$(SCRIPT_PERL)) git-instaweb: % : unimplemented.sh
|
||||
+_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL) $(SCRIPT_PERL_CVS) git-instaweb
|
||||
+endif # NO_PERL
|
||||
+
|
||||
+# This is any perl scripts that were disabled it might be empty...
|
||||
+$(patsubst %.perl,%,$(_SCRIPT_PERL_NOBUILD)): % : unimplemented.sh
|
||||
$(QUIET_GEN)$(RM) $@ $@+ && \
|
||||
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
|
||||
-e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \
|
||||
unimplemented.sh >$@+ && \
|
||||
chmod +x $@+ && \
|
||||
mv $@+ $@
|
||||
-endif # NO_PERL
|
||||
|
||||
ifndef NO_PYTHON
|
||||
$(patsubst %.py,%,$(SCRIPT_PYTHON)): GIT-CFLAGS GIT-PREFIX
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9200-git-cvsexportcommit.sh git-1.7.12/t/t9200-git-cvsexportcommit.sh
|
||||
--- git-1.7.12.orig/t/t9200-git-cvsexportcommit.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/t9200-git-cvsexportcommit.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -12,6 +12,11 @@
|
||||
test_done
|
||||
fi
|
||||
|
||||
+if ! test_have_prereq CVS; then
|
||||
+ skip_all='skipping git cvsexportcommit tests, cvs not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+
|
||||
cvs >/dev/null 2>&1
|
||||
if test $? -ne 1
|
||||
then
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9400-git-cvsserver-server.sh git-1.7.12/t/t9400-git-cvsserver-server.sh
|
||||
--- git-1.7.12.orig/t/t9400-git-cvsserver-server.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/t9400-git-cvsserver-server.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -11,9 +11,15 @@
|
||||
. ./test-lib.sh
|
||||
|
||||
if ! test_have_prereq PERL; then
|
||||
- skip_all='skipping git cvsserver tests, perl not available'
|
||||
+ skip_all='skipping git-cvsserver tests, perl not available'
|
||||
test_done
|
||||
fi
|
||||
+
|
||||
+if ! test_have_prereq CVS; then
|
||||
+ skip_all='skipping git-cvsserver tests, cvs not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+
|
||||
cvs >/dev/null 2>&1
|
||||
if test $? -ne 1
|
||||
then
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9401-git-cvsserver-crlf.sh git-1.7.12/t/t9401-git-cvsserver-crlf.sh
|
||||
--- git-1.7.12.orig/t/t9401-git-cvsserver-crlf.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/t9401-git-cvsserver-crlf.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -38,15 +38,20 @@
|
||||
fi
|
||||
}
|
||||
|
||||
-cvs >/dev/null 2>&1
|
||||
-if test $? -ne 1
|
||||
+if ! test_have_prereq PERL
|
||||
then
|
||||
- skip_all='skipping git-cvsserver tests, cvs not found'
|
||||
+ skip_all='skipping git-cvsserver tests, perl not available'
|
||||
test_done
|
||||
fi
|
||||
-if ! test_have_prereq PERL
|
||||
+if ! test_have_prereq CVS
|
||||
then
|
||||
- skip_all='skipping git-cvsserver tests, perl not available'
|
||||
+ skip_all='skipping git-cvsserver tests, cvs not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+cvs >/dev/null 2>&1
|
||||
+if test $? -ne 1
|
||||
+then
|
||||
+ skip_all='skipping git-cvsserver tests, cvs not found'
|
||||
test_done
|
||||
fi
|
||||
"$PERL_PATH" -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || {
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9600-cvsimport.sh git-1.7.12/t/t9600-cvsimport.sh
|
||||
--- git-1.7.12.orig/t/t9600-cvsimport.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/t9600-cvsimport.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -3,14 +3,25 @@
|
||||
test_description='git cvsimport basic tests'
|
||||
. ./lib-cvs.sh
|
||||
|
||||
-test_expect_success PERL 'setup cvsroot environment' '
|
||||
+if ! test_have_prereq PERL
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, perl not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+if ! test_have_prereq CVS
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, cvs not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+
|
||||
+test_expect_success 'setup cvsroot environment' '
|
||||
CVSROOT=$(pwd)/cvsroot &&
|
||||
export CVSROOT
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'setup cvsroot' '$CVS init'
|
||||
+test_expect_success 'setup cvsroot' '$CVS init'
|
||||
|
||||
-test_expect_success PERL 'setup a cvs module' '
|
||||
+test_expect_success 'setup a cvs module' '
|
||||
|
||||
mkdir "$CVSROOT/module" &&
|
||||
$CVS co -d module-cvs module &&
|
||||
@@ -42,23 +53,23 @@
|
||||
)
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'import a trivial module' '
|
||||
+test_expect_success 'import a trivial module' '
|
||||
|
||||
git cvsimport -a -R -z 0 -C module-git module &&
|
||||
test_cmp module-cvs/o_fortuna module-git/o_fortuna
|
||||
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'pack refs' '(cd module-git && git gc)'
|
||||
+test_expect_success 'pack refs' '(cd module-git && git gc)'
|
||||
|
||||
-test_expect_success PERL 'initial import has correct .git/cvs-revisions' '
|
||||
+test_expect_success 'initial import has correct .git/cvs-revisions' '
|
||||
|
||||
(cd module-git &&
|
||||
git log --format="o_fortuna 1.1 %H" -1) > expected &&
|
||||
test_cmp expected module-git/.git/cvs-revisions
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'update cvs module' '
|
||||
+test_expect_success 'update cvs module' '
|
||||
(cd module-cvs &&
|
||||
cat <<EOF >o_fortuna &&
|
||||
O Fortune,
|
||||
@@ -86,7 +97,7 @@
|
||||
)
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'update git module' '
|
||||
+test_expect_success 'update git module' '
|
||||
|
||||
(cd module-git &&
|
||||
git config cvsimport.trackRevisions true &&
|
||||
@@ -97,7 +108,7 @@
|
||||
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'update has correct .git/cvs-revisions' '
|
||||
+test_expect_success 'update has correct .git/cvs-revisions' '
|
||||
|
||||
(cd module-git &&
|
||||
git log --format="o_fortuna 1.1 %H" -1 HEAD^ &&
|
||||
@@ -105,7 +116,7 @@
|
||||
test_cmp expected module-git/.git/cvs-revisions
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'update cvs module' '
|
||||
+test_expect_success 'update cvs module' '
|
||||
|
||||
(cd module-cvs &&
|
||||
echo 1 >tick &&
|
||||
@@ -114,7 +125,7 @@
|
||||
)
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'cvsimport.module config works' '
|
||||
+test_expect_success 'cvsimport.module config works' '
|
||||
|
||||
(cd module-git &&
|
||||
git config cvsimport.module module &&
|
||||
@@ -126,7 +137,7 @@
|
||||
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'second update has correct .git/cvs-revisions' '
|
||||
+test_expect_success 'second update has correct .git/cvs-revisions' '
|
||||
|
||||
(cd module-git &&
|
||||
git log --format="o_fortuna 1.1 %H" -1 HEAD^^ &&
|
||||
@@ -135,7 +146,7 @@
|
||||
test_cmp expected module-git/.git/cvs-revisions
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'import from a CVS working tree' '
|
||||
+test_expect_success 'import from a CVS working tree' '
|
||||
|
||||
$CVS co -d import-from-wt module &&
|
||||
(cd import-from-wt &&
|
||||
@@ -148,12 +159,12 @@
|
||||
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'no .git/cvs-revisions created by default' '
|
||||
+test_expect_success 'no .git/cvs-revisions created by default' '
|
||||
|
||||
! test -e import-from-wt/.git/cvs-revisions
|
||||
|
||||
'
|
||||
|
||||
-test_expect_success PERL 'test entire HEAD' 'test_cmp_branch_tree master'
|
||||
+test_expect_success 'test entire HEAD' 'test_cmp_branch_tree master'
|
||||
|
||||
test_done
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9601-cvsimport-vendor-branch.sh git-1.7.12/t/t9601-cvsimport-vendor-branch.sh
|
||||
--- git-1.7.12.orig/t/t9601-cvsimport-vendor-branch.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/t9601-cvsimport-vendor-branch.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -34,6 +34,17 @@
|
||||
test_description='git cvsimport handling of vendor branches'
|
||||
. ./lib-cvs.sh
|
||||
|
||||
+if ! test_have_prereq PERL
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, perl not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+if ! test_have_prereq CVS
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, cvs not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+
|
||||
setup_cvs_test_repository t9601
|
||||
|
||||
test_expect_success PERL 'import a module with a vendor branch' '
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9602-cvsimport-branches-tags.sh git-1.7.12/t/t9602-cvsimport-branches-tags.sh
|
||||
--- git-1.7.12.orig/t/t9602-cvsimport-branches-tags.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/t9602-cvsimport-branches-tags.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -6,6 +6,17 @@
|
||||
test_description='git cvsimport handling of branches and tags'
|
||||
. ./lib-cvs.sh
|
||||
|
||||
+if ! test_have_prereq PERL
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, perl not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+if ! test_have_prereq CVS
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, cvs not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+
|
||||
setup_cvs_test_repository t9602
|
||||
|
||||
test_expect_success PERL 'import module' '
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9603-cvsimport-patchsets.sh git-1.7.12/t/t9603-cvsimport-patchsets.sh
|
||||
--- git-1.7.12.orig/t/t9603-cvsimport-patchsets.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/t9603-cvsimport-patchsets.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -14,6 +14,17 @@
|
||||
test_description='git cvsimport testing for correct patchset estimation'
|
||||
. ./lib-cvs.sh
|
||||
|
||||
+if ! test_have_prereq PERL
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, perl not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+if ! test_have_prereq CVS
|
||||
+then
|
||||
+ skip_all='skipping git cvsimport tests, cvs not available'
|
||||
+ test_done
|
||||
+fi
|
||||
+
|
||||
setup_cvs_test_repository t9603
|
||||
|
||||
test_expect_failure 'import with criss cross times on revisions' '
|
||||
diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/test-lib.sh git-1.7.12/t/test-lib.sh
|
||||
--- git-1.7.12.orig/t/test-lib.sh 2012-08-20 01:22:48.000000000 +0000
|
||||
+++ git-1.7.12/t/test-lib.sh 2012-08-22 04:19:23.650741974 +0000
|
||||
@@ -618,6 +618,7 @@
|
||||
esac
|
||||
|
||||
( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1
|
||||
+test -z "$NO_CVS" && test_set_prereq CVS
|
||||
test -z "$NO_PERL" && test_set_prereq PERL
|
||||
test -z "$NO_PYTHON" && test_set_prereq PYTHON
|
||||
test -n "$USE_LIBPCRE" && test_set_prereq LIBPCRE
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue