Apr 082013
 

Finally I found this Debian Binary Package Building HOWTO.

Actually I’ve been searching online for sometime, however, most search results lead me to Ubuntu or Debian Wiki which are totally useless, thinking of they are using lots of (and different) tools plus need user interact with it.

On the other hand, the how-to page mentioned above did a clear step-by-step turtorial, without any fancy tools. Surely you still need dpkg package and lintian.

I’m also learning how to write a good how-to like this one, it seems learn by sample is always easier.

I guess now I understand why I don’t want to go to school again.

Aug 092012
 

Encountered several times so better write it down here – in case you want to write messages to syslog facility, you can do “echo something | logger”, sure logger has lots of options to specify facility and priority etc.

logger should be part of Linux base package as I checked (util-linux-ng for CentOS, util-linux for Fedora, and bsdutils for Ubuntu).

BTW, dpkg -S <file> shows the package who owns the file.