OpenBSD Journal

New Ports of the Week #8 (February 23)

Contributed by merdely on from the master-locked dept.

There are 10 new ports for the week of February 17 to February 23:
devel/py-notify, mail/mailscanner, sysutils/ruby-rails-app-installer, www/drupal5/action-view, www/drupal5/calendar, www/drupal5/coder, www/ruby-typo, x11/gdesklets, x11/gnome/build, x11/gnome/gdl

Ports with updates that users should know about: www/drupal5

Drupal components left out last week:
IMCE, admin-menu, advanced_user, alternate_login, auto_nodetitle, autolocale, backup_migrate, cck, cck_taxonomy, core, date, daterange, dba, dhtml_menu, image, linktocontent, locale-de, locale-es, locale-fr, locale-it, locale-ja, masquerade, meta-tags, pathauto, printer-friendly, securelogin, sitedoc, tinyMCE, token, tql, uploadpath, user_import, user_readonly, usernode, taxonomy_manager, theme-aberdeen, theme-bealestreet, theme-bluebreeze, theme-denver, theme-litejazz, theme-newsflash, themesettingsapi, views, views-bonus, webform

Ports are listed in the order they were committed to the tree:

  • www/drupal5/coder
    • Coder-review is a Drupal package that analyses Drupal code for various issues (database compatibility, help in porting to various versions of Drupal, etc, looking for bad practices). It's based on regexp matches, so it has limitations, but it does a good job of it.
  • x11/gnome/gdl
    • Gnome Devtool Libraries (GDL) contains components and libraries that are intended to be shared between GNOME development tools.

      The current pieces of GDL include:
      • A symbol browser bonobo component (symbol-browser-control).
      • A docking widget (gdl).
      • A utility library that also contains the stubs and skels for the symbol browser and text editor components (gdl, idl).
  • devel/py-notify
    • py-notify provies Python bindings for libnotify.
  • x11/gnome/build
    • GNOME Build Framework (GBF) provides the project management components of the development environment. This includes management of source-code resources, generation of makefiles, and build management.
  • www/drupal5/calendar
    • calendar will display any Views date field in calendar formats, including CCK date fields, Event module event fields, node created or updated dates, etc. Switch between year, month, and day views. Back and next navigation is provided for all views. Note that calendar is a bit difficult to set up correctly, but it is fairly useful.

      • Select the Calendar display as the page type for your view. If you want to have a mini calendar available in a block, select the Calendar display as the block type as well as the page type.
      • Add any fields you want to display on the calendar as fields to the view. Be sure to include fields that contain the dates that need to be shown on the calendar. Date fields can include CCK date fields, event start and end dates, or dates like the node created or updated dates. If you use CCK date fields, set them to 'Do not group multiple values' so each value will display in its own date box.
      • Add three arguments to the view: Calendar Year, Calendar Month, and Calendar Day, in that order. Set each of them to 'Display All Values'.
      • Add sorts to the view for each date field so the dates are sorted correctly.
      • In most cases, add a Node: Type filter to filter the view by the content types that contain your selected date fields. The default view has a Node: Type filter that selects all node types. Change it to select only the node types you want in your calendar.
  • www/drupal5/action-view
    • Action Views is used together with the views module. Action views adds a view type of "Action View" to the views interface. This will present your view as a table, and adds a list of actions you can perform against the results of the query executed by the view. We have taken a modular approach whereby additional actions can easily be added to the module in the form of an include file. The typical kind of usage for this module is to execute actions against multiple records, so for example, deleting a bunch of nodes in one go; changing taxonomies for a bunch of stories in one go, etc. Don't forget to review supplementary actions available in the roles pages.
  • x11/gdesklets
    • gDesklets is a system for bringing mini programs (desklets), such as weather forecasts, news tickers, system information displays, or music player controls, onto your desktop, where they are sitting there in a symbiotic relationship of eye candy and usefulness. The possibilities are really endless and they are always there to serve you whenever you need them, just one key-press away. The system is not restricted to one desktop environment, but currently works on most of the modern Unix desktops (including GNOME, KDE, Xfce).
  • sysutils/ruby-rails-app-installer
    • Ruby Rails App Installer is a tool to make it easy for end-users to install open-source Rails apps. It was originally created for Typo, and has been extracted so other projects can use it as well.
  • www/ruby-typo
    • Typo is a lean weblogging engine powered by rails. It supports XMLRPC posting, ping/trackback, comments, textile, markdown, categories, all common exports, fulltext search and so on.
  • mail/mailscanner
    • MailScanner is a complete e-mail security system designed for use on e-mail gateways. It protects against viruses, and detects attacks against e-mail client packages (such as Outlook, Outlook Express, Eudora). It can also detect almost all unsolicited commercial e-mail (spam) passing through it and respond to all incidents in a wide variety of ways.

