Skip to content

Commit

Permalink
Merge branch 'release-3.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
slowfranklin committed May 24, 2013
2 parents 7ac82e9 + ae13958 commit cb339ec
Show file tree
Hide file tree
Showing 101 changed files with 19,109 additions and 330 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Makefile.am for top level of netatalk package

if USE_BUILTIN_LIBEVENT
SUBDIRS = libevent include libatalk bin config etc man contrib distrib doc macros test
SUBDIRS = libevent include libatalk bin config etc contrib distrib doc man macros test
else
SUBDIRS = include libatalk bin config etc man contrib distrib doc macros test
SUBDIRS = include libatalk bin config etc contrib distrib doc man macros test
endif

EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION
Expand Down
27 changes: 27 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
Changes in 3.0.4
================
* FIX: Opening files without metadata EA may result in an invalid
metadata EA. Check for malformed metadata EAs and delete them.
Fixes bug #510.
* FIX: Fix an issue with filenames containing non-ASCII characters that
lead to a failure setting the size of a files ressource fork.
This affected application like Adobe Photoshop where saving
files may fail. Fixes bug #511.
* UPD: Enhance ACL mapping, change global ACL option 'map acl' to take
the following options: "none", "rights" (default), "mode".
none = no mapping, this resembles the previous false/no setting
rights = map ACLs to Finder UARights, this resembles the previous
true/yes setting. This is the default.
mode = map ACLs to Finder UARights and UNIX mode
From FR #73.
* FIX: Fix a possible crash in cname() where cname_mtouname calls
dirlookup() where the curdir is freed because the dircache
detected a dev/inode cache difference and evicted the object
from the cache. Fixes bug #498.
* FIX: Add missing include, fixes bug #512.
* FIX: Change default FinderInfo for directories to be all 0, fixes
bug 514.
* NEW: New option "afp interfaces" which allows specifying where
Netatalk listens for AFP connections by interface names.
From FR #79.

Changes in 3.0.3
================
* UPD: afpd: Increase default DSI server quantum to 1 MB
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.3
3.0.4
31 changes: 31 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ AC_CHECK_FUNCS(mmap utime getpagesize) dnl needed by tbd
dnl search for necessary libraries
AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(connect, socket)
AC_CHECK_FUNCS(getifaddrs) dnl comes after gethostbyname and connect so it picks up the libs

AX_PTHREAD(, [AC_MSG_ERROR([missing pthread_sigmask])])

AC_DEFINE(OPEN_NOFOLLOW_ERRNO, ELOOP, errno returned by open with O_NOFOLLOW)
Expand Down Expand Up @@ -195,6 +197,9 @@ AC_NETATALK_FHS
dnl netatalk lockfile path, must come after AC_NETATALK_FHS
AC_NETATALK_LOCKFILE

dnl Check for Docbook and build documentation if found
AX_CHECK_DOCBOOK

CFLAGS="-I\$(top_srcdir)/include -I\$(top_builddir)/include $CFLAGS"
UAMS_PATH="${uams_path}"

Expand Down Expand Up @@ -246,6 +251,14 @@ AC_OUTPUT([Makefile
distrib/initscripts/Makefile
distrib/m4/Makefile
doc/Makefile
doc/html.xsl
doc/man.xsl
doc/manual/Makefile
doc/manual/manual.xml
doc/manpages/Makefile
doc/manpages/man1/Makefile
doc/manpages/man5/Makefile
doc/manpages/man8/Makefile
etc/Makefile
etc/afpd/Makefile
etc/cnid_dbd/Makefile
Expand Down Expand Up @@ -273,8 +286,26 @@ AC_OUTPUT([Makefile
macros/Makefile
man/Makefile
man/man1/Makefile
man/man1/ad.1
man/man1/afpldaptest.1
man/man1/afppasswd.1
man/man1/afpstats.1
man/man1/apple_dump.1
man/man1/asip-status.pl.1
man/man1/dbd.1
man/man1/macusers.1
man/man1/netatalk-config.1
man/man1/uniconv.1
man/man5/Makefile
man/man5/afp.conf.5
man/man5/afp_signature.conf.5
man/man5/afp_voluuid.conf.5
man/man5/extmap.conf.5
man/man8/Makefile
man/man8/afpd.8
man/man8/cnid_dbd.8
man/man8/cnid_metad.8
man/man8/netatalk.8
test/Makefile
test/afpd/Makefile
],
Expand Down
4 changes: 2 additions & 2 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Makefile.in
Makefile
.gitignore
*.o
html.xsl
man.xsl
51 changes: 51 additions & 0 deletions doc/DEVELOPER
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,54 @@ filenames for the usock_file parameter.

- There is no protection against a malicious user connecting to the
cnid_dbd socket and changing the database.

Documentation
=============
Netatalk documentation is in Docbook XML format. In order to build manpages
and the html documentation from the Docbook docs you need the following:

1. Install `xsltproc`

2. Get the latest Docbook XSL stylesheet distribution from:
https://sourceforge.net/project/showfiles.php?group_id=21935
Tested docbook-xsl stylesheet version is 1.75.2.

3. Fix indexterm bug in xsl stylesheet:
inside the xsl stylesheet distribution in manpages/inline.xsl remove these lines:

<!-- * indexterm instances produce groff comments like this: -->
<!-- * .\" primary: secondary: tertiary -->
<xsl:template match="indexterm">
<xsl:text>.\" </xsl:text>
<xsl:apply-templates/>
<xsl:text>&#10;</xsl:text>
</xsl:template>

<xsl:template match="primary">
<xsl:value-of select="normalize-space(.)"/>
</xsl:template>

<xsl:template match="secondary|tertiary">
<xsl:text>: </xsl:text>
<xsl:value-of select="normalize-space(.)"/>
</xsl:template>

4. Add the following argument to configure
--with-docbook=PATH_TO_XML_STYLESHEET_DIR

5. The manpages and html documentation are now automatically built when running `make html`.

Editing Docbook Sources
-----------------------
Free WYSIWYG editor with only one minor drawback is XMLEditor from XMLmind:
http://www.xmlmind.com/xmleditor/persoedition.html

Drawback: in order to be able to edit any of the nested xml files, you have to
"promote" them to valid Docbook files by referencing the Docbook DTD, insert as line 2+3:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

These changes will however prevent XMLeditor from opening the master xml file
manual.xml. Before further processing can be done these changes then have to be
reverted for any changed file.
10 changes: 8 additions & 2 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Makefile.am for INSTALL/
SUBDIRS = manpages manual
XSLTPROC=@XSLTPROC@
XSLTPROC_FLAGS=@XSLTPROC_FLAGS@
XHTML_STYLESHEET=$(top_srcdir)/doc/html.xsl

EXTRA_DIST = DEVELOPER
htmldir = $(prefix)/share/doc/@PACKAGE@
dist_html_DATA = @[email protected]

DISTCLEANFILES = html.xsl man.xsl
687 changes: 687 additions & 0 deletions doc/gfx_and_css/logo.ai

Large diffs are not rendered by default.

Binary file added doc/gfx_and_css/logo.pdf
Binary file not shown.
Binary file added doc/gfx_and_css/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit cb339ec

Please sign in to comment.