Skip to content

Commit

Permalink
This commit was manufactured by cvs2svn to create branch
Browse files Browse the repository at this point in the history
'STABLE_4_6-branch'.
  • Loading branch information
cvs2svn committed Jul 2, 2001
4 parents 098d0e0 + 59aabc1 + f0cc7f7 + 31b6b82 commit a1cff99
Show file tree
Hide file tree
Showing 114 changed files with 9,712 additions and 1,354 deletions.
853 changes: 853 additions & 0 deletions MANIFEST

Large diffs are not rendered by default.

55 changes: 47 additions & 8 deletions Makefile.PL
@@ -1,10 +1,13 @@
use ExtUtils::MakeMaker; use ExtUtils::MakeMaker;
require ExtUtils::Install; require ExtUtils::Install;


my $changed_dir_initially;

BEGIN { BEGIN {
eval { eval {
require FindBin; require FindBin;
chdir $FindBin::RealBin; chdir $FindBin::RealBin
and $changed_dir_initially = 1;
}; };
} }


Expand All @@ -28,7 +31,7 @@ my @mods_to_get;
my @remove_old; my @remove_old;
my $Lock_troubles; my $Lock_troubles;


$VERSION = '4.6.1'; $VERSION = '4.6.5';


# See if we have the CPAN module # See if we have the CPAN module


Expand All @@ -48,7 +51,27 @@ my @chown_files = qw/
use lib './lib'; use lib './lib';




my $origdir = cwd(); my $origdir;
if ($changed_dir_initially) {
$origdir = cwd();
}
elsif($ENV{PWD}) {
## We will try
$origdir = $ENV{PWD};
}
else {
print <<EOF;
We know this sounds dumb, but we need to know the current directory. Your
system administratory appears to have set up your system so that you cannot
search the directory path above you. Were you to ever change directory
to /tmp or something, you couldn't even walk the tree back to your own
directory.
EOF

$origdir = my_prompt(qq{What is the directory you are in currently? });

}


