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.

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 »

master / slave relationships

As reported by sem@, there is a problem with the display of master/slave relationships within FreshPorts. The relationship is stored in the ports table, with the master_port attribute being a pointer to the master port. This text field typically has values such as this: freshports.org=# SELECT DISTINCT(master_port) freshports.org-# FROM ports_active freshports.org-# where master_port ” freshports.org-#

master / slave relationships Read More »

process_cvs_mail.pl patch

For more detail, read Duplicate file in cvs-all commit causes problems. [dan@ngaio:/usr/websites/freshports.org/scripts] $ cvs di process_cvs_mail.pl Index: process_cvs_mail.pl =================================================================== RCS file: /home/repositories/freshports-1/scripts/process_cvs_mail.pl,v retrieving revision 1.10 diff -r1.10 process_cvs_mail.pl 70c70 < FreshPorts::Utilities::ReportError('err', "No message ID found for this commit message (" . $Message_Subject . ").\n\nIs this a corrupted commit or email?", 1) --- > FreshPorts::Utilities::ReportErrorEmailNoPrint(‘err’, “No

process_cvs_mail.pl patch Read More »

utilities patch

For more detail, read Duplicate file in cvs-all commit causes problems. $ cvs di -u utilities.pm Index: utilities.pm =================================================================== RCS file: /home/repositories/freshports-1/scripts/utilities.pm,v retrieving revision 1.14 diff -u -r1.14 utilities.pm — utilities.pm 17 Mar 2007 13:49:42 -0000 1.14 +++ utilities.pm 27 Jun 2007 02:27:26 -0000 @@ -128,7 +128,7 @@ my $email = $die; – _ReportErrorHelper($level, $message,

utilities patch Read More »

Scroll to Top