summaryrefslogtreecommitdiffstats
path: root/devel/liboobs
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-04 17:31:42 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-04 17:31:42 +0800
commit60b4ed2c3451eac0181027907c8ee78e9b885bbc (patch)
tree0ce9f7b14cff12f9aaa596f8c0870572d8505206 /devel/liboobs
parentddd756341b5550c28fc7c839899b848ab02ffc6c (diff)
downloadmarcuscom-ports-60b4ed2c3451eac0181027907c8ee78e9b885bbc.tar
marcuscom-ports-60b4ed2c3451eac0181027907c8ee78e9b885bbc.tar.gz
marcuscom-ports-60b4ed2c3451eac0181027907c8ee78e9b885bbc.tar.bz2
marcuscom-ports-60b4ed2c3451eac0181027907c8ee78e9b885bbc.tar.lz
marcuscom-ports-60b4ed2c3451eac0181027907c8ee78e9b885bbc.tar.xz
marcuscom-ports-60b4ed2c3451eac0181027907c8ee78e9b885bbc.tar.zst
marcuscom-ports-60b4ed2c3451eac0181027907c8ee78e9b885bbc.zip
UPdate to 3.0.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15693 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/liboobs')
-rw-r--r--devel/liboobs/Makefile41
-rw-r--r--devel/liboobs/distinfo2
-rw-r--r--devel/liboobs/files/patch-src_oobs-group.c10
-rw-r--r--devel/liboobs/files/patch-src_oobs-user.c45
-rw-r--r--devel/liboobs/pkg-descr1
-rw-r--r--devel/liboobs/pkg-plist84
6 files changed, 183 insertions, 0 deletions
diff --git a/devel/liboobs/Makefile b/devel/liboobs/Makefile
new file mode 100644
index 000000000..f90f4555b
--- /dev/null
+++ b/devel/liboobs/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: liboobs
+# Date created: 2006-06-06
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/liboobs/Makefile,v 1.50 2010/09/27 17:46:12 kwm Exp $
+#
+
+PORTNAME= liboobs
+PORTVERSION= 3.0.0
+CATEGORIES= devel gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Wrapping library to the System Tools Backends
+
+BUILD_DEPENDS= ${LOCALBASE}/etc/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf:${PORTSDIR}/sysutils/system-tools-backends
+LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ hal.1:${PORTSDIR}/sysutils/hal
+RUN_DEPENDS= ${LOCALBASE}/etc/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf:${PORTSDIR}/sysutils/system-tools-backends
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack glib20
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc --with-hal
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+
+.include <bsd.port.pre.mk>
+
+# disable utmpx detection on early 9.x and below.
+# We still have only utmp there
+post-patch:
+.if ${OSVERSION} < 900007
+ @${REINPLACE_CMD} -e 's|utmpx|utmp|g' \
+ ${WRKSRC}/configure
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/liboobs/distinfo b/devel/liboobs/distinfo
new file mode 100644
index 000000000..62c88e455
--- /dev/null
+++ b/devel/liboobs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome2/liboobs-3.0.0.tar.bz2) = 1e7a327df7dcfa30e0cd3e0d2ffcd9a2c91c7870291dd30434b5da907945c00a
+SIZE (gnome2/liboobs-3.0.0.tar.bz2) = 344118
diff --git a/devel/liboobs/files/patch-src_oobs-group.c b/devel/liboobs/files/patch-src_oobs-group.c
new file mode 100644
index 000000000..0a7384b90
--- /dev/null
+++ b/devel/liboobs/files/patch-src_oobs-group.c
@@ -0,0 +1,10 @@
+--- oobs/oobs-group.c.orig 2010-01-11 13:34:52.000000000 -0500
++++ oobs/oobs-group.c 2010-01-18 02:04:34.000000000 -0500
+@@ -21,6 +21,7 @@
+
+ #include <string.h>
+ #include <glib-object.h>
++#include <unistd.h>
+ #include <dbus/dbus.h>
+
+ #include "oobs-object-private.h"
diff --git a/devel/liboobs/files/patch-src_oobs-user.c b/devel/liboobs/files/patch-src_oobs-user.c
new file mode 100644
index 000000000..a7215c4ef
--- /dev/null
+++ b/devel/liboobs/files/patch-src_oobs-user.c
@@ -0,0 +1,45 @@
+--- oobs/oobs-user.c.orig 2010-01-31 17:36:52.000000000 +0000
++++ oobs/oobs-user.c 2010-01-31 17:40:21.000000000 +0000
+@@ -19,13 +19,24 @@
+ * Milan Bouchet-Valat <nalimilan@club.fr>.
+ */
+
++#ifdef __FreeBSD__
++# include <sys/param.h>
++# if __FreeBSD_version >= 900007
++# define HAVE_UTMPX_H
++# endif
++#endif
++
+ #include <glib-object.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>
++#ifdef HAVE_CRYPT_H
+ #include <crypt.h>
++#endif
++#ifdef HAVE_UTMPX_H
+ #include <utmpx.h>
++#endif
+
+ #include "oobs-object-private.h"
+ #include "oobs-usersconfig.h"
+@@ -1252,6 +1263,7 @@ oobs_user_set_locale (OobsUser *user, co
+ gboolean
+ oobs_user_get_active (OobsUser *user)
+ {
++#ifdef HAVE_UTMPX_H
+ struct utmpx *entry;
+ const gchar *login;
+ gboolean match = FALSE;
+@@ -1272,6 +1284,9 @@ oobs_user_get_active (OobsUser *user)
+ endutxent ();
+
+ return match;
++#else
++ return FALSE;
++#endif
+ }
+
+ /**
diff --git a/devel/liboobs/pkg-descr b/devel/liboobs/pkg-descr
new file mode 100644
index 000000000..ff7665320
--- /dev/null
+++ b/devel/liboobs/pkg-descr
@@ -0,0 +1 @@
+Wrapping library to the System Tools Backends
diff --git a/devel/liboobs/pkg-plist b/devel/liboobs/pkg-plist
new file mode 100644
index 000000000..82d80e062
--- /dev/null
+++ b/devel/liboobs/pkg-plist
@@ -0,0 +1,84 @@
+include/liboobs-1.0/oobs/oobs-defines.h
+include/liboobs-1.0/oobs/oobs-enum-types.h
+include/liboobs-1.0/oobs/oobs-error.h
+include/liboobs-1.0/oobs/oobs-group.h
+include/liboobs-1.0/oobs/oobs-groupsconfig.h
+include/liboobs-1.0/oobs/oobs-hostsconfig.h
+include/liboobs-1.0/oobs/oobs-iface-ethernet.h
+include/liboobs-1.0/oobs/oobs-iface-irlan.h
+include/liboobs-1.0/oobs/oobs-iface-plip.h
+include/liboobs-1.0/oobs/oobs-iface-ppp.h
+include/liboobs-1.0/oobs/oobs-iface-wireless.h
+include/liboobs-1.0/oobs/oobs-iface.h
+include/liboobs-1.0/oobs/oobs-ifacesconfig.h
+include/liboobs-1.0/oobs/oobs-list.h
+include/liboobs-1.0/oobs/oobs-nfsconfig.h
+include/liboobs-1.0/oobs/oobs-ntpconfig.h
+include/liboobs-1.0/oobs/oobs-ntpserver.h
+include/liboobs-1.0/oobs/oobs-object.h
+include/liboobs-1.0/oobs/oobs-result.h
+include/liboobs-1.0/oobs/oobs-selfconfig.h
+include/liboobs-1.0/oobs/oobs-service.h
+include/liboobs-1.0/oobs/oobs-servicesconfig.h
+include/liboobs-1.0/oobs/oobs-session.h
+include/liboobs-1.0/oobs/oobs-share-nfs.h
+include/liboobs-1.0/oobs/oobs-share-smb.h
+include/liboobs-1.0/oobs/oobs-share.h
+include/liboobs-1.0/oobs/oobs-smbconfig.h
+include/liboobs-1.0/oobs/oobs-statichost.h
+include/liboobs-1.0/oobs/oobs-timeconfig.h
+include/liboobs-1.0/oobs/oobs-user.h
+include/liboobs-1.0/oobs/oobs-usersconfig.h
+include/liboobs-1.0/oobs/oobs.h
+lib/liboobs-1.a
+lib/liboobs-1.la
+lib/liboobs-1.so
+lib/liboobs-1.so.5
+libdata/pkgconfig/liboobs-1.pc
+%%DOCSDIR%%/OobsGroup.html
+%%DOCSDIR%%/OobsGroupsConfig.html
+%%DOCSDIR%%/OobsHostsConfig.html
+%%DOCSDIR%%/OobsIfaceEthernet.html
+%%DOCSDIR%%/OobsIfaceIRLan.html
+%%DOCSDIR%%/OobsIfacePPP.html
+%%DOCSDIR%%/OobsIfacePlip.html
+%%DOCSDIR%%/OobsIfaceWireless.html
+%%DOCSDIR%%/OobsIfacesConfig.html
+%%DOCSDIR%%/OobsList.html
+%%DOCSDIR%%/OobsNFSConfig.html
+%%DOCSDIR%%/OobsNTPConfig.html
+%%DOCSDIR%%/OobsNTPServer.html
+%%DOCSDIR%%/OobsObject.html
+%%DOCSDIR%%/OobsSMBConfig.html
+%%DOCSDIR%%/OobsSelfConfig.html
+%%DOCSDIR%%/OobsService.html
+%%DOCSDIR%%/OobsServicesConfig.html
+%%DOCSDIR%%/OobsSession.html
+%%DOCSDIR%%/OobsShare.html
+%%DOCSDIR%%/OobsShareNFS.html
+%%DOCSDIR%%/OobsShareSMB.html
+%%DOCSDIR%%/OobsStaticHost.html
+%%DOCSDIR%%/OobsTimeConfig.html
+%%DOCSDIR%%/OobsUser.html
+%%DOCSDIR%%/OobsUsersConfig.html
+%%DOCSDIR%%/ch01.html
+%%DOCSDIR%%/ch02.html
+%%DOCSDIR%%/ch03.html
+%%DOCSDIR%%/ch04.html
+%%DOCSDIR%%/ch05.html
+%%DOCSDIR%%/ch06.html
+%%DOCSDIR%%/ch07.html
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/liboobs-Oobs.html
+%%DOCSDIR%%/liboobs-OobsError.html
+%%DOCSDIR%%/liboobs.devhelp
+%%DOCSDIR%%/liboobs.devhelp2
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+@dirrm %%DOCSDIR%%
+@dirrm include/liboobs-1.0/oobs
+@dirrm include/liboobs-1.0