Web application RPM notes

Key elements of RPM spec files when used with web applications:

  • Source: - source should be the distribution tar file. If it isn’t yours (meaning it is an open source application), it is best to use the original or distribution URL. That way, you are sure it is unaltered
  • Build: - this is really just a copy into a directory
  • Files: - since there really isn’t a build process, you are just identifying the files and where they will go. The command suggestion below can be used to generate the filelist.
  • Provides and requires must be set carefully to make this work well for complex systems

tar -tzf eztagcloud.tgz | grep -v ".*/$" | awk '{ print "\"""%{targetdir}"$0"\""; }'

RPMs for web applications

Web applications are traditionally distributed with tar files, but they can be packaged as RPMs.

A web application in an RPM should have a tar file with the source. The tar file should have the files from the top of the application file tree, to make it easier if the target directory needs to change. The only parts of the .spec file that really need to be defined are the install, which will copy the files from the build root into a target directory, and clean, to delete the files after the RPM is built. Use tar tf to list the files from that tar (don’t list the directories or warnings will be issued for duplicate files). Be sure to encase the filenames in double quotes, write them to a file and then include them into the files section with the -f option. Using the -f option allows all the files for the tar to be specified, automatically, and ensures additional packages can be defined for the same directory with minimal conflicts.

The group for most web applications is Applications/Internet

RPMs can be created to allow the files to be relocated, another excellent approach would be to use symlinks into a single installation on a server, with account level configuration/access and databases.

During development, a script which creates tar files from the modules can be used to support both the RPM packaging, and create quick distribution packages for updates from a version control system.

All image formats supported

Color mapper was updated to allow all image formats.

md5 just-a-test list

The following URLs may have the md5(’just_a_test_code’):

http://honamfishing.co.kr/phpmysqladmin/libraries/nov/uyowuwi/
http://kamini.biz/a/onodin/bb/aqileka/seleyuy/&pb=1
http://mojazubarka.sk/test/admin/sicaqe/jufoxir/
http://mslayouts.ws/icons/administrator/components/com_menus/etotag/qeba/
http://sans-packing.ru/img/jipeqap/ehudute/
http://stoneproperties.co.uk/album/includes/nohul/zojaz/
http://targi.pc-tuning.pl/images/news/aqa/cib/
http://www.antwerpsupporter.be/soccerstats/images/gumiseq/nila/
http://www.boomerbible.com/instapunk/MType/archives/ajuq/avu/
http://www.channelnewsperu.com/imagenes/publicaciones/fotos/emesuki/lewu/&c=1&tb=1&pb=1
http://www.elettrodataservice.it/foto_articoli/pivafof/mibi/
http://www.eloge-du-bien-commun.be/blog/bundled-libs/Net/ocoqen/goqe/&tb=1&pb=1
http://www.filter-international.com/webservice/aro/pefosi/&c=1&tb=1&pb=1
http://www.foicr.org/work/mulito/yiqosu/
http://www.heaven-house.kz/templates_c/omoj/edexuq/
http://www.interkonet.com/galeria/modules/albumselect/ucu/yixipuz/&paged=2
http://www.jyvaskylankirjastot.fi/yhteistyo/wd/muji/renula/xejado/&tb=1&pb=1
http://www.landi-sempach-emmen.ch/aktionen/image/zafecez/roxovef/&c=1&tb=1&pb=1
http://www.obrasmecanicasch.com/omch/img/anawuho/ohuhiru/&pb=1
http://www.oriolmanya.net/nautilus/phpBB2/language/lang_english/ifekeri/cekogah/
http://www.pattibus.it/phplib-7.2b/pages/godot/olule/
http://www.sibstro.ru/dom/domimg/pife/egemo/&paged=2
http://www.stomol.ru/catalog/rivoz/ifewaf/&tb=1&pb=1
http://www.tcmforum.com/layout/oxiqade/onese/
http://www.thoseguysfilms.com/forums/templates/subSilver/images/timuji/jaborat/&paged=2
http://www.unduetretoccaate.it/codice/fog/biko/
http://www.uxbridgerotary.org/survey/tmp/isefa/nowu/yocav/
http://www.vlopezalvarez.com/Personal/Fotos/Viajes/xaj/ocaceg/

To check if the file is on the server, click on the link. If something similar to:

<?php echo md5("just_a_test"); ?>

is displayed, the file is still there, and the entire server (all accounts) should be checked.

If you own any of these domain names or servers, you should address the issue.

If a 404 (page not found) error is received, the file has been removed.

This blog has additional posts related to the issue, you may use the search feature.

Information derived from server statistics, non-authorative.

Notes

An image is worth 1000 pixels

Rich interface applications require careful designs, and should almost always be multi-lingual capable. One of the best ways to achieve this for small page elements is the use of images as labels.

Examples:

  • Red circle with line through it - means ‘you can’t do this’
  • WYSIWYG labels - are so prevalent most people understand all of them, including links, images, bold, italic, etc.

Page layouts

Many times, a page has more content than can be displayed. Accordian panes and tabs are a great way to make additional content available to the page viewer, without requiring them to scroll or navigate away from the page. dojo

eZ publish integration

Add these .htaccess to easily allow additional applications or files to be added to an eZ publish site. I haven’t tried them with eZ yet - but they work with b2evolution. Be sure to place them carefully. :)


# Redirect anything that's not an existing directory or file to index.php
#
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f