Building py27-webware-1.1.1.txz (origin /buildshare/ports/355755/www/py-webware) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/Webware-1.1.1.tar.gz x packages/ x packages/python2-2_2.txz x packages/py27-setuptools27-2.0.1.txz x packages/py27-mx-base-3.2.7.txz x packages/pkg-1.2.7_2.txz x packages/python27-2.7.6_4.txz x packages/gettext-0.18.3.1_1.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> py27-webware-1.1.1 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of py27-webware-1.1.1 ===> py27-webware-1.1.1 depends on file: /usr/local/bin/python2.7 - not found ===> Verifying install for /usr/local/bin/python2.7 in /buildshare/ports/355755/lang/python27 ===> Installing existing package /packages/python27-2.7.6_4.txz Installing python27-2.7.6_4...Installing gettext-0.18.3.1_1... done done ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== ===> Returning to build of py27-webware-1.1.1 ===> py27-webware-1.1.1 depends on executable: python2 - not found ===> Verifying install for python2 in /buildshare/ports/355755/lang/python2 ===> Installing existing package /packages/python2-2_2.txz Installing python2-2_2... done ===> Returning to build of py27-webware-1.1.1 ===> py27-webware-1.1.1 depends on package: py27-mx-base>0 - not found ===> Verifying install for py27-mx-base>0 in /buildshare/ports/355755/lang/py-mx-base ===> Installing existing package /packages/py27-mx-base-3.2.7.txz Installing py27-mx-base-3.2.7...Installing py27-setuptools27-2.0.1... done done ===> Returning to build of py27-webware-1.1.1 ===> py27-webware-1.1.1 depends on file: /usr/local/bin/python2.7 - found ===> py27-webware-1.1.1 depends on executable: python2 - found Make install ===> py27-webware-1.1.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py27-webware-1.1.1 for building ===> Extracting for py27-webware-1.1.1 => SHA256 Checksum OK for Webware-1.1.1.tar.gz. ===> Patching for py27-webware-1.1.1 ===> py27-webware-1.1.1 depends on file: /usr/local/bin/python2.7 - found ===> py27-webware-1.1.1 depends on executable: python2 - found ===> Configuring for py27-webware-1.1.1 ===> Installing for py27-webware-1.1.1 ===> py27-webware-1.1.1 depends on package: py27-mx-base>0 - found ===> py27-webware-1.1.1 depends on file: /usr/local/bin/python2.7 - found ===> py27-webware-1.1.1 depends on executable: python2 - found ---> Making webware default user and its group /usr/bin/env PKG_PREFIX=/usr/local PYTHON=/usr/local/bin/python2.7 LOCALBASE=/usr/local WEBWARE_USER=webkit WEBWARE_GROUP=webkit WEBWARE_MASTER_DIR=/usr/local/share/webware WEBKIT_HOME_DIR=/usr/local/www/webkit /bin/sh /buildshare/ports/355755/www/py-webware/pkg-install webware PRE-INSTALL Added group "webkit". Added user "webkit". ===> Generating temporary packing list ===> Checking if www/py-webware already installed ---> Installing start/stop script /usr/bin/sed -e "s|%%WEBKIT_HOME_DIR%%|/usr/local/www/webkit|g" < /buildshare/ports/355755/www/py-webware/files/webkit.sh.tmpl > /usr/local/etc/rc.d/webkit.sh-dist /bin/chmod 755 /usr/local/etc/rc.d/webkit.sh-dist && /usr/sbin/chown root:wheel /usr/local/etc/rc.d/webkit.sh-dist ---> Compiling Python files and making webkit home directory /usr/bin/env PKG_PREFIX=/usr/local PYTHON=/usr/local/bin/python2.7 LOCALBASE=/usr/local WEBWARE_USER=webkit WEBWARE_GROUP=webkit WEBWARE_MASTER_DIR=/usr/local/share/webware WEBKIT_HOME_DIR=/usr/local/www/webkit /bin/sh /buildshare/ports/355755/www/py-webware/pkg-install webware POST-INSTALL Webware for Python 1.1.1 Installer Cur Date: Thu Jun 5 05:02:56 2014 Python: 2.7.6 (default, May 30 2014, 20:05:52) [GCC 4.2.1 20070831 patched [FreeBSD]] Op Sys: posix Platform: freebsd11 Cur Dir: /usr/local/share/webware Scanning for components... CGIWrapper yes COMKit.... yes DocSupport no Docs...... no KidKit.... yes MiddleKit. yes MiscUtils. yes PSP....... yes TaskKit... yes UserKit... yes WebKit.... yes WebUtils.. yes bin....... no Processing html doc files... Processing phtml doc files... The templates will be removed afterwards. Creating html source, summaries and doc files... CGIWrapper ok COMKit.... ok KidKit.... ok MiddleKit. ok MiscUtils. ok PSP....... ok TaskKit... ok UserKit... ok WebKit.... ok WebUtils.. ok Creating ComponentIndex.html... Creating index.html for all components... Making all Docs directories browsable via WebKit... Creating backups of original config files... Copying start script... NetBSD Byte compiling all modules... Setting permissions on CGI scripts... Setting permission on start script... Setting the WebKit password... A password will be automatically generated. You can check the password after installation at: WebKit/Configs/Application.config Password replaced successfully. Installation looks successful. Welcome to Webware! You can already try out the WebKit application server. Start it with "WebKit/AppServer" and point your browser to "http://localhost:8080". Browsable documentation is available in the Docs folders. You can use "Docs/index.html" as the main entry point. Installation is finished. Making a new WebKit runtime directory... Creating the directory tree... /usr/local/www/webkit/ /usr/local/www/webkit/Cache /usr/local/www/webkit/Configs /usr/local/www/webkit/ErrorMsgs /usr/local/www/webkit/Logs /usr/local/www/webkit/Sessions Copying config files... /usr/local/www/webkit/Configs/CGIAdapter.config /usr/local/www/webkit/Configs/FCGIAdapter.config /usr/local/www/webkit/Configs/AppServer.config /usr/local/www/webkit/Configs/ModPythonAdapter.config /usr/local/www/webkit/Configs/WSGIAdapter.config /usr/local/www/webkit/Configs/Application.config /usr/local/www/webkit/Configs/OneShotAdapter.config Copying other files... /usr/local/www/webkit/AppServer /usr/local/www/webkit/webkit /usr/local/www/webkit/error404.html Creating the launcher scripts... /usr/local/www/webkit/Launch.py /usr/local/www/webkit/WebKit.cgi Creating default context... /usr/local/www/webkit/MyContext /usr/local/www/webkit/MyContext/Main.py /usr/local/www/webkit/MyContext/__init__.py Updating config for default context... /usr/local/www/webkit/Configs/Application.config Congratulations, you've just created a runtime working directory for Webware. To start the app server you can run this command: /usr/local/www/webkit/AppServer By default the built-in HTTP server is activated. So you can immediately see an example that has been generated for you to play with and to build upon by pointing your browser to: http://localhost:8080 In a productive environment, you will probably want to use Apache or another web server instead of the built-in HTTP server. The most simple (but least performant) solution to do this is by using the Python WebKit.cgi CGI script. Copy it to your web server's cgi-bin directory or anywhere else that it will execute CGIs from. If you see import errors, you may need to modify the file permissions on your Webware directory so that the CGI script can access it. Have fun! chown -R webkit:webkit /usr/local/www/webkit/Cache /usr/local/www/webkit/ErrorMsgs /usr/local/www/webkit/Logs /usr/local/www/webkit/Sessions ===> Registering installation for py27-webware-1.1.1 Installing py27-webware-1.1.1... done Make package ===> Building package for py27-webware-1.1.1 Creating package for py27-webware-1.1.1 slot2: removed