One Suggestion by ... Calhariz

To content | To menu | To search

Friday 18 January 2013

Packaged kibana into a Debian package

I have made a Debian package for kibana software. You may download the kibana_0.2.0_35_g40f2512_3-1_all.deb file or the sources kibana_0.2.0_35_g40f2512_3-1.dsc.

Monday 12 November 2012

Good hacks on using Debian testing

I found an interesting article on how to use Debian testing/unstable/experimental and ways to contribute back to Debian.

http://bonedaddy.net/pabs3/log/2012/10/29/thoughts-on-debian-testing/

Tuesday 3 January 2012

To package or not to package, that's the question.

In the past I had to install many times, by hand, extra software on Unix machines, specially because of missing useful software like a C compiler or because I like too much to use the bash. In the end it can get very messy I promised myself to never do again a make install for manually installing software in a Debian machine.

It's possible and it pays on the long run. When you take a program from outside the distribution you need to: configure, compile, install and document what you have done. So you can do it again with the next version. Specially when you have done local modifications. If you put your software inside a Debian package and follow the most sensible Debian Policy rules you get:

  • The documentation on how to configure, build and install the software is in debian/rules file.
  • It's easy to upgrade or remove the software, because is a Debian package.
  • You can use a patch system like quilt or dpatch to isolate your local changes from the upstream sources. If you create different patches files, for every logical feature you enhance or fix, it will be easier to drop them when the new version have the desired feature and to know what features needs to be ported for the new version of the upstream software.
  • You can do it even with the binaries of proprietary software. Its easy to take an rpm or tar files with the binaries and insert them inside the sources of a Debian package. With the proper care it's easy to update the sources for the next upgrade.

For example I have been doing this for packaging the pristine upstream binary of eclipse, because the teachers of my University usually requests a newer version of eclipse than what is available from Debian stable or even unstable.

Another example is the support software for HP hardware before HP officially supported Debian. I have taken the original rpm files or the scexe scripts and convert them into a debian file. Usually I need only to change two files with every new release of software, the Makefile with the name of the new rpm file and the debian/changelog with the new version and what is new.

In the end it's easier than it seams to create and maintain a Debian package. It's a steep curve, but pays off on the long run.

The good thing is all this approaches are compatible with a puppet or chef system for managing the Unix servers.

Thursday 4 August 2011

Preview of xorp v1.8.3 in Debian

I attended DebConf11 and my main objective was to package xorp v1.8.3 for Debian. In the spirit of release early and release often here are the links for a package compiled for Debian v6.0 aka squeeze. The work is not finished and most important was not yet reviewed by a Debian Developer. Reports of success are important.

For downloading:

xorp_1.8.3-1_wip4_bpo60_1_i386.deb

xorp_1.8.3-1_wip4_bpo60_1_amd64.deb

For accessing the sources or using apt-get add the following lines to your /etc/apt/sources.list:

deb http://debian.tagus.ist.utl.pt/debian squeeze/UNRELEASED main contrib
deb-src  http://debian.tagus.ist.utl.pt/debian squeeze/UNRELEASED main contrib

Sunday 4 July 2010

Nagstatmon help monitor network and servers using nagios

Monitoring a network or a group of servers using nagios have some problems. Receiving alarms by email or have a browser with a open page to the nagios site is an option that don't fit well in the work flow of some people.

Nagstatmon is a program that solves that problem. It opens a small window or icon on a taskbar of your desktop and show how many alarms are active. When an alarm triggers you can see where and what kind of alarm and easily open a connection for managing the equipment in fault.

This program is available in Debian testing (squeeze) but the package is compatible with Debian stable (v5.0, lenny).

The homepage for the software is http://nagstamon.sourceforge.net/

Monday 28 June 2010

Published cal-logcheck-database v 0.35

cal-logcheck-database is a personal package that I use to collect extra rules for logcheck. This rules help me keeping the logcheck reports cleaner and informative.

This version have new rules for smartmontools messages and updates the package for squeeze.

You can download the package and the source from here:

cal-logcheck-database_0.35_all.deb

cal-logcheck-database_0.35.dsc

cal-logcheck-database_0.35.tar.gz

cal-logcheck-database_0.35_i386.changes

In alternative you can install it using apt if you add the following line to your /etc/apt/sources.list:

deb     http://debian.tagus.ist.utl.pt/debian lenny/updates main

Monday 14 June 2010

Debian package v0.0.9-2 of switchconf hit testing

Debian package v0.0.9-2 of switchconf have migrated from unstable to testing. This new version have changed only the package, not the code of switchconf. Follows the changelog.

  * Fix bashism in a private rule on debian/rules file (Closes: #581451).
  * Add remote_fs to dependency of init.d.
  * Bump standard version to 3.8.4, no changes needed. 

Thursday 21 January 2010

Published switchconf v 0.0.9

I have published a new version of switchconf, v0.0.9.

Can be downloaded from https://alioth.debian.org/frs/?group_id=100068&release_id=1462.

This is the relevant part from the Changelog.

   * Remove old version of files when using softlinks (Closes: #553427).
   * Use run-parts when available to run scripts (Closes: #563224).
   * Call scripts with the name of next configuration (Closes: #563223).
   * Locking system to prevent a second run before the first finish.

Sunday 29 November 2009

Published switchconf v 0.0.8

I have published a new version of switchconf.

There were changes to the build process so it depend less on Debian software. The package was build to be used on my job, so was not uploaded to Debian.

Can be downloaded from https://alioth.debian.org/frs/?grou...

page 2 of 2 -