Skip to content

Commit

Permalink
7.0.18
Browse files Browse the repository at this point in the history
 enabled some extension again for 7.x - memcached, solr, mongodb, redis, igbinary, ssh2
  • Loading branch information
chregu committed May 5, 2017
1 parent 1246abf commit f1df1d1
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 35 deletions.
35 changes: 15 additions & 20 deletions build-php.pl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
use Package::oauth;
use Package::xslcache;
#use Package::yaml;
use Package::mongo;
use Package::mongodb;
use Package::redis;
use Package::propro;
use Package::raphf;
Expand Down Expand Up @@ -78,15 +78,10 @@
my $intl = Package::intl->new(config => $config, variant => 'apache2');
$intl->install();

#libmemcached doesn't yet compile on 10.10
# TODO: adjust for 7.0
my $memcached = Package::memcached->new(config => $config, variant => 'apache2');
$memcached->install();

# TODO: adjust for 7.0
#my $memcache = Package::memcache->new(config => $config, variant => 'apache2');
#$memcache->install();

# TODO: adjust for 7.0
#my $xhprof = Package::xhprof->new(config => $config, variant => 'apache2');
#$xhprof->install();
Expand All @@ -99,8 +94,8 @@
#$APC->install();

# TODO: adjust for 7.0
#my $solr = Package::solr->new(config => $config, variant => 'apache2');
#$solr->install();
my $solr = Package::solr->new(config => $config, variant => 'apache2');
$solr->install();

# TODO: adjust for 7.0
#my $oauth = Package::oauth->new(config => $config, variant => 'apache2');
Expand All @@ -110,16 +105,16 @@
#$xslcache->install();

# Needs libYAML to be integrated as well, left for later
# my $yaml = Package::yaml->new(config => $config, variant => 'apache2');
# $yaml->install();
#my $yaml = Package::yaml->new(config => $config, variant => 'apache2');
#$yaml->install();


# TODO: adjust for 7.0
#my $mongo = Package::mongo->new(config => $config, variant => 'apache2');
#$mongo->install();
my $mongodb = Package::mongodb->new(config => $config, variant => 'apache2');
$mongodb->install();

#my $redis = Package::redis->new(config => $config, variant => 'apache2');
#$redis->install();
my $redis = Package::redis->new(config => $config, variant => 'apache2');
$redis->install();

my $propro = Package::propro->new(config => $config, variant => 'apache2');
$propro->install();
Expand All @@ -134,16 +129,16 @@
$apcu->install();

# TODO: adjust for 7.0
#my $igbinary = Package::igbinary->new(config => $config, variant => 'apache2');
#$igbinary->install();
my $igbinary = Package::igbinary->new(config => $config, variant => 'apache2');
$igbinary->install();

# TODO: adjust for 7.0
#my $libssh2 = Package::libssh2->new(config => $config, variant => 'apache2');
#$libssh2->install();
my $libssh2 = Package::libssh2->new(config => $config, variant => 'apache2');
$libssh2->install();

# TODO: adjust for 7.0
#my $ssh2 = Package::ssh2->new(config => $config, variant => 'apache2');
#$ssh2->install();
my $ssh2 = Package::ssh2->new(config => $config, variant => 'apache2');
$ssh2->install();

#my $phpunit = Package::phpunit->new(config => $config, variant => 'apache2');
#$phpunit->install();
Expand Down
4 changes: 2 additions & 2 deletions lib/Package/igbinary.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package::peclbase);

our $VERSION = '1.1.1';
our $VERSION = '2.0.1';

sub init {
my $self = shift;
Expand All @@ -19,4 +19,4 @@ sub packagesrcdir {
return $self->config()->srcdir() . "/" . $self->packagename() . "/";
}

return 1;
return 1;
2 changes: 1 addition & 1 deletion lib/Package/libssh2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package);

our $VERSION = '1.4.3';
our $VERSION = '1.8.0';

sub base_url {
return "http://libssh2.org/download";
Expand Down
2 changes: 1 addition & 1 deletion lib/Package/memcached.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package::peclbase);

our $VERSION = '2.2.0';
our $VERSION = '3.0.3';

sub init {
my $self = shift;
Expand Down
6 changes: 3 additions & 3 deletions lib/Package/mongo.pm → lib/Package/mongodb.pm
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package Package::mongo;
package Package::mongodb;

use strict;
use warnings;

use base qw(Package::peclbase);

our $VERSION = '1.5.5';
our $VERSION = '1.2.9';

sub init {
my $self = shift;
$self->SUPER::init(@_);
$self->{PACKAGE_NAME} = 'mongo';
$self->{PACKAGE_NAME} = 'mongodb';
$self->{VERSION} = $VERSION;
}

Expand Down
4 changes: 2 additions & 2 deletions lib/Package/oauth.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package::peclbase);

our $VERSION = '1.2.3';
our $VERSION = '2.0.2';

sub init {
my $self = shift;
Expand All @@ -19,4 +19,4 @@ sub packagesrcdir {
return $self->config()->srcdir() . "/" . $self->packagename() . "/";
}

return 1;
return 1;
2 changes: 1 addition & 1 deletion lib/Package/redis.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package::peclbase);

our $VERSION = '2.2.7';
our $VERSION = '3.1.2';

sub init {
my $self = shift;
Expand Down
4 changes: 2 additions & 2 deletions lib/Package/solr.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package::peclbase);

our $VERSION = '0.9.11';
our $VERSION = '2.4.0';

sub init {
my $self = shift;
Expand All @@ -19,4 +19,4 @@ sub packagesrcdir {
return $self->config()->srcdir() . "/" . $self->packagename() . "/";
}

return 1;
return 1;
2 changes: 1 addition & 1 deletion lib/Package/ssh2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package::peclbase);

our $VERSION = '0.12';
our $VERSION = '1.0';

sub init {
my $self = shift;
Expand Down
4 changes: 2 additions & 2 deletions lib/Package/yaml.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base qw(Package::peclbase);

our $VERSION = '1.1.1';
our $VERSION = '2.0.0';

sub init {
my $self = shift;
Expand All @@ -19,4 +19,4 @@ sub extension_ini{
$self->shell({silent => 0}, "echo ';extension=" . $dst . lc($self->shortname()) . ".so' > /tmp/50-extension-" . $self->shortname() . ".ini");
}

return 1;
return 1;

0 comments on commit f1df1d1

Please sign in to comment.