diff -Nru fex-20110622/bin/fex_cleanup fex-20110726/bin/fex_cleanup
--- fex-20110622/bin/fex_cleanup 2011-06-02 20:58:12.000000000 +0200
+++ fex-20110726/bin/fex_cleanup 2011-07-26 23:27:23.000000000 +0200
@@ -34,6 +34,7 @@
$| = 1;
# use fex.ph for site configuration!
+our ($FEXHOME);
our ($logdir,$debug,$autodelete);
our ($akeydir,$ukeydir,$dkeydir,$skeydir,$gkeydir,$xkeydir);
$keep_default = 5;
@@ -41,6 +42,24 @@
# load common code, local config : $HOME/lib/fex.ph
require "$FEXLIB/fex.pp" or die "$0: cannot load $FEXLIB/fex.pp - $!\n";
+# extract locale notify functions from locale fex.pp
+# (needed for reminder e-mails)
+foreach my $fexpp (glob "$FEXHOME/locale/*/lib/fex.pp") {
+ local $/;
+ local $_;
+ $fexpp =~ m{.*/(\w+)/lib/fex.pp};
+ $locale = $1;
+ if ($locale and open $fexpp,$fexpp) {
+ $_ = <$fexpp>;
+ s/.*\n(sub notify)/\$notify{$locale} = sub/s;
+ s/\n\}.*/\n\}\n/s;
+ eval $_;
+ close $fexpp;
+ }
+}
+
+$notify{english} = \¬ify;
+
$opt_v = $opt_d = 0;
getopts('vd');
$opt_v = $opt_d if $opt_d;
@@ -320,8 +339,11 @@
$mtime+$warn*DS < $today and
$dkey = readlink("$file/dkey") and
not -s $download and
- not -f $notify) {
- notify(
+ not -f $notify
+ ) {
+ $locale = readlink "$file/locale" || 'english';
+ $locale = 'english' unless $notify{$locale};
+ &{$notify{$locale}}(
status => 'remind',
dkey => $dkey,
filename => filename($file),
diff -Nru fex-20110622/bin/fexget fex-20110726/bin/fexget
--- fex-20110622/bin/fexget 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/bin/fexget 2011-07-26 23:51:39.000000000 +0200
@@ -22,7 +22,7 @@
our $SH;
our $bs = 2**16; # blocksize for tcp-reading and writing file
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
@@ -31,28 +31,32 @@
my $usage = </dev/null`||'';
@@ -90,7 +94,7 @@
warn "$cmd\n";
}
open $cmd,"$cmd|" or die "$0: cannot run $cmd : $!\n";
- open $ffl,">$tmpdir/fexget" or die "$0: cannot open $tmpdir/fexget : $!\n";
+ open $ffl,'>',$ffl or die "$0: cannot open $ffl : $!\n";
my $n;
while (<$cmd>) {
if (/\d MB http/) {
@@ -107,10 +111,24 @@
}
die $usage if $opt_h;
-die $usage unless @ARGV;
-my ($file,%files,$download,$server,$port,$fop);
+if ($opt_a) {
+ $opt_X = $opt_a;
+ die $usage if @ARGV;
+ system qw(fexget -l);
+ print "\n";
+ if (open $ffl,$ffl) {
+ while (<$ffl>) {
+ push @ARGV,$1 if /^\s+(\d+)/;
+ }
+ close $ffl;
+ }
+} else {
+ die $usage unless @ARGV;
+}
+my ($file,%files,$download,$server,$port,$fop);
+
foreach my $url (@ARGV) {
# do not overrun server
@@ -118,7 +136,7 @@
if ($url !~ /^http/) {
unless (%files) {
- open $ffl,"$tmpdir/fexget" or die "$0: no $tmpdir/fexget, use first: $0 -l\n";
+ open $ffl,$ffl or die "$0: no $ffl, use first: $0 -l\n";
my $from = '';
while (<$ffl>) {
if (/^from (.+) :$/) {
@@ -180,7 +198,7 @@
unlink $download unless -s $download;
exit 2 unless -f $download;
- if ($download =~ /$atype/) {
+ if (not $opt_X and $download =~ /$atype/) {
if (-t) {
print "Files in archive:\n";
if ($download =~ /\.tgz$/) {
@@ -217,10 +235,11 @@
}
}
+
exit;
sub cont {
- print "extract these files? ";
+ print "extract these files (Y/n)? ";
$_ = ||'y';
unless (/^y/i) {
print "keeping $download\n";
diff -Nru fex-20110622/bin/fexsend fex-20110726/bin/fexsend
--- fex-20110622/bin/fexsend 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/bin/fexsend 2011-07-26 23:51:39.000000000 +0200
@@ -25,7 +25,7 @@
our ($SH,$fexhome,$idf,$tmpdir,$windoof,$sigpipe,$useragent,$editor,$chunksize);
our ($FEXID,$FEXXX);
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
@@ -84,6 +84,7 @@
$usage = < 2**10;
use constant M => 2**20;
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
diff -Nru fex-20110622/bin/sexsend fex-20110726/bin/sexsend
--- fex-20110622/bin/sexsend 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/bin/sexsend 2011-07-26 23:51:39.000000000 +0200
@@ -17,7 +17,7 @@
use constant k => 2**10;
use constant M => 2**20;
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
diff -Nru fex-20110622/bin/sexxx fex-20110726/bin/sexxx
--- fex-20110622/bin/sexxx 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/bin/sexxx 2011-07-26 23:51:39.000000000 +0200
@@ -17,7 +17,7 @@
use constant k => 2**10;
use constant M => 2**20;
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
diff -Nru fex-20110622/bin/xx fex-20110726/bin/xx
--- fex-20110622/bin/xx 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/bin/xx 2011-07-26 23:51:39.000000000 +0200
@@ -25,7 +25,7 @@
our ($SH,$fexhome,$idf,$tmpdir,$windoof,$sigpipe,$useragent,$editor,$chunksize);
our ($FEXID,$FEXXX);
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
@@ -84,6 +84,7 @@
$usage = <Watch logfile") . "\n" .
li("Get fexsrv.log") . "\n" .
li("Get fup.log") . "\n" .
- li("Get fop.log") . "\n";
+ li("Get fop.log") . "\n" .
+ li("Get error.log") . "\n";
my $nav_backup =
li("Download backup
(config only)") . "\n" .
@@ -126,6 +129,7 @@
elsif ($action eq "fexsrv.log") { &getlog("fexsrv.log") }
elsif ($action eq "fup.log") { &getlog("fup.log") }
elsif ($action eq "fop.log") { &getlog("fop.log") }
+ elsif ($action eq "error.log") { &getlog("error.log") }
elsif ($action eq "editconfig") { &editFile("$FEXLIB/fex.ph") }
elsif ($action eq "editindex") { &editFile("$FEXHOME/htdocs/index.html") }
elsif ($action eq "backup") { &backup }
@@ -370,14 +374,9 @@
foreach my $file (glob('@* @GROUP/*')) {
if (-f $file and not -l $file and $file !~ /.*~$/) {
print h3($file), "\n";
- open $file, $file or http_die("cannot open $file - $!");
- print "\n";
- while (<$file>) {
- s/</g;
- print;
- }
- print "\n
";
- close $file or http_die("cannot write $file - $!\n");
+ open $file,$file or http_die("cannot open $file - $!");
+ dumpfile($file);
+ close $file;
}
}
}
@@ -521,13 +520,15 @@
# function for listing f*exed files
# required arguments: -
sub listFiles {
- print h3("List current files");
+ print h3("List current files"),"\n";
my ($file,$dkey);
chdir $spooldir or http_die("$spooldir - $!\n");
foreach $file (glob "*/*/*") {
if (-s "$file/data" and $dkey = readlink("$file/dkey") and -l ".dkeys/$dkey") {
- ($to,$from,$file) = split "/",$file;
- print "$from --> $to : $durl/$dkey/$file\n", br;
+ $file =~ s/&/&/g;
+ $file =~ s/</g;
+ ($to,$from,$file) = split "/",$file;
+ print "$from --> $to : $durl/$dkey/$file
\n";
}
}
}
@@ -535,20 +536,20 @@
# function for watching the fex-logfile
# required arguments: -
sub watchLog {
- print "polling fexsrv.log...
\n";
- print "\n";
- exec "$FEXHOME/bin/logwatch" or http_die("cannot run $FEXHOME/bin/logwatch - $!\n");
+ print h2("polling fexsrv.log"),"\n";
+ open my $log,"$FEXHOME/bin/logwatch|"
+ or http_die("cannot run $FEXHOME/bin/logwatch - $!\n");
+ dumpfile($log);
}
# function for showing logfiles
# required arguments: logfile-name
sub getlog {
- http_die("not enough arguments in getLog.\n") unless (my $log = $_[0]);
+ my $log = shift or http_die("not enough arguments in getLog");
- print h2("show $log");
- if (open $log, "$logdir/$log") {
- print "\n";
- print <$log>;
+ print h2("show $log"),"\n";
+ if (open $log,"$logdir/$log") {
+ dumpfile($log);
close $log;
} else {
http_die("cannot open $logdir/$log - $!\n");
@@ -777,6 +778,19 @@
}
+sub dumpfile {
+ my $file = shift;
+
+ print "\n";
+ while (<$file>) {
+ s/&/&/g;
+ s/</g;
+ print;
+ }
+ print "\n
\n";
+}
+
+
sub error {
print join("\n",@_),"\n";
print end_html();
diff -Nru fex-20110622/cgi-bin/fop fex-20110726/cgi-bin/fop
--- fex-20110622/cgi-bin/fop 2011-06-17 21:28:39.000000000 +0200
+++ fex-20110726/cgi-bin/fop 2011-07-23 23:50:52.000000000 +0200
@@ -81,7 +81,10 @@
}
}
-unless ($file and $file =~ m:.+/.+/.+:) {
+if ($file and $file =~ m:(.+)/(.+)/.+:) {
+ $to = $1;
+ $from = $2;
+} else {
http_die("unknown query format");
}
@@ -372,7 +375,9 @@
}
if (-f $data) {
+ # already downloaded?
if ($limited_download and $limited_download !~ /^no/i
+ and $from ne $to # fex to yourself is ok!
and $http_client !~ /^fex(get|send)/
and $file !~ m:/STDFEX$:
and not($dkey and $ENV{HTTP_COOKIE} and $ENV{HTTP_COOKIE} =~ /dkey=$dkey/)
@@ -452,11 +457,17 @@
# upload lock
open $data,'+>>',$data and flock($data,LOCK_EX|LOCK_NB);
# download lock
- if ($filename ne 'STDFEX') {
- open $download,'>>',$download or die "$download - $!\n";
- unless (flock($download,LOCK_EX|LOCK_NB)) {
+ open $download,'>>',$download or die "$download - $!\n";
+ unless (flock($download,LOCK_EX|LOCK_NB)) {
+ if ($file =~ m:(.+?)/(.+?)/: and $1 eq $2) {
+ # sender = recipient : do not allow download manager
+ if ($ENV{HTTP_RANGE}) {
+ http_die("$file locked: a download is already in progress");
+ }
+ # but normal multiple downloads are allowed, continue...
+ } else {
# teergrub download manager and other suckers
- if ($ENV{HTTP_RANGE}) { flock($download,LOCK_EX) }
+ flock($download,LOCK_EX) if $ENV{HTTP_RANGE};
http_die("$file locked: a download is already in progress");
}
}
diff -Nru fex-20110622/cgi-bin/fup fex-20110726/cgi-bin/fup
--- fex-20110622/cgi-bin/fup 2011-06-22 19:25:42.000000000 +0200
+++ fex-20110726/cgi-bin/fup 2011-07-25 19:13:40.000000000 +0200
@@ -100,7 +100,7 @@
@public_recipients and grep /^\Q$to\E$/i,@public_recipients) {
# must use $param{FROM} for checking because $from is expanded with $mdomain
unless (checkaddress($param{FROM})) {
- http_die("$param{FROM} is not a valid e-mail address");
+ http_die("$param{FROM} is not a valid e-mail address");
}
$public = $rid = $id;
}
@@ -951,7 +951,7 @@
# parse GET and POST requests
sub parse_request {
my %to;
- my ($to,$cl,$dkey,$adto);
+ my ($to,$cl,$dkey);
local $_;
# parse HTTP QUERY_STRING (parameter=value pairs)
@@ -1047,13 +1047,16 @@
if ($from) {
checkchars('from address',$from);
unless (checkaddress($from)) {
- http_die("$from is not a valid e-mail address");
+ http_die("$from is not a valid e-mail address");
}
$from = untaint($from);
}
+ return if $command eq 'LIST';
+
# collect multiple addresses and check for aliases (not group)
- if (@to and "@to" !~ /^@[\w-]+$/ and not $addto) {
+ if (@to and "@to" !~ /^@[\w-]+$/ and not $gkey and not $addto) {
+
# read address book
if ($from and open my $AB,'<',"$from/\@ADDRESS_BOOK") {
while (<$AB>) {
@@ -1074,58 +1077,53 @@
close $AB;
}
- # look for recipient's options
+ # look for recipient's options and eliminate dupes
+ %to = ();
foreach $to (@to) {
# address book alias?
if ($ab{$to}) {
foreach my $address (@{$ab{$to}}) {
- $to{$address} = $to; # ignore dupes
+ $address .= '@'.$mdomain if $mdomain and $address !~ /@/;
+ $to{$address} = $address; # ignore dupes
if ($specific{'autodelete'}) {
- $autodelete{$address} = $autodelete;
+ $autodelete{$address} = $specific{'autodelete'};
} elsif ($autodelete{$to}) {
$autodelete{$address} = $autodelete{$to};
- } elsif ($adto = readlink "$address/\@AUTODELETE") {
- $autodelete{$address} = $adto;
- }
- if ($specific{'keep'}) {
- $keep{$address} = $specific{'keep'};
- } elsif ($keep{$to}) {
- $keep{$address} = $keep{$to};
+ } else {
+ $autodelete{$address} = readlink "$address/\@AUTODELETE"
+ || $autodelete;
}
+ if ($specific{'keep'}) { $keep{$address} = $specific{'keep'} }
+ elsif ($keep{$to}) { $keep{$address} = $keep{$to} }
}
} else {
- $to .= '@'.$mdomain if $mdomain and $to !~ /@/ and $to =~ /\w/;
- $to{$to} = $to; # ignore dupes
- if ($specific{'autodelete'}) {
- $autodelete{$to} = $autodelete;
- } elsif ($adto = readlink "$to/\@AUTODELETE" and not $autodelete{$to}) {
- $autodelete{$to} = $adto;
- } else {
- $autodelete{$to} = $autodelete;
+ $to{$to} = $to;
+ unless ($autodelete{$to}) {
+ $autodelete{$to} = readlink "$to/\@AUTODELETE" || $autodelete;
}
+ $autodelete{$to} = $specific{'autodelete'} if $specific{'autodelete'};
$keep{$to} = $keep if $keep and $keep != $keep_default;
$keep{$to} = $specific{'keep'} if $specific{'keep'};
}
}
-
@to = keys %to;
- # check recipients
+ # check recipients and eliminate dupes
+ %to = ();
foreach $to (@to) {
- if ($command ne 'LIST') {
- if ($to =~ /^@(.+)/ and -f "$from/\@GROUP/$1") {
- http_die("You cannot mix regular recipients with groups");
+ if ($to =~ /^@(.+)/) {
+ http_die("You cannot send to more than one group") if @to > 1;
+ http_die("Group $to does not exist") unless -f "$from/\@GROUP/$1";
+ } else {
+ $to .= '@'.$mdomain if $mdomain and $to !~ /@/;
+ if (checkaddress($to)) {
+ $to{$to} = untaint($to);
} else {
- if (checkaddress($to)) {
- $to = untaint($to);
- } else {
- http_die("\"$to\" is not a valid e-mail address");
- }
+ http_die("$to is not a valid e-mail address");
}
}
- $to{$to} = $to; # ignore dupes
}
- @to = keys %to;
+ @to = values %to;
}
}
@@ -1266,7 +1264,7 @@
# get file from post request
sub get_file {
- my ($to,$filed,$upload,$nupload,$speed,$data);
+ my ($to,$filed,$upload,$nupload,$speed,$data,$cookie);
my ($b,$n,$uss);
my $dkey;
my ($fh,$filesize);
@@ -1274,6 +1272,11 @@
my $fb = 0; # file bytes
my $cl = $ENV{CONTENT_LENGTH};
+ if (not $locale
+ and $cookie = $ENV{HTTP_COOKIE} and $cookie =~ /\blocale=(\w+)/) {
+ $locale = $1;
+ }
+
foreach $to (@to) {
$filed = "$to/$from/$fkey";
$nupload = "$filed/upload";
@@ -1312,6 +1315,7 @@
unlink "$filed/autodelete",
"$filed/error",
"$filed/download",
+ "$filed/locale",
"$filed/keep",
"$filed/header",
"$filed/id",
@@ -1340,15 +1344,15 @@
mksymlink("$filed/autodelete",$autodelete{$to});
}
- mksymlink("$filed/keep",$keep{$to}) if $keep{$to};
+ mksymlink("$filed/keep",$keep{$to}) if $keep{$to};
+ mksymlink("$filed/id",$fileid) if $fileid;
+ mksymlink("$filed/locale",$locale) if $locale;
if (@header and open $fh,'>',"$filed/header") {
print {$fh} join("\n",@header),"\n";
close $fh;
}
- mksymlink("$filed/id",$fileid) if $fileid;
-
if ($comment) {
if ($comment eq 'NOMAIL') {
open $fh,'>',"$filed/notify";
diff -Nru fex-20110622/cgi-bin/pup fex-20110726/cgi-bin/pup
--- fex-20110622/cgi-bin/pup 2011-06-16 18:47:21.000000000 +0200
+++ fex-20110726/cgi-bin/pup 2011-07-05 15:35:13.000000000 +0200
@@ -145,6 +145,7 @@
$from = lc(normalize(despace($vv)));
$from =~ s:/:_:g;
$from =~ s:^\.:_:;
+ $from =~ s:\s::g;
} elsif ($v eq 'TO') {
$to = lc(normalize(despace($vv)));
$to =~ s:/:_:g;
diff -Nru fex-20110622/debian/changelog fex-20110726/debian/changelog
--- fex-20110622/debian/changelog 2011-08-12 22:53:12.000000000 +0200
+++ fex-20110726/debian/changelog 2011-11-12 14:57:15.000000000 +0100
@@ -1,3 +1,27 @@
+fex (20110726-1ubuntu1) precise; urgency=low
+
+ * Merge from debian unstable (LP: #889481). Remaining changes:
+ - Update MD5 sums to fix FTBFS.
+
+ -- Leo Iannacone Wed, 24 Aug 2011 21:42:21 +0000
+
+fex (20110726-1) unstable; urgency=low
+
+ * New upstream version 20110726
+ - fexget: added option -X do not extract archive file
+ - fexget: added option -a get all files
+ - fexsrv: fixed bug uninitialized value when using a reverse proxy
+ - fex_cleanup: fixed bug notify reminder e-mail not localized
+ - new translations: czech, galician
+ - fac(CGI): fixed bug displaying < and & in logfiles
+ - fac(CGI): added getting error.log
+ - fop: allow multiple downloads from any client if sender = recipient
+ * Fix piuparts error upon purge once ucf is not installed anymore
+ * Remove doc/FAQ as upstream no longer ships it (it's now htdocs/FAQ.html)
+ * Add robots.txt to fex.install
+
+ -- Kilian Krause Wed, 27 Jul 2011 08:47:24 +0200
+
fex (20110622-1ubuntu1) oneiric; urgency=low
* Update MD5 sums to fix FTBFS.
diff -Nru fex-20110622/debian/fex.docs fex-20110726/debian/fex.docs
--- fex-20110622/debian/fex.docs 2011-06-22 21:38:41.000000000 +0200
+++ fex-20110726/debian/fex.docs 2011-07-27 08:47:42.000000000 +0200
@@ -1,7 +1,6 @@
doc/concept
doc/Contribs
doc/debugging
-doc/FAQ
doc/SSL
doc/fex-client_1.pdf
doc/fex-client_2.pdf
diff -Nru fex-20110622/debian/fex.install fex-20110726/debian/fex.install
--- fex-20110622/debian/fex.install 2011-06-22 21:38:41.000000000 +0200
+++ fex-20110726/debian/fex.install 2011-07-27 08:47:42.000000000 +0200
@@ -9,6 +9,7 @@
htdocs/*.html usr/share/fex/htdocs
htdocs/*.ico usr/share/fex/htdocs
htdocs/*.jpg usr/share/fex/htdocs
+htdocs/robots.txt usr/share/fex/htdocs
lib/dop usr/share/fex/lib
lib/fex.ph etc/fex
lib/fex.pp usr/share/fex/lib
diff -Nru fex-20110622/debian/fex.postrm fex-20110726/debian/fex.postrm
--- fex-20110622/debian/fex.postrm 2011-06-22 21:38:41.000000000 +0200
+++ fex-20110726/debian/fex.postrm 2011-07-27 08:47:42.000000000 +0200
@@ -35,7 +35,11 @@
echo >&2 "not removing $USERNAME system account because deluser command was not found"
fi
if [ -d /etc/xinetd.d ];then
- ucf --debconf-ok --purge /etc/xinetd.d/fex
+ if [ -x /usr/bin/ucf ];then
+ ucf --debconf-ok --purge /etc/xinetd.d/fex
+ else
+ rm -f /etc/xinetd.d/fex
+ fi
remainingdpkg=`ls -1 /etc/xinetd.d/fex.*-* 2>/dev/null|xargs --no-run-if-empty -n 1 basename||true`
if [ ! -z "$remainingdpkg" ];then
echo "DPKG-templates for F*EX service in xinetd not removed:"
diff -Nru fex-20110622/debian/htdocs.md5/20110622-1ubuntu1 fex-20110726/debian/htdocs.md5/20110622-1ubuntu1
--- fex-20110622/debian/htdocs.md5/20110622-1ubuntu1 2011-08-12 22:47:37.000000000 +0200
+++ fex-20110726/debian/htdocs.md5/20110622-1ubuntu1 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-03e024056f3ce4cf2dda85534641f4c4 htdocs/FAQ.html
-1f3d7acc70377496f95c5adddaf4ca7b htdocs/action-fex-camel.gif
-215cb656c29df8c0ed82dd958c9df783 htdocs/dynamic.html
-d41d8cd98f00b204e9800998ecf8427e htdocs/favicon.ico
-fb42264a2349d5c13980213096e86759 htdocs/fup_template.html
-c23cd36ed5df1c5e1cbac5e8b4aea869 htdocs/index.html
-ad8a95bba8dd1a61d70bd38611bc2059 htdocs/logo.jpg
-968a8facfcdd185ad696b86b67ec63ff htdocs/small_logo.jpg
-7c052d0af80729353f14b86156cfe077 htdocs/tools.html
diff -Nru fex-20110622/debian/htdocs.md5/20110622-1ubuntu1.fix fex-20110726/debian/htdocs.md5/20110622-1ubuntu1.fix
--- fex-20110622/debian/htdocs.md5/20110622-1ubuntu1.fix 2011-08-12 22:48:01.000000000 +0200
+++ fex-20110726/debian/htdocs.md5/20110622-1ubuntu1.fix 1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-b770ea28a0d62a5c763e7249e618b461 ./META-INF/DEBBUILD.SF
-3511095acde510dfe6e017a97f64b30c ./META-INF/MANIFEST.MF
-aafa238b4888c05918939f41c20dfd85 ./fix/AppletFrame$1.class
-80cf51571f6d91a642f5bbece74466f5 ./fix/AppletFrame.class
-38280525283a371eaf1d78ca38813f1a ./fix/Base64Coder.class
-5eb30f37e129ebd8ec7fdf3ba90dde58 ./fix/Client.class
-7e23bc7e9428208e4cf9bd2971a30b4c ./fix/ErrorWindow.class
-0237aefe2af2c7de8244acdaa767847c ./fix/HttpClient.class
-65c4ea1094890d1a3308534c1cc04a99 ./fix/NaiveTrustManager.class
-376d1edc2ff64213be15bb1fb76b6a0c ./fix/Sender.class
-9844378317f02981c871f3f2e68c2eb6 ./fix/ZipFactory.class
-8910292d679972cbc7b16db9370785b5 ./icons/exit.png
-2c67c9dc75e1719962c2f6a8135d923a ./icons/info.png
-d621a4d03db389390bfbe1d2571b2d08 ./icons/pref.png
-e9e2061d00b776f4711bc6bcc3202ebf ./icons/rese.png
-93ec1d81c53e984a3226e276d2df5a42 ./icons/send.png
-f4b749c6b066f4614f8597b1041b1bd0 ./icons/start.png
diff -Nru fex-20110622/debian/htdocs.md5/20110726-1 fex-20110726/debian/htdocs.md5/20110726-1
--- fex-20110622/debian/htdocs.md5/20110726-1 1970-01-01 01:00:00.000000000 +0100
+++ fex-20110726/debian/htdocs.md5/20110726-1 2011-07-27 08:47:42.000000000 +0200
@@ -0,0 +1,9 @@
+88678ab789b8f20ff6b00702d2a522fa htdocs/FAQ.html
+1f3d7acc70377496f95c5adddaf4ca7b htdocs/action-fex-camel.gif
+215cb656c29df8c0ed82dd958c9df783 htdocs/dynamic.html
+d41d8cd98f00b204e9800998ecf8427e htdocs/favicon.ico
+fb42264a2349d5c13980213096e86759 htdocs/fup_template.html
+c23cd36ed5df1c5e1cbac5e8b4aea869 htdocs/index.html
+ad8a95bba8dd1a61d70bd38611bc2059 htdocs/logo.jpg
+968a8facfcdd185ad696b86b67ec63ff htdocs/small_logo.jpg
+7c052d0af80729353f14b86156cfe077 htdocs/tools.html
diff -Nru fex-20110622/debian/htdocs.md5/20110726-1.fix fex-20110726/debian/htdocs.md5/20110726-1.fix
--- fex-20110622/debian/htdocs.md5/20110726-1.fix 1970-01-01 01:00:00.000000000 +0100
+++ fex-20110726/debian/htdocs.md5/20110726-1.fix 2011-07-27 08:47:42.000000000 +0200
@@ -0,0 +1,17 @@
+22549bacd700614b6 ./META-INF/DEBBUILD.SF
+4f9a919dc289a33fefbd4dcb1c1e7c25 ./META-INF/MANIFEST.MF
+aafa238b4888c05918939f41c20dfd85 ./fix/AppletFrame$1.class
+80cf51571f6d91a642f5bbece74466f5 ./fix/AppletFrame.class
+38280525283a371eaf1d78ca38813f1a ./fix/Base64Coder.class
+5eb30f37e129ebd8ec7fdf3ba90dde58 ./fix/Client.class
+7e23bc7e9428208e4cf9bd2971a30b4c ./fix/ErrorWindow.class
+0237aefe2af2c7de8244acdaa767847c ./fix/HttpClient.class
+65c4ea1094890d1a3308534c1cc04a99 ./fix/NaiveTrustManager.class
+376d1edc2ff64213be15bb1fb76b6a0c ./fix/Sender.class
+9844378317f02981c871f3f2e68c2eb6 ./fix/ZipFactory.class
+8910292d679972cbc7b16db9370785b5 ./icons/exit.png
+2c67c9dc75e1719962c2f6a8135d923a ./icons/info.png
+d621a4d03db389390bfbe1d2571b2d08 ./icons/pref.png
+e9e2061d00b776f4711bc6bcc3202ebf ./icons/rese.png
+93ec1d81c53e984a3226e276d2df5a42 ./icons/send.png
+f4b749c6b066f4614f8597b1041b1bd0 ./icons/start.png
diff -Nru fex-20110622/debian/htdocs.md5/20110726-1ubuntu1 fex-20110726/debian/htdocs.md5/20110726-1ubuntu1
--- fex-20110622/debian/htdocs.md5/20110726-1ubuntu1 1970-01-01 01:00:00.000000000 +0100
+++ fex-20110726/debian/htdocs.md5/20110726-1ubuntu1 2011-11-12 15:13:49.000000000 +0100
@@ -0,0 +1,9 @@
+88678ab789b8f20ff6b00702d2a522fa htdocs/FAQ.html
+1f3d7acc70377496f95c5adddaf4ca7b htdocs/action-fex-camel.gif
+215cb656c29df8c0ed82dd958c9df783 htdocs/dynamic.html
+d41d8cd98f00b204e9800998ecf8427e htdocs/favicon.ico
+fb42264a2349d5c13980213096e86759 htdocs/fup_template.html
+c23cd36ed5df1c5e1cbac5e8b4aea869 htdocs/index.html
+ad8a95bba8dd1a61d70bd38611bc2059 htdocs/logo.jpg
+968a8facfcdd185ad696b86b67ec63ff htdocs/small_logo.jpg
+7c052d0af80729353f14b86156cfe077 htdocs/tools.html
diff -Nru fex-20110622/debian/htdocs.md5/20110726-1ubuntu1.fix fex-20110726/debian/htdocs.md5/20110726-1ubuntu1.fix
--- fex-20110622/debian/htdocs.md5/20110726-1ubuntu1.fix 1970-01-01 01:00:00.000000000 +0100
+++ fex-20110726/debian/htdocs.md5/20110726-1ubuntu1.fix 2011-11-12 15:22:07.000000000 +0100
@@ -0,0 +1,17 @@
+b770ea28a0d62a5c763e7249e618b461 ./META-INF/DEBBUILD.SF
+3511095acde510dfe6e017a97f64b30c ./META-INF/MANIFEST.MF
+aafa238b4888c05918939f41c20dfd85 ./fix/AppletFrame$1.class
+80cf51571f6d91a642f5bbece74466f5 ./fix/AppletFrame.class
+38280525283a371eaf1d78ca38813f1a ./fix/Base64Coder.class
+5eb30f37e129ebd8ec7fdf3ba90dde58 ./fix/Client.class
+7e23bc7e9428208e4cf9bd2971a30b4c ./fix/ErrorWindow.class
+0237aefe2af2c7de8244acdaa767847c ./fix/HttpClient.class
+65c4ea1094890d1a3308534c1cc04a99 ./fix/NaiveTrustManager.class
+376d1edc2ff64213be15bb1fb76b6a0c ./fix/Sender.class
+9844378317f02981c871f3f2e68c2eb6 ./fix/ZipFactory.class
+8910292d679972cbc7b16db9370785b5 ./icons/exit.png
+2c67c9dc75e1719962c2f6a8135d923a ./icons/info.png
+d621a4d03db389390bfbe1d2571b2d08 ./icons/pref.png
+e9e2061d00b776f4711bc6bcc3202ebf ./icons/rese.png
+93ec1d81c53e984a3226e276d2df5a42 ./icons/send.png
+f4b749c6b066f4614f8597b1041b1bd0 ./icons/start.png
diff -Nru fex-20110622/doc/Changes fex-20110726/doc/Changes
--- fex-20110622/doc/Changes 2011-06-22 19:26:26.000000000 +0200
+++ fex-20110726/doc/Changes 2011-07-26 23:47:59.000000000 +0200
@@ -1,9 +1,21 @@
+2011-07-26 fexget: added option -X do not extract archive file
+ fexget: added option -a get all files
+ fexsrv: fixed bug uninitialized value when using a reverse proxy
+ fex_cleanup: fixed bug notify reminder e-mail not localized
+2011-07-22 fac(CGI): fixed bug displaying < and & in logfiles
+ fac(CGI): added getting error.log
+ fop: allow multiple downloads from any client if sender = recipient
+2011-07-16 added doc/reverse_proxy
+2011-07-14 added optional czech localization
+2011-07-01 FAQ.html reformated
+2011-06-30 translate install job 20 times faster
+2011-06-27 added robots.txt to disallow web robots indexing
2011-06-22 fup: disable HTML code in file listing (filename & comment)
-2011-06-21 added optional localization italiano
+2011-06-21 added optional italian localization
2011-06-17 fixed bug $bcc is ignored
2011-06-16 fexsend,fexget: better reverse proxy support
(always send Host header)
- added optional localization galego
+ added optional galician localization
2011-06-15 fup: fixed bug always keep_default days in notification e-mail
2011-06-14 fexsend: transparent proxy detection (and support)
fixed bug $docdir ignored
@@ -42,7 +54,7 @@
2011-02-24 dop: evaluate <> inside html documents
2011-02-21 fexsend,fup: added option fexsend -U show authorized (login) URL
2011-02-18 do not modify download URL protocol if $dkey is set in fex.ph
- fac (CGI): fixed bug uninitialized value $server
+ fac(CGI): fixed bug uninitialized value $server
URLs in notification e-mails are derived from config variable $durl
2011-02-17 fup: fixed bug access denied with SKEY
2011-02-08 fup,fop,fuc: fixed bug access problems with sip in AKEYs
@@ -52,24 +64,24 @@
2011-01-31 schwuppdiwupp: added ISO-8859-1 support
2011-01-30 schwuppdiwupp: added running camel
2011-01-28 schwuppdiwupp: added chunksize to proxy options
- fixed bug timeout when using address book
+ schwuppdiwupp: fixed bug timeout when using address book
fexsend: fixed bug chunksize 0
2011-01-27 schwuppdiwupp: added advanced preferences Proxy and TMPDIR
2011-01-26 fex_cleanup: fixed bug uninitialized value in debuglog
- added option -v
+ fex_cleanup: added option -v
fexsend,fexget,sexsend: added option -V show version
schwuppdiwupp: added drag&drop support for windows
- added 7zG support
+ schwuppdiwupp: added 7zG support
2011-01-25 fuc: fixed bug cannot delete all subusers
schwuppdiwupp: fixed bug 7-zip not found
- added drive letters in directory selection
+ schwuppdiwupp: added drive letters in directory selection
2011-01-24 fop: IE bug workaround to store *.exe files
2011-01-18 schwuppdiwupp: added tar, zip and 7z container
2011-01-17 fexsend: fixed bug option -l not working with https URL
2011-01-16 fup: added 7zip hint in notification e-mails
2011-01-13 schwuppdiwupp: fixed bug no transfer at all when comment is set
2011-01-12 rup: added logging
- wrong recipient cannot download file, but will get an error
+ rup: wrong recipient cannot download file, but will get an error
fac(CGI): fixed bug $server not declared
2011-01-07 fexget: keep file permission in overwrite mode
2011-01-04 fex_cleanup: fixed bug autodelete after partial download
@@ -119,7 +131,7 @@
install: fixed bug empty $admin_pw
2010-08-15 fex.ph: optional fix address $sender_from (instead of F*EX user) in
notification e-mail From
-2010-08-14 added optional localization espanol
+2010-08-14 added optional spanish localization
2010-08-12 fup: speedup 90%
fop: speedup 20%
fop: better fexget compatibility
@@ -133,7 +145,7 @@
2010-08-06 sex: fixed various bugs in client and server
fac(CGI): fixed bug AKEY not working
2010-08-03 xx: no user inquiry for postprocessing if output is a pipe
-2010-08-02 added optional localization deutsch
+2010-08-02 added optional german localization
2010-07-31 separated subusers in extra file $SPOOL/$USER/@SUBUSER
2010-07-25 fop: log also aborted downloads
2010-07-23 added fac CGI
diff -Nru fex-20110622/doc/concept fex-20110726/doc/concept
--- fex-20110622/doc/concept 2011-05-18 10:02:18.000000000 +0200
+++ fex-20110726/doc/concept 2011-07-22 16:30:48.000000000 +0200
@@ -111,7 +111,11 @@
option -K means "keep file": do not delete the file after download, but
only after expiration date (normally 5 days). More downloads are possible
-from any IP.
+only from the same client (identified by cookie).
+
+If you fex a file to yourself (sender = recipient), then the resulting
+download link is valid for any client and can be downloaded everywhere
+and more than once (until expiration date).
If you want "delay autodelete" to be the default behaviour for all users
and each transfer then set
diff -Nru fex-20110622/doc/Contribs fex-20110726/doc/Contribs
--- fex-20110622/doc/Contribs 2010-09-24 08:21:32.000000000 +0200
+++ fex-20110726/doc/Contribs 2011-07-16 12:49:57.000000000 +0200
@@ -32,5 +32,14 @@
Francisco Ruiz :
- Spanish localization
+Anton Meixome :
+ - Galician localization
+
+Vanni Piagno :
+ - Italian localization
+
+Michal Simunek :
+ - Czech localization
+
Hanno Hirsch :
- bug hunting
diff -Nru fex-20110622/doc/FAQ fex-20110726/doc/FAQ
--- fex-20110622/doc/FAQ 2011-06-10 09:31:23.000000000 +0200
+++ fex-20110726/doc/FAQ 1970-01-01 01:00:00.000000000 +0100
@@ -1,257 +0,0 @@
-Meta questions:
-===============
-
-Q: Why name "F*EX" and not shortly "FEX"?
-
-A: At publication time there was already an (older) program named "FEX" on
- freshmeat.net.
-
-
-Q: Why not use one of the commercial services like
- DropLoad, ALLPeers, YouSendIt, etc?
-
-A: They have a limit of 2 GB or even less.
- Their security and privacy status is unknown.
- They are not open source based.
- There are no UNIX (CLI) clients for them.
- They need java, active-X, flash or other evil plugins.
- It is unknown how long they will exist - DropLoad and ALLPeers already
- have terminated their business.
-
-
-Q: Why a camel as the logo?
-
-A: The logo was inspired by the Perl camel, but it is based on a Steiff
- plush camel, which rides with us on our racing tandem. The logo was
- drawn by my stoker Beate
- http://fex.rus.uni-stuttgart.de/Vortrag/tosa.html
-
-
-Q: Where can I get the F*EX sources?
-
-A: http://fex.rus.uni-stuttgart.de/fex.html
-
-
-Q: What do I need to install F*EX?
-
-A: A UNIX host with a DNS entry and smtp for outgoing e-mail.
- And you must be root on this host.
-
-
-Q: What is DNS and smtp?
-
-A: Do not install F*EX. It is beyond your horizon.
-
-
-Q: Who is the author?
-
-A: Ulli Horlacher
-
-
-Q: Which licence does F*EX have?
-
-A: GNU GPL free software, see http://www.gnu.org/licenses/gpl.txt
-
-
-Q: Is there a F*EX mailing list?
-
-A: https://listserv.uni-stuttgart.de/mailman/listinfo/fex
-
-
-Q: Where can I get commercial support for F*EX?
-
-A: Contact fex@nepustil.net http://www.nepustil.net/
-
-
-Q: I have more/other questions than in this document!
-
-A: Ask the author
-
-
-User questions:
-===============
-
-Q: What is the "auth-ID"?
-
-A: The auth-ID is an internal identification which authentificates the user.
- It will be first generated by the admin or the automatic registration
- process and can later be modified by you, the user. Think of some kind
- of a low security password.
-
-
-Q: Can I use a HTTP proxy?
-
-A: Yes.
-
-
-Q: I have uploaded a HUGE file but misspelled my recipient's address. Now I
- have got an error bounce e-mail. Must I re-upload the HUGE file?
-
-A: No, it is not necessary. You can redirect the file with
- http://YOURFEXSERVER/rup
-
-
-Q: I have uploaded a HUGE file but forgot another recipient.
- Must I re-upload the HUGE file?
-
-A: No, it is not necessary. You can forward-copy the file with
- http://YOURFEXSERVER/foc
-
-
-Q: I cannot upload files > 2 GB with my web browser!?
-
-A: All web browsers I am aware of have bugs in their HTML-FORM
- implementation. The limit mostly is 2 GB, sometimes 4 GB.
-
- You have to use a special F*EX client to upload files > 2 GB, see
- http://YOURFEXSERVER/tools.html
-
-
-Q: My download was aborted before it was finished. Can I resume the download?
-
-A: F*EX supports resuming at download, but your client also has to support
- this feature. Firefox eg is missing this HTTP feature, you need an other
- client like opera, wget or fexget.
-
-
-Q: My upload was aborted before it was finished. Can I resume the upload?
-
-A: F*EX supports resuming at upload, but your client also has to support it.
- No web browser has this feature, you need a special F*EX client like
- fexsend, schwuppdiwupp or F*IX.
- See http://YOURFEXSERVER/tools.html
-
-
-Q: My webbrowser cannot start the java client F*IX, it says:
- "found no java runtime environment, cannot start F*IX upload applet"
-
-A: A java plugin for your webbrowser is missing. On Debian and Ubuntu you
- can install it with: "sudo aptitude install sun-java6-plugin"
-
-
-Q: When I hit [ESC] in firefox the upload is canceled. Why?
-
-A: This is a built-in feature of firefox: ESC terminates the current operation.
- Simple solution: do not hit ESC in Firefox.
- Complex solution: ask the Firefox developers to add keyboard configuration.
-
-
-Q: Sending as a F*EX user is easy, but how to receive files from others,
- outside?
-
-A: Register them as your subusers or create a F*EX group with
- "user config & operation control" http://YOURFEXSERVER/fuc
-
-
-Q: Sometimes I can download a file more than once, especially when I
- repeat it quickly. Is the autodelete feature buggy?
-
-A: The F*EX server has a grace time of 1 minute after first sucessfully
- download in which the file is still available. This is necessary
- because of some stupid "download managers" which requests the file
- several times at once. Otherwise they would report an error to the user.
-
-A: Your fexmaster has set AUTODELETE=DELAY as default, which means that
- the autodelete cleanup process is called once a day.
-
-A: Power users (use the source, Luke!) can set a "do not delete after
- download" flag.
-
-
-Q: The default keep time is too short for me, I need more. How can I set it?
-
-A: Use fexsend, ask your fexmaster or read the source code :-)
-
-
-Q: I cannot download files with Internet Explorer, it tells me "Cannot
- open Internet site". What shall I do?
-
-A: Use Firefox or any other Internet-compatible web browser, that Internet
- Explorer is not. This is one of the many bugs of Internet Explorer.
-
-
-
-Admin questions:
-================
-
-Q: I cannot install a web server like fexsrv, because I have no root
- permissions. Is there a pure-CGI-version of F*EX which runs with an
- apache web server?
-
-A: F*EX is hard bound to fexsrv for several reasons (performance, file
- size limit, session concept, etc) and cannot be run as CGI under apache.
- But you might have a look at
- http://gpl.univ-avignon.fr/filez/
- http://freshmeat.net/projects/eventh/
- http://www.schaarwaechter.de/sp/projekte/dateiaustausch.html (German only!)
- which implement a file exchange as pure CGIs, but with a 2 GB file size limit.
-
-
-Q: F*EX is not working at all! I cannot connect to it with my web browser!
-
-A: Check your routing, ipfilters and firewall setup.
- Also check whether your xinetd is linked with tcp-wrapper and configure
- it correctly (hosts.allow).
- F*EX needs port 80/tcp (HTTP) and optional port 443/tcp (HTTPS).
-
-
-Q: F*EX is too complicated! I need something more simplified.
-
-A: Try http://www.home.unix-ag.org/simon/woof.html
-
-
-Q: How can I integrate F*EX in the existing user management at my site?
-
-A: F*EX has several authentification modules:
- local, RADIUS, LDAP, mailman and POP
- For the last 4 please contact the author framstag@rus.uni-stuttgart.de
-
-
-Q: I want that all of my local users can use F*EX automaticly. How?
-
-A: Let them register theirselves with http://YOURFEXSERVER/fur
- You have to edit lib/fex.ph and set (example):
- @local_hosts = qw(127.0.0.1 10.10.100.0-10.10.255.255);
- @local_domains = qw(flupp.org ulm.sub.net);
- (Of course you have to add your real local hosts/networks!)
-
-
-Q: I need more security! How can I enable HTTPS?
-
-A: Read doc/SSL and also look for "fop_auth" in doc/concept
-
-
-Q: I need a corporate identity look. How can I configure F*EX in this way?
-
-A: See variable @H1_extra in fex.ph and you can add HTML code to
- htdocs/header.html
-
-A: See htdocs/fup_template.html, modify it to your needs and use it as your
- start-page.
-
-
-Q: F*EX is too complicated for my tie users. I need a simplified upload form.
-
-A: See htdocs/fup_template.html
-
-
-Q: I want the Bcc mails to fex (admin user) to be sent to another address.
-
-A: Use procmail or write OTHERADDRESS to /home/fex/.forward
-
-
-Q: Can I get a localized version in my native languange?
-
-A: With your help, yes. Please contact the author framstag@rus.uni-stuttgart.de
-
-
-Misc questions:
-===============
-
-Q: F*EX is great! Can I join the developing team? What needs to be done?
-
-A: Contact the author framstag@rus.uni-stuttgart.de
- Requested features are:
-
- - a F*EX plugin for thunderbird or outlook
- - more (other) languange support (italian, french, klingon ...)
diff -Nru fex-20110622/htdocs/download/fexget fex-20110726/htdocs/download/fexget
--- fex-20110622/htdocs/download/fexget 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/htdocs/download/fexget 2011-07-26 23:51:39.000000000 +0200
@@ -22,7 +22,7 @@
our $SH;
our $bs = 2**16; # blocksize for tcp-reading and writing file
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
@@ -31,28 +31,32 @@
my $usage = </dev/null`||'';
@@ -90,7 +94,7 @@
warn "$cmd\n";
}
open $cmd,"$cmd|" or die "$0: cannot run $cmd : $!\n";
- open $ffl,">$tmpdir/fexget" or die "$0: cannot open $tmpdir/fexget : $!\n";
+ open $ffl,'>',$ffl or die "$0: cannot open $ffl : $!\n";
my $n;
while (<$cmd>) {
if (/\d MB http/) {
@@ -107,10 +111,24 @@
}
die $usage if $opt_h;
-die $usage unless @ARGV;
-my ($file,%files,$download,$server,$port,$fop);
+if ($opt_a) {
+ $opt_X = $opt_a;
+ die $usage if @ARGV;
+ system qw(fexget -l);
+ print "\n";
+ if (open $ffl,$ffl) {
+ while (<$ffl>) {
+ push @ARGV,$1 if /^\s+(\d+)/;
+ }
+ close $ffl;
+ }
+} else {
+ die $usage unless @ARGV;
+}
+my ($file,%files,$download,$server,$port,$fop);
+
foreach my $url (@ARGV) {
# do not overrun server
@@ -118,7 +136,7 @@
if ($url !~ /^http/) {
unless (%files) {
- open $ffl,"$tmpdir/fexget" or die "$0: no $tmpdir/fexget, use first: $0 -l\n";
+ open $ffl,$ffl or die "$0: no $ffl, use first: $0 -l\n";
my $from = '';
while (<$ffl>) {
if (/^from (.+) :$/) {
@@ -180,7 +198,7 @@
unlink $download unless -s $download;
exit 2 unless -f $download;
- if ($download =~ /$atype/) {
+ if (not $opt_X and $download =~ /$atype/) {
if (-t) {
print "Files in archive:\n";
if ($download =~ /\.tgz$/) {
@@ -217,10 +235,11 @@
}
}
+
exit;
sub cont {
- print "extract these files? ";
+ print "extract these files (Y/n)? ";
$_ = ||'y';
unless (/^y/i) {
print "keeping $download\n";
diff -Nru fex-20110622/htdocs/download/fexsend fex-20110726/htdocs/download/fexsend
--- fex-20110622/htdocs/download/fexsend 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/htdocs/download/fexsend 2011-07-26 23:51:39.000000000 +0200
@@ -25,7 +25,7 @@
our ($SH,$fexhome,$idf,$tmpdir,$windoof,$sigpipe,$useragent,$editor,$chunksize);
our ($FEXID,$FEXXX);
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
@@ -84,6 +84,7 @@
$usage = < 2**10;
use constant M => 2**20;
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
diff -Nru fex-20110622/htdocs/download/sexsend fex-20110726/htdocs/download/sexsend
--- fex-20110622/htdocs/download/sexsend 2011-06-22 19:27:02.000000000 +0200
+++ fex-20110726/htdocs/download/sexsend 2011-07-26 23:51:39.000000000 +0200
@@ -17,7 +17,7 @@
use constant k => 2**10;
use constant M => 2**20;
-our $version = 20110622;
+our $version = 20110726;
$version = mtime($0) unless $version;
diff -Nru fex-20110622/htdocs/FAQ.html fex-20110726/htdocs/FAQ.html
--- fex-20110622/htdocs/FAQ.html 2010-12-14 11:48:00.000000000 +0100
+++ fex-20110726/htdocs/FAQ.html 2011-07-01 21:53:49.000000000 +0200
@@ -1,4 +1,8 @@
+F*EX FAQ
+
+F*EX FAQ
+
This FAQ has 3 parts:
-
-
-Meta questions:
-===============
-
-Q: Why name "F*EX" and not shortly "FEX"?
-
-A: At publication time there was already an (older) program named "FEX" on
- freshmeat.net.
-
-
-Q: Why not use one of the commercial services like
- DropLoad, ALLPeers, YouSendIt, etc?
-
-A: They have a limit of 2 GB or even less.
- Their security and privacy status is unknown.
- They are not open source based.
- There are no UNIX (CLI) clients for them.
- They need java, active-X, flash or other evil plugins.
- It is unknown how long they will exist - DropLoad and ALLPeers already
- have terminated their business.
-
-
-Q: Why a camel as the logo?
-
-A: The logo was inspired by the Perl camel, but it is based on a Steiff
- plush camel, which rides with us on our racing tandem. The logo was
- drawn by my stoker Beate
- http://fex.rus.uni-stuttgart.de/Vortrag/tosa.html
-
-
-Q: Where can I get the F*EX sources?
-
-A: http://fex.rus.uni-stuttgart.de/fex.html
-
-
-Q: What do I need to install F*EX?
-
-A: A UNIX host with a DNS entry and smtp for outgoing e-mail.
- And you must be root on this host.
-
-
-Q: What is DNS and smtp?
-
-A: Do not install F*EX. It is beyond your horizon.
-
-
-Q: Who is the author?
-
-A: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
-
-
-Q: Which licence does F*EX have?
-
-A: GNU GPL free software, see http://www.gnu.org/licenses/gpl.txt
-
-
-Q: Is there a F*EX mailing list?
-
-A: https://listserv.uni-stuttgart.de/mailman/listinfo/fex
-
-
-Q: Where can I get commercial support for F*EX?
-
-A: Contact fex@nepustil.net http://www.nepustil.net/
-
-
-Q: I have more/other questions than in this document!
-
-A: Ask the author <framstag@rus.uni-stuttgart.de>
+Meta questions
+
+Q: |
+ Why name "F*EX" and not shortly "FEX"?
+ |
+A: |
+ At publication time there was already an (older) program named "FEX" on freshmeat.net.
+ |
+ | |
+Q: |
+ Why not use one of the commercial services like DropLoad, ALLPeers, YouSendIt, etc?
+ |
+A: |
+ They have a limit of 2 GB or even less.
+ Their security and privacy status is unknown.
+ They are not open source based.
+ There are no UNIX (CLI) clients for them.
+ They need java, active-X, flash or other evil plugins.
+ It is unknown how long they will exist - DropLoad and ALLPeers already
+ have terminated their business.
+ |
+ | |
+Q: |
+ Why a camel as the logo?
+ |
+A: |
+ The logo was inspired by the Perl camel, but it is based on a Steiff
+ plush camel, which rides with us on our racing tandem.
+
+ The logo was drawn by my stoker Beate.
+ |
+ | |
+Q: |
+ Where can I get the F*EX sources?
+ |
+A: | http://fex.rus.uni-stuttgart.de/fex.html
+ |
+ | |
+Q: |
+ What do I need to install F*EX?
+ |
+A: |
+ A UNIX host with a DNS entry and smtp for outgoing e-mail.
+ And you must be root on this host.
+ |
+ | |
+Q: |
+ What is DNS and smtp?
+ |
+A: |
+ Do not install F*EX. It is beyond your horizon.
+ |
+ | |
+Q: |
+ Who is the author?
+ |
+A: |
+ Ulli Horlacher <framstag@rus.uni-stuttgart.de>
+ |
+ | |
+Q: |
+ Which licence does F*EX have?
+ |
+A: |
+ GNU GPL free software
+ |
+ | |
+Q: |
+ Is there a F*EX mailing list?
+ |
+A: |
+ https://listserv.uni-stuttgart.de/mailman/listinfo/fex
+ |
+ | |
+Q: |
+ Where can I get commercial support for F*EX?
+ |
+A: |
+ Contact
+ fex@nepustil.net
+ http://www.nepustil.net/
+ |
+ | |
+Q: |
+ I have more/other questions than in this document!
+ |
+A: |
+ Ask the author <framstag@rus.uni-stuttgart.de>
+ |
+
+
-User questions:
-===============
-
-Q: What is the "auth-ID"?
-
-A: The auth-ID is an internal identification which authentificates the user.
- It will be first generated by the admin or the automatic registration
- process and can later be modified by you, the user. Think of some kind
- of a low security password.
-
-
-Q: Can I use a HTTP proxy?
-
-A: Yes.
-
-
-Q: I have uploaded a HUGE file but misspelled my recipient's address. Now I
- have got an error bounce e-mail. Must I re-upload the HUGE file?
-
-A: No, it is not necessary. You can redirect the file with
- http://$HTTP_HOST$/rup
-
-
-Q: I have uploaded a HUGE file but forgot another recipient.
- Must I re-upload the HUGE file?
-
-A: No, it is not necessary. You can forward-copy the file with
- http://$HTTP_HOST$/foc
-
-
-Q: I cannot upload files > 2 GB with my web browser!?
-
-A: All web browsers I am aware of have bugs in their HTML-FORM
- implementation. The limit mostly is 2 GB, sometimes 4 GB.
-
- You have to use a special F*EX client to upload files > 2 GB, see
- http://$HTTP_HOST$/tools.html
-
-
-Q: My download was aborted before it was finished. Can I resume the download?
-
-A: F*EX supports resuming at download, but your client also has to support
- this feature. Firefox eg is missing this HTTP feature, you need an other
- client like opera, wget or fexget.
-
-
-Q: My upload was aborted before it was finished. Can I resume the upload?
-
-A: F*EX supports resuming at upload, but your client also has to support it.
- No web browser has this feature, you need a special F*EX client like
- fexsend, schwuppdiwupp or F*IX.
- See http://$HTTP_HOST$/tools.html
-
-
-Q: My webbrowser cannot start the java client F*IX, it says:
- "found no java runtime environment, cannot start F*IX upload applet"
-
-A: A java plugin for your webbrowser is missing. On Debian and Ubuntu you
- can install it with: "sudo aptitude install sun-java6-plugin"
-
-
-Q: When I hit [ESC] in firefox the upload is canceled. Why?
-
-A: This is a built-in feature of firefox: ESC terminates the current operation.
- Simple solution: do not hit ESC in Firefox.
- Complex solution: ask the Firefox developers to add keyboard configuration.
-
-
-Q: Sending as a F*EX user is easy, but how to receive files from others,
- outside?
-
-A: Register them as your subusers or create a F*EX group
- with http://$HTTP_HOST$/fuc
-
-
-Q: Sometimes I can download a file more than once, especially when I
- repeat it quickly. Is the autodelete feature buggy?
-
-A: The F*EX server has a grace time of 1 minute after first sucessfully
- download in which the file is still available. This is necessary
- because of some stupid "download managers" which requests the file
- several times at once. Otherwise they would report an error to the user.
-
-A: Your fexmaster has set AUTODELETE=DELAY as default, which means that
- the autodelete cleanup process is called once a day.
-
-A: Power users (use the source, Luke!) can set a "do not delete after
- download" flag.
-
-
-Q: The default keep time is too short for me, I need more. How can I set it?
-
-A: Use fexsend, ask your fexmaster or read the source code :-)
-
-
-Q: I cannot download files with Internet Explorer, it tells me "Cannot
- open Internet site". What shall I do?
-
-A: Use Firefox or any other Internet-compatible web browser, that Internet
- Explorer is not. This is one of the many bugs of Internet Explorer.
-
-
+
User questions
+
+Q: |
+ What is the "auth-ID"?
+ |
+A: |
+ The auth-ID is an internal identification which authentificates the user.
+ It will be first generated by the admin or the automatic registration
+ process and can later be modified by you, the user. Think of some kind
+ of a low security password.
+ |
+ | |
+Q: |
+ Can I use a HTTP proxy?
+ |
+A: |
+ Yes.
+ |
+ | |
+Q: |
+ I have uploaded a HUGE file but misspelled my recipient's address.
+ Now I have got an error bounce e-mail. Must I re-upload the HUGE file?
+ |
+A: |
+ No, it is not necessary. You can redirect the file with
+ http://$HTTP_HOST$/rup
+ |
+ | |
+Q: |
+ I have uploaded a HUGE file but forgot another recipient.
+ Must I re-upload the HUGE file?
+ |
+A: |
+ No, it is not necessary. You can forward-copy the file with
+ http://$HTTP_HOST$/foc
+ |
+ | |
+Q: |
+ I cannot upload files > 2 GB with my web browser!?
+ |
+A: |
+ All web browsers I am aware of have bugs in their HTML-FORM
+ implementation. The limit mostly is 2 GB, sometimes 4 GB.
+ You have to use a special F*EX client to upload files > 2 GB, see
+ http://$HTTP_HOST$/tools.html
+ |
+ | |
+Q: |
+ My download was aborted before it was finished. Can I resume the download?
+ |
+A: |
+ F*EX supports resuming at download, but your client also has to support
+ this feature. Firefox eg is missing this HTTP feature, you need an other
+ client like opera, wget or fexget.
+ |
+ | |
+Q: |
+ My upload was aborted before it was finished. Can I resume the upload?
+ |
+A: |
+ F*EX supports resuming at upload, but your client also has to support it.
+ No web browser has this feature, you need a
+ special F*EX client like fexsend, schwuppdiwupp or F*IX.
+ |
+ | |
+Q: |
+ My webbrowser cannot start the java client F*IX, it says:
+ "found no java runtime environment, cannot start F*IX upload applet"
+ |
+A: |
+ A java plugin for your webbrowser is missing. On Debian and Ubuntu you
+ can install it with: sudo aptitude install sun-java6-plugin
+ |
+ | |
+Q: |
+ When I hit [ESC] in firefox the upload is canceled. Why?
+ |
+A: |
+ This is a built-in feature of firefox: ESC terminates the current operation.
+ Simple solution: do not hit ESC in Firefox.
+ Complex solution: ask the Firefox developers to add keyboard configuration.
+ |
+ | |
+Q: |
+ Sending as a F*EX user is easy, but how to receive files from others, outside?
+ |
+A: |
+ Register them as your subusers or create a F*EX group with
+ "user config & operation control"
+ |
+ | |
+Q: |
+ Sometimes I can download a file more than once, especially when I
+ repeat it quickly. Is the autodelete feature buggy?
+ |
+A: |
+ The F*EX server has a grace time of 1 minute after first sucessfully
+ download in which the file is still available. This is necessary
+ because of some stupid "download managers" which requests the file
+ several times at once. Otherwise they would report an error to the user.
+ |
+A: |
+ Your fexmaster has set AUTODELETE=DELAY as default, which means that
+ the autodelete cleanup process is called once a day.
+ |
+A: |
+ Power users (use the source, Luke!) can set a "do not delete after download" flag.
+ |
+ | |
+Q: |
+ The default keep time is too short for me, I need more. How can I set it?
+ |
+A: |
+ Use fexsend, ask your fexmaster or read the source code :-)
+ |
+ | |
+Q: |
+ I cannot download files with Internet Explorer, it tells me "Cannot
+ open Internet site". What shall I do?
+ |
+A: |
+ Use Firefox or any other Internet-compatible web browser, that Internet
+ Explorer is not. This is one of the many bugs of Internet Explorer.
+ |
+
+
-Admin questions:
-================
-
-Q: I cannot install a web server like fexsrv, because I have no root
- permissions. Is there a pure-CGI-version of F*EX which runs with an
- apache web server?
-
-A: F*EX is hard bound to fexsrv for several reasons (performance, file
- size limit, session concept, etc) and cannot be run as CGI under apache.
- But you might have a look at
- http://gpl.univ-avignon.fr/filez/
- http://freshmeat.net/projects/eventh/
- http://www.schaarwaechter.de/sp/projekte/dateiaustausch.html (German only!)
- which implement a file exchange as pure CGIs, but with a 2 GB file size limit.
-
-
-Q: F*EX is not working at all! I cannot connect to it with my web browser!
-
-A: Check your routing, ipfilters and firewall setup.
- Also check whether your xinetd is linked with tcp-wrapper and configure
- it correctly (hosts.allow).
- F*EX needs port 80/tcp (HTTP) and optional port 443/tcp (HTTPS).
-
-
-Q: F*EX is too complicated! I need something more simplified.
+
Admin questions
+
+Q: |
+ I cannot install a web server like fexsrv, because I have no root
+ permissions. Is there a pure-CGI-version of F*EX which runs with an apache web server?
+ |
+A: |
+ F*EX is hard bound to fexsrv for several reasons (performance, file
+ size limit, session concept, etc) and cannot be run as CGI under apache.
+ But you might have a look at
+
+ which implement a file exchange as pure CGIs, but with a 2 GB file size limit.
+ |
+ | |
+Q: |
+ F*EX is not working at all! I cannot connect to it with my web browser!
+ |
+A: |
+ Check your routing, ipfilters and firewall setup.
+ Also check whether your xinetd is linked with tcp-wrapper and configure
+ it correctly (hosts.allow).
+ F*EX needs port 80/tcp (HTTP) and optional port 443/tcp (HTTPS).
+ |
+ | |
+Q: |
+ F*EX is too complicated! I need something more simplified.
+ |
+A: |
+ Try woof
+ |
+ | |
+Q: |
+ How can I integrate F*EX in the existing user management at my site?
+ |
+A: |
+ F*EX has several authentification modules:
+ local, RADIUS, LDAP, mailman and POP
+ For the last 4 please contact the author.
+ |
+ | |
+Q: |
+ I want that all of my local users can use F*EX automaticly. How?
+ |
+A: |
+ Let them register theirselves.
+ You have to edit lib/fex.ph and set (example):
+
+ @local_hosts = qw(127.0.0.1 10.10.100.0-10.10.255.255);
+ @local_domains = qw(flupp.org ulm.sub.net);
+ (Of course you have to add your real local hosts/networks!)
+ |
+ | |
+Q: |
+ I need more security! How can I enable HTTPS?
+ |
+A: |
+ Read doc/SSL and also look for "fop_auth" in doc/concept
+ |
+ | |
+Q: |
+ I need a corporate identity look. How can I configure F*EX in this way?
+ |
+A: |
+ See variable @H1_extra in fex.ph and you can add HTML code to htdocs/header.html
+ |
+A: |
+ See htdocs/fup_template.html, modify it to your needs and use it as your start-page.
+ |
+ | |
+Q: |
+ F*EX is too complicated for my tie users. I need a simplified upload form.
+ |
+A: |
+ See htdocs/fup_template.html
+ |
+ | |
+Q: |
+ I want the Bcc mails to fex (admin user) to be sent to another address.
+ |
+A: |
+ Set variable $bcc in fup.ph
+ |
+ | |
+Q: |
+ Can I get a localized version in my native languange?
+ |
+A: |
+ With your help, yes. Please contact the author.
+ |
-A: Try http://www.home.unix-ag.org/simon/woof.html
-
-
-Q: How can I integrate F*EX in the existing user management at my site?
-
-A: F*EX has several authentification modules:
- local, RADIUS, LDAP, mailman and POP
- For the last 4 please contact the author framstag@rus.uni-stuttgart.de
-
-
-Q: I want that all of my local users can use F*EX automaticly. How?
-
-A: Let them register theirselves with http://yourfexserver/fur
- You have to edit lib/fex.ph and set (example):
- @local_hosts = qw(127.0.0.1 10.10.100.0-10.10.255.255);
- @local_domains = qw(flupp.org ulm.sub.net);
- (Of course you have to add your real local hosts/networks!)
-
-
-Q: I need more security! How can I enable HTTPS?
-
-A: Read doc/SSL and also look for "fop_auth" in doc/concept
-
-
-Q: I need a corporate identity look. How can I configure F*EX in this way?
-
-A: See variable @H1_extra in fex.ph and you can add HTML code to
- htdocs/header.html
-
-A: See htdocs/fup_template.html, modify it to your needs and use it as your
- start-page.
-
-
-Q: F*EX is too complicated for my tie users. I need a simplified upload form.
-
-A: See htdocs/fup_template.html
-
-
-Q: I want the Bcc mails to fex (admin user) to be sent to another address.
-
-A: Use procmail or write OTHERADDRESS to /home/fex/.forward
-
-
-Q: Can I get a localized version in my native languange?
-
-A: With your help, yes. Please contact the author framstag@rus.uni-stuttgart.de
-
-
-Misc questions:
-===============
-
-Q: F*EX is great! Can I join the developing team? What needs to be done?
-
-A: Contact the author framstag@rus.uni-stuttgart.de
- Requested features are:
-
- - a F*EX plugin for thunderbird or outlook
- - more (other) languange support
-
+
+
Misc questions
+
+Q: |
+ F*EX is great! Can I join the developing team? What needs to be done?
+ |
+A: |
+ Contact the author
+ Requested features are:
+
+ - a F*EX plugin for thunderbird or outlook
+
- more (other) languange support (french, japanese, klingon ...)
+
+ |
+
diff -Nru fex-20110622/htdocs/robots.txt fex-20110726/htdocs/robots.txt
--- fex-20110622/htdocs/robots.txt 1970-01-01 01:00:00.000000000 +0100
+++ fex-20110726/htdocs/robots.txt 2011-06-27 14:57:17.000000000 +0200
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /
diff -Nru fex-20110622/htdocs/version fex-20110726/htdocs/version
--- fex-20110622/htdocs/version 2011-06-22 19:27:03.000000000 +0200
+++ fex-20110726/htdocs/version 2011-07-26 23:51:39.000000000 +0200
@@ -1 +1 @@
-fex-20110622
+fex-20110726
diff -Nru fex-20110622/install fex-20110726/install
--- fex-20110622/install 2010-12-17 09:21:52.000000000 +0100
+++ fex-20110726/install 2011-06-27 14:59:32.000000000 +0200
@@ -125,6 +125,7 @@
"lib/fup.pl",
"htdocs/FAQ.html",
"htdocs/index.html",
+ "htdocs/robots.txt",
);
foreach $s (@save) {
diff -Nru fex-20110622/lib/dop fex-20110726/lib/dop
--- fex-20110622/lib/dop 2011-06-04 10:55:29.000000000 +0200
+++ fex-20110726/lib/dop 2011-07-16 03:16:12.000000000 +0200
@@ -223,10 +223,10 @@
$htmldoc .= "\n\n";
foreach my $f (sort @files) {
if ($f =~ /$allowed/) {
- $htmldoc .= sprintf "%20s %20s %s\n",
+ $htmldoc .= sprintf "%20s %20s %s\n",
isodate(mtime("$dir/$f")),
d3(-s "$dir/$f"||0),
- urlencode($f),$f;
+ $uri,urlencode($f),$f;
}
}
$htmldoc .= "
\n