parent
5172e45da3
commit
a380bb685f
@ -1,3 +1,4 @@
|
||||
DIST susv3.tar.bz2 2212995 SHA256 f7760775114833d79869f08e97a001e61609710417e64c4be4e2e784616658a1 SHA512 b1b8a79112d3f41a3d2951341cd9220566f551e5750378bba5cf786a0c381b064fa1a1cfeb6e76e9c6beb85a893cbb6f90879203e9931e9043bcb95b032def40 WHIRLPOOL 00173ff6a59e7b215f73b12a2c62b55f8655ce1564084323d8882870df050a6faa748ca7b874ee0957a9aced79c6c20f25e1627fb7b353c963a068cf84191315
|
||||
DIST susv4.tar.bz2 2983431 SHA256 315657e697618f759c1e43934c08e5887b29dc7f1f75dd2aa49738efd7ac10bb SHA512 7fd005c25b97d6fd864436c6537f347edfa4ab215114296f2d2ba58aee1552502601b778dec7eb0e8baeea417929cfd72b3b9727237106125326e32a424cf575 WHIRLPOOL b57143d06c19c74996aa59b0da305e6ef0088a2237226777551c982e7f48091878a50476393fb4330e1f51f5a6ef55229940497e70f3a50acdf2efeee2a24803
|
||||
DIST susv4tc1.tgz 5435884 SHA256 49c411571d0dd55d36258dea945385590f5ccb63d9d5b38050a283a41c0bcefa SHA512 7e9741bc6377beda88ade34bd965ee0098953ec6fb5ae67aaafa726a94fe570ac6fadf1675420805f176222c0d9177bc2206584cad8b73a02649d47765312d9f WHIRLPOOL 1edb2ff726b43f108209ef51bb21d88374d81486f8b4aaf50ec71cebf405ddfa53f9e55039f513ef91652f7a664868504453c2c27731d1d97b61b97867d204a0
|
||||
DIST susv4tc2.tar.bz2 3649434 SHA256 9b50e290912dff356687b7585ea2d7a7e746231e1dd4adcb20833fa54e1f4d35 SHA512 cc86b2b4860b1069cb8712ef7b5a9702510f48d6585b5414ff561f85677974c156d8cc95cf29dfdab360c13ecb884e19e2112fe5c6bc49666417c9a744a816ad WHIRLPOOL 002ad7ebb50b041d337ff135ce6f361b9ccca89d0a31687e4b169153f15268dd80c3b6d7efb0be741bda496ea61ab46e8c83c8f0631c7beffe14750cab7659ea
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="The Single UNIX Specification, Version 4, 2016 Edition"
|
||||
HOMEPAGE="https://www2.opengroup.org/ogsys/catalog/T101"
|
||||
SRC_URI="http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc2.tar.bz2"
|
||||
|
||||
LICENSE="sus4-copyright"
|
||||
SLOT="4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/susv4tc2"
|
||||
|
||||
src_install() {
|
||||
dodoc -r *
|
||||
}
|
@ -0,0 +1,337 @@
|
||||
--- uuid/php/uuid.c 2016-12-18 01:23:26.000000000 -0500
|
||||
+++ uuid/php/uuid.c 2016-12-18 01:23:43.564329483 -0500
|
||||
@@ -41,7 +41,13 @@
|
||||
} ctx_t;
|
||||
|
||||
/* context implicit destruction */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+static void ctx_destructor(zend_resource *rsrc)
|
||||
+#else
|
||||
+typedef long zend_long;
|
||||
+
|
||||
static void ctx_destructor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
|
||||
+#endif
|
||||
{
|
||||
ctx_t *ctx = (ctx_t *)rsrc->ptr;
|
||||
|
||||
@@ -120,16 +126,23 @@
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
uuid_rc_t rc;
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ char *param_types = "z/";
|
||||
+#else
|
||||
+ char *param_types = "z";
|
||||
+#endif
|
||||
|
||||
/* parse parameters */
|
||||
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &z_ctx) == FAILURE)
|
||||
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_types, &z_ctx) == FAILURE)
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID < 70000
|
||||
if (!PZVAL_IS_REF(z_ctx)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_create: parameter wasn't passed by reference");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* perform operation */
|
||||
if ((ctx = (ctx_t *)malloc(sizeof(ctx_t))) == NULL)
|
||||
@@ -138,7 +151,12 @@
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_create: %s", uuid_error(rc));
|
||||
RETURN_LONG((long)rc);
|
||||
}
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ zval_dtor(z_ctx);
|
||||
+ ZVAL_RES(z_ctx, zend_register_resource(ctx, ctx_id));
|
||||
+#else
|
||||
ZEND_REGISTER_RESOURCE(z_ctx, ctx, ctx_id);
|
||||
+#endif
|
||||
|
||||
RETURN_LONG((long)rc);
|
||||
}
|
||||
@@ -158,7 +177,11 @@
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_destroy: invalid context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
@@ -185,21 +208,32 @@
|
||||
zval *z_clone;
|
||||
ctx_t *clone;
|
||||
uuid_rc_t rc;
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ char *param_types = "rz/";
|
||||
+#else
|
||||
+ char *param_types = "rz";
|
||||
+#endif
|
||||
|
||||
/* parse parameters */
|
||||
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz", &z_ctx, &z_clone) == FAILURE)
|
||||
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_types, &z_ctx, &z_clone) == FAILURE)
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_clone: invalid context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#if PHP_VERSION_ID < 70000
|
||||
if (!PZVAL_IS_REF(z_clone)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_clone: clone parameter wasn't passed by reference");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* perform operation */
|
||||
if ((clone = (ctx_t *)malloc(sizeof(ctx_t))) == NULL)
|
||||
@@ -208,7 +243,12 @@
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_clone: %s", uuid_error(rc));
|
||||
RETURN_LONG((long)rc);
|
||||
}
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ zval_dtor(z_clone);
|
||||
+ ZVAL_RES(z_clone, zend_register_resource(clone, ctx_id));
|
||||
+#else
|
||||
ZEND_REGISTER_RESOURCE(z_clone, clone, ctx_id);
|
||||
+#endif
|
||||
|
||||
RETURN_LONG((long)rc);
|
||||
}
|
||||
@@ -230,7 +271,11 @@
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_load: invalid context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
@@ -254,7 +299,7 @@
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
uuid_rc_t rc;
|
||||
- long z_mode;
|
||||
+ zend_long z_mode;
|
||||
unsigned long mode;
|
||||
zval *z_ctx_ns;
|
||||
ctx_t *ctx_ns;
|
||||
@@ -266,7 +311,11 @@
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_make: invalid context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
@@ -281,7 +330,11 @@
|
||||
}
|
||||
}
|
||||
else if (ZEND_NUM_ARGS() == 4 && ((mode & UUID_MAKE_V3) || (mode & UUID_MAKE_V5))) {
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ctx_ns = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx_ns), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx_ns, ctx_t *, &z_ctx_ns, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx_ns == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_make: invalid namespace context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
@@ -314,21 +367,33 @@
|
||||
uuid_rc_t rc;
|
||||
zval *z_result;
|
||||
int result;
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ char *param_types = "rz/";
|
||||
+#else
|
||||
+ char *param_types = "rz";
|
||||
+#endif
|
||||
|
||||
/* parse parameters */
|
||||
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz", &z_ctx, &z_result) == FAILURE)
|
||||
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_types, &z_ctx, &z_result) == FAILURE)
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ zval_dtor(z_result);
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_isnil: invalid context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#if PHP_VERSION_ID < 70000
|
||||
if (!PZVAL_IS_REF(z_result)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_isnil: result parameter wasn't passed by reference");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* perform operation */
|
||||
if ((rc = uuid_isnil(ctx->uuid, &result)) != UUID_RC_OK) {
|
||||
@@ -353,26 +418,42 @@
|
||||
uuid_rc_t rc;
|
||||
zval *z_result;
|
||||
int result;
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ char *param_types = "rrz/";
|
||||
+#else
|
||||
+ char *param_types = "rrz";
|
||||
+#endif
|
||||
|
||||
/* parse parameters */
|
||||
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrz", &z_ctx, &z_ctx2, &z_result) == FAILURE)
|
||||
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_types, &z_ctx, &z_ctx2, &z_result) == FAILURE)
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ zval_dtor(z_result);
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_compare: invalid context");
|
||||
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_compare: invalid context from first parameter");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ctx2 = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx2), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx2, ctx_t *, &z_ctx2, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
- if (ctx2 == NULL || ctx2->uuid) {
|
||||
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_compare: invalid context");
|
||||
+ if (ctx2 == NULL || ctx2->uuid == NULL) {
|
||||
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_compare: invalid context from second parameter");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#if PHP_VERSION_ID < 70000
|
||||
if (!PZVAL_IS_REF(z_result)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_compare: result parameter wasn't passed by reference");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* perform operation */
|
||||
if ((rc = uuid_compare(ctx->uuid, ctx2->uuid, &result)) != UUID_RC_OK) {
|
||||
@@ -392,7 +473,7 @@
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
- long z_fmt;
|
||||
+ zend_long z_fmt;
|
||||
unsigned long fmt;
|
||||
zval *z_data;
|
||||
uuid_rc_t rc;
|
||||
@@ -404,7 +485,11 @@
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_import: invalid context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
@@ -428,28 +513,40 @@
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
- long z_fmt;
|
||||
+ zend_long z_fmt;
|
||||
unsigned long fmt;
|
||||
zval *z_data;
|
||||
uuid_rc_t rc;
|
||||
void *data_ptr;
|
||||
size_t data_len;
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ char *param_types = "rlz/";
|
||||
+#else
|
||||
+ char *param_types = "rlz";
|
||||
+#endif
|
||||
|
||||
/* parse parameters */
|
||||
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &z_ctx, &z_fmt, &z_data) == FAILURE)
|
||||
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_types, &z_ctx, &z_fmt, &z_data) == FAILURE)
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
|
||||
/* post-process and sanity check parameters */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ zval_dtor(z_data);
|
||||
+ ctx = (ctx_t *)zend_fetch_resource(Z_RES_P(z_ctx), ctx_name, ctx_id);
|
||||
+#else
|
||||
ZEND_FETCH_RESOURCE(ctx, ctx_t *, &z_ctx, -1, ctx_name, ctx_id);
|
||||
+#endif
|
||||
if (ctx == NULL || ctx->uuid == NULL) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_export: invalid context");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
fmt = (unsigned long)z_fmt;
|
||||
+#if PHP_VERSION_ID < 70000
|
||||
if (!PZVAL_IS_REF(z_data)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "uuid_export: data parameter wasn't passed by reference");
|
||||
RETURN_LONG((long)UUID_RC_ARG);
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* perform operation */
|
||||
data_ptr = NULL;
|
||||
@@ -462,7 +559,11 @@
|
||||
data_len = strlen((char *)data_ptr);
|
||||
else if (fmt == UUID_FMT_STR || fmt == UUID_FMT_TXT)
|
||||
data_len--; /* PHP doesn't wish NUL-termination on strings */
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ ZVAL_STRINGL(z_data, data_ptr, data_len);
|
||||
+#else
|
||||
ZVAL_STRINGL(z_data, data_ptr, data_len, 1);
|
||||
+#endif
|
||||
free(data_ptr);
|
||||
|
||||
RETURN_LONG((long)rc);
|
||||
@@ -474,7 +575,7 @@
|
||||
return error string corresponding to error return code */
|
||||
ZEND_FUNCTION(uuid_error)
|
||||
{
|
||||
- int z_rc;
|
||||
+ zend_long z_rc;
|
||||
uuid_rc_t rc;
|
||||
char *error;
|
||||
|
||||
@@ -483,7 +584,11 @@
|
||||
rc = (uuid_rc_t)z_rc;
|
||||
if ((error = uuid_error(rc)) == NULL)
|
||||
RETURN_NULL();
|
||||
+#if PHP_VERSION_ID >= 70000
|
||||
+ RETURN_STRING(error);
|
||||
+#else
|
||||
RETURN_STRING(error, 1);
|
||||
+#endif
|
||||
}
|
||||
|
||||
/* API FUNCTION:
|
@ -0,0 +1,226 @@
|
||||
diff -up uuid-1.6.2/php/uuid.c.php54 uuid-1.6.2/php/uuid.c
|
||||
--- uuid-1.6.2/php/uuid.c 2007-01-01 19:35:57.000000000 +0100
|
||||
+++ uuid-1.6.2/php/uuid.c 2012-11-06 16:05:03.354913764 +0100
|
||||
@@ -60,7 +60,7 @@ static int ctx_id; /* inte
|
||||
#define ctx_name "UUID context" /* external name */
|
||||
|
||||
/* module initialization */
|
||||
-PHP_MINIT_FUNCTION(uuid)
|
||||
+ZEND_MINIT_FUNCTION(uuid)
|
||||
{
|
||||
/* register resource identifier */
|
||||
ctx_id = zend_register_list_destructors_ex(
|
||||
@@ -91,13 +91,13 @@ PHP_MINIT_FUNCTION(uuid)
|
||||
}
|
||||
|
||||
/* module shutdown */
|
||||
-PHP_MSHUTDOWN_FUNCTION(uuid)
|
||||
+ZEND_MSHUTDOWN_FUNCTION(uuid)
|
||||
{
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
/* module information */
|
||||
-PHP_MINFO_FUNCTION(uuid)
|
||||
+ZEND_MINFO_FUNCTION(uuid)
|
||||
{
|
||||
char version[32];
|
||||
|
||||
@@ -115,7 +115,7 @@ PHP_MINFO_FUNCTION(uuid)
|
||||
proto rc uuid_create(ctx)
|
||||
$rc = uuid_create(&$uuid);
|
||||
create UUID context */
|
||||
-PHP_FUNCTION(uuid_create)
|
||||
+ZEND_FUNCTION(uuid_create)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -147,7 +147,7 @@ PHP_FUNCTION(uuid_create)
|
||||
proto rc uuid_destroy(ctx)
|
||||
$rc = uuid_destroy($uuid);
|
||||
destroy UUID context */
|
||||
-PHP_FUNCTION(uuid_destroy)
|
||||
+ZEND_FUNCTION(uuid_destroy)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -178,7 +178,7 @@ PHP_FUNCTION(uuid_destroy)
|
||||
proto rc uuid_clone(ctx, &ctx2)
|
||||
$rc = uuid_clone($uuid, &$uuid);
|
||||
clone UUID context */
|
||||
-PHP_FUNCTION(uuid_clone)
|
||||
+ZEND_FUNCTION(uuid_clone)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -217,7 +217,7 @@ PHP_FUNCTION(uuid_clone)
|
||||
proto rc uuid_load(ctx, name)
|
||||
$rc = uuid_name($uuid, $name);
|
||||
load an existing UUID */
|
||||
-PHP_FUNCTION(uuid_load)
|
||||
+ZEND_FUNCTION(uuid_load)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -249,7 +249,7 @@ PHP_FUNCTION(uuid_load)
|
||||
proto rc uuid_make(ctx, mode[, ..., ...])
|
||||
$rc = uuid_make($uuid, $mode[, ..., ...]);
|
||||
make a new UUID */
|
||||
-PHP_FUNCTION(uuid_make)
|
||||
+ZEND_FUNCTION(uuid_make)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -307,7 +307,7 @@ PHP_FUNCTION(uuid_make)
|
||||
proto rc uuid_isnil(ctx, result)
|
||||
$rc = uuid_isnil($uuid, &$result);
|
||||
compare UUID for being Nil UUID */
|
||||
-PHP_FUNCTION(uuid_isnil)
|
||||
+ZEND_FUNCTION(uuid_isnil)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -344,7 +344,7 @@ PHP_FUNCTION(uuid_isnil)
|
||||
proto rc uuid_compare(ctx, ctx2, result)
|
||||
$rc = uuid_compare($uuid, $uuid2, &$result);
|
||||
compare two UUIDs */
|
||||
-PHP_FUNCTION(uuid_compare)
|
||||
+ZEND_FUNCTION(uuid_compare)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -388,7 +388,7 @@ PHP_FUNCTION(uuid_compare)
|
||||
proto rc uuid_import(ctx, fmt, data)
|
||||
$rc = uuid_import($ctx, $fmt, $data);
|
||||
import UUID from variable */
|
||||
-PHP_FUNCTION(uuid_import)
|
||||
+ZEND_FUNCTION(uuid_import)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -424,7 +424,7 @@ PHP_FUNCTION(uuid_import)
|
||||
proto rc uuid_export(ctx, fmt, data)
|
||||
$rc = uuid_error($ctx, $fmt, &$data);
|
||||
export UUID into variable */
|
||||
-PHP_FUNCTION(uuid_export)
|
||||
+ZEND_FUNCTION(uuid_export)
|
||||
{
|
||||
zval *z_ctx;
|
||||
ctx_t *ctx;
|
||||
@@ -472,7 +472,7 @@ PHP_FUNCTION(uuid_export)
|
||||
proto rc uuid_error(ctx)
|
||||
$error = uuid_error($rc);
|
||||
return error string corresponding to error return code */
|
||||
-PHP_FUNCTION(uuid_error)
|
||||
+ZEND_FUNCTION(uuid_error)
|
||||
{
|
||||
int z_rc;
|
||||
uuid_rc_t rc;
|
||||
@@ -490,24 +490,79 @@ PHP_FUNCTION(uuid_error)
|
||||
proto int uuid_version()
|
||||
$version = uuid_version();
|
||||
return library version number */
|
||||
-PHP_FUNCTION(uuid_version)
|
||||
+ZEND_FUNCTION(uuid_version)
|
||||
{
|
||||
RETURN_LONG((long)uuid_version());
|
||||
}
|
||||
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_create, 0)
|
||||
+ ZEND_ARG_INFO(1, ctx)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_destroy, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_clone, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ ZEND_ARG_INFO(1, ctx2)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_load, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ ZEND_ARG_INFO(0, name)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO_EX(arginfo_uuid_make, 0, 0, 2)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ ZEND_ARG_INFO(0, mode)
|
||||
+ ZEND_ARG_INFO(0, ctxns)
|
||||
+ ZEND_ARG_INFO(0, url)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_isnil, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ ZEND_ARG_INFO(1, result)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_compare, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ ZEND_ARG_INFO(0, ctx2)
|
||||
+ ZEND_ARG_INFO(1, result)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_import, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ ZEND_ARG_INFO(0, fmt)
|
||||
+ ZEND_ARG_INFO(0, data)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_export, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ ZEND_ARG_INFO(0, fmt)
|
||||
+ ZEND_ARG_INFO(1, data)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_error, 0)
|
||||
+ ZEND_ARG_INFO(0, ctx)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
+ZEND_BEGIN_ARG_INFO(arginfo_uuid_version, 0)
|
||||
+ZEND_END_ARG_INFO()
|
||||
+
|
||||
/* module function table */
|
||||
-static function_entry uuid_functions[] = {
|
||||
- PHP_FE(uuid_create, NULL)
|
||||
- PHP_FE(uuid_destroy, NULL)
|
||||
- PHP_FE(uuid_clone, NULL)
|
||||
- PHP_FE(uuid_load, NULL)
|
||||
- PHP_FE(uuid_make, NULL)
|
||||
- PHP_FE(uuid_isnil, NULL)
|
||||
- PHP_FE(uuid_compare, NULL)
|
||||
- PHP_FE(uuid_import, NULL)
|
||||
- PHP_FE(uuid_export, NULL)
|
||||
- PHP_FE(uuid_error, NULL)
|
||||
- PHP_FE(uuid_version, NULL)
|
||||
+static zend_function_entry uuid_functions[] = {
|
||||
+ ZEND_FE(uuid_create, arginfo_uuid_create)
|
||||
+ ZEND_FE(uuid_destroy, NULL)
|
||||
+ ZEND_FE(uuid_clone, arginfo_uuid_clone)
|
||||
+ ZEND_FE(uuid_load, NULL)
|
||||
+ ZEND_FE(uuid_make, NULL)
|
||||
+ ZEND_FE(uuid_isnil, arginfo_uuid_isnil)
|
||||
+ ZEND_FE(uuid_compare, arginfo_uuid_compare)
|
||||
+ ZEND_FE(uuid_import, NULL)
|
||||
+ ZEND_FE(uuid_export, arginfo_uuid_export)
|
||||
+ ZEND_FE(uuid_error, NULL)
|
||||
+ ZEND_FE(uuid_version, NULL)
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
@@ -516,11 +571,11 @@ zend_module_entry uuid_module_entry = {
|
||||
STANDARD_MODULE_HEADER,
|
||||
"uuid",
|
||||
uuid_functions,
|
||||
- PHP_MINIT(uuid),
|
||||
- PHP_MSHUTDOWN(uuid),
|
||||
+ ZEND_MINIT(uuid),
|
||||
+ ZEND_MSHUTDOWN(uuid),
|
||||
NULL,
|
||||
NULL,
|
||||
- PHP_MINFO(uuid),
|
||||
+ ZEND_MINFO(uuid),
|
||||
NO_VERSION_YET,
|
||||
STANDARD_MODULE_PROPERTIES
|
||||
};
|
@ -0,0 +1,122 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
MY_P="uuid-${PV}"
|
||||
|
||||
PHP_EXT_NAME="uuid"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_EXT_S="${WORKDIR}/${MY_P}/php"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
USE_PHP="php5-6 php7-0 php7-1"
|
||||
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
inherit perl-module php-ext-source-r3
|
||||
|
||||
DESCRIPTION="An ISO-C:1999 API and corresponding CLI for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant UUID"
|
||||
HOMEPAGE="http://www.ossp.org/pkg/lib/uuid/"
|
||||
SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="+cxx perl php static-libs"
|
||||
|
||||
DEPEND="perl? ( dev-lang/perl:= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
eapply \
|
||||
"${FILESDIR}/${P}-gentoo-r1.patch" \
|
||||
"${FILESDIR}/${P}-gentoo-perl.patch" \
|
||||
"${FILESDIR}/${P}-hwaddr.patch" \
|
||||
"${FILESDIR}/${P}-manfix.patch" \
|
||||
"${FILESDIR}/${P}-uuid-preserve-m-option-status-in-v-option-handling.patch" \
|
||||
"${FILESDIR}/${P}-fix-whatis-entries.patch" \
|
||||
"${FILESDIR}/${P}-fix-data-uuid-from-string.patch"
|
||||
|
||||
if use php; then
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
eapply -p2 \
|
||||
"${FILESDIR}/${P}-gentoo-php.patch" \
|
||||
"${FILESDIR}/uuid-${PV}-php54.patch" \
|
||||
"${FILESDIR}/${P}-php70.patch"
|
||||
done
|
||||
|
||||
php-ext-source-r3_src_prepare
|
||||
fi
|
||||
#Remove call by reference which is error
|
||||
sed -i -e 's/\&\$/\$/' -e '/?>/d' "${S}/php/uuid.php5" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Notes:
|
||||
# * collides with e2fstools libs and includes if not moved around
|
||||
# * pgsql-bindings need PostgreSQL-sources and are included since PostgreSQL 8.3
|
||||
econf \
|
||||
--includedir="${EPREFIX}"/usr/include/ossp \
|
||||
--with-dce \
|
||||
--without-pgsql \
|
||||
--without-perl \
|
||||
--without-php \
|
||||
$(use_with cxx) \
|
||||
$(use_enable static-libs static)
|
||||
|
||||
if use php; then
|
||||
php-ext-source-r3_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use perl; then
|
||||
cd perl
|
||||
# configure needs the ossp-uuid.la generated by `make` in $S
|
||||
perl-module_src_configure
|
||||
perl-module_src_compile
|
||||
fi
|
||||
|
||||
if use php; then
|
||||
php-ext-source-r3_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS )
|
||||
default
|
||||
unset DOCS #unset so that other eclasses don't try to install them and possibly fail
|
||||
if use perl ; then
|
||||
cd perl
|
||||
perl-module_src_install
|
||||
fi
|
||||
|
||||
if use php ; then
|
||||
php-ext-source-r3_src_install
|
||||
insinto /usr/share/php
|
||||
cd "${S}/php" || die
|
||||
newins uuid.php5 uuid.php
|
||||
fi
|
||||
|
||||
use static-libs || rm -rf "${ED}"/usr/lib*/*.la
|
||||
|
||||
mv "${ED}/usr/$(get_libdir)/pkgconfig"/{,ossp-}uuid.pc
|
||||
mv "${ED}/usr/share/man/man3"/uuid.3{,ossp}
|
||||
mv "${ED}/usr/share/man/man3"/uuid++.3{,ossp}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export LD_LIBRARY_PATH="${S}/.libs" # required for the perl-bindings to load the (correct) library
|
||||
default
|
||||
|
||||
use perl && emake -C perl test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ca-bundle-1.0.0.tar.gz 151219 SHA256 8686dea9feeb444a5c9977e0654fc03a22b34061c05d2ae180e491ed33b6b7e5 SHA512 f83fc24caddd9b1cf7fd1d22def51372fd6d1497f39a335d0507122ab960e438e9ffadafd357d3dc742cc5e052ac197de0dd670921b076277df98bcbc2c71f42 WHIRLPOOL 30404789aa177a78773cefc0e830743b8c5963d0926b2feec205e7ba462ced0e37251a1ca10f0edbd3ad9176b6a6266b722eba7dec90c9c6d0bd62c938a3904e
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Find the system CA bundle or fall back to the Mozilla one"
|
||||
HOMEPAGE="https://github.com/composer/ca-bundle"
|
||||
SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Composer/CaBundle"
|
||||
doins -r src/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for composer/ca-bundle and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Composer\\CaBundle\\', __DIR__);
|
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Small utility library that lets you find a path to the system CA bundle,
|
||||
and includes a fallback to the Mozilla CA bundle.
|
||||
Originally written as part of dev-php/composer,
|
||||
now extracted and made available as a stand-alone library.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">composer/ca-bundle</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST cli-prompt-1.0.0.tar.gz 7538 SHA256 909e3a271e825d106d213700584e72333c93b8517f025079ec53717c2cc25db8 SHA512 5a1f6f999976f3b01d857890b5a06cfed377597397266b44d4aba324bedc2b9f73db5dc184ab40ee6632b43c80da99f5641366903bbc7bb7e18409cb367c8461 WHIRLPOOL aec289254cb73774aeb5ca799295c98ef82bcb8c6a67999ef0102421443bac485f66e1e517241b3df1015d1a886f96b4a8a107cd0d99698c6ebb2bc8e8cd0106
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Allows you to prompt for user input on the command line"
|
||||
HOMEPAGE="https://github.com/Seldaek/cli-prompt"
|
||||
SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Seld/CliPrompt"
|
||||
doins -r src/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for symfony-finder and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Seld\\CliPrompt\\', __DIR__);
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Allows you to prompt for user input on the command line,
|
||||
and optionally hide the characters they type.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Seldaek/cli-prompt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST composer-1.2.2.tar.gz 1070446 SHA256 c51b4fb71a0d23e26c5be048743459eefca7c9da22a47f757a433cbb33553bb4 SHA512 43c28194f72e13e708af91b9714d028ebf67ce02d830bec0556e434e8296eae0e406e7f8ab3e836b34c3950fceb11cf255c6004e5a56bdd08c3ca0078778d70e WHIRLPOOL 5bf1ae7b2f4ffe3fc9422dd3181f7561fbaf6399cbab6fef1692283e16e9ebd388f61228777475d50bdbaf7911f782568b2a60e1ce53b7cdb6a025f4a89f41af
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.0.0
|
||||
>=dev-php/cli-prompt-1.0.0
|
||||
>=dev-php/psr-log-1.0.2
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-2.0.0
|
||||
>=dev-php/jsonlint-1.4.0
|
||||
>=dev-php/phar-utils-1.0.0
|
||||
>=dev-php/semver-1.0.0
|
||||
>=dev-php/spdx-licenses-1.0.0
|
||||
>=dev-php/symfony-console-2.7.9
|
||||
>=dev-php/symfony-filesystem-2.7.20
|
||||
>=dev-php/symfony-finder-2.7.20
|
||||
>=dev-php/symfony-process-2.8.12"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-update-paths.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Composer/Composer"
|
||||
doins -r src/Composer/. res LICENSE "${FILESDIR}"/autoload.php
|
||||
dobin bin/composer
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/* Autoloader for composer and its dependencies */
|
||||
|
||||
$vendorDir = '/usr/share/php';
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Composer\\', __DIR__);
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required(array(
|
||||
$vendorDir . '/JsonSchema/autoload.php',
|
||||
$vendorDir . '/Composer/CaBundle/autoload.php',
|
||||
$vendorDir . '/Composer/Semver/autoload.php',
|
||||
$vendorDir . '/Composer/Spdx/autoload.php',
|
||||
$vendorDir . '/Seld/JsonLint/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Console/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Finder/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Process/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Filesystem/autoload.php',
|
||||
$vendorDir . '/Seld/PharUtils/autoload.php',
|
||||
$vendorDir . '/Seld/CliPrompt/autoload.php',
|
||||
$vendorDir . '/Psr/Log/autoload.php',
|
||||
));
|
@ -0,0 +1,46 @@
|
||||
--- ./src/Composer/Autoload/AutoloadGenerator.php 2016-11-03 17:43:15.000000000 +0100
|
||||
+++ ./src/Composer/Autoload/AutoloadGenerator.php 2016-11-18 16:54:55.664985847 +0100
|
||||
@@ -291,7 +291,7 @@
|
||||
file_put_contents($targetDir.'/autoload_real.php', $this->getAutoloadRealFile(true, (bool) $includePathFileContents, $targetDirLoader, (bool) $includeFilesFileContents, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader, $staticPhpVersion));
|
||||
|
||||
$this->safeCopy(__DIR__.'/ClassLoader.php', $targetDir.'/ClassLoader.php');
|
||||
- $this->safeCopy(__DIR__.'/../../../LICENSE', $targetDir.'/LICENSE');
|
||||
+ $this->safeCopy('/usr/share/php/Composer/Composer/LICENSE', $targetDir.'/LICENSE');
|
||||
|
||||
if ($this->runScripts) {
|
||||
$this->eventDispatcher->dispatchScript(ScriptEvents::POST_AUTOLOAD_DUMP, $this->devMode, array(), array(
|
||||
|
||||
--- ./tests/Composer/Test/Json/ComposerSchemaTest.php 2016-11-03 17:43:15.000000000 +0100
|
||||
+++ ./tests/Composer/Test/Json/ComposerSchemaTest.php 2016-11-20 18:27:43.169665101 +0100
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
private function check($json)
|
||||
{
|
||||
- $schema = json_decode(file_get_contents(__DIR__ . '/../../../../res/composer-schema.json'));
|
||||
+ $schema = json_decode(file_get_contents('/usr/share/php/Composer/Composer/res/composer-schema.json'));
|
||||
$validator = new Validator();
|
||||
$validator->check(json_decode($json), $schema);
|
||||
|
||||
--- ./src/Composer/Json/JsonFile.php 2016-11-04 02:51:03.844719014 +0100
|
||||
+++ ./src/Composer/Json/JsonFile.php 2016-11-18 16:44:06.065969630 +0100
|
||||
@@ -156,7 +156,7 @@
|
||||
self::validateSyntax($content, $this->path);
|
||||
}
|
||||
|
||||
- $schemaFile = __DIR__ . '/../../../res/composer-schema.json';
|
||||
+ $schemaFile = '/usr/share/php/Composer/Composer/res/composer-schema.json';
|
||||
$schemaData = json_decode(file_get_contents($schemaFile));
|
||||
|
||||
if ($schema === self::LAX_SCHEMA) {
|
||||
|
||||
--- ./bin/composer 2016-11-18 15:56:40.615898592 +0100
|
||||
+++ ./bin/composer 2016-11-18 16:06:05.348912690 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
echo 'Warning: Composer should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
|
||||
}
|
||||
|
||||
-require __DIR__.'/../src/bootstrap.php';
|
||||
+require '/usr/share/php/Composer/Composer/autoload.php';
|
||||
|
||||
use Composer\Console\Application;
|
||||
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Composer is a tool for dependency management in PHP.
|
||||
It allows you to declare the libraries your project depends on
|
||||
and it will manage (install/update) them for you.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">composer/composer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST fedora-autoloader-0.2.1.tar.gz 7634 SHA256 2311e97c0a78c5472d853f10022e5cd2844637e856ecf2a51ea686b3d3332576 SHA512 81501dbc0668c1cc6d6fb030e0d9ee91d31db8fa32b3348a0215dbf20a3ef1d41bc398124e1d7f0c1d5ffa8fce8c33e60a3182eaba6ba740d78b4a7f6db2aea8 WHIRLPOOL 4106d392a906110b418e47cf8bf2e78892a5e5581f21961a76859c581b0c1f5d60f15677c00ec6a8d10d94aa6210dfc5cd68208164428d77804ef4a21cc56812
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Fedora's Static PSR-4, PSR-0, and classmap autoloader"
|
||||
HOMEPAGE="https://github.com/php-fedora/autoloader"
|
||||
SRC_URI="https://github.com/php-fedora/autoloader/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-lang/php:*"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
S="${WORKDIR}/autoloader-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Fedora/Autoloader"
|
||||
doins -r src/.
|
||||
dodoc CHANGELOG.md README.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit || die "test suite failed"
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Static PSR-4, PSR-0, and classmap autoloader.
|
||||
Includes loader for required and optional dependencies.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">php-fedora/autoloader</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST json-schema-2.0.0.tar.gz 21319 SHA256 bdbaedf8be4bb2ceb8019c651b0579a4b9723dc95e11f0aa683cfe193064e392 SHA512 8efa6ad3175b474e3c073816651d77e80e3ec7865aa6a04f8c7eff7a91831ab1eb1b0b6968d542aa6d10e1e0a1171ec05889b817713f1d740afeb31c5f124a52 WHIRLPOOL 5af244685521d57b663faf78f287a978e7b8bb89526ad8f282fb7d57490540fd483501752bc27b75d6b2de9699d2684352a0e5711fed98b5c6e9cf2f0437b0d9
|
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Autoloader for justinrainbow/json-schema and its dependencies
|
||||
*/
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('JsonSchema\\', __DIR__);
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="PHP implementation of JSON schema"
|
||||
HOMEPAGE="https://github.com/justinrainbow/json-schema"
|
||||
SRC_URI="https://github.com/justinrainbow/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/JsonSchema"
|
||||
doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
A PHP Implementation for validating JSON Structures against a given Schema.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">justinrainbow/json-schema</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST jsonlint-1.4.0.tar.gz 10893 SHA256 e97ff9b23037a2d6ec3d548a273c345dea097b66e72d5bb8b30e66ce765fe46d SHA512 29a23a86ece17f43a471ba8952785e820eff537ddce019935d776492a0d0ccf68c5f0e1f5f3d63b8b12efbe0acc1f7e3fa91d4b9d48bae2e1eec4f3c4b9094b1 WHIRLPOOL 90d08bbe063c61066e3a29ce391934e906ceaf9ae2e80ac67e57f94088e14f1dd27e1faf3f5331cb35c6b209a3e38f35634154cad5b9d80cd62389a0dfd99929
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/jsonlint and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Seld\\JsonLint\\', __DIR__);
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="JSON Lint for PHP"
|
||||
HOMEPAGE="https://github.com/Seldaek/jsonlint"
|
||||
SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use test; then
|
||||
cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
|
||||
sed -i -e "s:__DIR__:'${S}/src/Seld/JsonLint':" "${S}"/autoload-test.php || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Seld/JsonLint"
|
||||
doins -r src/Seld/JsonLint/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.mdown
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Json linter, port of the JavaScript jsonlint library.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Seldaek/jsonlint</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST phar-utils-1.0.0.tar.gz 3152 SHA256 d754727a7cf75f0a2fc1c716a059096d38fbee8caa8872b14fa3a24864b02ca3 SHA512 bf3d7074a3f1101a7f03e8fb8a5bc1456674bf2f9ded6a5fc5fb2f892c1cc3c4643fab6c003851ed12ea16ce6390f482cf897beee7d7c38922b6c54c90b0934e WHIRLPOOL 246dd7d334f5b845830863268c2b600cba762022583260048b0f0871e25140955c97f91d704af48ffd0a0b301db0e38d624836ea8cbf60834dad17b0f7a13364
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for symfony-finder and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Seld\\PharUtils\\', __DIR__);
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
PHAR file format utilities, for when PHP phars you up
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Seldaek/phar-utils</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="PHAR file format utilities, for when PHP phars you up"
|
||||
HOMEPAGE="https://github.com/Seldaek/phar-utils"
|
||||
SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[phar]
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Seld/PharUtils"
|
||||
doins -r src/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST psr-log-1.0.2.tar.gz 4755 SHA256 753c27183c78f667497d9926511cf4b119007d49c709009b5759715a7b6112c9 SHA512 a95cf38a92e7259d615d48cf002c4a0a0b6d6a166a345dc40e7636f913e7a787fdc35d4279741d90e04f9b564b608a138ce2e59115014da6be9d779de2a01bf8 WHIRLPOOL 7f7c1eb2cf3e0a0b7a5c041ac6737ce98d8bdffccafe37a2ad206a40bb293e7fa59a382b1a9e3039828410c2d16012c075acb798416a83e97652561e786d66f5
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for composer/ca-bundle and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Psr\\Log\\', __DIR__);
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
PSR-3 logger, provide a common interface for logging libraries.
|
||||
The main goal is to allow libraries to receive a Psr\Log\LoggerInterface object
|
||||
and write logs to it in a simple and universal way.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">php-fig/log</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Common interface for logging libraries"
|
||||
HOMEPAGE="https://github.com/php-fig/log"
|
||||
SRC_URI="https://github.com/php-fig/log/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
S="${WORKDIR}/log-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Psr/Log"
|
||||
doins -r Psr/Log/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST semver-1.0.0.tar.gz 9428 SHA256 527597180e90e2a36f173e2a669b7694ff3a4a3925cda4d5c8fa3cd3113eddf9 SHA512 7f7d529f7fb47049e65bbc47fcd4c1fa2dfef7de7441ed29d7bd81450414fbf3a4e0dfdfec0c9c019656d125e1591856a341d989b37c3aab70fbe5fa2f92f9a1 WHIRLPOOL 2bc7b6a54b34d7bebf5978210db4d89e8ff05d9724cf34658028d4a788fbc0aaaabf2248594feea67554a5885c173c738cfe7da158a05218f8d3a2eb45a354a2
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for composer/ca-bundle and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Composer\\Semver\\', __DIR__);
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Semantic versioning utilities with the addition of version constraints parsing and checking.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">composer/semver</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Semantic versioning utilities, constraint parsing, and checking"
|
||||
HOMEPAGE="https://github.com/composer/semver"
|
||||
SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Composer/Semver"
|
||||
doins -r src/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST spdx-licenses-1.0.0.tar.gz 8244 SHA256 c292e3bfaa75b0e9b87b7426576a17390ca2f6df37ba002bd1d8561d0ffa4518 SHA512 1ef19555f252c5e03fe3b0376442f47bd50d894effa04bca58e7644e18fcc2a905239086d1aaf31277ce5928a7f9743e123c767e197c0fa063c015ad14851a14 WHIRLPOOL 6f69389f2fe5d55a729b10552cb2c54e8e6473fc5a9d9ace453de76f8bf6f89ae41135feeb89b833d025f8e4b25136730b4006ce0078eaceb236c5d1af52b7d2
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for composer/ca-bundle and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Composer\\Spdx\\', __DIR__);
|
@ -0,0 +1,22 @@
|
||||
# Fix the path of res/
|
||||
|
||||
--- ./src/SpdxLicenses.php 2015-07-15 19:38:14.000000000 +0200
|
||||
+++ ./src/SpdxLicenses.php 2016-11-13 19:24:17.659442468 +0100
|
||||
@@ -170,7 +170,7 @@
|
||||
private function loadLicenses()
|
||||
{
|
||||
if (null === $this->licenses) {
|
||||
- $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-licenses.json');
|
||||
+ $jsonFile = file_get_contents(__DIR__ . '/res/spdx-licenses.json');
|
||||
$this->licenses = json_decode($jsonFile, true);
|
||||
}
|
||||
}
|
||||
@@ -178,7 +178,7 @@
|
||||
private function loadExceptions()
|
||||
{
|
||||
if (null === $this->exceptions) {
|
||||
- $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-exceptions.json');
|
||||
+ $jsonFile = file_get_contents(__DIR__ . '/res/spdx-exceptions.json');
|
||||
$this->exceptions = json_decode($jsonFile, true);
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Tools for working with the SPDX license list and validating licenses.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">composer/spdx-licenses</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Tools for working with and validating SPDX licenses"
|
||||
HOMEPAGE="https://github.com/composer/spdx-licenses"
|
||||
SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-change-res-path.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Composer/Spdx"
|
||||
doins -r src/. res "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-config-2.1.0.tar.gz 30897 SHA256 62ac4ca9d918a596773825c0f45c6f8541d6899c260b7bb8237832000e0fa0e1 SHA512 c02c1532d62f1608538ca4f672f25f254b566c5d2c12e07b4d681d67b8a4f7fa7244659cc10f3967fcee15de9f7a1f8c81c3d1ca836dee57564ed342f2133aaf WHIRLPOOL 7de9201feb1cfdca9a3342d29f8cdf57d35d3f2a4bfddada1354fd701fe0be33f66eccf1c30880902ec90e9131f54decc69c730e03e27ca14168ab6f1a1c6607
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/symfony-config and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Config\\', __DIR__);
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Config component provides several classes to help you find, load, combine,
|
||||
autofill and validate configuration values of any kind,
|
||||
whatever their source may be (YAML, XML, INI files, or for instance a database).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/config</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony Config Component"
|
||||
HOMEPAGE="https://github.com/symfony/config"
|
||||
SRC_URI="https://github.com/symfony/config/archive/v${PV}.tar.gz -> symfony-config-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
S="${WORKDIR}/config-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use test; then
|
||||
cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Config"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-console-2.7.9.tar.gz 116610 SHA256 f4691b11de8e4416911041f42585d66db6ab4999cde411e6cbbe3a997e9815bb SHA512 3de7d78b92c8f0c99d3c90e83a23f6b61eecc195cf92b5c9ebea03a1dc85d2166287e619822238a2f2cd54a430b4a38c7c88be3ba74dab0b66c6104e980a088b WHIRLPOOL 6ece7a9845e00ebdcef702dfaad9b92cc7da65860353acb89f2f971d86a619096a491a4d2862c00f8601f3722062b2855195031e1223d61c1adb23edbec90e8c
|
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/* Autoloader for symfony-console and its dependencies */
|
||||
|
||||
$vendorDir = '/usr/share/php';
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Console\\', __DIR__);
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required(array(
|
||||
$vendorDir . '/Symfony/Component/EventDispatcher/autoload.php',
|
||||
$vendorDir . '/Psr/Log/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Process/autoload.php',
|
||||
));
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Console component eases the creation of beautiful and testable command line interfaces.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/console</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Subtree split of the Symfony Console Component"
|
||||
HOMEPAGE="https://github.com/symfony/console"
|
||||
SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/psr-log-1.0.2
|
||||
>=dev-php/symfony-event-dispatcher-2.1.0
|
||||
>=dev-php/symfony-process-2.8.12"
|
||||
|
||||
S="${WORKDIR}/console-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Console"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-dependency-injection-2.1.0.tar.gz 73560 SHA256 30a693b561743655daa1b58314af0102d2ae8294c73da90e4759b847659f0d4e SHA512 2e21da1eb1dfff9ba9f8cf4c0d62ff2c021e40f611bba0ba98ff0c29dff35774eb252cf04c53437b1a40065209579c48116833fa4f72a674348fd4df8a01ffa7 WHIRLPOOL 260f6ff1a432133d34bd2c6239239ffcc677e7050910447fb02d1ac4126e75fb6104b32ece5b7613142a5199a20c2b8a5fc13c6d789ea2735e261872a8b07cf4
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/symfony-dependency-injection and its dependencies */
|
||||
|
||||
$vendorDir = '/usr/share/php';
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\DependencyInjection\\', __DIR__);
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required(array(
|
||||
$vendorDir . '/Symfony/Component/Yaml/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Config/autoload.php',
|
||||
));
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The DependencyInjection component allows you to standardize
|
||||
and centralize the way objects are constructed in your application.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/dependency-injection</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony DependencyInjection Component"
|
||||
HOMEPAGE="https://github.com/symfony/dependency-injection"
|
||||
SRC_URI="https://github.com/symfony/dependency-injection/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/symfony-config-2.1.0
|
||||
>=dev-php/symfony-yaml-2.1.0"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
S="${WORKDIR}/dependency-injection-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use test; then
|
||||
cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/DependencyInjection"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-event-dispatcher-2.1.0.tar.gz 10271 SHA256 00a086a275c25ad9ab00839d7f07f5b7e655f653d504686d6a8eed7fbce1683a SHA512 2430e0955322aa938635b34cfa151166218da51bcc7ac1ff52789fc16aef9eeaa5c504f9d03daa819f47652e5207703314c8695e5023369fe8edf88af06bc54b WHIRLPOOL e21b4c78708ffa580490ae642ea883f374d1e42668d9a0dfccc02ceaa1835552ef8971039f83b3a7c911ea6881e7c984c1baf57c693c88bac6e8091c9a074cc4
|
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/symfony-event-dispatcher and its dependencies */
|
||||
|
||||
$vendorDir = '/usr/share/php';
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\EventDispatcher\\', __DIR__);
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required(array(
|
||||
$vendorDir . '/Symfony/Component/DependencyInjection/autoload.php',
|
||||
));
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The EventDispatcher component provides tools that allow your application components
|
||||
to communicate with each other by dispatching events and listening to them.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/event-dispatcher</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony EventDispatcher Component"
|
||||
HOMEPAGE="https://github.com/symfony/event-dispatcher"
|
||||
SRC_URI="https://github.com/symfony/event-dispatcher/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/symfony-dependency-injection-2.1.0"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
S="${WORKDIR}/event-dispatcher-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use test; then
|
||||
cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/EventDispatcher"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-filesystem-2.7.20.tar.gz 13679 SHA256 b08c32bf2340bc7b107ec4fdff2d32634528655991e4331d4b4d72e68e816674 SHA512 ebab6760aa38577162da6d12f4c83bf1ef5fad961cc979986e1f23c6624d80099fe3853bd0dc8113b06d8258fe1b34a4a34fa737048fa500751a63a425018359 WHIRLPOOL a65c1de2a6b98713e8aaa23fa4d3fce13f5c4c15dddf7669f9e9474ff87db5c21397a66520ffebc3e6bdaa4252e6cc61e774c4ff746907efd5a266810f47fb07
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for symfony-filesystem and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Filesystem\\', __DIR__);
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Filesystem component provides basic utilities for the filesystem.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/filesystem</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony Filesystem Component"
|
||||
HOMEPAGE="https://github.com/symfony/filesystem"
|
||||
SRC_URI="https://github.com/symfony/filesystem/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
S="${WORKDIR}/filesystem-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Filesystem"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-finder-2.7.20.tar.gz 36139 SHA256 87d98e578e2a594fd3a1e17b43910de336f498489a1e5744c1a1f4bc047e63e0 SHA512 b12f8f5c37e983799875e5aa5ed58a200147edf1f6f3d9fc6b3dc5b0b063dd057a53e0e71342b141b29c3aa934029ea5b67d4c1085e868197ab6e4b55eb7eab5 WHIRLPOOL 2c3083fd50db96282945148dbba33902021effaffdbd9251df050b3e40cd42b69e52ce2ef5131cfbd724ee8f85bdac75149c9e4665dcb27118d3901cb60f0b13
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for symfony-finder and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Finder\\', __DIR__);
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Finder component finds files and directories
|
||||
via an intuitive fluent interface.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/finder</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony Finder Component"
|
||||
HOMEPAGE="https://github.com/symfony/finder"
|
||||
SRC_URI="https://github.com/symfony/finder/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
S="${WORKDIR}/finder-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Finder"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-process-2.8.12.tar.gz 29787 SHA256 86cd9300ecb870a88d843363fa0a7415e0ee3b7815c94f76ccb21b901075337b SHA512 2956572f394aa58e784f7b2b3922f4c8f1d71d5eb9859b757ce5986776d3e960ffbfcee2fb55ff89c176362a5ee0276d3b71ef00ae7338be1761bd88b4116294 WHIRLPOOL 8ede35f972146645c4d75855cd9b8ea0c51a746698d952c3c6716ae0fbe138abe551f432a2bd9e2afe3945cff7ea9021bb102486fbc8c60c2528f78d083983ee
|
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
/* Autoloader for symfony-process and its dependencies */
|
||||
|
||||
$vendorDir = '/usr/share/php';
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Process\\', __DIR__);
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Process component executes commands in sub-processes.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/process</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony Process Component"
|
||||
HOMEPAGE="https://github.com/symfony/process"
|
||||
SRC_URI="https://github.com/symfony/process/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
S="${WORKDIR}/process-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Process"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST symfony-yaml-2.1.0.tar.gz 37056 SHA256 67df42116b2c29f87bd83fca89ae721179e0234f059de435a40ea0698a13db46 SHA512 984fbd624d4bf70ae964da60d55b6d9883642eabce54f080c04d3d12b4d64e63f036683bc12052b0958bd4575f1b693f1453b2505e5e5666ddf2fb13c40e927f WHIRLPOOL 143d5b2de57185a803172d721e381953412b772a3a31fc587a00189bfd770ae549fe621ea1e964f3d193425a1d19a24edd22d9bce4b73ddbb25b68608169c8a3
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/symfony-yaml and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Yaml\\', __DIR__);
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Yaml component loads and dumps YAML files.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">symfony/yaml</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony YAML Component"
|
||||
HOMEPAGE="https://github.com/symfony/yaml"
|
||||
SRC_URI="https://github.com/symfony/yaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
S="${WORKDIR}/yaml-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use test; then
|
||||
cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Yaml"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
|
||||
}
|
@ -1,12 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>floppym@gentoo.org</email>
|
||||
<name>Mike Gilbert</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST fusepy-2.0.4.tar.gz 14113 SHA256 802610ab25ad04fc9ef34d024a0abe41cdcaff6a2cb8b2fb92cdda0057c09d1f SHA512 a76d6a795ea08bcfea30f783b06e263c0c31d603ade95f8ac40071fa844668c5f989111649908d26b4c2759feb48abedaf887c75f177c3639b1916b246e7d83c WHIRLPOOL 0f134aefa66d834810cb02fa527b53840ec1064ee8517934673bff26dfed8ab8d2be81f4248d7156896dbe26486e2c92611e0fb7d9b54fbe71e5770faf018399
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python FUSE bindings using ctypes"
|
||||
HOMEPAGE="https://github.com/terencehonles/fusepy"
|
||||
SRC_URI="https://github.com/terencehonles/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-fs/fuse-2.9.7"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<longdescription>Pika is a pure-Python implementation of the AMQP 0-9-1
|
||||
protocol that tries to stay fairly independent of the underlying network
|
||||
support library. Pika was developed primarily for use with RabbitMQ, but
|
||||
should also work with other AMQP 0-9-1 brokers.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">terencehonles/fusepy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42
|
||||
DIST mednafen-0.9.39.2.tar.bz2 4005259 SHA256 b42470b2ddf68ce0747f5b8ba4e1d1c3047fa8c45b8e168da43f3e2461ec34cc SHA512 e6d0f571ea82c9315336a02c8b91fc4b19d160a8ded3b0499b8a59d27c6f312a2dbe554e1e10e8ebd8616f862b59fe1d1d577e41942b31ab9b587b47c63b30dc WHIRLPOOL 4aa11afffd1b14890e1d85cbb38397e2c613c8087e441a015b9d362ccbb59476077d65245efdf3ebc8e3b16b79b953ab9acb71c77476f3e362746e95a2877a4e
|
||||
|
@ -0,0 +1,96 @@
|
||||
--- a/include/mednafen/desa68/Makefile.am
|
||||
+++ b/include/mednafen/desa68/Makefile.am
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
AM_CFLAGS = @AM_CFLAGS@ -Wno-multichar
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
noinst_LIBRARIES = libdesa68.a
|
||||
--- a/include/mednafen/drivers/Makefile.am
|
||||
+++ b/include/mednafen/drivers/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SDL_CFLAGS@
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
noinst_LIBRARIES = libmdfnsdl.a
|
||||
--- a/include/mednafen/drivers_dos/Makefile.am
|
||||
+++ b/include/mednafen/drivers_dos/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SDL_CFLAGS@
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
noinst_LIBRARIES = libmdfndos.a
|
||||
--- a/include/mednafen/Makefile.am
|
||||
+++ b/include/mednafen/Makefile.am
|
||||
@@ -1,6 +1,6 @@
|
||||
SUBDIRS = trio
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SNDFILE_CFLAGS@
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SNDFILE_CFLAGS@
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
bin_PROGRAMS = mednafen
|
||||
--- a/include/mednafen/ngp/Makefile.am
|
||||
+++ b/include/mednafen/ngp/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -fno-strict-aliasing
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
noinst_LIBRARIES = libngp.a
|
||||
--- a/include/mednafen/quicklz/Makefile.am
|
||||
+++ b/include/mednafen/quicklz/Makefile.am
|
||||
@@ -1,6 +1,6 @@
|
||||
AM_CFLAGS = @AM_CFLAGS@ -fno-strict-aliasing -Wno-shadow -Wno-unused-but-set-variable
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -fno-strict-aliasing
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
noinst_LIBRARIES = libmdfnquicklz.a
|
||||
--- a/include/mednafen/sexyal/Makefile.am
|
||||
+++ b/include/mednafen/sexyal/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@ @ALSA_CFLAGS@ @JACK_CFLAGS@
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SDL_CFLAGS@ @ALSA_CFLAGS@ @JACK_CFLAGS@
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
noinst_LIBRARIES = libsexyal.a
|
||||
--- a/include/mednafen/snes/Makefile.am
|
||||
+++ b/include/mednafen/snes/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
AM_CFLAGS = @AM_CFLAGS@ @SNES_EXTRA_FLAGS@
|
||||
AM_CXXFLAGS = @AM_CXXFLAGS@ @SNES_EXTRA_FLAGS@ @SNES_EXTRA_CXXFLAGS@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -DNOMINMAX
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -DNOMINMAX
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl -I$(srcdir)/src/lib
|
||||
|
||||
noinst_LIBRARIES = libsnes.a
|
||||
--- a/include/mednafen/ss/Makefile.am
|
||||
+++ b/include/mednafen/ss/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
|
||||
AM_CXXFLAGS = @AM_CXXFLAGS@ @SS_EXTRA_FLAGS@ @NO_STACK_PROTECTOR_FLAGS@
|
||||
# -Wpedantic
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
--- a/include/mednafen/trio/Makefile.am
|
||||
+++ b/include/mednafen/trio/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @TRIO_CFLAGS@ @CFLAG_VISIBILITY@
|
||||
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @TRIO_CFLAGS@ @CFLAG_VISIBILITY@
|
||||
DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
||||
|
||||
noinst_LIBRARIES = libtrio.a
|
@ -0,0 +1,24 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -88,21 +88,6 @@
|
||||
AC_CHECK_LIB([z], [zlibVersion],[], AC_MSG_ERROR([*** zlib not found!]))
|
||||
AC_SUBST([ZLIB_LIBS], [-lz])
|
||||
|
||||
-dnl -fno-fast-math and -fno-unsafe-math-optimizations to make sure it's disabled, as the fast-math feature on certain older
|
||||
-dnl versions of gcc produces horribly broken code(and even when it's working correctly, it can have somewhat unpredictable effects).
|
||||
-dnl
|
||||
-dnl -fno-aggressive-loop-optimizations because I don't trust gcc's aggressive loop optimizations, and there miiight be old code
|
||||
-dnl in Mednafen that would cause problems.
|
||||
-dnl
|
||||
-dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
|
||||
-dnl
|
||||
-OPTIMIZER_FLAGS=""
|
||||
-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
|
||||
-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
|
||||
-AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS)
|
||||
-AX_CFLAGS_GCC_OPTION([-fno-ipa-icf], OPTIMIZER_FLAGS)
|
||||
-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
|
||||
-
|
||||
dnl
|
||||
dnl Aggressively try to disable PIC and PIE, as it has a significant performance overhead and will
|
||||
dnl break some code(with compile-time failures or run-time assert()s triggering).
|
@ -0,0 +1,27 @@
|
||||
--- a/include/mednafen/compress/Makefile.am.inc
|
||||
+++ b/include/mednafen/compress/Makefile.am.inc
|
||||
@@ -1 +1 @@
|
||||
-mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/unzip.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
|
||||
+mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
|
||||
--- a/include/mednafen/file.cpp
|
||||
+++ b/include/mednafen/file.cpp
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <errno.h>
|
||||
#include <trio/trio.h>
|
||||
|
||||
-#include "compress/unzip.h"
|
||||
+#include <minizip/unzip.h>
|
||||
|
||||
#include "file.h"
|
||||
#include "general.h"
|
||||
--- a/include/mednafen/Makefile.am
|
||||
+++ b/include/mednafen/Makefile.am
|
||||
@@ -6,7 +6,7 @@
|
||||
bin_PROGRAMS = mednafen
|
||||
|
||||
mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp git.cpp file.cpp general.cpp memory.cpp netplay.cpp state.cpp state_rewind.cpp movie.cpp player.cpp PSFLoader.cpp SSFLoader.cpp SNSFLoader.cpp SPCReader.cpp tests.cpp qtrecord.cpp Stream.cpp MemoryStream.cpp FileStream.cpp IPSPatcher.cpp
|
||||
-mednafen_LDADD = trio/libtrio.a
|
||||
+mednafen_LDADD = trio/libtrio.a -lminizip
|
||||
mednafen_DEPENDENCIES = trio/libtrio.a
|
||||
|
||||
if HAVE_SDL
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic pax-utils
|
||||
|
||||
DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC and Lynx emulator"
|
||||
HOMEPAGE="http://mednafen.fobby.net/"
|
||||
SRC_URI="http://mednafen.fobby.net/releases/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="alsa altivec cjk debugger jack nls pax_kernel"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libcdio
|
||||
media-libs/libsdl[sound,joystick,opengl,video]
|
||||
media-libs/libsndfile
|
||||
media-libs/sdl-net
|
||||
sys-libs/zlib[minizip]
|
||||
virtual/opengl
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.9.39.2-remove-cflags.patch
|
||||
"${FILESDIR}"/${PN}-0.9.39.2-localedir.patch
|
||||
"${FILESDIR}"/${PN}-0.9.39.2-zlib.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if has ccache ${FEATURES}; then
|
||||
ewarn
|
||||
ewarn "If you experience build failure, try turning off ccache in FEATURES."
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# very sensitive code (bug #539992)
|
||||
strip-flags
|
||||
append-flags -fomit-frame-pointer -fwrapv
|
||||
econf \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable altivec) \
|
||||
$(use_enable cjk cjk-fonts) \
|
||||
$(use_enable debugger) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc Documentation/cheats.txt
|
||||
|
||||
if use pax_kernel; then
|
||||
pax-mark m "${ED%/}"/bin/mednafen || die
|
||||
fi
|
||||
}
|
@ -1,154 +0,0 @@
|
||||
# source:
|
||||
# http://hege.li/howto/spam/etc/postfwd/postfwd.conf
|
||||
#
|
||||
# This version was included on 29 Mar 2010. Newer versions
|
||||
# may be available.
|
||||
|
||||
###
|
||||
### Example config for postfwd 1.10pre8+
|
||||
###
|
||||
|
||||
## Check DNS Whitelisting
|
||||
|
||||
id=OK_DNSWL; \
|
||||
rbl=list.dnswl.org/^127/43200; \
|
||||
action=OK
|
||||
|
||||
## Check HELO and reverse DNS
|
||||
|
||||
id=SET_HELO; \
|
||||
helo_name=^(\[|[^.]+$|.*?[0-9.-]{8}); \
|
||||
action=set(HIT_helo=1)
|
||||
|
||||
id=SET_NODNS; \
|
||||
client_name=^unknown$; \
|
||||
action=set(HIT_nodns=1)
|
||||
|
||||
id=REJECT_HELO_NODNS; \
|
||||
HIT_helo==1; HIT_nodns==1; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - Suspicious HELO [$$helo_name] and missing reverse DNS [$$client_address]
|
||||
|
||||
## Check ZEN first for immediate blocking - less queries for other lists
|
||||
## See usage policy: http://www.spamhaus.org/organization/dnsblusage.html
|
||||
|
||||
id=REJECT_RBL_ZEN; \
|
||||
rbl=zen.spamhaus.org; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - DNSBL [$$dnsbltext]
|
||||
|
||||
## Check other DNSBLs in parallel
|
||||
|
||||
&&DNSBLS { \
|
||||
rbl=bl.spamcop.net; \
|
||||
rbl=b.barracudacentral.org; \
|
||||
rbl=bl.spameatingmonkey.net; \
|
||||
rbl=dnsbl-1.uceprotect.net; \
|
||||
rbl=psbl.surriel.com; \
|
||||
rbl=combined.njabl.org; \
|
||||
rbl=dnsbl.sorbs.net; \
|
||||
rbl=ix.dnsbl.manitu.net; \
|
||||
};
|
||||
|
||||
id=EVAL_DNSBLS; \
|
||||
&&DNSBLS; rblcount=all; \
|
||||
action=set(HIT_rbls=$$rblcount,HIT_dtxt=$$dnsbltext)
|
||||
|
||||
id=REJECT_RBL_MULTI; \
|
||||
HIT_rbls>=2; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - Multiple DNSBLs [$$HIT_dtxt]
|
||||
|
||||
## Check RHSBLs if there wasn't enough DNSBLs hit
|
||||
|
||||
&&RHSBLS_REVERSE { \
|
||||
rhsbl_reverse_client=dynamic.rhs.mailpolice.com; \
|
||||
};
|
||||
|
||||
&&RHSBLS_SENDER { \
|
||||
rhsbl_sender=dbl.spamhaus.org; \
|
||||
rhsbl_sender=multi.uribl.com; \
|
||||
rhsbl_sender=multi.surbl.org; \
|
||||
rhsbl_sender=rhsbl.ahbl.org; \
|
||||
rhsbl_sender=rhsbl.sorbs.net; \
|
||||
rhsbl_sender=dsn.rfc-ignorant.org; \
|
||||
};
|
||||
|
||||
id=EVAL_RHSBLS; \
|
||||
&&RHSBLS_REVERSE; &&RHSBLS_SENDER; rhsblcount=all; \
|
||||
action=set(HIT_rhsbls=$$rhsblcount,HIT_rtxt=$$dnsbltext)
|
||||
|
||||
id=REJECT_RHSBL_MULTI; \
|
||||
HIT_rhsbls>=2; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - Multiple RHSBLs [$$HIT_rtxt]
|
||||
|
||||
## See if we get any combined hits from rules before
|
||||
|
||||
id=REJECT_RBL_RHSBL; \
|
||||
HIT_rbls>=1; HIT_rhsbls>=1; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - RHSBL and DNSBL [$$HIT_rtxt] [$$HIT_dtxt]
|
||||
|
||||
id=REJECT_RBL_HELO; \
|
||||
HIT_rbls>=1; HIT_helo==1; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - DNSBL [$$HIT_dtxt] and suspicious HELO [$$helo_name]
|
||||
|
||||
id=REJECT_RBL_NODNS; \
|
||||
HIT_rbls>=1; HIT_nodns==1; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - DNSBL [$$HIT_dtxt] and missing reverse DNS [$$client_address]
|
||||
|
||||
id=REJECT_RHSBL_HELO; \
|
||||
HIT_rhsbls>=1; HIT_helo==1; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - RHSBL [$$HIT_rtxt] and suspicious HELO [$$helo_name]
|
||||
|
||||
id=REJECT_RHSBL_NODNS; \
|
||||
HIT_rhsbls>=1; HIT_nodns==1; \
|
||||
action=REJECT Blocked - contact postmaster@example.net for help - RHSBL [$$HIT_rtxt] and missing reverse DNS [$$client_address]
|
||||
|
||||
## Finally greylist all lesser hits.
|
||||
##
|
||||
## A more DNSBL friendly way would be to greylist everything suspicious
|
||||
## before DNS checks. Currently this requires you to setup some postfix
|
||||
## tables before postfwd is called, since greylisting can be only done last
|
||||
## in postfwd (action always exits processing).
|
||||
|
||||
id=GREY_HELO; HIT_helo==1; action=check_postgrey
|
||||
id=GREY_NODNS; HIT_nodns==1; action=check_postgrey
|
||||
id=GREY_RBL; HIT_rbls>=1; action=check_postgrey
|
||||
id=GREY_RHSBL; HIT_rhsbls>=1; action=check_postgrey
|
||||
|
||||
&&DNSBLS_GREY { \
|
||||
rbl=dnsbl-2.uceprotect.net; \
|
||||
rbl=dnsbl-3.uceprotect.net; \
|
||||
};
|
||||
|
||||
id=GREY_DNSBL; &&DNSBLS_GREY; action=check_postgrey
|
||||
|
||||
|
||||
|
||||
##
|
||||
## This example is free to use as per BSD license:
|
||||
##
|
||||
## Copyright (c) 2008, Henrik Krohns <hege@hege.li>
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without modification,
|
||||
## are permitted provided that the following conditions are met:
|
||||
##
|
||||
## * Redistributions of source code must retain the above copyright
|
||||
## notice, this list of conditions and the following disclaimer.
|
||||
## * Redistributions in binary form must reproduce the above copyright
|
||||
## notice, this list of conditions and the following disclaimer in
|
||||
## the documentation and/or other materials provided with the
|
||||
## distribution.
|
||||
## * Neither the name of the authors nor the names of his contributors
|
||||
## may be used to endorse or promote products derived from this
|
||||
## software without specific prior written permission.
|
||||
##
|
||||
## THIS SOFTWARE IS PROVIDED BY ME ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
## INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
## FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT,
|
||||
## INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
## NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
## WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
## POSSIBILITY OF SUCH DAMAGE.
|
||||
##
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue