Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
MiniVend 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
perusionmike authored and jonjensen committed Jan 2, 2009
1 parent 85e9e96 commit 7c705c0
Show file tree
Hide file tree
Showing 259 changed files with 16,983 additions and 14,303 deletions.
14 changes: 7 additions & 7 deletions INSTALL
Expand Up @@ -22,7 +22,7 @@ IMPORTANT NOTE: The installation procedure has changed, we hope for the
WINDOWS INSTALLATION
--------------------

Obtain the self-extracting executable minivend-3.11.exe
Obtain the self-extracting executable minivend-3.12.exe
and double-click on it.

IMPORTANT NOTE: If you get the message "Bad command or file name"
Expand All @@ -33,7 +33,7 @@ WINDOWS INSTALLATION
appears to work well with the ActiveState 5.005 "Merge" port.

If you already have the CYGWIN.DLL executable or plan on using the
Perl link CGI, you can download the file minivend-3.11-nodll.exe
Perl link CGI, you can download the file minivend-3.12-nodll.exe
and do the same.

The defaults are set for Microsoft Personal Web Server on Win95 --
Expand All @@ -60,19 +60,19 @@ UNIX INSTALLATION
------------------
Here is the short version:

gzip -dc minivend-3.11.tar.gz | tar xvf -
cd minivend-3.11
gzip -dc minivend-3.12.tar.gz | tar xvf -
cd minivend-3.12
./configure

Long version with comments:

# Unzip and untar the file -- if you have GNU tar, you can substitute
# 'tar xzf minivend-3.11.tar.gz'
gzip -dc minivend-3.11.tar.gz | tar xvf -
# 'tar xzf minivend-3.12.tar.gz'
gzip -dc minivend-3.12.tar.gz | tar xvf -

# Change directory to the one that was created
#
cd minivend-3.11
cd minivend-3.12

