47 Commits

Author SHA1 Message Date
juhosg
ca38a2145e mysql: revert PKG_SOURCE_URL previous patch
This patch reverts previous patch that fixes already
fixed non-functional repos. MySQL archives repo is
duplicit and planetmirror is offline.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 22:04:14 +00:00
florian
f4fba8380b mysql: fix download mirror URL
All source mirrors in current feed seems to be unavaliable. Patch adds
official mysql repo.

Signed-off-by: Yegor Ivanov <infactum@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:59:35 +00:00
juhosg
f96c93e161 mysql: version bump to 5.1.68
This patch bumps MySQL to latest version and also repairs
missing/not working mirrors (planetmirror is offline and
holywar.net does not provide mysql anymore). If a source
package does not exist at mirror repo (they seem to keep
the latest two versions at mysql repo), it uses the archives
repo at last.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:13:45 +00:00
nbd
4e390f26ac mysql: update to 5.1.66 and clean up the makefile, fixes #11065
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 19:32:26 +00:00
florian
d846acfe60 [packages] make packages depending on uclibc++ depend on CXX_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 16:57:58 +00:00
nbd
ca74ca9b86 packages: fix parallel build by adding + for every make command that passes the jobserver
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:58:24 +00:00
nbd
2c667a4572 mysql: rename libmysqlclient_r to libmysqlclient-r to avoid opkg issues
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 20:33:37 +00:00
nbd
b95bcb663d mysql: fix dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 20:33:32 +00:00
jow
3f20ac0443 [packages] mysql: fix compilation with gcc 4.6
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:27:27 +00:00
acinonyx
1fc4821c77 [packages] mysql: Add missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 13:23:25 +00:00
nico
d063a0f5e2 packages: add missing conffiles define
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 20:02:41 +00:00
nico
a05b905d05 packages/mysql: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 09:44:18 +00:00
florian
f198212712 [package] Fix mysql dependencies
Trying to fix some issues with php5 I discoverd that php5's mysql extension doesn't load:

<snip>
root@OpenWrt:/tmp# php-cli -m
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/mysql.so' - File not found in Unknown on line 0
[PHP Modules]
Core
ctype
curl
date
ereg
gettext
json
openssl
pcntl
pcre
posix
Reflection
session
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
zlib

[Zend Modules]
</snap>

After installing uclibcxx, the extension loads fine:

<snip>
root@OpenWrt:/tmp# opkg install uclibcxx
Installing uclibcxx (0.2.2-3) to root...
Downloading http://192.168.1.2:8081/brcm47xx/packages/uclibcxx_0.2.2-3_brcm47xx.ipk.
Configuring uclibcxx.
root@OpenWrt:/tmp# php-cli -m
[PHP Modules]
<...>
mysql
<...>

[Zend Modules]
</snap>

So the mysqlclient library needs uclibcxx, not only mysql-server. But since
mysql-server is depended of the mysqlclient library we can shorten its dependencies.

I also cross-checked that e.g. a mysql-enabled lighttpd shows the same behaviour
when uclibcxx is not installed.
<snip>
root@OpenWrt:/tmp/log/lighttpd# lighttpd -f /etc/lighttpd/lighttpd.conf
1970-01-01 05:07:30: (plugin.c.169) dlopen() failed for: /usr/lib/lighttpd/mod_mysql_vhost.so File not found
1970-01-01 05:07:30: (server.c.650) loading plugins finally failed
</snap>

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-25 10:10:38 +00:00
hauke
5e589420a7 mysql: fix a compile error on some host systems.
conf_to_src.c uses C++ functions so we should use g++ for compiling.
The CFLAGS, CPPFLAGS and LDFLAGS for host build should be used and not the for target builds.

This closes #8342


