Posts for: #FreeBSD

Minbif on FreeBSD

I don’t remember at all why I did this. I can’t remember if the minbif port was broken or what my motivation was. I downloaded the last version of minbif and started editing crap until it compiled on FreeBSD 10.2. Which, with this patch, it does. In any case, it’s going here for posterity, I guess.

diff -Naur minbif-1.0.5/src/im/account.cpp
minbif-1.0.5-new/src/im/account.cpp
--- minbif-1.0.5/src/im/account.cpp     2011-12-04 09:24:51.000000000
-0500
+++ minbif-1.0.5-new/src/im/account.cpp 2016-01-26 17:20:54.418450000
-0500
@@ -272,7 +272,7 @@
                                else
                                {
                                        char** prpl_formats =
g_strsplit(prplinfo->icon_spec.format,",",0);
-                                       ImlibLoadError err =
                                        IMLIB_LOAD_ERROR_UNKNOWN;
+                                       Imlib_Load_Error err =
IMLIB_LOAD_ERROR_UNKNOWN;

                                        close(temp_fd);
                                        /* Try to encode in a
 * supported format. */
diff -Naur minbif-1.0.5/src/im/auth_pam.h
minbif-1.0.5-new/src/im/auth_pam.h
--- minbif-1.0.5/src/im/auth_pam.h      2011-12-04 09:24:51.000000000
-0500
+++ minbif-1.0.5-new/src/im/auth_pam.h  2016-01-26 17:15:57.047434000
-0500
@@ -21,7 +21,7 @@

 #include "auth.h"
 #include <security/pam_appl.h>
-#include <security/pam_misc.h>
+#include <security/openpam.h>

 struct _pam_conv_func_data {
        bool update;
diff -Naur minbif-1.0.5/src/server_poll/daemon_fork.cpp
minbif-1.0.5-new/src/server_poll/daemon_fork.cpp
--- minbif-1.0.5/src/server_poll/daemon_fork.cpp        2011-12-04
09:24:51.000000000 -0500
+++ minbif-1.0.5-new/src/server_poll/daemon_fork.cpp    2016-01-26
12:14:09.049463000 -0500
@@ -20,7 +20,7 @@
 #include <cassert>
 #include <cstring>
 #include <cerrno>
-#include <glib/gmain.h>
+#include <glib.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <arpa/inet.h>
diff -Naur minbif-1.0.5/src/server_poll/inetd.cpp
minbif-1.0.5-new/src/server_poll/inetd.cpp
--- minbif-1.0.5/src/server_poll/inetd.cpp      2011-12-04
09:24:51.000000000 -0500
+++ minbif-1.0.5-new/src/server_poll/inetd.cpp  2016-01-26
12:09:56.808247000 -0500
@@ -17,7 +17,7 @@
  */

 #include <cassert>
-#include <glib/gmain.h>
+#include <glib.h>

 #include "inetd.h"
 #include "irc/irc.h"
[]

Updated, Upgraded, All Set

Jekyll 3 is something new entirely. My original template didn’t play nice. Completely lost my nav bar in the header and in the footer. That was no bueno. I’ve since adapted to just using a ‘_data/’ block to contain my navbar YAML. I guess that’ll work, though I suspect my install may be broken. No help was offered by #jekyll just yet. We’ll see if maybe I can get some info from them.

[]

FreeBSD 9.0

Image not found!

I’ve been running FreeBSD 9.0 since it was released. Before that, I had been running FreeBSD 8.2. Before that, 8.0 and 7.2 prior. I really enjoy this OS. I think it comes from the enjoyment I got running Gentoo, however I learned most of what I did about POSIX environments thanks to Gentoo breaking all the time. It was definitely not an environment I could maintain. FreeBSD brings the Ports software distribution system to a stable BSD kernel. It’s my favorite operating system, even if I happen to suck somewhat at securing it. I’m still learning, and I’ll continue to learn as I go. The best part, to me, is that pretty much every problem you may encounter is almost readily solved with Google and log watching.

[]