diff options
-rw-r--r-- | devel/liboobs/Makefile | 30 | ||||
-rw-r--r-- | devel/liboobs/distinfo | 3 | ||||
-rw-r--r-- | devel/liboobs/files/patch-src_oobs-group.c | 25 | ||||
-rw-r--r-- | devel/liboobs/files/patch-src_oobs-user.c | 35 | ||||
-rw-r--r-- | devel/liboobs/pkg-descr | 1 | ||||
-rw-r--r-- | devel/liboobs/pkg-plist | 36 |
6 files changed, 130 insertions, 0 deletions
diff --git a/devel/liboobs/Makefile b/devel/liboobs/Makefile new file mode 100644 index 000000000..453a62c78 --- /dev/null +++ b/devel/liboobs/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: liboobs +# Date created: 2006-06-06 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= liboobs +PORTVERSION= 2.29.1 +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 +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..b5fef0dc2 --- /dev/null +++ b/devel/liboobs/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/liboobs-2.29.1.tar.bz2) = f7161c90c3b91b10de76ef1fe26ffed1 +SHA256 (gnome2/liboobs-2.29.1.tar.bz2) = 3f41be065abfb1ca36e4d7af00b6fb51ff7913d261f8f7a1317021bac0f5d566 +SIZE (gnome2/liboobs-2.29.1.tar.bz2) = 364604 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..11e1ab182 --- /dev/null +++ b/devel/liboobs/pkg-plist @@ -0,0 +1,36 @@ +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.4 +libdata/pkgconfig/liboobs-1.pc +@dirrm include/liboobs-1.0/oobs +@dirrm include/liboobs-1.0 |