git-svn-id: svn://svn.openwrt.org/openwrt/packages@26540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 12:58:10 +00:00
jow
ad71577e93 [packages] mysql: fix /bin/hostname invocation in table install script, openwrt does not have this command
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 22:41:46 +00:00
jow
1f9e1e9ca6 [packages] mysql: ensure linking against libuClibc++, also install system table data sql file
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 22:29:00 +00:00
jow
f3ee96fda8 [packages] mysql: ship mysql_system_tables.sql with mysql-server
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 14:02:29 +00:00
jow
c0a0850864 [packages] mysql: don't autoreconf
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 19:25:08 +00:00
hauke
93708bdda8 mysql: decrease package number
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-21 14:12:03 +00:00
hauke
1e0adcb336 mysql: update to version 5.1.53
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-21 14:09:24 +00:00
mb
5de55c25cc mysql: Parallel build fixes
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 18:06:28 +00:00
florian
98120d9b4b [package] add mysql-server (#7384)
This is a patch to build the mysql server. So far I only have the
kirkwood target to test on, but it works great on that.

There seems to be some contention on whether Openwrt should have a
mysql-server package, but I don't see why it shouldn't at least have
the option. A full LAMP stack is now a reality.

Closes out https://dev.openwrt.org/ticket/7384

Again, I'm still pretty new to this, so any constructive criticism
would be appreciated.

Sorry for the attachment, but I wanted to make sure the whitespace and
lines got preserved.

Signed-off-by: Kyle Anderson <kyle@xkyle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 18:04:02 +00:00
florian
f12d068458 [package] package the thread-safe mysql library client, patch from Michael Geddes
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-20 12:12:54 +00:00
lars
670b3b177d [packages] Add missing libtool fixups
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 00:14:01 +00:00
lars
1e28de24b4 [packages] Use default templates instead of custom reimplementations where applicable
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-18 13:10:21 +00:00
nbd
996067d6b3 nuke $Id$ in /packages as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:22:30 +00:00
nbd
b0190e566b enable $(FPIC) for a few more packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:43:15 +00:00
florian
74dc198393 Makefile cleanups, round 5
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 22:03:15 +00:00
nbd
f2e55a8fb5 lots of package cleanups/fixes
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:12:26 +00:00
nbd
bf06dbb788 remove UninstallDev
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 01:59:55 +00:00
nbd
f9e6470bd0 fix libmysqlclient staging
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 21:34:53 +00:00
nbd
e296673ba6 packages: Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@9695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 18:59:01 +00:00
blogic
0550a9ac78 remove PKG_CAT from packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 18:46:37 +00:00
blogic
1120328d15 InstallDev should be using (1) and not (STAGING_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 03:20:26 +00:00
nico
104fdbff08 install a missing header (mysqld_error.h) required to build the MySQL-Python module.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-27 02:22:08 +00:00
nico
04ea4d506f proper fix for asterisk14-mysql recursive dependency, it was a faulty dependency in libmysqlclient (revert [8667] & [8668], closes: #2325)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 18:00:08 +00:00
nico
4d878e0bbe cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 17:33:10 +00:00
nbd
c0e5247848 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
nico
9cf5c34593 revert autotools files touching: it has side effects (closes: #918)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-05 20:12:42 +00:00
florian
77f85c7628 Update makefiles to use the autotools stuff put in the template, remove bogus stamp-h.in touching
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-02 23:01:45 +00:00
nico
d1cac1e535 use Build/Configure/Default macro, Makefile cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-28 22:43:08 +00:00
nbd
00c32b752c cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 15:26:14 +00:00
nbd
aa1347d675 cross compile fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 17:19:26 +00:00
mbm
c550c2e3fe fix yet more dependancies
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-02 18:36:34 +00:00
nico
a30ee1350a change SECTION and CATEGORY to put packages in the right place, change PKG_BUILDDEPs to use package-name instead of source-name (seems to work best with WR sdk).
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-26 01:26:21 +00:00
nico
21879e92d8 add build-time dependencies on ncurses and readline
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-22 13:28:42 +00:00
nico
dfdbf89c17 port mysql (client library) to buildroot-ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 14:56:26 +00:00