mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update to 0.4.
This commit is contained in:
parent
6d46758fc4
commit
c765c5b2a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123063
4 changed files with 4 additions and 51 deletions
|
@ -6,10 +6,10 @@
|
|||
#
|
||||
|
||||
PORTNAME= gnome-user-share
|
||||
PORTVERSION= 0.3
|
||||
PORTVERSION= 0.4
|
||||
CATEGORIES= www deskutils gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4
|
||||
DIST_SUBDIR= gnome2
|
||||
|
||||
MAINTAINER= marcus@FreeBSD.org
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (gnome2/gnome-user-share-0.3.tar.bz2) = 2f760af8691d5a7202aa2d52f286d965
|
||||
SIZE (gnome2/gnome-user-share-0.3.tar.bz2) = 219045
|
||||
MD5 (gnome2/gnome-user-share-0.4.tar.bz2) = 55a664dca2161bca06e8a10deb8a5339
|
||||
SIZE (gnome2/gnome-user-share-0.4.tar.bz2) = 220130
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
--- dav_user.conf.orig Fri Nov 26 15:50:13 2004
|
||||
+++ dav_user.conf Fri Nov 26 15:50:22 2004
|
||||
@@ -1,5 +1,6 @@
|
||||
ServerRoot ${HOME}/.gnome2/user-share
|
||||
PidFile pid
|
||||
+LockFile lock
|
||||
LogLevel crit
|
||||
#LogLevel info
|
||||
ErrorLog log
|
|
@ -1,38 +0,0 @@
|
|||
--- user_share.c.orig Fri Nov 26 04:33:51 2004
|
||||
+++ user_share.c Fri Nov 26 17:24:31 2004
|
||||
@@ -59,6 +59,14 @@
|
||||
return -1;
|
||||
}
|
||||
|
||||
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
|
||||
+ /* XXX This exposes a potential race condition, but without this,
|
||||
+ * httpd will not start on the above listed platforms due to the fact
|
||||
+ * that SO_REUSEADDR is also needed when Apache binds to the listening
|
||||
+ * socket. At this time, Apache does not support that socket option.
|
||||
+ */
|
||||
+ close (sock);
|
||||
+#endif
|
||||
return ntohs (addr.sin_port);
|
||||
}
|
||||
|
||||
@@ -171,7 +179,7 @@
|
||||
char *free1, *free2;
|
||||
gboolean res;
|
||||
char *argv[10];
|
||||
- char *env[10];;
|
||||
+ char *env[10];
|
||||
int i;
|
||||
gint status;
|
||||
char *pid_filename;
|
||||
@@ -195,9 +203,9 @@
|
||||
str = gconf_client_get_string (client,
|
||||
FILE_SHARING_REQUIRE_PASSWORD, NULL);
|
||||
|
||||
- if (strcmp (str, "never") == 0) {
|
||||
+ if (str && strcmp (str, "never") == 0) {
|
||||
/* Do nothing */
|
||||
- } else if (strcmp (str, "on_write") == 0){
|
||||
+ } else if (str && strcmp (str, "on_write") == 0){
|
||||
argv[i++] = "-D";
|
||||
argv[i++] = "RequirePasswordOnWrite";
|
||||
} else {
|
Loading…
Add table
Reference in a new issue