Просмотр исходного кода

upgrading package: mysql 4.0.18 -> 4.0.20

Ralf S. Engelschall 21 лет назад
Родитель
Сommit
ab74368171
2 измененных файлов с 4 добавлено и 34 удалено
  1. 0 30
      mysql/mysql.patch
  2. 4 4
      mysql/mysql.spec

+ 0 - 30
mysql/mysql.patch

@@ -63,33 +63,3 @@
  #endif
  #ifdef DATADIR
  DATADIR,
-
-=============================================================================
-
-Fix two security bugs
-OpenPKG-2004.014-mysql, CAN-2004-0381, CAN-2004-0388
-
-Index: scripts/mysqlbug.sh
---- scripts/mysqlbug.sh.orig	2004-02-10 19:15:54.000000000 +0100
-+++ scripts/mysqlbug.sh	2004-04-14 21:12:44.000000000 +0200
-@@ -254,7 +254,7 @@
- if cmp -s $TEMP $TEMP.x
- then
-   echo "File not changed, no bug report submitted."
--  cp $TEMP /tmp/failed-mysql-bugreport
-+  mv -f $TEMP /tmp/failed-mysql-bugreport
-   echo "The raw bug report exists in /tmp/failed-mysql-bugreport"
-   echo "If you use this remember that the first lines of the report now is a lie.."
-   exit 1
-Index: scripts/mysqld_multi.sh
---- scripts/mysqld_multi.sh.orig	2004-02-10 19:16:06.000000000 +0100
-+++ scripts/mysqld_multi.sh	2004-04-14 22:08:34.000000000 +0200
-@@ -9,7 +9,7 @@
- $opt_config_file   = undef();
- $opt_example       = 0;
- $opt_help          = 0;
--$opt_log           = "/tmp/mysqld_multi.log";
-+$opt_log           = "$ENV{HOME}/mysqld_multi.log";
- $opt_mysqladmin    = "@bindir@/mysqladmin";
- $opt_mysqld        = "@libexecdir@/mysqld";
- $opt_no_log        = 0;

+ 4 - 4
mysql/mysql.spec

@@ -25,14 +25,14 @@
 
 #   package version
 %define       V_major   4.0
-%define       V_minor   18
+%define       V_minor   20
 %define       V_mysql   %{V_major}.%{V_minor}
 %define       V_opkg    %{V_major}.%{V_minor}
 
 #   package information
 Name:         mysql
 Summary:      Fast Relational Database Management System
-URL:          http://www.mysql.com/
+URL:          http://www.mysql.com/products/mysql/
 Vendor:       MySQL AB
 Packager:     The OpenPKG Project
 Distribution: OpenPKG
@@ -40,7 +40,7 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      %{V_opkg}
-Release:      20040414
+Release:      20040518
 
 #   package options
 %option       with_bdb       yes
@@ -75,7 +75,7 @@ AutoReqProv:  no
 %track
     prog mysql = {
         version   = %{V_major}.%{V_minor}
-        url       = http://www.mysql.com/downloads/mysql-4.0.html
+        url       = http://dev.mysql.com/downloads/mysql/%{V_major}.html
         regex     = mysql-(__VER__)\.tar\.gz
     }