Permalink
Browse files

* Make dist/standard the template that comes with Interchange.

* Change some things so "standard" is referenced in docs and
  is the default in bin/makecat.

* Update some version stuff.

* Give a warning if running in new signals mode on a Perl which can
  support PERL_SIGNALS=unsafe.
  • Loading branch information...
1 parent 5e73eee commit dca66197670d68f4ed1a247d14bba2cec428d721 @perusionmike perusionmike committed May 9, 2004
View
Oops, something went wrong.
View
@@ -41,6 +41,7 @@ _$
^dist/basic(/|$)
^dist/books(/|$)
^dist/construct(/|$)
+^dist/foundation(/|$)
^dist/test(/|$)
^dist/etc/[^.j]
^dist/lib/MiniMate(/|$)
View
@@ -53,7 +53,7 @@ dist/ The distribution files, exclusive of executable
files and modules. Includes:
interchange.cfg.dist Distribution interchange.cfg
- foundation/ Demo catalog skeleton, used by makecat
+ standard/ Demo catalog skeleton, used by makecat
src/ C and Perl code for CGI links
lib/ Back-end administrative interface
code/ Usertags and other customizable code
@@ -81,8 +81,8 @@ as an unprivileged user who will be the only one modifying Interchange files.
Here is the quick installation summary:
-gzip -dc interchange-5.0.0.tar.gz | tar xvf -
-cd interchange-5.0.0
+gzip -dc interchange-5.3.0.tar.gz | tar xvf -
+cd interchange-5.3.0
./configure
The configure script asks where you'd like to install Interchange, and
@@ -96,7 +96,7 @@ as described in the next section.
D E M O
-There is a demo catalog skeleton included called 'foundation'.
+There is a demo catalog skeleton included called 'standard'.
To build your own catalog from the demo, go to the directory where you
installed Interchange (default is "interchange" in your home directory,
View
@@ -31,7 +31,7 @@ the Interchange user ID to write/create files.
Sessions and temporary files: /var/cache/interchange.
-Documentation: /usr/share/doc/interchange-5.0.0.
+Documentation: /usr/share/doc/interchange-5.3.0.
On a dedicated production server, it is wise to segregate as many of these
directories as possible onto their own partitions, to prevent problems if
@@ -45,7 +45,7 @@ usually come supplied with your operating system, so you will need to
install them yourself. It's best to locate RPMs for each of the needed
Perl modules and install them. To get a complete list of dependencies, do:
-rpm -qp --requires interchange-5.0.0-1.i386.rpm
+rpm -qp --requires interchange-5.3.0-1.i386.rpm
Note that some of the dependencies are not actually necessary. For example,
the Cybercash modules (CCMck*) are only needed if you use the Cybercash
@@ -82,14 +82,14 @@ This is unfortunate but is considered the best workaround at the moment.
INSTALL
-rpm -Uvh interchange-5.0.0-1.i386.rpm
-rpm -Uvh interchange-foundation-5.0.0-1.i386.rpm
+rpm -Uvh interchange-5.3.0-1.i386.rpm
+rpm -Uvh interchange-standard-5.3.0-1.i386.rpm
Your version of RPM may correctly recognize Perl modules even if they
were not installed via RPM. But it may not. If not, you'll need to install
the main interchange package without dependency checking:
-rpm -Uvh --nodeps interchange-5.0.0-1.i386.rpm
+rpm -Uvh --nodeps interchange-5.3.0-1.i386.rpm
STARTING/RESTARTING INTERCHANGE
@@ -116,17 +116,17 @@ you use the RPM installation.
-----------------------------------------------------------------------------
There is a separate RPM that provides a live demonstration catalog called
-'foundation', which you may optionally use to quickly try out Interchange.
+'standard', which you may optionally use to quickly try out Interchange.
It should not be used as a basis for a real catalog; instead build
your own with the makecat tool in '/usr/lib/interchange/bin/makecat',
-as described in the documentation. Do not confuse the 'foundation' live demo
-with the 'foundation' catalog skeleton from which you are encouraged to build
+as described in the documentation. Do not confuse the 'standard' live demo
+with the 'standard' catalog skeleton from which you are encouraged to build
your own catalog.
APACHE ASSUMPTIONS
-The foundation-demo RPM relies upon the following things in the Apache
+The standard-demo RPM relies upon the following things in the Apache
installation:
-- Standard document root and CGI binary locations:
@@ -135,9 +135,9 @@ installation:
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
-- ServerName must be the same as what is revealed by `hostname` when
- the foundation RPM is installed. If it is not, temporarily change the
+ the standard RPM is installed. If it is not, temporarily change the
hostname with a command like 'hostname new.host.name' and then install
- the foundation-demo RPM. Afterwards you can change the hostname back
+ the standard-demo RPM. Afterwards you can change the hostname back
to normal.
-- suEXEC not enabled. If you have suEXEC enabled, you are responsible
@@ -149,15 +149,15 @@ installation:
INSTALL
-rpm -Uvh interchange-foundation-demo-5.0.0-1.i386.rpm
+rpm -Uvh interchange-standard-demo-5.3.0-1.i386.rpm
USING THE DEMO
Once installed, you should be able to access the demo catalog like this
(using your own hostname, of course):
-http://hostname/foundation/
+http://hostname/standard/
The initial administrative user name is "interch", and the password is
"pass". Change the password as soon as possible.
View
@@ -102,7 +102,7 @@ UPGRADE NOTES FOR FOUNDATION-STYLE CATALOGS
To stop these warnings, remove the NoCache directive and any
directive beginning with "Static" from your catalog.cfg file.
- In the foundation-style catalog, these are all located near
+ In the standard-style catalog, these are all located near
each other.
If you use the static page build facility, there are other means of
@@ -154,15 +154,15 @@ After running compile_link, you should see four new files in the
EXAMPLE:
- Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation
+ Catalog standard /var/lib/interchange/standard /cgi-bin/standard
You should comment out all but the one you want to test.
-5. Change the /cgi-bin/foundation script link name to /cgi-bin/test5.
+5. Change the /cgi-bin/standard script link name to /cgi-bin/test5.
EXAMPLE:
- Catalog foundation /var/lib/interchange/foundation /cgi-bin/test5
+ Catalog standard /var/lib/interchange/standard /cgi-bin/test5
6. Copy the src/vlink (UNIX mode) or src/tlink (INET mode) link executable
to your CGI directory and name it "test5", i.e.
@@ -196,7 +196,7 @@ subdirectory in your document root, i.e.:
cp -r /usr/lib/interchange-5/share/interchange \
/var/www/html/interchange-5
-11. Modify your /var/lib/interchange/foundation/catalog.cfg file to
+11. Modify your /var/lib/interchange/standard/catalog.cfg file to
point the URLs to the test server if appropriate by placing at the
end:
@@ -22,7 +22,7 @@ Given sku os29000 in the Foundation demo, and assuming the products
database specifies os29000.gif in the B<image> field for os29000,
the tag returns HTML code something like this:
- <img src="/foundation/images/os29000.gif" width=120 height=150
+ <img src="/standard/images/os29000.gif" width=120 height=150
alt="3' Step Ladder" title="3' Step Ladder">
If file os29000.gif hadn't existed, or the products database B<image>
@@ -32,7 +32,7 @@ field were empty, the tag would check for files called "(sku).jpg",
You can also specify a particular image filename, but also give the
sku to look up the description in the database:
- [image sku="[item-code]" src="/foundation/silly/putty.jpg"]
+ [image sku="[item-code]" src="/standard/silly/putty.jpg"]
You can force the use of an image filename even if the file doesn't
exist (for example, if it is on a different server). Any absolute URL
@@ -24,7 +24,7 @@ In the simplest case:
[css THEME_CSS]
it looks for the file C<images/them_css.css>, and if it exists generates
-a <C<link rel=stylesheet href="/foundation/images/theme_css.css">> HTML
+a <C<link rel=stylesheet href="/standard/images/theme_css.css">> HTML
tag to call it.
=head2 OPTIONS
@@ -324,7 +324,7 @@ service guides for more information on this topic.
Destination country. No default. You must pass the name of the country, not the ISO
code or abbreviation (i.e. 'Canada', not 'CA'). Note that USPS maintains a table of
valid country names which does not necessarily match all entries in the country
-table which is distributed with the foundation demo, so modifications may be needed
+table which is distributed with the standard demo, so modifications may be needed
if you intend to use USPS international services. Consult the USPS International
Services guide for more information.
@@ -384,9 +384,7 @@ variable::Variable::POSTAL_ACCEPTED select =No, 1=Yes Accept postal order
variable::Variable::PO_ACCEPTED select 0=No, 1=Yes
variable::Variable::SECURE_ENABLE yesno Enable Secure URL?
variable::Variable::SETTLE_TRANSACTION yesno Settle transactions If you ship hard goods and only do an authorization at order time, you may choose to settle the transaction automatically via the Order manager. This needs to be set to Yes to enable this.
-variable::Variable::STYLE select foundation=Foundation Red,purpleyellow=Purple and Yellow,grayorange=Gray and Orange,fixedwidth=Fixed Width,greens=Green,grayscale=Gray,blueyellow=Blue and Yellow Theme
variable::Variable::TAXFIELD select state=Simple state-based,multi=State/Province and VAT,=None Type of tax You must <b>apply changes</b> after changing this.
-variable::Variable::THEME_CSS textarea_70_40 CSS for site This overrides the setting in the foundation template/*/theme.cfg file.
variable::Variable::UI_BACKUP_TABLES multiple tables Tables to Back up null_to_space {}
variable::Variable::UI_DBCONFIG yesno Offer Database Config Link Shows Database configuration link on Tables main manu
variable::Variable::UI_IMAGE_META yesno New table display style Image meta llink
@@ -41,7 +41,7 @@
<TABLE WIDTH=70%>
<TR><TD>
- [L]This is the "foundation" demonstration of the Interchange electronic catalog system.[/L]
+ [L]This is the "standard" demonstration of the Interchange electronic catalog system.[/L]
[L]Links that will help you to use this software[/L]:
<P>
@@ -343,7 +343,7 @@ They are shown in %sthis color%s below. They are shown in %sthis color%s below.
This a confirmation of your request submission. This a confirmation of your request submission. Dit is een bevestiging van uw ingezonden verzoek.
This is a demo store. If you would like further information on how you can build a store or how you can get custom services, please %svisit our web site%s. This is a demo store. If you would like further information on how you can build a store or how you can get custom services, please %svisit our web site%s. Dit is een demonstratie internet winkel. Wilt U meer informatie over hoe uzelf zo'n winkel bouwt of hoe U aangepaste diensten kunt krijgen, %sbezoek dan onze website%s.
This is a demonstration <b>help page</b> for your customer service area. This is a demonstration <b>help page</b> for your customer service area. Dit is een demonstratie <b>helppagina</b> voor uw klantenservice sectie.
-This is the "foundation" demonstration of the Interchange electronic catalog system. This is the "foundation" demonstration of the Interchange electronic catalog system. Dit is de "foundation" demonstratie van het Interchange electronisch catalogussysteem.
+This is the "standard" demonstration of the Interchange electronic catalog system. This is the "standard" demonstration of the Interchange electronic catalog system. Dit is de "standard" demonstratie van het Interchange electronisch catalogussysteem.
This item is currently in your %sshopping cart%s. This item is currently in your %sshopping cart%s. Dit artikel bevindt zich in uw %swinkelwagen%s.
To save this cart, give it a nickname, then press 'Save Cart'. To save this cart, give it a nickname, then press 'Save Cart'. Geef deze winkelwagen een korte naam om hem op te slaan en klik daarna 'Winkelwagen opslaan'.
To save this recurring order, give it a nickname, then press 'Save Cart'. To save this recurring order, give it a nickname, then press 'Save Cart'. Geef deze herhalingsorder een korte naam om hem op te slaan en klik daarna 'Herhalingsorder opslaan'.
@@ -340,7 +340,6 @@ userdb::zip text 10 Postcode uc word
variable table variable 1 {'ui_meta_specific' => "1",'panel_shade' => "f",'spread_height' => "25",'spread_meta' => "Variable pref_group",'ui_sort_combined' => "pref_group,code",}
variable::Variable text 60 Preference value
variable::Variable::ADDRESS text Company Address
-variable::Variable::THEME_CSS textarea_70_40 CSS for site This overrides the setting in the foundation template/*/theme.cfg file.
variable::Variable::CATALOG_STATIC select No, Yes Enabled for users? <b>Yes</b> will cause Interchange to generate static links where possible.<BR><BR><b>No</b> disables generation of static links for users; you can still send a search engine to the statically generated URL and it will spider the static links on the page.
variable::Variable::CGI_URL text CGI URL URL that calls Interchange, without the server name
variable::Variable::CHECK_ACCEPTED select 0=No, 1=Yes
@@ -367,7 +366,6 @@ variable::Variable::PO_ACCEPTED select 0=No, 1=Yes
variable::Variable::SECURE_ENABLE yesno Enable Secure URL?
variable::Variable::SETTLE_TRANSACTION yesno Settle transactions If you ship hard goods and only do an authorization at order time, you may choose to settle the transaction automatically via the Order manager. This needs to be set to Yes to enable this.
variable::Variable::STATIC_LOGGED select No, Yes Enabled for logged in users? <b>Yes</b> will cause Interchange to generate static links where possible, even when users are logged in.
-variable::Variable::STYLE select foundation=Foundation Red,purpleyellow=Purple and Yellow,grayorange=Gray and Orange,fixedwidth=Fixed Width,greens=Green,grayscale=Gray,blueyellow=Blue and Yellow Theme
variable::Variable::TAXFIELD select state=Simple state-based,multi=State/Province and VAT Type of tax You must <b>apply changes</b> after changing this.
variable::Variable::UI_DBCONFIG yesno Offer Database Config Link Shows Database configuration link on Tables main manu
variable::Variable::UI_IMAGE_META yesno New table display style Image meta llink
View
@@ -3,7 +3,7 @@
#
# findtags - Find ITL tags in Interchange catalogs and directories
#
-# $Id: findtags.PL,v 1.4 2003-09-24 18:53:24 jon Exp $
+# $Id: findtags.PL,v 1.5 2004-05-09 20:56:21 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -79,7 +79,7 @@ and other sources can fool it. If you include all directories, make sure you
don't include documentation files or the usertags themselves.
With the standard distribution, this should find just about all
-tags needed for foundation:
+tags needed:
findtags -a -d lib/UI
@@ -305,7 +305,7 @@ and other sources can fool it. If you include all directories, make sure you
don't include documentation files or the usertags themselves.
With the standard distribution, this should find just about all
-tags needed for foundation:
+tags needed:
findtags -a -d lib/UI
@@ -3,7 +3,7 @@
#
# Interchange version 5.3.0
#
-# $Id: interchange.PL,v 2.80 2004-04-09 21:00:10 jon Exp $
+# $Id: interchange.PL,v 2.81 2004-05-09 20:56:21 mheins Exp $
#
# Copyright (C) 2002-2004 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -829,6 +829,26 @@ print errmsg("\n##### DEBUG MODE, running in foreground #####\n") if $Global::DE
$| = 1;
logGlobal( "Interchange V$VERSION");
+ SIGNALCHECK: {
+ my $high_enough;
+ eval {
+ require 5.8.2;
+ $high_enough = 1;
+ };
+ last SIGNALCHECK unless $high_enough;
+ if($ENV{PERL_SIGNALS} eq 'unsafe') {
+ logGlobal("Running with old signals.");
+ }
+ else {
+ my $msg = <<EOF;
+Running with new signals, external programs could be unreliable.
+Re-run with environment variable PERL_SIGNALS set to "unsafe" to change this.
+EOF
+ chomp $msg;
+ logGlobal($msg);
+ }
+ }
+
# The global configuration set up which catalogs exist.
# Certain ones may have been skipped with -skip on command line...
CATCONFIG: {
Oops, something went wrong.

0 comments on commit dca6619

Please sign in to comment.