From: <ow...@us...> - 2008-07-31 16:15:24
|
Revision: 1618 http://ipcop.svn.sourceforge.net/ipcop/?rev=1618&view=rev Author: owes Date: 2008-07-31 16:15:30 +0000 (Thu, 31 Jul 2008) Log Message: ----------- Add CPAN perl modules XML-Parser and XML-Simple. Makes life much easier for connections.cgi when output from conntrack is in XML format. Group CPAN in make.sh Modified Paths: -------------- ipcop/trunk/config/rootfiles/common/perl ipcop/trunk/make.sh Added Paths: ----------- ipcop/trunk/config/rootfiles/common/XML-Parser ipcop/trunk/config/rootfiles/common/XML-Simple ipcop/trunk/lfs/XML-Parser ipcop/trunk/lfs/XML-Simple Added: ipcop/trunk/config/rootfiles/common/XML-Parser =================================================================== --- ipcop/trunk/config/rootfiles/common/XML-Parser (rev 0) +++ ipcop/trunk/config/rootfiles/common/XML-Parser 2008-07-31 16:15:30 UTC (rev 1618) @@ -0,0 +1,46 @@ +## XML-Parser-2.36 +## +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser +usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser.pm +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/Japanese_Encodings.msg +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/README +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/big5.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/euc-kr.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/iso-8859-2.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/iso-8859-3.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/iso-8859-4.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/iso-8859-5.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/iso-8859-7.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/iso-8859-8.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/iso-8859-9.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/windows-1250.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/windows-1252.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/x-euc-jp-jisx0221.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/x-euc-jp-unicode.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/x-sjis-cp932.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/x-sjis-jdk117.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/x-sjis-jisx0221.enc +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Encodings/x-sjis-unicode.enc +usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Expat.pm +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/LWPExternEnt.pl +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Style +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Style/Debug.pm +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Style/Objects.pm +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Style/Stream.pm +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Style/Subs.pm +usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/XML/Parser/Style/Tree.pm +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML/Parser +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML/Parser/.packlist +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML/Parser/Expat +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML/Parser/Expat/Expat.bs +usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML/Parser/Expat/Expat.so +#usr/share/man/man3/XML::Parser.3 +#usr/share/man/man3/XML::Parser::Expat.3 +#usr/share/man/man3/XML::Parser::Style::Debug.3 +#usr/share/man/man3/XML::Parser::Style::Objects.3 +#usr/share/man/man3/XML::Parser::Style::Stream.3 +#usr/share/man/man3/XML::Parser::Style::Subs.3 +#usr/share/man/man3/XML::Parser::Style::Tree.3 Added: ipcop/trunk/config/rootfiles/common/XML-Simple =================================================================== --- ipcop/trunk/config/rootfiles/common/XML-Simple (rev 0) +++ ipcop/trunk/config/rootfiles/common/XML-Simple 2008-07-31 16:15:30 UTC (rev 1618) @@ -0,0 +1,10 @@ +## XML-Simple-2.18 +## +#usr/lib/perl5/site_perl/5.8.8/XML +#usr/lib/perl5/site_perl/5.8.8/XML/Simple +usr/lib/perl5/site_perl/5.8.8/XML/Simple.pm +#usr/lib/perl5/site_perl/5.8.8/XML/Simple/FAQ.pod +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML/Simple +#usr/lib/perl5/site_perl/5.8.8/MACHINE-linux/auto/XML/Simple/.packlist +#usr/share/man/man3/XML::Simple.3 +#usr/share/man/man3/XML::Simple::FAQ.3 Modified: ipcop/trunk/config/rootfiles/common/perl =================================================================== --- ipcop/trunk/config/rootfiles/common/perl 2008-07-31 16:10:23 UTC (rev 1617) +++ ipcop/trunk/config/rootfiles/common/perl 2008-07-31 16:15:30 UTC (rev 1618) @@ -1118,7 +1118,7 @@ #usr/lib/perl5/5.8.8/unicore/NamedSequences.txt #usr/lib/perl5/5.8.8/unicore/NamesList.txt #usr/lib/perl5/5.8.8/unicore/NormalizationCorrections.txt -#usr/lib/perl5/5.8.8/unicore/PVA.pl +usr/lib/perl5/5.8.8/unicore/PVA.pl #usr/lib/perl5/5.8.8/unicore/PropList.txt #usr/lib/perl5/5.8.8/unicore/PropValueAliases.txt #usr/lib/perl5/5.8.8/unicore/Properties Added: ipcop/trunk/lfs/XML-Parser =================================================================== --- ipcop/trunk/lfs/XML-Parser (rev 0) +++ ipcop/trunk/lfs/XML-Parser 2008-07-31 16:15:30 UTC (rev 1618) @@ -0,0 +1,91 @@ +############################################################################### +# This file is part of the IPCop Firewall. # +# # +# IPCop 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 2 of the License, or # +# (at your option) any later version. # +# # +# IPCop 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 IPCop; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Makefiles are based on LFSMake, which is # +# Copyright (C) 2002 Rod Roard <ro...@su...> # +# # +# Modifications by: # +# ??-12-2003 Mark Wormgoor < ma...@wo...> # +# - Modified Makefile for IPCop build # +# # +# $Id$ +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = XML-Parser +VER = 2.36 +HOST_ARCH = all +OTHER_SRC = yes + +THISAPP = XML-Parser-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_CPAN)/XML +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 1b868962b658bd87e1563ecd56498ded + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + + cd $(DIR_APP) && yes 'n' | perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + + @rm -rf $(DIR_APP) + @$(POSTBUILD) + Property changes on: ipcop/trunk/lfs/XML-Parser ___________________________________________________________________ Added: svn:keywords + Id Added: ipcop/trunk/lfs/XML-Simple =================================================================== --- ipcop/trunk/lfs/XML-Simple (rev 0) +++ ipcop/trunk/lfs/XML-Simple 2008-07-31 16:15:30 UTC (rev 1618) @@ -0,0 +1,90 @@ +############################################################################### +# This file is part of the IPCop Firewall. # +# # +# IPCop 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 2 of the License, or # +# (at your option) any later version. # +# # +# IPCop 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 IPCop; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Makefiles are based on LFSMake, which is # +# Copyright (C) 2002 Rod Roard <ro...@su...> # +# # +# Modifications by: # +# ??-12-2003 Mark Wormgoor < ma...@wo...> # +# - Modified Makefile for IPCop build # +# # +# $Id$ +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = XML-Simple +VER = 2.18 +HOST_ARCH = all +OTHER_SRC = yes + +THISAPP = $(PKG_NAME)-$(VER) +DL_FILE = $(PKG_NAME)-$(VER).tar.gz +DL_FROM = $(URL_CPAN)/XML +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 593aa8001e5c301cdcdb4bb3b63abc33 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + + cd $(DIR_APP) && yes 'n' | perl Makefile.PL + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + + @rm -rf $(DIR_APP) + @$(POSTBUILD) Property changes on: ipcop/trunk/lfs/XML-Simple ___________________________________________________________________ Added: svn:keywords + Id Modified: ipcop/trunk/make.sh =================================================================== --- ipcop/trunk/make.sh 2008-07-31 16:10:23 UTC (rev 1617) +++ ipcop/trunk/make.sh 2008-07-31 16:15:30 UTC (rev 1618) @@ -1768,7 +1768,6 @@ chroot_make ethtool chroot_make ez-ipupdate chroot_make fcron - chroot_make GD chroot_make gnupg chroot_make hdparm chroot_make ibod @@ -1790,6 +1789,7 @@ chroot_make mtools chroot_make nano chroot_make nasm + # PERL CPAN packages chroot_make Archive-Zip # OpenVPN chroot_make URI chroot_make HTML-Tagset @@ -1797,20 +1797,24 @@ chroot_make Compress-Zlib chroot_make Digest-SHA1 chroot_make Digest-HMAC + chroot_make GD chroot_make libwww-perl + chroot_make Locale-Maketext-Gettext chroot_make Net-IP chroot_make Net-DNS chroot_make Net-Netmask # OpenVPN chroot_make Net-IPv4Addr chroot_make Net-SSLeay chroot_make Text-Parsewords + chroot_make XML-Parser + chroot_make XML-Simple + # end of CPAN chroot_make noip_updater chroot_make ntp chroot_make oinkmaster chroot_make openssh chroot_make openswan chroot_make openvpn - chroot_make Locale-Maketext-Gettext chroot_make pptp chroot_make cgilib chroot_make libart This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |