Pages

Sunday, July 31, 2011

SQL C prgramming libraries

Programming libaries like Perl DBI but for C.

Tntdb Tntdb is a c++-class-library for easy database-access. It implements a
simple database independent layer, which loads drivers at runtime.
Currently drivers for postgresql, sqlite3, mysql and oracle are
provided.

Home page:  http://www.tntnet.org/tntdb.html
Debian:  http://packages.debian.org/squeeze/libtntdb1


Wednesday, July 27, 2011

Comments Spam ...

It appears that the comments spammers have found my site (http://rocasa.us/~jame), so I turned commenting off for all entries...

Sunday, July 17, 2011

Timestamp corrections in GIT


Reference:

  •   http://www.alexpeattie.com/blog/working-with-dates-in-git/

 which in turn references

  •  https://git.wiki.kernel.org/index.php/GitFaq#How_can_I_tweak_the_date_of_a_commit_in_the_repo.3F


Monday, July 11, 2011

Saturday, July 9, 2011

funtoo git based Portage tree


Another sysop mentioned in a posting to the FN.Sysop echo that Funtoo has a "git based portage tree". Looks interesting...

http://www.funtoo.org/wiki/Portage_Tree

Migrate BBBS htdocs from bzr to git

I have had been tracking the static pages etc in the BBBS htdocs directory associated with my BBBS install using BZR.  I have primarily changed over to using GIT now but hadn't had a chance to convert that repository until today.  ( Note that this is being done on a Debian v6 system.)

I first tried using tailor to do the migration, as that has worked for me before.  This time, however, it failed with an error message about not being able to rename one of the files for one of the changesets.  I made sure that the repository format was upgraded and tried again but it still failed in the same way. 

Found the following article, which pointed me to a successful way ot doing the migration:
http://doc.bazaar.canonical.com/migration/en/foreign/bzr-on-git-projects.html

Ran the following command lines, with "old-htdocs" being the bzr repository is and "htdocs" being where the new git repostiory is going :

md htdocs

cd htdocs

git init

cd ../old-htdocs

bzr fast-export --htdocs=../htdocs.bzr --git-branch=BBBS-htdocs ../old-htdocs | git fast-import --import-marks=../htdocs.git --export-marks=../htdocs.git

That resulted in the branch BBBS-htdocs being imported in to the new htdocs git repository.


Friday, July 8, 2011

Lintian pbuilder hook example

An example of a pbuilder hook to run Lintian  during a package build, posted to the Debian Mentors list in the "Re:how to get people to run lintian on their packages" thread:

While we're sharing, here's a pbuilder hook that I (among others) use:

$ cat ~/.pbuilder-hooks/B20lintian#!/bin/bash## run lintian on generated deb filesecho "########  STARTING LINTIAN HOOK  ########"apt-get install -y --force-yes lintianlintian -iIEm --pedantic --color=auto --allow-root /tmp/buildd/*.debecho "########  FINISHED LINTIAN HOOK  ########"

Lintian pbuilder hook example

An example of a Lintian pbuilder hook was posted to the Debian Mentors mailing list in a thread about getting people to run Lintian .

  • Message:  http://lists.debian.org/debian-mentors/2011/07/msg00180.html
  • Thread Index:  http://lists.debian.org/debian-mentors/2011/07/threads.html#00180

 

Thursday, July 7, 2011

BBBSDEB project at GitHub

Created bbbsdeb project (i.e., Organization) at GitHub:



Wednesday, July 6, 2011

lxc-gentoo information

lxc-gentoo is like the other lxc scripts but is not (yet) part of the debian package.  Obtain and test at least on one of my systems?

(FTN related usages, like Benny Pederson keeps mentioning)

References:
http://globalcitizen.github.com/lxc-gentoo/

http://en.gentoo-wiki.com/wiki/LXC#Automatic_setup:_lxc-gentoo

ttylog v0.1.d-1 migrated to Debian testing.

My ttylog package v0.1.d-1 has migrated into the Debian Testing distribution (wheezy).


Issues with Busybox LXC on Debian v6?

I've moved the active 'Linux VServers' I had running over to 'Linux Containers' (LXC).  Have also been doing some experimentation.

Tried setting up a busybox container but had problems.


Friday, July 1, 2011

mbsebbs-0.92.00+110522-1~1 Test Build

Manually removed the patch (debian/patches/10_fix-flock-error.patch) altogether.  Was then able to do a successful binary only test build for 64 bit, as mbsebbs-0.92.0+110522-1~1.

The code has changed but still need to verify if the issue was fixed for Ubuntu installs or if the patch needs to be updated.

Manually installed that deb using dpkg to a new LXC server successfully and am now testing it there.