[Midnightbsd-cvs] mports: devel/liboobs:

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jun 13 13:37:33 EDT 2008


Log Message:
-----------


Added Files:
-----------
    mports/devel/liboobs:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/devel/liboobs/files:
        patch-src_oobs-group.c (r1.1)
        patch-src_oobs-user.c (r1.1)

-------------- next part --------------
--- /dev/null
+++ devel/liboobs/pkg-descr
@@ -0,0 +1 @@
+Wrapping library to the System Tools Backends
--- /dev/null
+++ 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-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
+%%DOCSDIR%%/OobsGroup.html
+%%DOCSDIR%%/OobsGroupsConfig.html
+%%DOCSDIR%%/OobsIface.html
+%%DOCSDIR%%/OobsIfaceEthernet.html
+%%DOCSDIR%%/OobsIfaceIRLan.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-OobsIfaceISDN.html
+%%DOCSDIR%%/liboobs-OobsIfaceModem.html
+%%DOCSDIR%%/liboobs-OobsNTPServer.html
+%%DOCSDIR%%/liboobs.devhelp
+%%DOCSDIR%%/liboobs.devhelp2
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+ at dirrm %%DOCSDIR%%
+ at dirrm include/liboobs-1.0/oobs
+ at dirrm include/liboobs-1.0
--- /dev/null
+++ devel/liboobs/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for:	liboobs
+# Date created:		2006-06-06
+# Whom:			Michael Johnson <ahze at FreeBSD.org>
+#
+# $MidnightBSD: mports/devel/liboobs/Makefile,v 1.1 2008/06/13 17:37:31 laffer1 Exp $
+# $FreeBSD: ports/devel/liboobs/Makefile,v 1.6 2008/06/06 13:21:28 edwin Exp $
+#   $MCom: ports/devel/liboobs/Makefile,v 1.35 2008/03/09 18:52:59 mezz Exp $
+#
+
+PORTNAME=	liboobs
+PORTVERSION=	2.22.0
+PORTREVISION=	0
+CATEGORIES=	devel gnome
+MASTER_SITES=	GNOME
+DIST_SUBDIR=	gnome2
+
+MAINTAINER=	portsMidnightBSD.org
+COMMENT=	Wrapping library to the System Tools Backends
+LICENSE=	gpl2
+
+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 \
+    		hal.1:${PORTSDIR}/sysutils/hal
+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>
--- /dev/null
+++ devel/liboobs/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/liboobs-2.22.0.tar.bz2) = 1b090ecd6c0df58b131795ff9a5c9057
+SHA256 (gnome2/liboobs-2.22.0.tar.bz2) = b35760855d7d1def532e9e808cecde29b75cec455b238590072abf4a8206536e
+SIZE (gnome2/liboobs-2.22.0.tar.bz2) = 340348
--- /dev/null
+++ 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 at 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))
+ 
--- /dev/null
+++ 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 at 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
+ }


More information about the Midnightbsd-cvs mailing list