# See if we have Term::ReadLine::Perl # See if we have Term::ReadLine::Perl
eval { eval {
Expand All @@ -57,6 +80,7 @@ eval {
require Term::ReadKey; require Term::ReadKey;
$TermRead = 1; $TermRead = 1;
}; };

unless($@) { unless($@) {
$ENV{PERL_RL} = 'Perl'; $ENV{PERL_RL} = 'Perl';
} }
Expand Down Expand Up @@ -155,7 +179,7 @@ sub copyright_prompt {
Interchange V$VERSION Interchange V$VERSION
Copyright (C) 1996-2000 Akopia, Inc. <info\@akopia.com> Copyright (C) 1996-2001 Akopia, Inc. <info\@akopia.com>
Interchange is free under the terms of the GNU General Public License. Interchange is free under the terms of the GNU General Public License.
Expand Down Expand Up @@ -713,11 +737,21 @@ sub MY::install {
\*install; \*install;
} }


my $new = <<'EOF'; my $uidparm;

if (-f "_uid") {
if (open UID, '_uid') {
chomp (my $uid = <UID>);
close UID;
$uidparm = "INTERCHANGE_USER=$uid";
}
}

my $new = <<EOF;
VERBINST=0 VERBINST=0
mv_install :: mv_install ::
$(PERL) Makefile.PL force final=$(INSTALLARCHLIB) \$(PERL) Makefile.PL force $uidparm final=\$(INSTALLARCHLIB)
install :: all pure_install doc_install mv_install install :: all pure_install doc_install mv_install
Expand Down Expand Up @@ -770,6 +804,10 @@ EOF
GetOptions(\%optctl, @options) GetOptions(\%optctl, @options)
or die "Bad option get\n"; or die "Bad option get\n";


if($MV::Default{PREFIX} and ! $changed_dir_initially) {
$origdir = cwd();
}

# use Data::Dumper; # use Data::Dumper;
# $Data::Dumper::Terse = $Data::Dumper::Indent = 2; # $Data::Dumper::Terse = $Data::Dumper::Indent = 2;
# print "ARGV: " . Dumper(\@ARGV); # print "ARGV: " . Dumper(\@ARGV);
Expand All @@ -784,14 +822,15 @@ else {
WriteMakefile( WriteMakefile(
NAME => "Interchange", NAME => "Interchange",
MAN3PODS => { MAN3PODS => {
'pod/icbackoffice.pod' => 'blib/man3/icbackoffice.8', 'pod/icbackoffice.pod' => 'blib/man3/icbackoffice.8',
'pod/iccattut.pod' => 'blib/man3/iccattut.8',
'pod/icconfig.pod' => 'blib/man3/icconfig.8', 'pod/icconfig.pod' => 'blib/man3/icconfig.8',
'pod/icdatabase.pod' => 'blib/man3/icdatabase.8', 'pod/icdatabase.pod' => 'blib/man3/icdatabase.8',
'pod/icinstall.pod' => 'blib/man3/icinstall.8', 'pod/icinstall.pod' => 'blib/man3/icinstall.8',
'pod/icintro.pod' => 'blib/man3/icintro.8', 'pod/icintro.pod' => 'blib/man3/icintro.8',
'pod/ictemplates.pod' => 'blib/man3/ictemplates.8', 'pod/ictemplates.pod' => 'blib/man3/ictemplates.8',
'pod/mv_metadata.pod' => 'blib/man3/mv_metadata.8', 'pod/mv_metadata.pod' => 'blib/man3/mv_metadata.8',
'pod/mvtags.pod' => 'blib/man3/mvtags.8', 'pod/mvtags.pod' => 'blib/man3/mvtags.8',
}, },
DISTNAME => "interchange", DISTNAME => "interchange",
clean => { clean => {
Expand Down
8 changes: 4 additions & 4 deletions QuickStart
@@ -1,6 +1,6 @@
Interchange V4.6.1 Interchange V4.6.5


Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com> Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com>


This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free under the terms of the GNU General Public License as published by the Free
Expand Down Expand Up @@ -61,7 +61,7 @@ Install Walkthrough
Write on the cgi-bin for the web server Write on the cgi-bin for the web server


Unpack the distribution: Unpack the distribution:
gzip -dc interchange-4.6.1.tar.gz | tar xvf - gzip -dc interchange-4.6.*.tar.gz | tar xvf -


Run the configuration script: Run the configuration script:
./configure ./configure
Expand Down Expand Up @@ -532,7 +532,7 @@ Demo Store Install Walkthrough
Low traffic settings. Low traffic settings.
Calling UI.... Calling UI....
....UI is loaded.... ....UI is loaded....
Interchange V4.6.1 Interchange V4.6.x
Configuring catalog example...done. Configuring catalog example...done.
Interchange server started in INET and UNIX mode(s) (process id 22200) Interchange server started in INET and UNIX mode(s) (process id 22200)


Expand Down
8 changes: 4 additions & 4 deletions README
@@ -1,6 +1,6 @@
Interchange V4.6.1 Interchange V4.6.5


Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com> Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com>


Originally based on Vend 0.2 Originally based on Vend 0.2
Copyright 1995 by Andrew M. Wilcox Copyright 1995 by Andrew M. Wilcox
Expand Down Expand Up @@ -87,8 +87,8 @@ UNIX INSTALLATION
------------------ ------------------
Here is the short version: Here is the short version:


gzip -dc interchange-4.6.1.tar.gz | tar xvf - gzip -dc interchange-4.6.*.tar.gz | tar xvf -
cd interchange-4.6.1 cd interchange-4.6.*
./configure ./configure


The 'configure' script is basically a shortcut for: The 'configure' script is basically a shortcut for:
Expand Down
8 changes: 4 additions & 4 deletions README.cvs
Expand Up @@ -74,12 +74,12 @@ to make a distribution tar file:
Writing Makefile for Interchange Writing Makefile for Interchange
$ make tardist $ make tardist
/usr/local/bin/perl -I/YOUR/PERL/LIB -MExtUtils::Manifest=manicopy,maniread \ /usr/local/bin/perl -I/YOUR/PERL/LIB -MExtUtils::Manifest=manicopy,maniread \
-e "manicopy(maniread(),'interchange-4.6.1', 'best');" -e "manicopy(maniread(),'interchange-4.6.x', 'best');"
mkdir interchange-4.6.1 mkdir interchange-4.6.x
mkdir interchange-4.6.1/dist mkdir interchange-4.6.x/dist
.... ....
$ ls interch* $ ls interch*
interchange-4.6.1.tar.gz interchange-4.6.x.tar.gz


=head2 Unpack and install =head2 Unpack and install


Expand Down
13 changes: 12 additions & 1 deletion README.debian
Expand Up @@ -14,5 +14,16 @@ not (yet) approved by Akopia.
Feedback Feedback
-------- --------


Please send your comments and bug reports to Stefan Hornburg Please send your comments and bug reports to Stefan Hornburg (Racke)
<racke@linuxia.de>. <racke@linuxia.de>.

APT Sources
===========

Interchange Debian packages for unstable (sid) are part of the Debian
distribution.

Interchange Debian packages for stable (potato) are available from:

deb http://ftp.minivend.com/interchange/debian interchange main
deb-src http://ftp.minivend.com/interchange/debian interchange main
8 changes: 4 additions & 4 deletions README.rpm
@@ -1,12 +1,12 @@
NAME NAME
README.rpm - Interchange RPM for Redhat Systems README.rpm - Interchange RPM for Red Hat Linux systems


VERSION VERSION
4.6.1 4.6.5


SYNOPSIS SYNOPSIS
rpm -Uvh interchange-4.6.1-1.rh6.i386.rpm rpm -Uvh interchange-4.6.*.rh6.i386.rpm
rpm -Uvh interchange-4.6.1-1.rh7.i386.rpm rpm -Uvh interchange-4.6.*.rh7.i386.rpm


DESCRIPTION DESCRIPTION
The Interchange 4 RPM is designed to integrate Interchange with a stock The Interchange 4 RPM is designed to integrate Interchange with a stock
Expand Down

0 comments on commit a1cff99

Please sign in to comment.