News for October 2009

Building a new server at home

Old server hardware became to too small, so I’m building a new one from scratch. Here are some pictures of the hardware in various states.

Posted: October 30th, 2009
Categories: IT, Spare Time
Tags:
Comments: No Comments.

Enable email notifications for Subversion

Just a quick guide on how to enable email notifications in Subversion repositories for GNU/Debian Unstable.

Make sure that you have the subversion-tools package installed:

aptitude install subversion-tools

On the Subversion server go to the path where your repository is located.

$ cd /path/to/repo/

There should be a folder called “hooks“.

$ ls -l

Copy the file “post-commit.tmpl” to “post-commit” and make it executable by the UID of the webserver (I’m using Subversion through Apache2 module, this may vary for your setup).

$ cp hooks/post-commit.tmpl hooks/post-commit
$ chown www-data hooks/post-commit
$ chmod 700 hooks/post-commit

Now create a symlink which points at the Python mailer.py script in the repository root.

$ ln -s /usr/share/subversion/hook-scripts/mailer/mailer.py .

Copy the example configuration for the mailer.py to the root.

$ cp /usr/share/subversion/hook-scripts/mailer/mailer.conf.example mailer.conf

Open mailer.conf with an editor and look for “to_addr” and set it to the recipient (either a person or preferably a mailinglist). There are a lot of other settings you can optionally tweak. A good one would be “from_addr” which I have set to the revisions commiter:

from_addr = %(author)s@fladi.at

To test the email notification we can call mailer.py manually:

$ python mailer.py commit /path/to/repo/ 155 /path/to/repo/mail.conf

The number 155 indicates the revision for which a notification should be sent. This revision has to exist!

If you have received an email consisting of the changes for the specified revision you are done. Further commits should now trigger the notifications automatically. Congrats!

Posted: October 29th, 2009
Categories: Debian, IT
Tags: ,
Comments: No Comments.

Being made of stars

Forget Jesus, the stars died for you!

Posted: October 27th, 2009
Categories: Spare Time
Tags:
Comments: No Comments.

Zeus Webserver Features

Today’s buzzword-bullshit-bingo-feature-f**kup-award goes to Zeus Webserver and the company behind it for their amazing comparison chart. Most of the features mentions on it are just made up ones consisting of buzzwords glued together.

The worst part of the comparison is their investigation into other competing webservers. The people at Zeus seem to have no knowledge about the currently most used webserver: Apache. Not only have they mixed together the 1.x and 2.x branches but they even try to tell us that almost all core modules of Apache have to be considered third-party (look out for the blue boxes). I wonder who is going to be convinced by all those obvious made-up features.

Seriously, mod_rewrite, mod_ldap, mod_ssl, mod_gnutls, mod_status, mod_deflate and all the others are not that much third-party than one could assume after skimming this chart. Almost all (big) distributions are packaging them with Apache2.

One funny bit was the “Referrer-based authentication” which only the Zeus Webserver offers! Woahhh, big security coming your way ’cause it is absolutely impossible to forge referrers!

curl -e “http://www.zeus.com” “http://www.securitymyass.com/supersecure/”

Oh and what the f**k is “XML support”?

Posted: October 27th, 2009
Categories: IT, Internet
Tags:
Comments: No Comments.

Wikipeida schlägt um sich

Haha, ih kanns schon gar nicht mehr fassen: Die Wikipedia-Admins haben die Lemmas “Fefe” und “Zensursula” gelöscht und vor Neuanlage geschützt :-)

Was ist den das für ein Kindergarten dort?

Posted: October 20th, 2009
Categories: Everything Else
Tags:
Comments: No Comments.