Permalink
Browse files

MiniVend 3.12

  • Loading branch information...
perusionmike authored and jonjensen committed Mar 30, 1999
1 parent 85e9e96 commit 7c705c08b19f6ffcaf4dd8f07a0a3fc9662d4dea
Showing with 16,983 additions and 14,303 deletions.
  1. +7 −7 INSTALL
  2. +123 −31 MANIFEST
  3. +64 −4 Makefile.PL
  4. +26 −28 README
  5. +12 −8 README-win.txt
  6. +60 −62 README.OS
  7. +43 −21 UPGRADE
  8. +0 −940 WHATSNEW
  9. +1 −1 configure.bat
  10. +5 −5 dist/README
  11. +4 −4 dist/README-win.txt
  12. +2 −2 dist/README.OS
  13. +273 −29 dist/WHATSNEW
  14. +20 −13 dist/admin/mv_admin.cfg
  15. +28 −1 dist/admin/pages/include/summary
  16. +1 −1 dist/admin/pages/menu.html
  17. +70 −0 dist/admin/subs.cfg
  18. +2 −2 dist/bin/check
  19. +7 −3 dist/bin/dump
  20. +8 −4 dist/bin/expire
  21. +5 −5 dist/bin/expireall
  22. +128 −147 dist/bin/makecat
  23. +319 −184 dist/bin/minivend
  24. +20 −13 dist/bin/offline
  25. +1 −1 dist/bin/reconfig
  26. +19 −5 dist/configure.pl
  27. +8 −0 dist/etc/non_root_files
  28. +182 −0 dist/flycat.cfg
  29. +117 −0 dist/flycat/README.flycat
  30. +103 −0 dist/flycat/catalog.cfg
  31. +51 −0 dist/flycat/config/additional_fields
  32. +2 −0 dist/flycat/etc/order.number
  33. +210 −0 dist/flycat/etc/receipt.html
  34. +147 −0 dist/flycat/etc/report
  35. 0 dist/flycat/etc/session.lock
  36. +2 −0 dist/flycat/etc/vendor.number
  37. +139 −0 dist/flycat/html/index.html
  38. BIN dist/flycat/images/00-0011.jpg
  39. BIN dist/flycat/images/artsmall.gif
  40. BIN dist/flycat/images/artstore.gif
  41. BIN dist/flycat/images/bg.gif
  42. BIN dist/{simple → flycat}/images/ordernow.gif
  43. BIN dist/flycat/images/redball.gif
  44. BIN dist/flycat/images/smallamex.gif
  45. BIN dist/flycat/images/smalldisc.gif
  46. BIN dist/flycat/images/smallmc.gif
  47. BIN dist/flycat/images/smallvisa.gif
  48. BIN dist/flycat/images/tshirt.jpg
  49. +2 −0 dist/flycat/orders/test/order.number
  50. +39 −0 dist/flycat/pages/canceled.html
  51. 0 dist/flycat/pages/cartcfg/.access
  52. +33 −0 dist/flycat/pages/cartcfg/buttonbar
  53. +88 −0 dist/flycat/pages/cartcfg/editcart.html
  54. +68 −0 dist/flycat/pages/cartcfg/enable_edit.html
  55. +18 −0 dist/flycat/pages/cartcfg/export_userdb.html
  56. +29 −0 dist/flycat/pages/cartcfg/export_vendor.html
  57. +73 −0 dist/flycat/pages/cartcfg/master_edit.form
  58. +48 −0 dist/flycat/pages/cartcfg/master_edit.html
  59. +79 −0 dist/flycat/pages/cartcfg/newcart.html
  60. +1 −0 dist/flycat/pages/export.html
  61. +21 −0 dist/flycat/pages/help.html
  62. +97 −0 dist/flycat/pages/new_account.html
  63. +10 −0 dist/flycat/pages/oops.html
  64. +175 −0 dist/flycat/pages/ord/basket.html
  65. +673 −0 dist/flycat/pages/ord/checkout.html
  66. +73 −0 dist/flycat/pages/query/check_orders.html
  67. +5 −0 dist/flycat/pages/redirect.html
  68. +14 −0 dist/flycat/pages/special/badsearch.html
  69. +21 −0 dist/flycat/pages/special/canceled.html
  70. +23 −0 dist/flycat/pages/special/enroll_failed.html
  71. +83 −0 dist/flycat/pages/special/enroll_thankyou.html
  72. +20 −0 dist/flycat/pages/special/failed.html
  73. +17 −0 dist/flycat/pages/special/interact.html
  74. +16 −0 dist/flycat/pages/special/missing.html
  75. +46 −0 dist/flycat/pages/special/needfield.html
  76. +11 −0 dist/flycat/pages/special/nomatch.html
  77. +14 −0 dist/flycat/pages/special/noproduct.html
  78. +13 −0 dist/flycat/pages/special/notfound.html
  79. +11 −0 dist/flycat/pages/special/reconfig.html
  80. +136 −0 dist/flycat/pages/special/sec_faq.html
  81. +32 −0 dist/flycat/pages/special/security.html
  82. +72 −0 dist/flycat/pages/special/violation.html
  83. +197 −0 dist/flycat/products/country.asc
  84. +184 −0 dist/flycat/products/locale.asc
  85. +1 −0 dist/flycat/products/products.txt
  86. +1 −0 dist/flycat/products/salestax.asc
  87. +115 −0 dist/flycat/products/shipping.asc
  88. +2 −0 dist/flycat/products/transactions.raw
  89. +2 −0 dist/flycat/products/transactions.txt
  90. +3 −0 dist/flycat/products/userdb.asc
  91. +5 −0 dist/flycat/products/vendor.txt
  92. 0 dist/flycat/session/.empty
  93. 0 dist/flycat/tmp/.empty
  94. +35 −0 dist/form_mail.cfg
  95. +4 −4 dist/manifest
  96. +177 −62 dist/minivend.cfg.dist
  97. +183 −58 dist/simple/catalog.cfg
  98. +87 −0 dist/simple/config/additional_fields
  99. +81 −0 dist/simple/config/additional_help
  100. +211 −0 dist/simple/etc/receipt.html
  101. +135 −6 dist/simple/etc/report
  102. +10 −35 dist/simple/html/index.html
  103. BIN dist/simple/images/00-0011a.gif
  104. BIN dist/simple/images/19-203.jpg
  105. BIN dist/simple/images/19-204.jpg
  106. BIN dist/simple/images/34-101.gif
  107. BIN dist/simple/images/art.gif
  108. BIN dist/simple/images/browse.gif
  109. BIN dist/simple/images/browse_up.gif
  110. BIN dist/simple/images/button_y.gif
  111. BIN dist/simple/images/checkout.gif
  112. BIN dist/simple/images/checkout_up.gif
  113. BIN dist/simple/images/contents.gif
  114. BIN dist/simple/images/contents_up.gif
  115. BIN dist/simple/images/coolad1.gif
  116. BIN dist/simple/images/coolbits.gif
  117. BIN dist/simple/images/details.gif
  118. BIN dist/simple/images/details_up.gif
  119. BIN dist/simple/images/home.gif
  120. BIN dist/simple/images/home_up.gif
  121. BIN dist/simple/images/mini.gif
  122. BIN dist/simple/images/mvlogo.gif
  123. BIN dist/simple/images/mvlogo_dark.gif
  124. BIN dist/simple/images/ordernow_up.gif
  125. BIN dist/simple/images/perl_id_313c.gif
  126. BIN dist/simple/images/search.gif
  127. BIN dist/simple/images/search_up.gif
  128. BIN dist/simple/images/smallamex.gif
  129. BIN dist/simple/images/smalldisc.gif
  130. BIN dist/simple/images/smallmc.gif
  131. BIN dist/simple/images/smallvisa.gif
  132. BIN dist/simple/images/tshirt.gif
  133. BIN dist/simple/images/tshirt.jpg
  134. BIN dist/simple/images/undercon.gif
  135. +57 −0 dist/simple/pages/about.html
  136. +106 −25 dist/simple/pages/browse.html
  137. +137 −68 dist/simple/pages/browse1.html
  138. +0 −4 dist/simple/pages/buttonbar.html
  139. +16 −6 dist/simple/pages/canceled.html
  140. +0 −65 dist/simple/pages/catalog.html
  141. +4 −0 dist/simple/pages/copyright
  142. +81 −0 dist/simple/pages/feedback.html
  143. +150 −33 dist/simple/pages/flypage.html
  144. +66 −0 dist/simple/pages/frames.html
  145. +63 −0 dist/simple/pages/frames/bottom.html
  146. +142 −0 dist/simple/pages/frames/left.html
  147. +6 −0 dist/simple/pages/frames/top.html
  148. +1 −1 dist/simple/pages/help/sec_faq.html
  149. +2 −1 dist/simple/pages/help/security.html
  150. +0 −52 dist/simple/pages/hintfile.html
  151. +125 −0 dist/simple/pages/index.html
  152. +14 −0 dist/simple/pages/last_search.html
  153. +140 −0 dist/simple/pages/leftside
  154. +23 −0 dist/simple/pages/logobar
  155. +49 −0 dist/simple/pages/menubar
  156. +43 −0 dist/simple/pages/menubottom
  157. +50 −32 dist/simple/pages/new_account.html
  158. +123 −0 dist/simple/pages/news.html
  159. +3 −0 dist/simple/pages/no_right
  160. +8 −0 dist/simple/pages/noframes.html
  161. +133 −98 dist/simple/pages/ord/basket.html
  162. +338 −120 dist/simple/pages/ord/checkout.html
  163. +0 −103 dist/simple/pages/ord/receipt.html
  164. +0 −92 dist/simple/pages/ord/report.html
  165. +33 −0 dist/simple/pages/privacy.html
  166. +36 −16 dist/simple/pages/quantity.html
  167. 0 dist/simple/pages/query/.access
  168. +77 −0 dist/simple/pages/query/check_orders.html
  169. +1 −9 dist/simple/pages/rand1.html
  170. +1 −9 dist/simple/pages/rand2.html
  171. +1 −9 dist/simple/pages/rand3.html
  172. +1 −9 dist/simple/pages/rand4.html
  173. +1 −9 dist/simple/pages/rand5.html
  174. 0 dist/simple/pages/reconfig/.access
  175. +5 −0 dist/simple/pages/reconfig/.access_gate
  176. +63 −0 dist/simple/pages/reconfig/do_download.html
  177. +99 −0 dist/simple/pages/reconfig/do_upload.html
  178. +19 −0 dist/simple/pages/reconfig/reconfig.html
  179. +114 −0 dist/simple/pages/reconfig/upload.html
  180. +78 −22 dist/simple/pages/results.html
  181. +35 −0 dist/simple/pages/rightside
  182. +1 −0 dist/simple/pages/rotate1.html
  183. +1 −0 dist/simple/pages/rotate2.html
  184. +1 −0 dist/simple/pages/rotate3.html
  185. +1 −0 dist/simple/pages/rotate4.html
  186. +0 −9 dist/simple/pages/special/badsearch.html
  187. +4 −5 dist/simple/pages/special/canceled.html
  188. +4 −2 dist/simple/pages/special/cc_not_valid.html
  189. +3 −13 dist/simple/pages/special/confirmation.html
  190. +0 −166 dist/simple/pages/special/control.html
  191. +4 −2 dist/simple/pages/special/failed.html
  192. +81 −0 dist/simple/pages/special/feedback.html
  193. +5 −3 dist/simple/pages/special/interact.html
  194. +5 −4 dist/simple/pages/special/missing.html
  195. +4 −2 dist/simple/pages/special/needfield.html
  196. +4 −2 dist/simple/pages/special/nomatch.html
  197. +5 −3 dist/simple/pages/special/noproduct.html
  198. +5 −3 dist/simple/pages/special/notfound.html
  199. +4 −2 dist/simple/pages/special/order_security.html
  200. +7 −4 dist/simple/pages/special/reconfig.html
  201. +3 −1 dist/simple/pages/special/sec_faq.html
  202. +3 −1 dist/simple/pages/special/security.html
  203. +0 −15 dist/simple/pages/special/tech1.html
  204. +0 −12 dist/simple/pages/special/tech2.html
  205. +0 −17 dist/simple/pages/special/tech3.html
  206. +0 −13 dist/simple/pages/special/tech4.html
  207. +0 −79 dist/simple/pages/special/tech5.html
  208. +63 −10 dist/simple/pages/special/violation.html
  209. +38 −14 dist/simple/pages/srchform.html
  210. +152 −152 dist/simple/products/2ndDayAir.csv
  211. +152 −152 dist/simple/products/2ndDayAirAM.csv
  212. +151 −151 dist/simple/products/Ground.csv
  213. +151 −151 dist/simple/products/GroundComm.csv
  214. +151 −151 dist/simple/products/GroundRes.csv
  215. +152 −152 dist/simple/products/NextDayAir.csv
  216. +152 −152 dist/simple/products/NextDayAirSaver.csv
  217. +2 −0 dist/simple/products/pricing.asc
  218. +4 −2 dist/simple/products/products.asc
  219. +1 −51 dist/simple/products/salestax.asc
  220. +3 −3 dist/simple/products/shipping.asc
  221. +2 −0 dist/simple/products/transactions.raw
  222. +2 −0 dist/simple/products/transactions.txt
  223. +3 −2 dist/simple/products/userdb.asc
  224. +1 −1 dist/simple/reconfig
  225. +5 −0 dist/src/compile.pl
  226. +9 −6 doc/intro.html
  227. +0 −1,420 doc/maxivend.html
  228. +3,851 −6,915 doc/minivend.html
  229. +16 −12 doc/nav.html
  230. +16 −12 doc/toc.html
  231. +394 −0 extra/Business/UPS.pm
  232. +11 −12 lib/Vend/Cart.pm
  233. +64 −64 lib/Vend/Config.pm
  234. +312 −220 lib/Vend/Data.pm
  235. +320 −0 lib/Vend/FlyCat.pm
  236. +16 −16 lib/Vend/Glimpse.pm
  237. +3 −4 lib/Vend/Imagemap.pm
  238. +353 −143 lib/Vend/Interpolate.pm
  239. +12 −9 lib/Vend/MakeCat.pm
  240. +239 −110 lib/Vend/Order.pm
  241. +0 −1 lib/Vend/PageBuild.pm
  242. +200 −135 lib/Vend/Parse.pm
  243. +0 −14 lib/Vend/Parser.pm
  244. +106 −57 lib/Vend/Scan.pm
  245. +160 −22 lib/Vend/Search.pm
  246. +122 −58 lib/Vend/Server.pm
  247. +4 −6 lib/Vend/Session.pm
  248. +55 −126 lib/Vend/Table/DBI.pm
  249. +65 −34 lib/Vend/Table/DB_File.pm
  250. +12 −3 lib/Vend/Table/DummyDB.pm
  251. +64 −33 lib/Vend/Table/GDBM.pm
  252. +111 −66 lib/Vend/Table/Import.pm
  253. +31 −10 lib/Vend/Table/InMemory.pm
  254. +0 −486 lib/Vend/Table/Msql.pm
  255. +26 −86 lib/Vend/TextSearch.pm
  256. +619 −96 lib/Vend/UserDB.pm
  257. +312 −152 lib/Vend/Util.pm
  258. +3 −4 lib/Vend/ValidCC.pm
  259. BIN mvlogo.gif
14 INSTALL
@@ -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"
@@ -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 --
@@ -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
154 MANIFEST
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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;
@@ -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.
@@ -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;
@@ -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
Oops, something went wrong.

0 comments on commit 7c705c0

Please sign in to comment.