Perl-module DBI added
authorroot <root@ipfire.localdomain>
Sun, 5 Apr 2009 09:14:47 +0000 (11:14 +0200)
committerroot <root@ipfire.localdomain>
Sun, 5 Apr 2009 09:14:47 +0000 (11:14 +0200)
config/rootfiles/packages/perl-DBI [new file with mode: 0644]
doc/packages-list.txt
lfs/perl-DBI [new file with mode: 0644]
make.sh
src/paks/perl-DBI/install.sh [new file with mode: 0644]
src/paks/perl-DBI/uninstall.sh [new file with mode: 0644]
src/paks/perl-DBI/update.sh [new file with mode: 0644]

diff --git a/config/rootfiles/packages/perl-DBI b/config/rootfiles/packages/perl-DBI
new file mode 100644 (file)
index 0000000..a49f69d
--- /dev/null
@@ -0,0 +1,127 @@
+usr/bin/dbilogstrip
+usr/bin/dbiprof
+usr/bin/dbiproxy
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Bundle/DBI.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/DBM.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/ExampleP.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/File.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Policy
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Policy/Base.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Policy/classic.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Policy/pedantic.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Policy/rush.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Transport
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Transport/Base.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Transport/null.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Transport/pipeone.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Gofer/Transport/stream.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/NullP.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Proxy.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/Sponge.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Changes.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Const
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Const/GetInfo
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Const/GetInfo/ANSI.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Const/GetInfo/ODBC.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Const/GetInfoReturn.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Const/GetInfoType.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/DBD
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/DBD.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/DBD/Metadata.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/FAQ.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Execute.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Request.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Response.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Serializer
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Serializer/Base.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Serializer/DataDumper.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Serializer/Storable.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Transport
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Transport/Base.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Transport/pipeone.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Gofer/Transport/stream.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Profile.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/ProfileData.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/ProfileDumper
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/ProfileDumper.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/ProfileDumper/Apache.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/ProfileSubs.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/ProxyServer.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/PurePerl.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Roadmap.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/SQL
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/SQL/Nano.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Util
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Util/CacheMemory.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/Util/_accessor.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBI/W32ODBC.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Roadmap.pod
+usr/lib/perl5/site_perl/5.8.8/i586-linux/TASKS.pod
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Win32
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Win32/DBIODBC.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/.packlist
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/DBI.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/DBI.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/DBIXS.h
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/Driver.xst
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/Driver_xst.h
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/dbd_xsh.h
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/dbi_sql.h
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/dbipport.h
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/dbivport.h
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBI/dbixs_rev.h
+usr/lib/perl5/site_perl/5.8.8/i586-linux/dbixs_rev.pl
+#usr/share/man/man1/dbilogstrip.1
+#usr/share/man/man1/dbiprof.1
+#usr/share/man/man1/dbiproxy.1
+#usr/share/man/man3/Bundle::DBI.3
+#usr/share/man/man3/DBD::DBM.3
+#usr/share/man/man3/DBD::File.3
+#usr/share/man/man3/DBD::Gofer.3
+#usr/share/man/man3/DBD::Gofer::Policy::Base.3
+#usr/share/man/man3/DBD::Gofer::Policy::classic.3
+#usr/share/man/man3/DBD::Gofer::Policy::pedantic.3
+#usr/share/man/man3/DBD::Gofer::Policy::rush.3
+#usr/share/man/man3/DBD::Gofer::Transport::Base.3
+#usr/share/man/man3/DBD::Gofer::Transport::null.3
+#usr/share/man/man3/DBD::Gofer::Transport::pipeone.3
+#usr/share/man/man3/DBD::Gofer::Transport::stream.3
+#usr/share/man/man3/DBD::Proxy.3
+#usr/share/man/man3/DBD::Sponge.3
+#usr/share/man/man3/DBI.3
+#usr/share/man/man3/DBI::Const::GetInfo::ANSI.3
+#usr/share/man/man3/DBI::Const::GetInfo::ODBC.3
+#usr/share/man/man3/DBI::Const::GetInfoReturn.3
+#usr/share/man/man3/DBI::Const::GetInfoType.3
+#usr/share/man/man3/DBI::DBD.3
+#usr/share/man/man3/DBI::DBD::Metadata.3
+#usr/share/man/man3/DBI::FAQ.3
+#usr/share/man/man3/DBI::Gofer::Execute.3
+#usr/share/man/man3/DBI::Gofer::Request.3
+#usr/share/man/man3/DBI::Gofer::Response.3
+#usr/share/man/man3/DBI::Gofer::Serializer::Base.3
+#usr/share/man/man3/DBI::Gofer::Serializer::DataDumper.3
+#usr/share/man/man3/DBI::Gofer::Serializer::Storable.3
+#usr/share/man/man3/DBI::Gofer::Transport::Base.3
+#usr/share/man/man3/DBI::Gofer::Transport::pipeone.3
+#usr/share/man/man3/DBI::Gofer::Transport::stream.3
+#usr/share/man/man3/DBI::Profile.3
+#usr/share/man/man3/DBI::ProfileData.3
+#usr/share/man/man3/DBI::ProfileDumper.3
+#usr/share/man/man3/DBI::ProfileDumper::Apache.3
+#usr/share/man/man3/DBI::ProfileSubs.3
+#usr/share/man/man3/DBI::ProxyServer.3
+#usr/share/man/man3/DBI::PurePerl.3
+#usr/share/man/man3/DBI::SQL::Nano.3
+#usr/share/man/man3/DBI::Util::CacheMemory.3
+#usr/share/man/man3/DBI::W32ODBC.3
+#usr/share/man/man3/Roadmap.3
+#usr/share/man/man3/TASKS.3
+#usr/share/man/man3/Win32::DBIODBC.3
index 14cc59d..23569d7 100644 (file)
@@ -6,6 +6,7 @@
 * Compress-Zlib-1.35
 * Convert-TNEF-0.17
 * Convert-UUlib-1.06
+* DBI-1.607
 * DFB++-1.0.0
 * Digest-1.08
 * Digest-HMAC-1.01
diff --git a/lfs/perl-DBI b/lfs/perl-DBI
new file mode 100644 (file)
index 0000000..aa712ae
--- /dev/null
@@ -0,0 +1,82 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# 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 <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.607
+
+THISAPP    = DBI-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = perl-DBI
+PAK_VER    = 1
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = bd5785b39675213948a61dea1b400012
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && perl Makefile.PL
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 75488bc..e8ce33e 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -594,6 +594,7 @@ buildipfire() {
   ipfiremake vdradmin
   ipfiremake miau
   ipfiremake net-snmp
+  ipfiremake perl-DBI
   echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
   cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
   echo >> $BASEDIR/build/var/ipfire/firebuild
diff --git a/src/paks/perl-DBI/install.sh b/src/paks/perl-DBI/install.sh
new file mode 100644 (file)
index 0000000..3fe8bc6
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire 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.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2009 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+extract_files
diff --git a/src/paks/perl-DBI/uninstall.sh b/src/paks/perl-DBI/uninstall.sh
new file mode 100644 (file)
index 0000000..f786519
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire 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.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2009 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+remove_files
diff --git a/src/paks/perl-DBI/update.sh b/src/paks/perl-DBI/update.sh
new file mode 100644 (file)
index 0000000..89c40d0
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire 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.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+./uninstall.sh
+./install.sh