perl-DBD-mysql module added
authorroot <root@ipfire.localdomain>
Sun, 5 Apr 2009 12:49:00 +0000 (14:49 +0200)
committerroot <root@ipfire.localdomain>
Sun, 5 Apr 2009 12:49:00 +0000 (14:49 +0200)
config/rootfiles/packages/perl-DBD-mysql [new file with mode: 0644]
doc/packages-list.txt
lfs/perl-DBD-mysql [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/packages/perl-DBD-mysql b/config/rootfiles/packages/perl-DBD-mysql
new file mode 100644 (file)
index 0000000..b20101b
--- /dev/null
@@ -0,0 +1,14 @@
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Bundle/DBD
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Bundle/DBD/mysql.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/mysql
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/mysql.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/mysql/GetInfo.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/DBD/mysql/INSTALL.pod
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBD
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBD/mysql
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBD/mysql/.packlist
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBD/mysql/mysql.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/DBD/mysql/mysql.so
+#usr/share/man/man3/Bundle::DBD::mysql.3
+#usr/share/man/man3/DBD::mysql.3
+#usr/share/man/man3/DBD::mysql::INSTALL.3
index 9f0acf8b865f5137b7f6da4e1cac76b85c188e11..080b547de5f3242432b7779dde7657e18aad39ba 100644 (file)
@@ -6,6 +6,7 @@
 * Compress-Zlib-1.35
 * Convert-TNEF-0.17
 * Convert-UUlib-1.06
 * Compress-Zlib-1.35
 * Convert-TNEF-0.17
 * Convert-UUlib-1.06
+* DBD-mysql-4.010
 * DBI-1.607
 * DFB++-1.0.0
 * Digest-1.08
 * DBI-1.607
 * DFB++-1.0.0
 * Digest-1.08
 * lynis-1.2.3
 * lzo-2.02
 * m4-1.4.4
 * lynis-1.2.3
 * lzo-2.02
 * m4-1.4.4
+* mISDNuser-1_1_9
 * mISDNuser.git-f69adb52764c392135800f9a87c9018f9f268139
 * madwifi-hal-0.10.5.6-r3942-20090205-kmod-2.6.27.21
 * make-3.81
 * mISDNuser.git-f69adb52764c392135800f9a87c9018f9f268139
 * madwifi-hal-0.10.5.6-r3942-20090205-kmod-2.6.27.21
 * make-3.81
 * rssdler-0.4.0a
 * rsync-3.0.4
 * rtorrent-0.8.4
 * rssdler-0.4.0a
 * rsync-3.0.4
 * rtorrent-0.8.4
+* samba-3.3.2
 * samba-3.3.3
 * sane-1.0.19
 * screen-4.0.3
 * samba-3.3.3
 * sane-1.0.19
 * screen-4.0.3
diff --git a/lfs/perl-DBD-mysql b/lfs/perl-DBD-mysql
new file mode 100644 (file)
index 0000000..3f35f05
--- /dev/null
@@ -0,0 +1,84 @@
+###############################################################################
+#                                                                             #
+# 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        = 4.010
+
+THISAPP    = DBD-mysql-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = perl-DBD-mysql
+PAK_VER    = 1
+DEPS       = perl-DBI
+
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = a63c9f73afef70b6c80d899424b003e9
+
+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 e8ce33e914bf5f05d1de162149a5e19883b008a0..caa68782c9597455b91b184eda0cd6573e6d02a4 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -595,6 +595,7 @@ buildipfire() {
   ipfiremake miau
   ipfiremake net-snmp
   ipfiremake perl-DBI
   ipfiremake miau
   ipfiremake net-snmp
   ipfiremake perl-DBI
+  ipfiremake perl-DBD-mysql
   echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
   cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
   echo >> $BASEDIR/build/var/ipfire/firebuild
   echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
   cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
   echo >> $BASEDIR/build/var/ipfire/firebuild