summaryrefslogtreecommitdiffstats
path: root/devel/liboobs
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-30 21:57:20 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-30 21:57:20 +0800
commitfc26643ef0b318a23c1a2949911cb41dd24c4ebb (patch)
tree9a0b354a1156bc686ad9ae6ca03599d71ae1b639 /devel/liboobs
parentdef38e78e93cbaaf45fe1ac76cf95d7926047483 (diff)
downloadmarcuscom-ports-fc26643ef0b318a23c1a2949911cb41dd24c4ebb.tar
marcuscom-ports-fc26643ef0b318a23c1a2949911cb41dd24c4ebb.tar.gz
marcuscom-ports-fc26643ef0b318a23c1a2949911cb41dd24c4ebb.tar.bz2
marcuscom-ports-fc26643ef0b318a23c1a2949911cb41dd24c4ebb.tar.lz
marcuscom-ports-fc26643ef0b318a23c1a2949911cb41dd24c4ebb.tar.xz
marcuscom-ports-fc26643ef0b318a23c1a2949911cb41dd24c4ebb.tar.zst
marcuscom-ports-fc26643ef0b318a23c1a2949911cb41dd24c4ebb.zip
Update to 2.21.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9891 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/liboobs')
-rw-r--r--devel/liboobs/Makefile29
-rw-r--r--devel/liboobs/distinfo3
-rw-r--r--devel/liboobs/files/patch-src_oobs-group.c25
-rw-r--r--devel/liboobs/files/patch-src_oobs-user.c35
-rw-r--r--devel/liboobs/pkg-descr1
-rw-r--r--devel/liboobs/pkg-plist81
6 files changed, 174 insertions, 0 deletions
diff --git a/devel/liboobs/Makefile b/devel/liboobs/Makefile
new file mode 100644
index 000000000..a927fd46a
--- /dev/null
+++ b/devel/liboobs/Makefile
@@ -0,0 +1,29 @@
+# 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.23 2007/09/16 16:45:35 ahze Exp $
+#
+
+PORTNAME= liboobs
+PORTVERSION= 2.21.1
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Wrapping library to the System Tools Backends
+
+BUILD_DEPENDS= ${LOCALBASE}/etc/dbus-1/system.d/system-tools-backends.conf:${PORTSDIR}/sysutils/system-tools-backends
+LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+RUN_DEPENDS= ${LOCALBASE}/etc/dbus-1/system.d/system-tools-backends.conf:${PORTSDIR}/sysutils/system-tools-backends
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack glib20
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+
+.include <bsd.port.mk>
diff --git a/devel/liboobs/distinfo b/devel/liboobs/distinfo
new file mode 100644
index 000000000..c4d5ecbf0
--- /dev/null
+++ b/devel/liboobs/distinfo
@@ -0,0 +1,3 @@
+MD5 (liboobs-2.21.1.tar.bz2) = 991e8dc0306fa3d514dac9cf22f905c1
+SHA256 (liboobs-2.21.1.tar.bz2) = 2c8ed874bd29e96fe58e211a6f442360b5a2b13d3a9fda8512385c8e85b65587
+SIZE (liboobs-2.21.1.tar.bz2) = 339465
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..6abd8b711
--- /dev/null
+++ b/devel/liboobs/files/patch-src_oobs-group.c
@@ -0,0 +1,25 @@
+--- oobs/oobs-group.c.orig Fri Sep 15 18:41:04 2006
++++ oobs/oobs-group.c Tue Oct 31 23:12:40 2006
+@@ -18,7 +18,12 @@
+ * Authors: Carlos Garnacho Parro <carlosg@gnome.org>
+ */
+
++#if defined(HAVE_CONFIG_H)
++#include <config.h>
++#endif
++
+ #include <glib-object.h>
++#include <unistd.h>
+ #include "oobs-session.h"
+ #include "oobs-group.h"
+ #include "oobs-user.h"
+@@ -27,7 +32,9 @@
+ #include "oobs-groupsconfig-private.h"
+ #include "oobs-defines.h"
+ #include "utils.h"
++#ifdef HAVE_CRYPT_H
+ #include <crypt.h>
++#endif
+
+ #define OOBS_GROUP_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), OOBS_TYPE_GROUP, OobsGroupPrivate))
+
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..484b86f32
--- /dev/null
+++ b/devel/liboobs/files/patch-src_oobs-user.c
@@ -0,0 +1,35 @@
+--- oobs/oobs-user.c.orig 2007-10-30 09:16:53.406333206 -0400
++++ oobs/oobs-user.c 2007-10-30 09:40:02.560797530 -0400
+@@ -18,12 +18,18 @@
+ * Authors: Carlos Garnacho Parro <carlosg@gnome.org>
+ */
+
++#if defined(HAVE_CONFIG_H)
++#include <config.h>
++#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
+ #include <utmp.h>
+
+ #include "oobs-usersconfig.h"
+@@ -852,6 +858,7 @@
+
+ login = oobs_user_get_login_name (user);
+
++#if 0 /* FreeBSD does not have ut_type in utmp */
+ while (!match && (entry = getutent ()) != NULL)
+ {
+ match = (entry->ut_type == USER_PROCESS &&
+@@ -862,4 +869,5 @@
+ endutent ();
+
+ return match;
++#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..05dc890fc
--- /dev/null
+++ b/devel/liboobs/pkg-plist
@@ -0,0 +1,81 @@
+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-isdn.h
+include/liboobs-1.0/oobs/oobs-iface-modem.h
+include/liboobs-1.0/oobs/oobs-iface-plip.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-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.4
+libdata/pkgconfig/liboobs-1.pc
+%%DOCSDIR%%/OobsGroup.html
+%%DOCSDIR%%/OobsGroupsConfig.html
+%%DOCSDIR%%/OobsIface.html
+%%DOCSDIR%%/OobsIfaceEthernet.html
+%%DOCSDIR%%/OobsIfaceIRLan.html
+%%DOCSDIR%%/OobsIfaceISDN.html
+%%DOCSDIR%%/OobsIfaceModem.html
+%%DOCSDIR%%/OobsIfacePlip.html
+%%DOCSDIR%%/OobsIfaceWireless.html
+%%DOCSDIR%%/OobsIfacesConfig.html
+%%DOCSDIR%%/OobsList.html
+%%DOCSDIR%%/OobsNFSConfig.html
+%%DOCSDIR%%/OobsNTPConfig.html
+%%DOCSDIR%%/OobsObject.html
+%%DOCSDIR%%/OobsSMBConfig.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%%/ch08.html
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/liboobs-OobsHostsConfig.html
+%%DOCSDIR%%/liboobs-OobsNTPServer.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