From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Lorenz To: development@lists.ipfire.org Subject: Re: Perl 5.22.1 integration Date: Sat, 28 May 2016 09:52:42 +0200 Message-ID: <095f0fd628f7c92923f15eb775481d59@mail01.ipfire.org> In-Reply-To: <5748605D.5090702@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6045993387064877314==" List-Id: --===============6045993387064877314== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi 5p9, thx for the Report. The missing file can be download at http://search.cpan.org/~zefram/Perl4-CoreLibs-0.003/ Put it into /usr/lib/perl5/5.22.1 and make chmod +x I'm currently work on Perl 5.24.0 an i will integrate this file in my next mailproxy / mailserver updates. Greetings, Marcel Am 2016-05-27 16:57, schrieb 5p9: > Hi Marcel, >=20 > i found a Problem with Perl 5.22.1 and with Guardian: >=20 > OS shows Linux > Can't locate getopts.pl in @INC (@INC contains: > /usr/lib/perl5/site_perl/5.22.1/i586-linux-thread-multi > /usr/lib/perl5/site_perl/5.22.1 > /usr/lib/perl5/vendor_perl/5.22.1/i586-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.22.1 > /usr/lib/perl5/5.22.1/i586-linux-thread-multi /usr/lib/perl5/5.22.1 .) > at /usr/local/bin/guardian.pl line 14. >=20 > You can find more information here (german only): > https://forum.ipfire.org/viewtopic.php?f=3D22&p=3D98329#p98317 >=20 > I think we need this getopts.pl from thies source: > http://search.cpan.org/~zefram/Perl4-CoreLibs-0.003/lib/Perl4/CoreLibs.pm >=20 > I hope y can help us ;) >=20 > Thx, 5p9 >=20 >=20 > Am 24.02.2016 um 08:08 schrieb Marcel Lorenz: >>=20 >> Hi, >>=20 >> i will start a discussion for the integration of Perl 5.22.x into=20 >> IPFire. >> I have been working for over half a year on the files. >>=20 >> My motivation came from the use of SpamAssassin. This application is >> written in Perl. The old Perl modules from IPFire are as a security=20 >> risk. >>=20 >> First i update the Perl LFS and rootfile only. All the other Perl >> modules remain old. >> I began individual modules to update, but it was very expensive. >>=20 >> Since I had the idea to take all modules to one or two LFS together. >> This has the advantage that all individual Perl modules disappear >> make.sh from and this is clearly shorter. The two LFS files and the >> associated Rootfiles are also easier to maintain. The individual Perl >> modules in Pakfire can then also be removed. Perl is always complete=20 >> and >> up to date with its modules. In my mailserver branch I have this >> development as far finished. However, I had the modules-LFS divided=20 >> into >> two files because make is having trouble with to large LFS files. >>=20 >> Also have Perl 5.22.1 integrated into the toolchain. The need still >> less, gdbm and berkeley DB4 before. >>=20 >> I created three files from the many Perl files: >> perl-buildtools >> perl-modules1 >> perl-modules2 >>=20 >> The current folder size of /usr/lib/perl5 is about 75MB with Perl=20 >> 5.22.1 >> and all modules and 55Mb with Perl 5.12.3. A Perl-Modules list can be >> found here: http://people.ipfire.org/~mlorenz/mp/22/perl.txt This >> includes all needed modules for Amavisd, all from Pakfire and many=20 >> more. >> All updated to the latest version from CPAN (December 2015) >>=20 >> Here the perl-buildtools LFS with the current modules from CPAN as an >> example. >> The modules included are needed around the other current Perl modules=20 >> to >> build: >>=20 >> ##########################################################################= ##### >>=20 >> # >> # >> # IPFire.org - A linux based firewall >> # >> # Copyright (C) 2007-2015 IPFire Team >> # >> # >> # >> # This program is free software: you can redistribute it and/or modify >> # >> # it under the terms of the GNU General Public License as published by >> # >> # the Free Software Foundation, either version 3 of the License, or >> # >> # (at your option) any later version. >> # >> # >> # >> # This program is distributed in the hope that it will be useful, >> # >> # but WITHOUT ANY WARRANTY; without even the implied warranty of >> # >> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> # >> # GNU General Public License for more details. >> # >> # >> # >> # You should have received a copy of the GNU General Public License >> # >> # along with this program. If not, see=20 >> . >> # >> # >> # >> ##########################################################################= ##### >>=20 >>=20 >> ##########################################################################= ##### >>=20 >> # Definitions >> ##########################################################################= ##### >>=20 >>=20 >> include Config >>=20 >> VER =3D 2015.10 >>=20 >> THISAPP =3D perl-buildtools-$(VER) >> DL_FILE =3D $(THISAPP).tar.gz >> DL_FROM =3D $(URL_IPFIRE) >> DIR_APP =3D $(DIR_SRC)/$(THISAPP) >> TARGET =3D $(DIR_INFO)/$(THISAPP) >> PROG =3D perl-buildtools >> DEPS =3D "perl" >> PAK_VER =3D 1 >>=20 >> ##########################################################################= ##### >>=20 >> # Top-level Rules >> ##########################################################################= ##### >>=20 >>=20 >> objects =3D ExtUtils-Constant-0.23.tar.gz \ >> ExtUtils-MakeMaker-7.10.tar.gz \ >> ExtUtils-Manifest-1.70.tar.gz \ >> Module-Build-0.4214.tar.gz \ >> Module-Metadata-1.000027.tar.gz \ >> Perl-OSType-1.009.tar.gz \ >> Test-Deep-0.119.tar.gz \ >> Test-Simple-1.001014.tar.gz \ >> version-0.9912.tar.gz >>=20 >> ExtUtils-Constant-0.23.tar.gz =3D >> $(DL_FROM)/ExtUtils-Constant-0.23.tar.gz >> ExtUtils-MakeMaker-7.10.tar.gz =3D >> $(DL_FROM)/ExtUtils-MakeMaker-7.10.tar.gz >> ExtUtils-Manifest-1.70.tar.gz =3D >> $(DL_FROM)/ExtUtils-Manifest-1.70.tar.gz >> Module-Build-0.4214.tar.gz =3D >> $(DL_FROM)/Module-Build-0.4214.tar.gz >> Module-Metadata-1.000027.tar.gz =3D >> $(DL_FROM)/Module-Metadata-1.000027.tar.gz >> Perl-OSType-1.009.tar.gz =3D=20 >> $(DL_FROM)/Perl-OSType-1.009.tar.gz >> Test-Deep-0.119.tar.gz =3D=20 >> $(DL_FROM)/Test-Deep-0.119.tar.gz >> Test-Simple-1.001014.tar.gz =3D >> $(DL_FROM)/Test-Simple-1.001014.tar.gz >> version-0.9912.tar.gz =3D=20 >> $(DL_FROM)/version-0.9912.tar.gz >>=20 >> ExtUtils-Constant-0.23.tar.gz_MD5 =3D=20 >> bd3ec6d22ffab7e5cc05b1331a888d15 >> ExtUtils-MakeMaker-7.10.tar.gz_MD5 =3D=20 >> 2639a21adee5e0a903730c12dcba08ec >> ExtUtils-Manifest-1.70.tar.gz_MD5 =3D=20 >> 8ccb9c1f3bca14c117a74bc7b43be095 >> Module-Build-0.4214.tar.gz_MD5 =3D=20 >> 7b7ca5a47bef48c50c8b5906ca3ac7fb >> Module-Metadata-1.000027.tar.gz_MD5 =3D=20 >> a0bf9b900dfd49c57702de3ee3801d42 >> Perl-OSType-1.009.tar.gz_MD5 =3D=20 >> 9e0cae3812bc80815f00732bde1b7e61 >> Test-Deep-0.119.tar.gz_MD5 =3D=20 >> edb72e9b1874efe3b0c95324fb063e51 >> Test-Simple-1.001014.tar.gz_MD5 =3D=20 >> db7f57fd595e3e1c93c972307a88fa6e >> version-0.9912.tar.gz_MD5 =3D=20 >> 404a7174f3e38e4f8fad3e1eefce5412 >>=20 >> install : $(TARGET) >> check : $(patsubst %,$(DIR_CHK)/%,$(objects)) >> download :$(patsubst %,$(DIR_DL)/%,$(objects)) >> md5 : $(subst %,%_MD5,$(objects)) >> dist: >> @$(PAK) >>=20 >> ##########################################################################= ##### >>=20 >> # Downloading, checking, md5sum >> ##########################################################################= ##### >>=20 >>=20 >> $(patsubst %,$(DIR_CHK)/%,$(objects)) : >> @$(CHECK) >>=20 >> $(patsubst %,$(DIR_DL)/%,$(objects)) : >> @$(LOAD) >>=20 >> $(subst %,%_MD5,$(objects)) : >> @$(MD5) >>=20 >> ##########################################################################= ##### >>=20 >> # Installation Details >> ##########################################################################= ##### >>=20 >>=20 >> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> @$(PREBUILD) >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/Perl-OSType-1.009.tar.gz >> cd $(DIR_SRC)/Perl-OSType-1.009 && perl Makefile.PL >> cd $(DIR_SRC)/Perl-OSType-1.009 && make $(MAKETUNING) >> cd $(DIR_SRC)/Perl-OSType-1.009 && make install >> @rm -rf $(DIR_SRC)/Perl-OSType-1.009 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/version-0.9912.tar.gz >> cd $(DIR_SRC)/version-0.9912 && perl Makefile.PL >> cd $(DIR_SRC)/version-0.9912 && make $(MAKETUNING) >> cd $(DIR_SRC)/version-0.9912 && make install >> @rm -rf $(DIR_SRC)/version-0.9912 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/Module-Metadata-1.000027.tar.gz >> cd $(DIR_SRC)/Module-Metadata-1.000027 && perl Makefile.PL >> cd $(DIR_SRC)/Module-Metadata-1.000027 && make $(MAKETUNING) >> cd $(DIR_SRC)/Module-Metadata-1.000027 && make install >> @rm -rf $(DIR_SRC)/Module-Metadata-1.000027 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/Module-Build-0.4214.tar.gz >> cd $(DIR_SRC)/Module-Build-0.4214 && perl Makefile.PL >> cd $(DIR_SRC)/Module-Build-0.4214 && make $(MAKETUNING) >> cd $(DIR_SRC)/Module-Build-0.4214 && make install >> @rm -rf $(DIR_SRC)/Module-Build-0.4214 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/Test-Deep-0.119.tar.gz >> cd $(DIR_SRC)/Test-Deep-0.119 && perl Makefile.PL >> cd $(DIR_SRC)/Test-Deep-0.119 && make $(MAKETUNING) >> cd $(DIR_SRC)/Test-Deep-0.119 && make install >> @rm -rf $(DIR_SRC)/Test-Deep-0.119 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/Test-Simple-1.001014.tar.gz >> cd $(DIR_SRC)/Test-Simple-1.001014 && perl Makefile.PL >> cd $(DIR_SRC)/Test-Simple-1.001014 && make $(MAKETUNING) >> cd $(DIR_SRC)/Test-Simple-1.001014 && make install >> @rm -rf $(DIR_SRC)/Test-Simple-1.001014 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/ExtUtils-Constant-0.23.tar.gz >> cd $(DIR_SRC)/ExtUtils-Constant-0.23 && perl Makefile.PL >> cd $(DIR_SRC)/ExtUtils-Constant-0.23 && make $(MAKETUNING) >> cd $(DIR_SRC)/ExtUtils-Constant-0.23 && make install >> @rm -rf $(DIR_SRC)/ExtUtils-Constant-0.23 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/ExtUtils-MakeMaker-7.10.tar.gz >> cd $(DIR_SRC)/ExtUtils-MakeMaker-7.10 && perl Makefile.PL >> cd $(DIR_SRC)/ExtUtils-MakeMaker-7.10 && make $(MAKETUNING) >> cd $(DIR_SRC)/ExtUtils-MakeMaker-7.10 && make install >> @rm -rf $(DIR_SRC)/ExtUtils-MakeMaker-7.10 >> cd $(DIR_SRC) && tar zxf $(DIR_DL)/ExtUtils-Manifest-1.70.tar.gz >> cd $(DIR_SRC)/ExtUtils-Manifest-1.70 && perl Makefile.PL >> cd $(DIR_SRC)/ExtUtils-Manifest-1.70 && make $(MAKETUNING) >> cd $(DIR_SRC)/ExtUtils-Manifest-1.70 && make install >> @rm -rf $(DIR_SRC)/ExtUtils-Manifest-1.70 >> @$(POSTBUILD) >>=20 >> That would be my suggestion for integration of Perl 5.22.1. On=20 >> request, >> I can create big patches and send it to the mailing list. Perl 5.22.x >> works are in several months generated by my ISO's unremarkable. It is >> known that a few startup scripts need to be adjusted (amavisd). >>=20 >> Please forgive me my simple English... Google translator helped me. :) >>=20 >> Greetings, >> Marcel Lorenz --===============6045993387064877314==--