# If you have trouble with picking up the wrong Perl version,
# try '/dir/where/perl/is/perl Makefile.PL
Expand Down
154 changes: 123 additions & 31 deletions MANIFEST
Expand Up @@ -66,75 +66,168 @@ dist/configure
dist/configure.pl
dist/error.log
dist/etc/mvconf.cmt
dist/etc/non_root_files
dist/flycat.cfg
dist/flycat/README.flycat
dist/flycat/catalog.cfg
dist/flycat/config/additional_fields
dist/flycat/etc/order.number
dist/flycat/etc/receipt.html
dist/flycat/etc/report
dist/flycat/etc/report.html
dist/flycat/etc/session.lock
dist/flycat/etc/vendor.number
dist/flycat/html/index.html
dist/flycat/images/00-0011.jpg
dist/flycat/images/artsmall.gif
dist/flycat/images/artstore.gif
dist/flycat/images/bg.gif
dist/flycat/images/ordernow.gif
dist/flycat/images/redball.gif
dist/flycat/images/smallamex.gif
dist/flycat/images/smalldisc.gif
dist/flycat/images/smallmc.gif
dist/flycat/images/smallvisa.gif
dist/flycat/images/tshirt.jpg
dist/flycat/orders/test/order.number
dist/flycat/pages/canceled.html
dist/flycat/pages/cartcfg/.access
dist/flycat/pages/cartcfg/buttonbar
dist/flycat/pages/cartcfg/editcart.html
dist/flycat/pages/cartcfg/enable_edit.html
dist/flycat/pages/cartcfg/export_userdb.html
dist/flycat/pages/cartcfg/export_vendor.html
dist/flycat/pages/cartcfg/master_edit.form
dist/flycat/pages/cartcfg/master_edit.html
dist/flycat/pages/cartcfg/newcart.html
dist/flycat/pages/export.html
dist/flycat/pages/help.html
dist/flycat/pages/new_account.html
dist/flycat/pages/oops.html
dist/flycat/pages/ord/basket.html
dist/flycat/pages/ord/checkout.html
dist/flycat/pages/query/check_orders.html
dist/flycat/pages/redirect.html
dist/flycat/pages/special/badsearch.html
dist/flycat/pages/special/canceled.html
dist/flycat/pages/special/enroll_failed.html
dist/flycat/pages/special/enroll_thankyou.html
dist/flycat/pages/special/failed.html
dist/flycat/pages/special/interact.html
dist/flycat/pages/special/missing.html
dist/flycat/pages/special/needfield.html
dist/flycat/pages/special/nomatch.html
dist/flycat/pages/special/noproduct.html
dist/flycat/pages/special/notfound.html
dist/flycat/pages/special/reconfig.html
dist/flycat/pages/special/sec_faq.html
dist/flycat/pages/special/security.html
dist/flycat/pages/special/violation.html
dist/flycat/products/country.asc
dist/flycat/products/locale.asc
dist/flycat/products/products.txt
dist/flycat/products/salestax.asc
dist/flycat/products/shipping.asc
dist/flycat/products/transactions.raw
dist/flycat/products/transactions.txt
dist/flycat/products/userdb.asc
dist/flycat/products/vendor.txt
dist/flycat/session/.empty
dist/flycat/tmp/.empty
dist/form_mail.cfg
dist/locale.error
dist/manifest
dist/minivend.cfg.dist
dist/simple/catalog.cfg
dist/simple/config/.empty
dist/simple/config/additional_fields
dist/simple/config/additional_help
dist/simple/etc/order.profiles
dist/simple/etc/receipt.html
dist/simple/etc/report
dist/simple/etc/search.profiles
dist/simple/html/index.html
dist/simple/images/00-0011.jpg
dist/simple/images/00-0011a.gif
dist/simple/images/00-341.jpg
dist/simple/images/00-342.jpg
dist/simple/images/00-343.jpg
dist/simple/images/19-203.jpg
dist/simple/images/19-204.jpg
dist/simple/images/21-221.jpg
dist/simple/images/34-101.gif
dist/simple/images/art.gif
dist/simple/images/artsmall.gif
dist/simple/images/artstore.gif
dist/simple/images/bg.gif
dist/simple/images/blue_pap.gif
dist/simple/images/browse.gif
dist/simple/images/browse_up.gif
dist/simple/images/button_y.gif
dist/simple/images/checkout.gif
dist/simple/images/checkout_up.gif
dist/simple/images/contents.gif
dist/simple/images/contents_up.gif
dist/simple/images/details.gif
dist/simple/images/details_up.gif
dist/simple/images/home.gif
dist/simple/images/home_up.gif
dist/simple/images/coolad1.gif
dist/simple/images/coolbits.gif
dist/simple/images/mini.gif
dist/simple/images/mvlogo.gif
dist/simple/images/mvlogo_dark.gif
dist/simple/images/new.gif
dist/simple/images/ordernow.gif
dist/simple/images/ordernow_up.gif
dist/simple/images/perl_id_313c.gif
dist/simple/images/staircase.jpg
dist/simple/images/redball.gif
dist/simple/images/search.gif
dist/simple/images/search_up.gif
dist/simple/images/tshirt.gif
dist/simple/images/undercon.gif
dist/simple/images/smallamex.gif
dist/simple/images/smalldisc.gif
dist/simple/images/smallmc.gif
dist/simple/images/smallvisa.gif
dist/simple/images/tshirt.jpg
dist/simple/images/web_srch.gif
dist/simple/pages/about.html
dist/simple/pages/browse.html
dist/simple/pages/browse1.html
dist/simple/pages/buttonbar.html
dist/simple/pages/canceled.html
dist/simple/pages/catalog.html
dist/simple/pages/copyright
dist/simple/pages/feedback.html
dist/simple/pages/flypage.html
dist/simple/pages/frames.html
dist/simple/pages/frames/bottom.html
dist/simple/pages/frames/left.html
dist/simple/pages/frames/top.html
dist/simple/pages/help/sec_faq.html
dist/simple/pages/help/security.html
dist/simple/pages/hintfile.html
dist/simple/pages/index.html
dist/simple/pages/last_search.html
dist/simple/pages/leftside
dist/simple/pages/logobar
dist/simple/pages/menubar
dist/simple/pages/menubottom
dist/simple/pages/new_account.html
dist/simple/pages/news.html
dist/simple/pages/no_right
dist/simple/pages/noframes.html
dist/simple/pages/ord/basket.html
dist/simple/pages/ord/checkout.html
dist/simple/pages/ord/nobasket.html
dist/simple/pages/ord/receipt.html
dist/simple/pages/ord/report.html
dist/simple/pages/privacy.html
dist/simple/pages/quantity.html
dist/simple/pages/query/.access
dist/simple/pages/query/check_orders.html
dist/simple/pages/rand1.html
dist/simple/pages/rand2.html
dist/simple/pages/rand3.html
dist/simple/pages/rand4.html
dist/simple/pages/rand5.html
dist/simple/pages/reconfig/.access
dist/simple/pages/reconfig/.access_gate
dist/simple/pages/reconfig/do_download.html
dist/simple/pages/reconfig/do_upload.html
dist/simple/pages/reconfig/reconfig.html
dist/simple/pages/reconfig/upload.html
dist/simple/pages/results.html
dist/simple/pages/rightside
dist/simple/pages/rotate1.html
dist/simple/pages/rotate2.html
dist/simple/pages/rotate3.html
dist/simple/pages/rotate4.html
dist/simple/pages/special/badsearch.html
dist/simple/pages/special/canceled.html
dist/simple/pages/special/cc_not_valid.html
dist/simple/pages/special/confirmation.html
dist/simple/pages/special/control.html
dist/simple/pages/special/failed.html
dist/simple/pages/special/feedback.html
dist/simple/pages/special/interact.html
dist/simple/pages/special/missing.html
dist/simple/pages/special/needfield.html
Expand All @@ -145,11 +238,6 @@ dist/simple/pages/special/order_security.html
dist/simple/pages/special/reconfig.html
dist/simple/pages/special/sec_faq.html
dist/simple/pages/special/security.html
dist/simple/pages/special/tech1.html
dist/simple/pages/special/tech2.html
dist/simple/pages/special/tech3.html
dist/simple/pages/special/tech4.html
dist/simple/pages/special/tech5.html
dist/simple/pages/special/violation.html
dist/simple/pages/srchform.html
dist/simple/products/2ndDayAir.csv
Expand All @@ -169,13 +257,16 @@ dist/simple/products/pricing.asc
dist/simple/products/products.asc
dist/simple/products/salestax.asc
dist/simple/products/shipping.asc
dist/simple/products/transactions.raw
dist/simple/products/transactions.txt
dist/simple/products/ups_zone.asc
dist/simple/products/userdb.asc
dist/simple/reconfig
dist/simple/report_problem
dist/simple/session/.empty
dist/simple/tmp/PageCache/.empty
dist/simple/tmp/SearchCache/.empty
dist/src/compile.pl
dist/src/config.h.in
dist/src/configure
dist/src/configure.in
Expand All @@ -190,10 +281,10 @@ dist/userdb.cfg
doc/bullet.gif
doc/frtoc.html
doc/intro.html
doc/maxivend.html
doc/minivend.html
doc/nav.html
doc/toc.html
extra/Business/UPS.pm
extra/File/CounterFile.pm
extra/File/Spec.pm
extra/File/Spec/OS2.pm
Expand All @@ -206,6 +297,7 @@ extra/URI/URL.pm
lib/Vend/Cart.pm
lib/Vend/Config.pm
lib/Vend/Data.pm
lib/Vend/FlyCat.pm
lib/Vend/Glimpse.pm
lib/Vend/Http.pm
lib/Vend/Imagemap.pm
Expand All @@ -227,13 +319,13 @@ lib/Vend/Table/DummyDB.pm
lib/Vend/Table/GDBM.pm
lib/Vend/Table/Import.pm
lib/Vend/Table/InMemory.pm
lib/Vend/Table/Msql.pm
lib/Vend/Table/Quoted.pm
lib/Vend/Table/Update.pm
lib/Vend/TextSearch.pm
lib/Vend/UserDB.pm
lib/Vend/Util.pm
lib/Vend/ValidCC.pm
mvlogo.gif
test.pl
win/POSIX.pm
win/minivend.pif
68 changes: 64 additions & 4 deletions Makefile.PL
Expand Up @@ -26,7 +26,7 @@ my @mods_to_get;
my $Lock_troubles;
my $Windows;

