duckland.org

Perl, Modules, and Package Management

So, even though I have been starting to [work with <back2freebsd-maybe>]{role=“doc”} [FreeBSD <freebsd-switch>]{role=“doc”} [again <one-step-closer>]{role=“doc”} , I am still running ArchLinux on my workstation.

And I wanted to run a script I wrote a long time ago to support a website of mine, which I have not updated in a while. The way I would update the site is by doing some batch editing of photos, park them in a directory, and then run my script which pushes the photos to the web server, and then interfaces with the CMS software to schedule the posts and all is good.

Except the script is in perl, and it uses some modules which are not main-stream. While perl has the awesome cpan(1perl) command to fetch and install perl modules, I wanted it to be tied into pacman(8) . A quick trip to the AUR turned up the tools cpan2aur and mkaurball which made it pretty easy to package up and post the the AUR the 9 perl modules I needed to get my script going and keep track of things with pacman.

EDIT 2020-04-07: cpan2aur url not working.

Yeah!

One step closer

So, I have upgraded my servers at the house to FreeBSD, and have set up the basic functions needed on them. So, now, I am down to only my main laptop running Linux. Oh, and the work machine which runs Windows 8.1.

So far, not much different than running Arch for the server. But, the magic will be when I start working with jails...

FreeBSD Switch

I just noticed I have not updated this in a few weeks. Sorry about that.

I have my R810 running PCBSD 10.0.2, and I just patched and configured WiFi on it. I need to figure out how to submit a patch to see if I can get the Centrino supported in the main-line kernel so I do not have to compile a custom kernel just for that.

I almost have this working where I can switch to it full time. I need to deal with getting my killer apps installed and working. I had most (all?) of them working before, so I know I can do it again.

Currently, FireFox is not working for me for some reason, but Chromium is, so I will use that for now.

I have started a wiki to keep some notes for myself on this (what SA has not done that?), so I hope this process will be easier this time.

peace.