From: root Date: Sun, 5 Apr 2009 12:49:00 +0000 (+0200) Subject: perl-DBD-mysql module added X-Git-Tag: v2.5-beta1~55 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=880cb343ddb17d2c6e1c99e38990049978faab07;ds=sidebyside perl-DBD-mysql module added --- diff --git a/config/rootfiles/packages/perl-DBD-mysql b/config/rootfiles/packages/perl-DBD-mysql new file mode 100644 index 0000000000..b20101bfe1 --- /dev/null +++ b/config/rootfiles/packages/perl-DBD-mysql @@ -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 diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 9f0acf8b86..080b547de5 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -6,6 +6,7 @@ * 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 @@ -184,6 +185,7 @@ * 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 @@ -257,6 +259,7 @@ * 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 diff --git a/lfs/perl-DBD-mysql b/lfs/perl-DBD-mysql new file mode 100644 index 0000000000..3f35f05741 --- /dev/null +++ b/lfs/perl-DBD-mysql @@ -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 . # +# # +############################################################################### + +############################################################################### +# 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 e8ce33e914..caa68782c9 100755 --- a/make.sh +++ b/make.sh @@ -595,6 +595,7 @@ buildipfire() { 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