Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

4
sysutils/liboobs/DESCR Normal file
View File

@@ -0,0 +1,4 @@
Liboobs is a lightweight library that provides a GObject based interface
to system-tools-backends. It's completely abstracted of the
communication and authentication details, making it easy for
applications to integrate with the system details.

23
sysutils/liboobs/Makefile Normal file
View File

@@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.14 2013/05/31 12:42:01 wiz Exp $
#
DISTNAME= liboobs-2.22.2
PKGREVISION= 6
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/liboobs/2.22/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Lightweight GObject based interface to system-tools-backends
LICENSE= gnu-gpl-v2
.include "options.mk"
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
USE_TOOLS+= gmake intltool msgfmt perl pkg-config
USE_LIBTOOL= YES
.include "../../sysutils/system-tools-backends/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

32
sysutils/liboobs/PLIST Normal file
View File

@@ -0,0 +1,32 @@
@comment $NetBSD: PLIST,v 1.3 2009/10/31 02:52:45 wiz Exp $
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.la
lib/pkgconfig/liboobs-1.pc

View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:25 joerg Exp $
BUILDLINK_TREE+= liboobs
.if !defined(LIBOOBS_BUILDLINK3_MK)
LIBOOBS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.liboobs+= liboobs>=2.22.0
BUILDLINK_PKGSRCDIR.liboobs?= ../../sysutils/liboobs
.endif # LIBOOBS_BUILDLINK3_MK
BUILDLINK_TREE+= -liboobs

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.5 2009/10/31 02:52:45 wiz Exp $
SHA1 (liboobs-2.22.2.tar.bz2) = 39a54fc11a7384e2d241518a4cdd61798472d77f
RMD160 (liboobs-2.22.2.tar.bz2) = 900aa933c9f8da262de77dc30e6f116679cad07f
Size (liboobs-2.22.2.tar.bz2) = 364260 bytes
SHA1 (patch-aa) = 5c6b81f321eb86309ab8265ebb465ac69ac36ddf
SHA1 (patch-ab) = add5f126fc3329966255db209cddf90c2ae924e9
SHA1 (patch-ac) = 0d5ed64cfff454dab37745bf300ecb8ec5b02793

View File

@@ -0,0 +1,11 @@
# $NetBSD: options.mk,v 1.1 2009/08/20 09:13:51 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.liboobs
PKG_SUPPORTED_OPTIONS+= hal
PKG_SUGGESTED_OPTIONS+= hal
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mhal)
.include "../../sysutils/hal/buildlink3.mk"
.endif

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-aa,v 1.3 2009/10/31 02:52:46 wiz Exp $
--- oobs/oobs-group.c.orig 2009-09-05 14:07:20.000000000 +0000
+++ oobs/oobs-group.c
@@ -18,6 +18,10 @@
* Authors: Carlos Garnacho Parro <carlosg@gnome.org>
*/
+#if defined(HAVE_CONFIG_H)
+#include <config.h>
+#endif
+
#include <glib-object.h>
#include "oobs-session.h"
#include "oobs-group.h"
@@ -27,7 +31,11 @@
#include "oobs-usersconfig.h"
#include "oobs-defines.h"
#include "utils.h"
+#ifdef HAVE_CRYPT_H
#include <crypt.h>
+#else
+#include <unistd.h>
+#endif
/**
* SECTION:oobs-group

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ab,v 1.2 2009/10/31 02:52:46 wiz Exp $
--- oobs/oobs-ifacesconfig.c.orig 2009-09-05 14:41:13.000000000 +0000
+++ oobs/oobs-ifacesconfig.c
@@ -20,7 +20,6 @@
#include <dbus/dbus.h>
#include <glib-object.h>
-#include <libhal.h>
#include <string.h>
#include "oobs-session-private.h"
#include "oobs-list-private.h"
@@ -43,6 +42,10 @@
* #OobsIfacePlip, #OobsIfacePPP, #OobsIfaceWireless
**/
+#ifdef HAVE_HAL
+#include <libhal.h>
+#endif
+
#define IFACES_CONFIG_REMOTE_OBJECT "IfacesConfig"
#define OOBS_IFACES_CONFIG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), OOBS_TYPE_IFACES_CONFIG, OobsIfacesConfigPrivate))

View File

@@ -0,0 +1,62 @@
$NetBSD: patch-ac,v 1.3 2009/07/12 10:33:12 hasso Exp $
--- oobs/oobs-user.c.orig 2008-01-02 16:23:56 +0200
+++ oobs/oobs-user.c 2009-07-12 10:44:15 +0300
@@ -18,13 +18,29 @@
* 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
+#ifndef __NetBSD__
#include <utmp.h>
+#define UTMP utmp
+#define GETUTENT getutent
+#define ENDUTENT endutent
+#else
+#include <utmpx.h>
+#define UTMP utmpx
+#define GETUTENT getutxent
+#define ENDUTENT endutxent
+#endif
#include "oobs-usersconfig.h"
#include "oobs-user.h"
@@ -804,7 +820,7 @@ oobs_user_set_other_data (OobsUser *user
gboolean
oobs_user_get_active (OobsUser *user)
{
- struct utmp *entry;
+ struct UTMP *entry;
const gchar *login;
gboolean match = FALSE;
@@ -812,14 +828,16 @@ oobs_user_get_active (OobsUser *user)
login = oobs_user_get_login_name (user);
- while (!match && (entry = getutent ()) != NULL)
+#if !defined(__FreeBSD__) && !defined(__DragonFly__)
+ while (!match && (entry = GETUTENT ()) != NULL)
{
match = (entry->ut_type == USER_PROCESS &&
strcmp (entry->ut_user, login) == 0);
}
/* close utmp */
- endutent ();
+ ENDUTENT ();
return match;
+#endif
}