$VERSION = '3.11';
$VERSION = '3.12';

# See if we have the CPAN module
my $Cpan = 0;
Expand Down Expand Up @@ -235,7 +235,7 @@ sub copyright_prompt {
MiniVend V$VERSION
Copyright 1996-1998 by Michael J. Heins <mikeh\@minivend.com>
Copyright 1996-1999 by Michael J. Heins <mikeh\@minivend.com>
MiniVend is free under the terms of the GNU General Public License.
Expand Down Expand Up @@ -446,6 +446,64 @@ EOF
}


eval {
require Business::UPS;
};
if ($@) {
push @extra_lib_dirs, 'Business';
push @extra_lib_files, 'Business/UPS.pm';
}

eval {
require Storable;
};
unless ($@) {
my $def = 'n';
print <<EOF;
You appear to have Raphael Manfredi's Storable module installed.
This module will significantly improve your DBM storage and
fetch times.
You can reply one of:
n -- Don't use Storable
s -- Use for sessions only, won't break existing databases
y -- Use for both sessions and databases
It is recommended that new installations reply YES, and that
existing installations reply S unless there is a need for
improved performance. Replying S will mean you have to delete all
of your session files.
If you reply YES and you use any GDBM or DB_File databases
they will NEED TO BE REMADE for ALL CATALOGS using this
MiniVend server instance.
EOF

if($ENV{MINIVEND_STORABLE_DB} || -f "$realdir/_db_storable") {
$def = 'y';
}
elsif($ENV{MINIVEND_STORABLE} || -f "$realdir/_session_storable") {
$def = 's';
}
my $ask = my_prompt("Use Storable module? (y/n/s) ", $def);
if ($ask =~ /^\s*(y|d)/i) {
open(TSTORABLE, ">$realdir/_db_storable")
or die "creat $realdir/_db_storable: $!\n";
print TSTORABLE "REMOVE THIS FILE TO STOP USING Storable\n";
close TSTORABLE;
}
if ($ask =~ /^\s*(y|s)/i) {
open(TSTORABLE, ">$realdir/_session_storable")
or die "creat $realdir/_session_storable: $!\n";
print TSTORABLE "REMOVE THIS FILE TO STOP USING Storable\n";
close TSTORABLE;
}
}


MODCHECK: {

last MODCHECK unless $Cpan;
Expand Down Expand Up @@ -518,9 +576,11 @@ EOF

print <<EOF;
You may wish to inspect minivend.cfg.dist for new values.
You may wish to inspect minivend.cfg.dist for new values; in
particular if you want to use the newer demo you might need some
UserTag entries defined there.
Check the README file for changes you might have to make if
Check the UPGRADE file for changes you might have to make if
updating from an earlier version of MiniVend.
EOF

Expand Down

0 comments on commit 7c705c0

Please sign in to comment.