[otrs-cvs] CVS: otrs/scripts/tools base64.pl,1.1,1.2
charset-convert.pl, 1.2, 1.3 compress-mail.pl, 1.4, 1.5 sync-ldap2db.pl, 1.1,
1.2 xml2html.pl,1.7,1.8
cvs-log at otrs.org
cvs-log at otrs.org
Tue Oct 3 17:34:49 CEST 2006
- Previous message: [otrs-cvs] CVS: otrs/scripts/test CustomerBackend.pl,1.2,1.3
CustomerUserAuth.pl,1.2,1.3 TicketHistoryState.pl,1.1,1.2
UserAuth.pl,1.2,1.3
- Next message: [otrs-cvs] CVS: otrs/Kernel/Config GenericAgent.pm.examples, 1.15,
1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/otrs/scripts/tools
In directory lancelot:/tmp/cvs-serv19362/scripts/tools
Modified Files:
base64.pl charset-convert.pl compress-mail.pl sync-ldap2db.pl
xml2html.pl
Log Message:
change copyright
Index: base64.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/base64.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** base64.pl 31 Jan 2004 14:45:52 -0000 1.1
--- base64.pl 3 Oct 2006 14:34:47 -0000 1.2
***************
*** 1,6 ****
#!/usr/bin/perl -w
# --
! # scripts/tools/base64.pl - mime base 64 encode/decode
! # Copyright (C) 2001-2004 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 1,6 ----
#!/usr/bin/perl -w
# --
! # scripts/tools/base64.pl - mime base 64 encode/decode
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
***************
*** 10,19 ****
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
! #
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
! #
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
--- 10,19 ----
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
! #
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
! #
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
***************
*** 40,46 ****
--- 40,48 ----
my @InArray = <STDIN>;
my $In = '';
+
foreach (@InArray) {
$In .= $_;
}
+
if ($Type eq 'decode') {
$In = decode_base64($In);
Index: charset-convert.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/charset-convert.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** charset-convert.pl 24 Jul 2005 10:51:05 -0000 1.2
--- charset-convert.pl 3 Oct 2006 14:34:47 -0000 1.3
***************
*** 2,6 ****
# --
# scripts/tools/charset-convert.pl - converts a text file from one to an other one charset
! # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 2,6 ----
# --
# scripts/tools/charset-convert.pl - converts a text file from one to an other one charset
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
***************
*** 35,39 ****
if ($Opts{'h'}) {
print "charset-convert.pl <Revision $VERSION> - convert a charset of a file\n";
! print "Copyright (c) 2001-2005 Martin Edenhofer <martin\@otrs.org>\n";
print "usage: charset-convert.pl -s <SOURCE_CHARSET> -d <DEST_CHARSET> -f <FILE>\n";
print " charset-convert.pl -s <SOURCE_CHARSET> -d <DEST_CHARSET> < file\n";
--- 35,39 ----
if ($Opts{'h'}) {
print "charset-convert.pl <Revision $VERSION> - convert a charset of a file\n";
! print "Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/\n";
print "usage: charset-convert.pl -s <SOURCE_CHARSET> -d <DEST_CHARSET> -f <FILE>\n";
print " charset-convert.pl -s <SOURCE_CHARSET> -d <DEST_CHARSET> < file\n";
***************
*** 46,57 ****
exit 1;
}
-
if (!$Opts{'d'}) {
print STDERR "ERROR: Need -d <DEST_CHARSET>\n";
exit 1;
}
# check stdin
my $In = '';
my @STD = ();
if (!$Opts{'f'}) {
@STD = <STDIN>;
--- 46,58 ----
exit 1;
}
if (!$Opts{'d'}) {
print STDERR "ERROR: Need -d <DEST_CHARSET>\n";
exit 1;
}
+
# check stdin
my $In = '';
my @STD = ();
+
if (!$Opts{'f'}) {
@STD = <STDIN>;
***************
*** 60,63 ****
--- 61,65 ----
}
}
+
# check file
elsif (! -f $Opts{'f'}) {
***************
*** 65,68 ****
--- 67,71 ----
exit 1;
}
+
# read file
else {
***************
*** 81,84 ****
--- 84,88 ----
print $In;
}
+
# write
else {
***************
*** 87,89 ****
close (OUT);
}
-
--- 91,92 ----
Index: compress-mail.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/compress-mail.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** compress-mail.pl 10 Dec 2004 08:49:57 -0000 1.4
--- compress-mail.pl 3 Oct 2006 14:34:47 -0000 1.5
***************
*** 2,6 ****
# --
# scripts/tools/compress-mail.pl - compress email, zip attachments
! # Copyright (C) 2001-2004 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 2,6 ----
# --
# scripts/tools/compress-mail.pl - compress email, zip attachments
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
Index: sync-ldap2db.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/sync-ldap2db.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** sync-ldap2db.pl 5 Mar 2005 07:53:31 -0000 1.1
--- sync-ldap2db.pl 3 Oct 2006 14:34:47 -0000 1.2
***************
*** 2,6 ****
# --
# scripts/tools/sync-ldap2db.pl - sync a ldap directory to database
! # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 2,6 ----
# --
# scripts/tools/sync-ldap2db.pl - sync a ldap directory to database
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
Index: xml2html.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/xml2html.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** xml2html.pl 2 Mar 2005 09:34:25 -0000 1.7
--- xml2html.pl 3 Oct 2006 14:34:47 -0000 1.8
***************
*** 2,6 ****
# --
# xml2html.pl - a "_simple_" xml2html viewer
! # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 2,6 ----
# --
# xml2html.pl - a "_simple_" xml2html viewer
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
***************
*** 47,55 ****
my $Title = 'xml2html: ';
-
my $HTML = '';
my $Layer = -1;
my $File = shift;
my $FileContent = '';
if ($File) {
open(IN, "< $File") || die "Can't open file $File: $!";
--- 47,55 ----
my $Title = 'xml2html: ';
my $HTML = '';
my $Layer = -1;
my $File = shift;
my $FileContent = '';
+
if ($File) {
open(IN, "< $File") || die "Can't open file $File: $!";
***************
*** 113,120 ****
}
-
$HTML = "<html><head><title>$Title</title></head><body><center><table width=\"900\"><tr><td>\n".$HTML;
$HTML .= "<hr></td></tr></table></center></body></html>\n";
print $HTML;
-
--- 113,118 ----
- Previous message: [otrs-cvs] CVS: otrs/scripts/test CustomerBackend.pl,1.2,1.3
CustomerUserAuth.pl,1.2,1.3 TicketHistoryState.pl,1.1,1.2
UserAuth.pl,1.2,1.3
- Next message: [otrs-cvs] CVS: otrs/Kernel/Config GenericAgent.pm.examples, 1.15,
1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs-log
mailing list