summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-05-30 02:22:56 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-05-30 02:22:56 +0800
commitb13156bb5df2d1185dc9a0193b3814c07eb21701 (patch)
treedf753178a64f1a725c9149e18190e3f2312f62aa /devel
parent71213a652af0ee7c1bd8fc632e637efd59e7c737 (diff)
downloadmarcuscom-ports-b13156bb5df2d1185dc9a0193b3814c07eb21701.tar
marcuscom-ports-b13156bb5df2d1185dc9a0193b3814c07eb21701.tar.gz
marcuscom-ports-b13156bb5df2d1185dc9a0193b3814c07eb21701.tar.bz2
marcuscom-ports-b13156bb5df2d1185dc9a0193b3814c07eb21701.tar.lz
marcuscom-ports-b13156bb5df2d1185dc9a0193b3814c07eb21701.tar.xz
marcuscom-ports-b13156bb5df2d1185dc9a0193b3814c07eb21701.tar.zst
marcuscom-ports-b13156bb5df2d1185dc9a0193b3814c07eb21701.zip
Update to 2.31.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14162 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/liboobs/Makefile41
-rw-r--r--devel/liboobs/distinfo3
-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, 184 insertions, 0 deletions
diff --git a/devel/liboobs/Makefile b/devel/liboobs/Makefile
new file mode 100644
index 000000000..f3c90a93c
--- /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$
+#
+
+PORTNAME= liboobs
+PORTVERSION= 2.31.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
+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..40a7d1414
--- /dev/null
+++ b/devel/liboobs/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/liboobs-2.31.1.tar.bz2) = 15481bb42712de0a3dcbd15b4b0d1b3a
+SHA256 (gnome2/liboobs-2.31.1.tar.bz2) = 626ebf22d095420b785f7bcb87662d15eec3b91a56ddd51e29d2a9932fbd3900
+SIZE (gnome2/liboobs-2.31.1.tar.bz2) = 369999
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..a790cf8b2
--- /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.4
+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