Revision 495

Date:
2015/05/21 14:15:14
Author:
ahitrov
Revision Log:
Installation procedure workflow upgraded.
Perl up to version 5.16.0 is tested.

Files:

Legend:

 
Added
 
Removed
 
Modified
  • koi8/core/config.mk

     
    20 20 CORE_REQUIRED += HTML-Mason
    21 21 CORE_REQUIRED += apache13
    22 22 CORE_REQUIRED += libapreq
    23 CORE_REQUIRED += PerlMagick
    23 CORE_REQUIRED += ImageMagick
    24 24 CORE_REQUIRED += IO-stringy
    25 25 CORE_REQUIRED += DateTime-Format-Pg
    26 26 CORE_REQUIRED += DateTime-Locale-ru_RU_KOI8_R
  • koi8/core/ports/all/DBD-Pg/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/trunk/ports/all/DBD-Pg/GNUmakefile $
    3 # $Id: GNUmakefile 1317 2009-01-30 10:24:05Z lonerr $
    2 #
    4 3 ###############################################################################
    5 4
    6 5
     
    9 8
    10 9 ifeq (${shell perl -e 'print 1 if ${PERL_LEVEL}<500600'},1)
    11 10 PORTVERSION = 1.32
    11 elif (${shell perl -e 'print 1 if ${PERL_LEVEL}<501000'},1)
    12 PORTVERSION = 2.11.8
    12 13 else
    13 PORTVERSION = 2.11.8
    14 PORTVERSION = 2.19.3
    14 15 endif
    15 16
    16 17 PERL_MAKEMAKER = yes
  • koi8/core/ports/all/DBI/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/trunk/ports/all/DBI/GNUmakefile $
    3 # $Id: GNUmakefile 1311 2009-01-14 08:42:32Z makc $
    2 #
    4 3 ###############################################################################
    5 4
    6 5 include ../../etc/perl.mk
     
    8 7
    9 8 ifeq (${shell perl -e 'print 1 if ${PERL_LEVEL}<500600'},1)
    10 9 PORTVERSION = 1.37
    10 elif (${shell perl -e 'print 1 if ${PERL_LEVEL}<501200'},1)
    11 PORTVERSION = 1.52
    11 12 else
    12 PORTVERSION = 1.52
    13 PORTVERSION = 1.622
    13 14 endif
    14 15
    15 16 PERL_MAKEMAKER = yes
  • koi8/core/ports/all/HTML-Parser/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/trunk/ports/all/HTML-Parser/GNUmakefile $
    3 # $Id: GNUmakefile 175 2006-06-16 12:50:03Z lonerr $
    2 #
    4 3 ###############################################################################
    5 4
    6 5 #include ../../etc/perl.mk
    7 6
    8 PORTVERSION = 3.68
    7 PORTVERSION = 3.71
    9 8 PERL_MAKEMAKER = yes
    10 9 MASTER_CPAN_SUBDIR = HTML
    11 10 PORT_DEPENDS = HTML-Tagset \
    12 11 URI
    13 # Test-Simple
    14 12
    15 #ifeq (${shell perl -e 'print 1 if ${PERL_LEVEL}<500600'},1)
    16 #${call die,requires perl 5.6.0 or higher.};
    17 #endif
    18 13
    19
    20 14 include ../../etc/ports.mk
  • koi8/core/ports/all/mod_perl/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/trunk/ports/all/mod_perl/GNUmakefile $
    3 # $Id: GNUmakefile 1509 2010-01-25 09:03:39Z lonerr $
    2 #
    4 3 ###############################################################################
    5 4
    6 5 include ../../etc/perl.mk
     
    20 19 PREP_HTTPD=1 \
    21 20 EVERYTHING=1
    22 21
    22 CONFIGURE_PRECMD = ${MAKE_RECURSIVE} pre-configure
    23 pre-configure:
    24 ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501400'},1)
    25 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.14
    26 endif
    27 ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501600'},1)
    28 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.16
    29 endif
    23 30
    31
    24 32 include ../../etc/ports.mk
  • koi8/core/ports/all/mod_perl/patch.perl5.16

     
    1 --- src/modules/perl/perl_util.c.orig 2015-05-20 20:20:25.485726516 +0300
    2 +++ src/modules/perl/perl_util.c 2015-05-20 20:21:19.482725094 +0300
    3 @@ -669,6 +669,8 @@
    4 {
    5 if(set_ids++) return;
    6 sv_setiv(GvSV(gv_fetchpv("$", TRUE, SVt_PV)), (I32)getpid());
    7 +
    8 +#if PERLV >= 501600
    9 #ifndef WIN32
    10 uid = (int)getuid();
    11 euid = (int)geteuid();
    12 @@ -678,6 +680,7 @@
    13 "perl_init_ids: uid=%d, euid=%d, gid=%d, egid=%d\n",
    14 uid, euid, gid, egid));
    15 #endif
    16 +#endif
    17 }
    18
    19 int perl_eval_ok(server_rec *s)
  • koi8/core/ports/etc/perl.mk

     
    5 5 PERL ?= ${shell which perl}
    6 6 PERL_LEVEL ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d%03d%02d", $$1,$$2,$$3;'}
    7 7
    8 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<500600 && print 1'},1)
    9 PERL_VER = ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%03d", $$1,$$2;'}
    10 endif
    8 PERL_VER = ${shell ${PERL} -e 'my ($$inc) = grep { $$_ =~ /site_perl/ } @INC; $$inc =~ /5\.(\d+)\.(\d)/ ? print "5.$$1.$$2" : $$inc =~ /5\.(\d+)/ ? print "5.$$1" : print '';'}
    11 9
    12 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<501205 && print 1'},1)
    13 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d.%d", $$1,$$2,$$3;'}
    14 else
    15 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d", $$1,$$2;'}
    16 endif
    17
    18 10 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<500600 && print 1'},1)
    19 11 PERL_ARCH ?= ${shell ${PERL} -e 'use Config; print $$Config::Config{archname};'}
    20 12 else
  • koi8/core/ports/etc/ports.mk

     
    30 30
    31 31
    32 32 MASTER_SITES ?= /usr/local/dist \
    33 http://contenido.me/repos/Contenido/cnddist \
    34 http://svn.dat.ru/repos/cnddist/trunk
    33 http://contenido.me/repos/Contenido/cnddist
    35 34
    36 35 MASTER_POST_SITES ?=
    37 36
  • utf8/core/config.mk

     
    20 20 CORE_REQUIRED += HTML-Mason
    21 21 CORE_REQUIRED += apache13
    22 22 CORE_REQUIRED += libapreq
    23 CORE_REQUIRED += PerlMagick
    23 CORE_REQUIRED += ImageMagick
    24 24 CORE_REQUIRED += IO-stringy
    25 25 CORE_REQUIRED += DateTime-Format-Pg
    26 26 CORE_REQUIRED += Cache-Memcached-Fast
  • utf8/core/ports/all/DBD-Pg/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/branches/utf8/ports/all/DBD-Pg/GNUmakefile $
    3 # $Id: GNUmakefile 1418 2009-06-05 09:17:07Z phoinix $
    2 #
    4 3 ###############################################################################
    5 4
    6 5
     
    9 8
    10 9 ifeq (${shell perl -e 'print 1 if ${PERL_LEVEL}<500600'},1)
    11 10 PORTVERSION = 1.32
    11 elif (${shell perl -e 'print 1 if ${PERL_LEVEL}<501000'},1)
    12 PORTVERSION = 2.11.8
    12 13 else
    13 PORTVERSION = 2.11.8
    14 PORTVERSION = 2.19.3
    14 15 endif
    15 16
    16 17 PERL_MAKEMAKER = yes
  • utf8/core/ports/all/DBI/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/branches/utf8/ports/all/DBI/GNUmakefile $
    3 # $Id: GNUmakefile 1418 2009-06-05 09:17:07Z phoinix $
    2 #
    4 3 ###############################################################################
    5 4
    6 5 include ../../etc/perl.mk
     
    8 7
    9 8 ifeq (${shell perl -e 'print 1 if ${PERL_LEVEL}<500600'},1)
    10 9 PORTVERSION = 1.37
    10 elif (${shell perl -e 'print 1 if ${PERL_LEVEL}<501200'},1)
    11 PORTVERSION = 1.52
    11 12 else
    12 PORTVERSION = 1.52
    13 PORTVERSION = 1.633
    13 14 endif
    14 15
    15 16 PERL_MAKEMAKER = yes
  • utf8/core/ports/all/HTML-Parser/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/branches/utf8/ports/all/HTML-Parser/GNUmakefile $
    3 # $Id: GNUmakefile 175 2006-06-16 12:50:03Z lonerr $
    2 #
    4 3 ###############################################################################
    5 4
    6 5 #include ../../etc/perl.mk
    7 6
    8 PORTVERSION = 3.68
    7 PORTVERSION = 3.71
    9 8 PERL_MAKEMAKER = yes
    10 9 MASTER_CPAN_SUBDIR = HTML
    11 10 PORT_DEPENDS = HTML-Tagset \
    12 11 URI
    13 # Test-Simple
    14 12
    15 #ifeq (${shell perl -e 'print 1 if ${PERL_LEVEL}<500600'},1)
    16 #${call die,requires perl 5.6.0 or higher.};
    17 #endif
    18 13
    19
    20 14 include ../../etc/ports.mk
  • utf8/core/ports/all/mod_perl/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/branches/utf8/ports/all/mod_perl/GNUmakefile $
    3 # $Id: GNUmakefile 1526 2010-03-29 11:11:10Z ahitrov $
    2 #
    4 3 ###############################################################################
    5 4
    6 5 include ../../etc/perl.mk
     
    20 19 PREP_HTTPD=1 \
    21 20 EVERYTHING=1
    22 21
    22 CONFIGURE_PRECMD = ${MAKE_RECURSIVE} pre-configure
    23 pre-configure:
    24 ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501400'},1)
    25 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.14
    26 endif
    27 ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501600'},1)
    28 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.16
    29 endif
    23 30
    31
    24 32 include ../../etc/ports.mk
  • utf8/core/ports/all/mod_perl/patch.perl5.16

     
    1 --- src/modules/perl/perl_util.c.orig 2015-05-20 20:20:25.485726516 +0300
    2 +++ src/modules/perl/perl_util.c 2015-05-20 20:21:19.482725094 +0300
    3 @@ -669,6 +669,8 @@
    4 {
    5 if(set_ids++) return;
    6 sv_setiv(GvSV(gv_fetchpv("$", TRUE, SVt_PV)), (I32)getpid());
    7 +
    8 +#if PERLV >= 501600
    9 #ifndef WIN32
    10 uid = (int)getuid();
    11 euid = (int)geteuid();
    12 @@ -678,6 +680,7 @@
    13 "perl_init_ids: uid=%d, euid=%d, gid=%d, egid=%d\n",
    14 uid, euid, gid, egid));
    15 #endif
    16 +#endif
    17 }
    18
    19 int perl_eval_ok(server_rec *s)
  • utf8/core/ports/etc/perl.mk

     
    1 1 ##############################################################################
    2 # $HeadURL: svn://cvs1.rambler.ru/Contenido/trunk/ports/etc/ports.mk $
    3 # $Id: ports.mk 71 2006-06-03 14:32:52Z lonerr $
    2 #
    4 3 ###############################################################################
    5 4
    6 5 PERL ?= ${shell which perl}
    7 6 PERL_LEVEL ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d%03d%02d", $$1,$$2,$$3;'}
    8 7
    9 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<500600 && print 1'},1)
    10 PERL_VER = ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%03d", $$1,$$2;'}
    11 endif
    8 PERL_VER = ${shell ${PERL} -e 'my ($$inc) = grep { $$_ =~ /site_perl/ } @INC; $$inc =~ /5\.(\d+)\.(\d)/ ? print "5.$$1.$$2" : $$inc =~ /5\.(\d+)/ ? print "5.$$1" : print '';'}
    12 9
    13 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<501205 && print 1'},1)
    14 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d.%d", $$1,$$2,$$3;'}
    15 else
    16 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d", $$1,$$2;'}
    17 endif
    18
    19 10 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<500600 && print 1'},1)
    20 11 PERL_ARCH ?= ${shell ${PERL} -e 'use Config; print $$Config::Config{archname};'}
    21 12 else
  • utf8/core/ports/etc/ports.mk

     
    30 30
    31 31
    32 32 MASTER_SITES ?= /usr/local/dist \
    33 http://contenido.me/repos/Contenido/cnddist \
    34 http://svn.dat.ru/repos/cnddist/trunk
    33 http://contenido.me/repos/Contenido/cnddist
    35 34
    36 35 MASTER_POST_SITES ?=
    37 36