From: Adam Gołębiowski Date: Thu, 17 Jul 2003 15:20:45 +0000 (+0000) Subject: - outdated X-Git-Tag: auto/ac/PHP-nuke-6_9-0_1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2FPHP-nuke.git;a=commitdiff_plain;h=cc08edfcdad0e626a17ffb02579c123eb6834165 - outdated Changed files: PHP-nuke-official_fix.patch -> 1.2 PHP-nuke-official_security.patch -> 1.2 --- diff --git a/PHP-nuke-official_fix.patch b/PHP-nuke-official_fix.patch deleted file mode 100644 index 169e52e..0000000 --- a/PHP-nuke-official_fix.patch +++ /dev/null @@ -1,92 +0,0 @@ -diff -Naur PHP-Nuke-6.0/html/includes/counter.php PHP-Nuke-6.0.oden/html/includes/counter.php ---- PHP-Nuke-6.0/html/includes/counter.php 2002-09-16 01:40:28.000000000 -0400 -+++ PHP-Nuke-6.0.oden/html/includes/counter.php 2002-09-24 00:04:44.000000000 -0400 -@@ -70,18 +70,11 @@ - sql_query("insert into ".$prefix."_stats_month values('$nowYear','$i','0')",$dbi); - if ($i == 1) $TotalDay = 31; - if ($i == 2) { -- /* - if (date("L") == true) { - $TotalDay = 29; - } else { - $TotalDay = 28; - } -- */ -- if (($nowYear % 4) == 0) { -- $TotalDay = 28; -- } else { -- $TotalDay = 29; -- } - } - if ($i == 3) $TotalDay = 31; - if ($i == 4) $TotalDay = 30; -diff -Naur PHP-Nuke-6.0/html/includes/install.php PHP-Nuke-6.0.oden/html/includes/install.php ---- PHP-Nuke-6.0/html/includes/install.php 2002-09-16 01:46:47.000000000 -0400 -+++ PHP-Nuke-6.0.oden/html/includes/install.php 2002-09-23 23:50:00.000000000 -0400 -@@ -274,7 +274,7 @@ - Version_Num varchar(10) NOT NULL default '' - )", $dbi); - // DO NOT REMOVE NOR CHANGE/EDIT THE FOLLOWING LINE BECAUSE IT CONTAINS COPYRIGHT INFORMATION. TO EDIT THESE VALUES GO TO THE ADMINISTRATION SYSTEM. --mysql_query("INSERT INTO ".$prefix."_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','\'Web
','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file backend.php or ultramode.txt',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.','6.0')", $dbi); -+mysql_query("INSERT INTO ".$prefix."_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','\"Web
','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file backend.php or ultramode.txt',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.','6.0')", $dbi); - - ///////////////////////////////////////////// - -@@ -926,8 +926,8 @@ - - sql_query("CREATE TABLE ".$prefix."_pollcomments ( - tid int(11) NOT NULL auto_increment, -- pid int(11) default '0', -- pollID int(11) default '0', -+ pid int(11) NOT NULL default '0', -+ pollID int(11) NOT NULL default '0', - date datetime default NULL, - name varchar(60) NOT NULL default '', - email varchar(60) default NULL, -diff -Naur PHP-Nuke-6.0/sql/nuke.sql PHP-Nuke-6.0.oden/sql/nuke.sql ---- PHP-Nuke-6.0/sql/nuke.sql 2002-09-16 01:46:03.000000000 -0400 -+++ PHP-Nuke-6.0.oden/sql/nuke.sql 2002-09-23 23:48:38.000000000 -0400 -@@ -334,7 +334,7 @@ - # Dumping data for table 'nuke_config' - # - --INSERT INTO nuke_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','\'Web
','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file backend.php or ultramode.txt',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.','6.0'); -+INSERT INTO nuke_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','\"Web
','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file backend.php or ultramode.txt',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.','6.0'); - - - # -@@ -1240,8 +1240,8 @@ - - CREATE TABLE nuke_pollcomments ( - tid int(11) NOT NULL auto_increment, -- pid int(11) default '0', -- pollID int(11) default '0', -+ pid int(11) NOT NULL default '0', -+ pollID int(11) NOT NULL default '0', - date datetime default NULL, - name varchar(60) NOT NULL default '', - email varchar(60) default NULL, -diff -Naur PHP-Nuke-6.0/upgrades/upgrade56-60.php PHP-Nuke-6.0.oden/upgrades/upgrade56-60.php ---- PHP-Nuke-6.0/upgrades/upgrade56-60.php 2002-09-16 01:44:53.000000000 -0400 -+++ PHP-Nuke-6.0.oden/upgrades/upgrade56-60.php 2002-09-23 23:53:27.000000000 -0400 -@@ -63,9 +63,9 @@ - if ($adminmail == "") { $adminmail = "webmaster@yoursite.com"; } - if ($anonpost == "") { $anonpost = 0; } - if ($Default_Theme == "") { $Default_Theme = "NukeNews"; } --if ($foot1 == "") { $foot1 = "Web site powered by PHP-Nuke"; } -+if ($foot1 == "") { $foot1 = "\"Web"; } - if ($foot2 == "") { $foot2 = "All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by $sitename"; } --if ($foot3 == "") { $foot3 = "You can syndicate our news using the file backend.php or ultramode.txt"; } -+if ($foot3 == "") { $foot3 = "You can syndicate our news using the file backend.php or ultramode.txt"; } - if ($commentlimit == "") { $commentlimit = 4096; } - if ($anonymous == "") { $anonymous = "Anonymous"; } - if ($minpass == "") { $minpass = 5; } -@@ -93,7 +93,7 @@ - if ($httprefmax == "") { $httprefmax = 1000; } - if ($CensorMode == "") { $CensorMode = 0; } - if ($CensorReplace == "") { $CensorReplace = "*****"; } --$copyright = "Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license."; -+$copyright = "Web site engine\'s code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license."; - $broadcast_msg = 1; - $my_headlines = 1; - $user_news = 1; diff --git a/PHP-nuke-official_security.patch b/PHP-nuke-official_security.patch deleted file mode 100644 index 0665537..0000000 --- a/PHP-nuke-official_security.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -urN html.orig/index.php html/index.php ---- html.orig/index.php Mon Sep 16 07:40:32 2002 -+++ html/index.php Tue Feb 4 09:55:34 2003 -@@ -33,7 +33,7 @@ - } - if (!isset($mop)) { $mop="modload"; } - if (!isset($mod_file)) { $mod_file="index"; } --if (ereg("\.\.",$name) || ereg("\.\.",$file)) { -+if (ereg("\.\.",$name) || ereg("\.\.",$file) || ereg("\.\.", $mod_file) || ereg("\.\.", $mop)) { - echo "You are so cool..."; - } else { - $ThemeSel = get_theme(); -diff -urN html.orig/mainfile.php html/mainfile.php ---- html.orig/mainfile.php Mon Sep 16 07:40:32 2002 -+++ html/mainfile.php Tue Feb 4 09:54:43 2003 -@@ -1,5 +1,9 @@ -