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.

Display the updated dependencies when a dependent port updates

A great feature of FreshPorts is the ability to see all the ports which are dependent upon a given port. For example, it allows you to see what ports depend upon security/polarssl. This list is stored in a the port_dependencies table, which looks like this: This information is gathered when a port is updated. The […]

Display the updated dependencies when a dependent port updates Read More »

Bad portrevision

mandree reported a problem with security/openvpn-auth-ldap. Looking in the database: Looking at the database, the webpage is displaying what is there: Let’s looking at that commit in the database: OK, that’s not the commit which changed the BROKEN flag. Let’s look at that commit: The the date_added fields? These commits were processed out of order.

Bad portrevision Read More »

New categories

New categories in the FreeBSD ports tree do not come along often, but when they do, FreshPorts is ready to pull the details in and get the category name right. def ProcessCategoryNew(): syslog.syslog(syslog.LOG_NOTICE, ‘We have a new category’) urllib.urlretrieve(“http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/www/en/ports/categories?rev=HEAD;content-type=text%2Fplain”, ‘/usr/websites/freshports.org/dynamic/caching/tmp/categories’); Touch(WWWENPortsCategoriesFlag) Touch(JOBWAITING) No. It’s not. That’s cvs. Won’t work. It will redirect to https://svnweb.freebsd.org/ports/head/en/ports/categories and

New categories Read More »

cache invalidation

Today, kwm mentioned that http://www.freshports.org/Mk/bsd.port.mk was out of date, showing the most recent commit as back in March. My first concern was the system had stopped recording such commits. To check on that, I looked at https://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk and searched my email for the most recent commit message. Extracting the message id from that email, I

cache invalidation Read More »

Scroll to Top