aboutsummaryrefslogtreecommitdiffstats
path: root/www/fswiki/files
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2005-05-29 11:06:34 +0800
committerkuriyama <kuriyama@FreeBSD.org>2005-05-29 11:06:34 +0800
commitc9f6d2e77e654248581d1097a5ad52b7834ef936 (patch)
treeae631291749b8b810e76402d96048da08241a49d /www/fswiki/files
parentd722b97d97d85055e33d4d4b67cb4f65fb2d8553 (diff)
downloadfreebsd-ports-gnome-c9f6d2e77e654248581d1097a5ad52b7834ef936.tar.gz
freebsd-ports-gnome-c9f6d2e77e654248581d1097a5ad52b7834ef936.tar.zst
freebsd-ports-gnome-c9f6d2e77e654248581d1097a5ad52b7834ef936.zip
- Update to 3.5.8 (including XSS problem fix).
Submitted by: Toshiya SAITOH <toshiya@saitoh.nu> PR: ports/81520
Diffstat (limited to 'www/fswiki/files')
-rw-r--r--www/fswiki/files/patch-CGI2.pm20
-rw-r--r--www/fswiki/files/patch-DefaultStorage.pm17
-rw-r--r--www/fswiki/files/patch-Wiki.pm20
3 files changed, 0 insertions, 57 deletions
diff --git a/www/fswiki/files/patch-CGI2.pm b/www/fswiki/files/patch-CGI2.pm
deleted file mode 100644
index c951de067110..000000000000
--- a/www/fswiki/files/patch-CGI2.pm
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/CGI2.pm.orig Sun Aug 22 13:49:49 2004
-+++ lib/CGI2.pm Mon Nov 8 12:55:21 2004
-@@ -30,7 +30,7 @@
- my $dir = $wiki->config('session_dir');
- my $limit = $wiki->config('session_limit');
-
-- opendir(SESSION_DIR,$dir) or die $!;
-+ opendir(SESSION_DIR,$dir) or die "$!: $dir";
- my $timeout = time() - (60 * $limit);
- while(my $entry = readdir(SESSION_DIR)){
- if($entry =~ /^cgisess_/){
-@@ -54,7 +54,7 @@
- # セッション開始フラグが立っておらず、CookieにセッションIDが
- # 存在しない場合はセッションを生成しない
- if(!defined($self->{session_cache})){
-- if($start!=1 && $self->cookie(-name=>'CGISESSID') eq ""){
-+ if((not defined $start or $start!=1) && $self->cookie(-name=>'CGISESSID') eq ""){
- return undef;
- }
- my $dir = $wiki->config('session_dir');
diff --git a/www/fswiki/files/patch-DefaultStorage.pm b/www/fswiki/files/patch-DefaultStorage.pm
deleted file mode 100644
index c1b199b9f212..000000000000
--- a/www/fswiki/files/patch-DefaultStorage.pm
+++ /dev/null
@@ -1,17 +0,0 @@
---- lib/Wiki/DefaultStorage.pm.orig Sun Aug 22 13:49:52 2004
-+++ lib/Wiki/DefaultStorage.pm Mon Nov 8 12:56:44 2004
-@@ -324,12 +324,12 @@
- my $page = shift;
- my $path = shift;
-
-- if(defined($self->{exists_cache}->{"$path:$page"})){
-+ if($self->{exists_cache} and defined($self->{exists_cache}->{"$path:$page"})){
- return $self->{exists_cache}->{"$path:$page"};
- }
-
- my $dir = $self->{wiki}->config('data_dir');
-- if($path ne ""){
-+ if(defined $path and $path ne ""){
- $dir = "$dir/$path";
- }
-
diff --git a/www/fswiki/files/patch-Wiki.pm b/www/fswiki/files/patch-Wiki.pm
deleted file mode 100644
index 0b1d23833d28..000000000000
--- a/www/fswiki/files/patch-Wiki.pm
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/Wiki.pm.orig Sun Aug 22 13:49:50 2004
-+++ lib/Wiki.pm Mon Nov 8 12:56:01 2004
-@@ -41,7 +41,7 @@
- # 設定を読み込み
- my $setupfile = shift || 'setup.dat';
- $self->{"config"} = &Util::load_config_hash(undef,$setupfile);
-- die "setup file ${setupfile} not found" if scalar(%{$self->{"config"}}) == 0;
-+ die "setup file ${setupfile} not found" if (keys %{$self->{"config"}} == 0);
- $self->{"config"}->{"plugin_dir"} = "." unless exists($self->{"config"}->{"plugin_dir"});
- $self->{"config"}->{"frontpage"} = "FrontPage" unless exists($self->{"config"}->{"frontpage"});
- unshift(@INC, $self->{"config"}->{"plugin_dir"});
-@@ -1444,7 +1444,7 @@
- sub farm_is_enable {
- my $self = shift;
- my $farm_config = &Util::load_config_hash($self,$self->config('farmconf_file'));
-- if($farm_config->{usefarm}==1){
-+ if(defined $farm_config->{usefarm} and $farm_config->{usefarm}==1){
- return 1;
- } else {
- return 0;