diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2007-03-20 21:22:49 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2007-03-20 21:22:49 +0000 |
commit | 27fa7bdddbdecc380cb5a5846446a9cf88a7bbba (patch) | |
tree | 55320cd9ca2bd5dedf04bb7b7715fb5fcf85ef3f /misc/libmcal/files | |
parent | 973d0366b88480f25e6685066dfcba0302c6f009 (diff) | |
download | ports-27fa7bdddbdecc380cb5a5846446a9cf88a7bbba.tar.gz ports-27fa7bdddbdecc380cb5a5846446a9cf88a7bbba.zip |
Notes
Diffstat (limited to 'misc/libmcal/files')
-rw-r--r-- | misc/libmcal/files/patch-icap_icap.c | 11 | ||||
-rw-r--r-- | misc/libmcal/files/patch-mstore_mstore.c | 20 | ||||
-rw-r--r-- | misc/libmcal/files/pkg-message.in | 16 |
3 files changed, 47 insertions, 0 deletions
diff --git a/misc/libmcal/files/patch-icap_icap.c b/misc/libmcal/files/patch-icap_icap.c new file mode 100644 index 000000000000..a8ad33f1399d --- /dev/null +++ b/misc/libmcal/files/patch-icap_icap.c @@ -0,0 +1,11 @@ +--- icap/icap.c.orig Tue Jan 28 18:31:33 2003 ++++ icap/icap.c Tue Mar 20 21:49:33 2007 +@@ -159,7 +159,7 @@ + if (!reopen) { + if ((stream = calloc(1, sizeof(*stream))) == NULL) + goto fail; +- if ((DATA = calloc(1, sizeof(*DATA))) == NULL) ++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL) + goto fail; + + /* Copy host. */ diff --git a/misc/libmcal/files/patch-mstore_mstore.c b/misc/libmcal/files/patch-mstore_mstore.c new file mode 100644 index 000000000000..97f5155c9ac7 --- /dev/null +++ b/misc/libmcal/files/patch-mstore_mstore.c @@ -0,0 +1,20 @@ +--- mstore/mstore.c.orig Tue Jan 28 18:31:33 2003 ++++ mstore/mstore.c Tue Mar 20 21:46:20 2007 +@@ -308,7 +308,7 @@ + if (!reopen) { + if ((stream = calloc(1, sizeof(*stream))) == NULL) + goto fail; +- if ((DATA = calloc(1, sizeof(*DATA))) == NULL) ++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL) + goto fail; + } + +@@ -773,7 +773,7 @@ + while((event=read_event(calfile))) { + if (event->id == modified_event->id) + { +- (const CALEVENT*)event = modified_event; ++ event = modified_event; + /*is more required here to assign objects, a loop through all the properties*/ + /* We actually only want to modify any individual property, not the whole thing.. + TODO */ diff --git a/misc/libmcal/files/pkg-message.in b/misc/libmcal/files/pkg-message.in new file mode 100644 index 000000000000..8445baa8ee6b --- /dev/null +++ b/misc/libmcal/files/pkg-message.in @@ -0,0 +1,16 @@ +***************************************************************************** + libmcal has been installed. In order to end its configuration, + please enter the following commands: + + mkdir /var/calendar + chmod 1777 /var/calendar + + To work with the mstore driver, using the Apache's htpasswd utility, + you may create the mpasswd file with the command below: + + htpasswd -c %%LOCALBASE%%/etc/mpasswd username + + To add or update this file you would execute as follows: + + htpasswd %%LOCALBASE%%/etc/mpasswd username +***************************************************************************** |