summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-21 00:22:19 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-21 00:22:19 +0800
commit9da1d06160b087150e0ecc0d4154322958f7c711 (patch)
treef690d3ba3c350243acc75aadb64228f36b8a9793 /www
parent1513fe1ea82ca979f54d1d3a47d21f91563d727b (diff)
downloadmarcuscom-ports-9da1d06160b087150e0ecc0d4154322958f7c711.tar
marcuscom-ports-9da1d06160b087150e0ecc0d4154322958f7c711.tar.gz
marcuscom-ports-9da1d06160b087150e0ecc0d4154322958f7c711.tar.bz2
marcuscom-ports-9da1d06160b087150e0ecc0d4154322958f7c711.tar.lz
marcuscom-ports-9da1d06160b087150e0ecc0d4154322958f7c711.tar.xz
marcuscom-ports-9da1d06160b087150e0ecc0d4154322958f7c711.tar.zst
marcuscom-ports-9da1d06160b087150e0ecc0d4154322958f7c711.zip
Add gnome-user-share, and switch to using avahi over howl.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6095 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r--www/gnome-user-share/Makefile37
-rw-r--r--www/gnome-user-share/distinfo3
-rw-r--r--www/gnome-user-share/files/patch-user_share.c12
-rw-r--r--www/gnome-user-share/pkg-descr11
-rw-r--r--www/gnome-user-share/pkg-message15
-rw-r--r--www/gnome-user-share/pkg-plist37
6 files changed, 115 insertions, 0 deletions
diff --git a/www/gnome-user-share/Makefile b/www/gnome-user-share/Makefile
new file mode 100644
index 000000000..be8d58d68
--- /dev/null
+++ b/www/gnome-user-share/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: gnome-user-share
+# Date created: 26 November 2004
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/www/gnome-user-share/Makefile,v 1.14 2006/04/20 02:27:30 marcus Exp $
+#
+
+PORTNAME= gnome-user-share
+PORTVERSION= 0.10
+PORTREVISION= 1
+CATEGORIES= www deskutils gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.10
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Personal file-sharing service for the GNOME Desktop
+
+LIB_DEPENDS= avahi-client:${PORTSDIR}/net/avahi
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_APACHE= 2.0+
+USE_GNOME= gnomeprefix gnomehack intlhack libglade2 gconf2
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-howl
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= desktop_gnome_file_sharing.schemas
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc/httpd/modules|${LOCALBASE}/${APACHEMODDIR}|g' \
+ ${WRKSRC}/dav_user_${APACHE_VERSION:C/([0-9])$/.\1/}.conf
+
+.include <bsd.port.mk>
diff --git a/www/gnome-user-share/distinfo b/www/gnome-user-share/distinfo
new file mode 100644
index 000000000..4551c8d3c
--- /dev/null
+++ b/www/gnome-user-share/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-user-share-0.10.tar.bz2) = 66d60061041e668e6ec7334d081bfc13
+SHA256 (gnome2/gnome-user-share-0.10.tar.bz2) = 9e38c12a1b83ad35dbf764b84ad2f0b481cf0b4a60e225cc07eb8d7a75a362ba
+SIZE (gnome2/gnome-user-share-0.10.tar.bz2) = 287555
diff --git a/www/gnome-user-share/files/patch-user_share.c b/www/gnome-user-share/files/patch-user_share.c
new file mode 100644
index 000000000..352588ade
--- /dev/null
+++ b/www/gnome-user-share/files/patch-user_share.c
@@ -0,0 +1,12 @@
+--- user_share.c.orig Tue Nov 8 10:41:50 2005
++++ user_share.c Thu Nov 10 13:38:07 2005
+@@ -252,8 +252,8 @@ howl_input (GIOChannel *io_channel,
+ gpointer callback_data)
+ {
+ sw_discovery session;
+- session = callback_data;
+ sw_salt salt;
++ session = callback_data;
+
+ if (sw_discovery_salt (session, &salt) == SW_OKAY) {
+ sw_salt_lock (salt);
diff --git a/www/gnome-user-share/pkg-descr b/www/gnome-user-share/pkg-descr
new file mode 100644
index 000000000..0c6244b1b
--- /dev/null
+++ b/www/gnome-user-share/pkg-descr
@@ -0,0 +1,11 @@
+gnome-user-share is a small package that binds together various free
+software projects to bring easy to use user-level file sharing to the
+masses.
+
+The program is meant to run in the background when the user is logged
+in, and when file sharing is enabled a webdav server is started that
+shares the $HOME/Public folder. The share is then published to all
+computers on the local network using mDNS/bonjour, so that it shows
+up in the Network location in Gnome.
+
+-- gnome-user-share README
diff --git a/www/gnome-user-share/pkg-message b/www/gnome-user-share/pkg-message
new file mode 100644
index 000000000..66593e1d0
--- /dev/null
+++ b/www/gnome-user-share/pkg-message
@@ -0,0 +1,15 @@
+In order to take full advantage of gnome-user-share, you must have
+devel/gnomevfs2 built with Howl support. If you do not, simply rebuild
+devel/gnomevfs2 after gnome-user-share is installed:
+
+# portupgrade -f devel/gnomevfs2
+
+Next, start mDNSResponder as root. You might consider adding an rc.d script
+for this:
+
+# mDNSResponder
+
+Finally, run gnome-file-share-properties as the user with which you want
+to use gnome-user-share, then logout and log back into GNOME. Now everything
+under ~/Public should be shared. You can view this by opening Nautilus, and
+clicking on the Network icon under Computer.
diff --git a/www/gnome-user-share/pkg-plist b/www/gnome-user-share/pkg-plist
new file mode 100644
index 000000000..bc84cae2e
--- /dev/null
+++ b/www/gnome-user-share/pkg-plist
@@ -0,0 +1,37 @@
+bin/gnome-file-share-properties
+libexec/gnome-user-share
+share/gnome/applications/gnome-user-share-properties.desktop
+share/gnome/gnome-user-share/dav_groupfile
+share/gnome/gnome-user-share/dav_user.conf
+share/gnome/gnome-user-share/dav_user_2.0.conf
+share/gnome/gnome-user-share/dav_user_2.2.conf
+share/gnome/gnome-user-share/file-share-properties.glade
+share/locale/bg/LC_MESSAGES/gnome-user-share.mo
+share/locale/ca/LC_MESSAGES/gnome-user-share.mo
+share/locale/cs/LC_MESSAGES/gnome-user-share.mo
+share/locale/da/LC_MESSAGES/gnome-user-share.mo
+share/locale/de/LC_MESSAGES/gnome-user-share.mo
+share/locale/el/LC_MESSAGES/gnome-user-share.mo
+share/locale/en_CA/LC_MESSAGES/gnome-user-share.mo
+share/locale/en_GB/LC_MESSAGES/gnome-user-share.mo
+share/locale/fi/LC_MESSAGES/gnome-user-share.mo
+share/locale/fr/LC_MESSAGES/gnome-user-share.mo
+share/locale/gl/LC_MESSAGES/gnome-user-share.mo
+share/locale/hu/LC_MESSAGES/gnome-user-share.mo
+share/locale/it/LC_MESSAGES/gnome-user-share.mo
+share/locale/ja/LC_MESSAGES/gnome-user-share.mo
+share/locale/ko/LC_MESSAGES/gnome-user-share.mo
+share/locale/lt/LC_MESSAGES/gnome-user-share.mo
+share/locale/nb/LC_MESSAGES/gnome-user-share.mo
+share/locale/ne/LC_MESSAGES/gnome-user-share.mo
+share/locale/nl/LC_MESSAGES/gnome-user-share.mo
+share/locale/pa/LC_MESSAGES/gnome-user-share.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-user-share.mo
+share/locale/rw/LC_MESSAGES/gnome-user-share.mo
+share/locale/sk/LC_MESSAGES/gnome-user-share.mo
+share/locale/sq/LC_MESSAGES/gnome-user-share.mo
+share/locale/sv/LC_MESSAGES/gnome-user-share.mo
+share/locale/uk/LC_MESSAGES/gnome-user-share.mo
+share/locale/vi/LC_MESSAGES/gnome-user-share.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-user-share.mo
+@dirrm share/gnome/gnome-user-share