Port update notes:

  • www/drupal5: You must disable extra modules and themes from a working drupal install before the update, and reenable them afterwards.
    If you forgot to:
    • ln(1) all the stuff in sites/all/modules and sites/all/themes to modules and themes
    • check your site runs again, disable extra stuff
    • remove the links and re-enable stuff.

www/drupal5 components imported last week are listed in alphabetical order:

  • www/drupal5/IMCE
    • IMCE is an image/file uploader and browser that supports personal directories and quota, that allows easy uploading of images and adding them to TinyMCE.
  • www/drupal5/admin-menu
    • Administration Menu is a drop-down CSS administrative menu for Drupal. Big time gain if your browser supports it. Also, it looks cool.
  • www/drupal5/advanced_user
    • Advanced User provides functions:
      • Filtering of users based on profile.module fields
      • Mass emailing/deleting of the filtered users
      • Show all users who never logged in
      • Notify selected roles when a new user registers for an account or when an account is modified. The notification emails include:
        • User's email address
        • A link to google and yahoo searches for user's email address - great for doing a quick spammer check on the user's email address.
      Mostly useful for:
      • Notify selected roles when user updates profile fields
  • www/drupal5/alternate_login
    • Alternate Login allows users to have an alternate login, mostly useful to migrate an old site that has login restrictions to a new cleaner design.

      Doesn't interact well with user_import at the moment.
  • www/drupal5/auto_nodetitle
    • Manually choosing good content titles is good. If you have a structured site, deducing an automatic content title from the submission (using tokens) is much easier to do. Either used to suggest good content titles, or to disable manual content titles entirely. Per-content type configurable.
  • www/drupal5/autolocale
  • www/drupal5/backup_migrate
    • Backup and Migrate allows easy backup of the Drupal database to a file of sql statements, by selecting which tables you don't need. This module does NOT WORK if you're using postgresql. You will have to configure and use pg_dump(1) to achieve equivalent functionality.
  • www/drupal5/cck
    • The Content Construction Kit (CCK) is one of the most common plugins to Drupal. It allows for the easy insertion of defined fields in content types. This plays nicely with Views, where you can order contents by types, vocabularies, or cck fields.
  • www/drupal5/cck_taxonomy
    • In some cases, one may want to just use the taxonomy vocabularies as cck fields for the hierarchical properties, and not for tagging. Among other things, CCK Taxonomy Fields should provide for views and token integration. Not as useful as it would seem.
  • www/drupal5/core
    • Drupal is a powerful and flexible content management system.
      Some of its appealing features:
      • role-based permission system. Easy to set up exactly the roles you need that match your organisation. Each content-type can be set up per role (submission, approval, viewing rights).
      • automated generation of tables through a view system. There's mostly no need for static structure.
      • powerful indexing capabilities through keywords organized in hierarchical vocabularies (taxonomies).
      • nice localization features. Missing translations can be supplied `on the fly'.
      • url aliases for `nice site' look-ups.
      • integrated downloads and uploads, so that external documents can be part of your site.
      • extensible content forms with typed fields (e.g., starting date).
      • sensible security: mixed sites where the login url goes through https do work without needing to change everything all over the place
      It is highly recommended you also install:
      • drupal5-securelogin
      • drupal5-backup-migrate
      Most sites will need:
      • drupal5-views
      • drupal5-cck
      • drupal5-meta-tags
  • www/drupal5/date
    • Date contains both the Date module and a Date API module. The date module is a flexible date/time field type for cck.
  • www/drupal5/daterange
    • Views Date Range Filter filters views based on node times, 'Node: Created Time Between' and 'Node: Changed Time Between', as well as on CCK date (but not datestamp) fields.
  • www/drupal5/dba
    • The dba module provides Drupal administrators with direct access to their Drupal database tables from within the standard Drupal user interface. It is possible to execute scripts to create and alter tables, to backup one or more tables, to view/edit/delete data within tables, and to empty or drop tables. If using MySQL, it is also possible to check and repair tables. Great tool to view your Drupal tables and figure out how it works.

      Be very careful with permissions!
  • www/drupal5/dhtml_menu
    • DHTML Menu allows the replacement of any menu by a DHTML version, in order to avoid lots of page loads. Note that activating this module is not enough, you have to also replace the menus (e.g., navigation) by their DHTML version on the administer/menu page.
  • www/drupal5/image
    • Image adds support to upload images and manage image content types to Drupal. You can then attach images to any node type, or create image galleries. (the views:bonus grid plugin is especially valuable for this) Features automatic thumbnail creation, works with file uploads set to private method.
  • www/drupal5/linktocontent
    • Link to content allows the `easy' insertion of link to nodes and menus in tinyMCE. The activation is a bit complicated:
      • activate the module
      • activate the plugins in the tinyMCE profiles that need it
      • set up administer link-to-content in appropriate roles
      • go to the link-to-content administration pages, and select the type of content you want to see in the menus
  • www/drupal5/locale-de
    • Provides German translation of Drupal5. If you install this module prior to configuring Drupal, thanks to autolocale, the installation itself will be available in German!
  • www/drupal5/locale-es
    • Provides Spanish translation of Drupal5. If you install this module prior to configuring Drupal, thanks to autolocale, the installation itself will be available in Spanish!
  • www/drupal5/locale-fr
    • Provides French translation of Drupal5. If you install this module prior to configuring Drupal, thanks to autolocale, the installation itself will be available in French!
  • www/drupal5/locale-it
    • Provides Italian translation of Drupal5. If you install this module prior to configuring Drupal, thanks to autolocale, the installation itself will be available in Italian!
  • www/drupal5/locale-ja
    • Provides Japanese translation of Drupal5. If you install this module prior to configuring Drupal, thanks to autolocale, the installation itself will be available in Japanese!
  • www/drupal5/masquerade
    • The masquerade module allows admins to masquerade as other users. This is a very useful tool to test and debug permission issues.
  • www/drupal5/meta-tags
    • The Meta tags module allows you to set some meta tags for each node, view or panels page. Giving more attention to the important keywords and/or description on some of your nodes allows you to get better search engine positioning (given that you really only provide the keywords which exist in the node body itself, and do not try to lie). The module may also be known under following names: nodewords or node (key)words. Meta tags is the preferred name.
  • www/drupal5/pathauto
    • Default Drupal URLs are not very readable. With pathauto, one can easily build decent url, for search engines, or simply to make more sense for users.
  • www/drupal5/printer-friendly
    • Printer-Friendly Pages allows you to generate printer friendly versions of any node by navigating to, where nid is the node id of content to render. A link is inserted in the each node (configurable in the content type settings), that opens a version of the page with no sidebars, search boxes, navigation pages, etc.
  • www/drupal5/securelogin
    • Secure Login redirects logins to an https url. This is highly recommended. The only drawback is that you have to setup https.
  • www/drupal5/sitedoc
    • Unfortunately Drupal does not include the powers of immortality or invincibility. You may someday get hit by a truck, or even just decide that you no longer want to maintain the site. So someone else may have to take over.

      Where do they start? I know you documented the site really well, but the next person doesn't want to read those 14 binders of documentation you left behind. They can always go through all the administration screens and look for the information, but that can take a lot of time and even those pages don't tell you everything. Some things you're only going to get by looking directly into the database.

      This is what the Site Documentation module is designed to do. In addition, it will detect some problems that may exist in your installation, and optionally correct some of them.
  • www/drupal5/tinyMCE
    • tinyMCE plugin (javascript editor) for Drupal
  • www/drupal5/token
    • Tokens are small bits of text that can be placed into larger documents via simple placeholders, like %site-name or [user]. The Token module provides a central API for modules to use these tokens, and expose their own token values.
  • www/drupal5/tql
  • www/drupal5/uploadpath
    • By default, Drupal's upload file system is `flat'. Upload path allows one to set file paths according to various content type properties and vocabulary properties (tokens).
  • www/drupal5/user_import
    • User import allows importing of users from an other site.
  • www/drupal5/user_readonly
    • Some profile fields, particularly with CCK, should be only modified by the admin. User Read-only allows an administrator to disallow modification of user account/profile fields. The administrator can select which fields will be disallowed, or which fields will be allowed.
  • www/drupal5/usernode
    • In some situations, you want to treat users as content (for instance, to present neat lists of user profiles or to allow users to add documents to their own profiles). Usernode tries to make users nodes. It cares for automatic creation and deletion of a node for each user, the so called usernode.
  • www/drupal5/taxonomy_manager
    • Taxonomy Manager simplifies the job of managing Drupal taxonomies providing a javascript/ajax interface which allows one to manage a taxonomy in a very simple way.
  • www/drupal5/theme-aberdeen
    • Aberdeen is a fresh design that balances simplicity, soft, neutral background colors, plenty of whitespace and big nice typography.
      List of features:
      • Standards-compliant XHTML 1.0 Strict and CSS (No CSS hacks).
      • Liquid CSS layout (tableless) - the whole layout increases or decreases proportionally as dimensions are specified in ems. Try changing the font size to see this working.
      • Supports one, two and three columns.
      • Cross-browser compatible. Works fine in Firefox 2.0 and IE 6.
      • Cute icons (all GPL or created by myself).
      • Coded with SEO in mind, the order of the columns are 2dn, 3rd and 1st - usually the 1st is intended for navigation, the other two for content, Google likes that.
      • Slinding doors tabs for primary links that blend with main content area.
  • www/drupal5/theme-bealestreet
    • Beale Street is yet another nice theme, with a `literary' theme and dark background.
  • www/drupal5/theme-bluebreeze
    • The bluebreeze theme combines style with good usability and clean interface:
      • It is based on the great .tpl-file structure of the zen theme.
      • Frando created the theme from a usability point of view.
      • Frando included some icons (all GPL or created by myself), because IMO icons, carefully used, can increase the usability and 'sexiness' of a theme in a good and unobtrusive way.
      • It's blue - because Drupal is blue.
  • www/drupal5/theme-denver
    • The denver theme provides a layout where the center column content renders first, for the best search engine optimization. Page layout is based on the Jello Mold technique. Validates both Valid XHTML 1.0 Strict and W3C CSS. In addition, this theme provides more than 40 custom theme settings.
  • www/drupal5/theme-litejazz
    • Litejazz features 2 color styles, 12 fully collapsible regions, fluid or fixed widths, easy configuration, and more.
  • www/drupal5/theme-newsflash
    • NewsFlash features 12 regions divided into fully collapsible sidebars and horizontal sections. This means that NewsFlash automatically sizes and places blocks depending on the blocks that you wish to display on any page. NewsFlash can be configured for fluid or fixed widths using the easy configuration panel. When using fluid widths, the content and page layout automatically resize to fill the user's screen.
  • www/drupal5/themesettingsapi
    • Theme Settings API provides an API for theme designers who want to provide setup options.
  • www/drupal5/views
    • The Views modules is one of the most useful Drupal plugins. Creates any request for contents (by content type, date, author, etc) and show any part of the content (including attached files and cck fields).
  • www/drupal5/views-bonus
    • A few plugins that didn't make it into the main views package. Views bonus pack provides a grouping of plugins and default views for Views, Especially useful is the grid views.
  • www/drupal5/webform
    • Webform is a flexible creation of complex forms (quizzes) that can be presented to users, stored on the website, and exported to csv.
      To build a quiz, you most often want to enable only grid, markup, and select fields, then create your quizz.
      The author should submit a `perfect' answer, then you can give it to other users.

(Comments are closed)

  1. By Bayu Krisnawan (krisna) on

    Really Nice Using Drupal5 with OpenBSD.
    it's really painful migrate using drupal6 because not much modules imported to drupal6.

    Thanks for porting Drupal5


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]