Frank Lahm | 1 Nov 2010 22:07

Ready to release 2.2alpha1

Current git master is rev'd to 2.2alpha1. It
- passes the test-suite
- passes make distcheck
- is faster then 2.1.x in the most interesting/relevant lantest
results (yeah! rocks!)
- survives all dircache poising attacks I could come up with

We have this:

Changes in 2.2
==============

* NEW: ad utility: ad cp
* NEW: ad utility: ad rm
* NEW: ad utility: ad mv
* NEW: afpd: dynamic directoy and CNID cache (new config option -dircachesize)
* NEW: afpd: POSIX 1e ACL support
* NEW: afpd: automagic Zeroconf registration with avahi, registering both
       the service _afpovertcp._tcp and TimeMachine volumes with _adisk._tcp.
* UPD: afpd: ACLs usable (though not visible on the client side) without common
       directory service, by mapping ACLs to UARight
* UPD: afpd: performance improvements for ACL access calculations
* UPD: AppleTalk ist disabled by default at configuration time. If needed
       use configure switch --enable-ddp.
* FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
       use non-blocking IO and select instead.
* FIX: cnid_dbd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
       use non-blocking IO and select instead.
* REM: afile/achfile/apple_cm/apple_mv/apple_rm: use ad

(Continue reading)

Frank Lahm | 2 Nov 2010 12:10

Netatalk 2.2-alpha1 has been released

Netatalk 2.2alpha1
==================
The Netatalk development team is proud to announce version 2.2alpha1 of
the Netatalk File Sharing suite. This is an unstable version, published
for the sole purpose of receiving wider testing. Do not run this on
production systems.

Changes in 2.2alpha1
====================

* NEW: ad utility: ad cp
* NEW: ad utility: ad rm
* NEW: ad utility: ad mv
* NEW: afpd: dynamic directoy and CNID cache (new config option -dircachesize)
* NEW: afpd: POSIX 1e ACL support
* NEW: afpd: automagic Zeroconf registration with avahi, registering both
       the service _afpovertcp._tcp and TimeMachine volumes with _adisk._tcp.
* UPD: afpd: ACLs usable (though not visible on the client side) without common
       directory service, by mapping ACLs to UARight
* UPD: afpd: performance improvements for ACL access calculations
* UPD: AppleTalk ist disabled by default at configuration time. If needed
       use configure switch --enable-ddp.
* FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
       use non-blocking IO and select instead.
* FIX: cnid_dbd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
       use non-blocking IO and select instead.
* REM: afile/achfile/apple_cm/apple_mv/apple_rm: use ad

Changes in upcoming 2.1.5
====================
(Continue reading)

Alan Snelgrove | 4 Nov 2010 02:11
Picon
Favicon

Netatalk 2.2-alpha1 does not compile without ACL support.


The problems are sys/acl.h not found 

--- bin/ad/ad_util.c.orig	2010-11-04 01:11:00.000000000 +0100
+++ bin/ad/ad_util.c	2010-11-04 01:13:38.000000000 +0100
 <at>  <at>  -32,8 +32,15  <at>  <at> 
 #include "config.h"
 #endif /* HAVE_CONFIG_H */

+#ifdef HAVE_SOLARIS_ACLS
+#include <sys/acl.h>
+#endif  /* HAVE_SOLARIS_ACLS */
+
+#ifdef HAVE_POSIX_ACLS
 #include <sys/types.h>
 #include <sys/acl.h>
+#endif /* HAVE_POSIX_ACLS */
+
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/mman.h>

Problem in vfs.c: VFS_FUNC_ARGS_AC, VFS_FUNC_VARS_ACL not found

--- include/atalk/vfs.h.orig	2010-11-04 00:45:32.000000000 +0100
+++ include/atalk/vfs.h	2010-11-04 00:57:49.000000000 +0100
 <at>  <at>  -62,7 +62,7  <at>  <at> 
 #define VFS_FUNC_ARGS_COPYFILE const struct vol *vol, int sfd, const char *src, const char *dst
 #define VFS_FUNC_VARS_COPYFILE vol, sfd, src, dst

(Continue reading)

Frank Lahm | 5 Nov 2010 09:47

Re: Netatalk 2.2-alpha1 does not compile without ACL support.

2010/11/4 Alan Snelgrove <alansnelgrove <at> yahoo.co.uk>:
>
> The problems are sys/acl.h not found
>
>
> --- bin/ad/ad_util.c.orig       2010-11-04 01:11:00.000000000 +0100
> +++ bin/ad/ad_util.c    2010-11-04 01:13:38.000000000 +0100
>  <at>  <at>  -32,8 +32,15  <at>  <at> 
>  #include "config.h"
>  #endif /* HAVE_CONFIG_H */
>
> +#ifdef HAVE_SOLARIS_ACLS
> +#include <sys/acl.h>
> +#endif  /* HAVE_SOLARIS_ACLS */
> +
> +#ifdef HAVE_POSIX_ACLS
>  #include <sys/types.h>
>  #include <sys/acl.h>
> +#endif /* HAVE_POSIX_ACLS */
> +
>  #include <sys/param.h>
>  #include <sys/stat.h>
>  #include <sys/mman.h>
>
> Problem in vfs.c: VFS_FUNC_ARGS_AC, VFS_FUNC_VARS_ACL not found
>
> --- include/atalk/vfs.h.orig    2010-11-04 00:45:32.000000000 +0100
> +++ include/atalk/vfs.h 2010-11-04 00:57:49.000000000 +0100
>  <at>  <at>  -62,7 +62,7  <at>  <at> 
>  #define VFS_FUNC_ARGS_COPYFILE const struct vol *vol, int sfd, const char *src, const char *dst
(Continue reading)

HAT | 6 Nov 2010 03:00
Picon
Gravatar

2.2alpha1 cannot install atalkd.conf

# ./configure \
    --enable-ddp \
    --with-pkgconfdir=/etc/netatalk \
    --with-cracklib \
    --with-pam \
    --with-shadow \
    --enable-shared \
    --enable-krbV-uam \
    --enable-overwrite \
    --with-gnu-ld \
    --enable-redhat

# make
# make install
make[2]: Entering directory `/home/hat/src/netatalk-2.2alpha1/config'
make[3]: Entering directory `/home/hat/src/netatalk-2.2alpha1/config'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: *** No rule to make target `atalkd.conf', needed by `install-config-files'.  Stop.
make[3]: Leaving directory `/home/hat/src/netatalk-2.2alpha1/config'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/hat/src/netatalk-2.2alpha1/config'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/hat/src/netatalk-2.2alpha1/config'
make: *** [install-recursive] Error 1

cannot install atalkd.conf.

--

-- 
HAT

(Continue reading)

HAT | 6 Nov 2010 02:15
Picon
Gravatar

There are no AppleTalk manpages in alpha1 tarball

# ./configure \
    --enable-ddp \
    --with-pkgconfdir=/etc/netatalk \
    --with-cracklib \
    --with-pam \
    --with-shadow \
    --enable-shared \
    --enable-krbV-uam \
    --enable-overwrite \
    --with-gnu-ld \
    --enable-redhat

# make
(snip)
Making all in man
make[2]: Entering directory `/home/hat/src/netatalk-2.2alpha1/man'
Making all in man1
make[3]: Entering directory `/home/hat/src/netatalk-2.2alpha1/man/man1'
sed -e s <at> :SBINDIR: <at> /usr/local/sbin <at>  \
    -e s <at> :BINDIR: <at> /usr/local/bin <at>  \
    -e s <at> :ETCDIR: <at> /etc/netatalk <at>  \
    -e s <at> :LIBDIR: <at> /usr/local/lib <at>  \
    -e s <at> :DEFAULT_CNID_SCHEME: <at> dbd <at>  \
    <uniconv.1.tmpl >uniconv.1
sed -e s <at> :SBINDIR: <at> /usr/local/sbin <at>  \
    -e s <at> :BINDIR: <at> /usr/local/bin <at>  \
    -e s <at> :ETCDIR: <at> /etc/netatalk <at>  \
    -e s <at> :LIBDIR: <at> /usr/local/lib <at>  \
    -e s <at> :DEFAULT_CNID_SCHEME: <at> dbd <at>  \
    <asip-status.pl.1.tmpl >asip-status.pl.1
(Continue reading)

Frank Lahm | 8 Nov 2010 13:52

Re: There are no AppleTalk manpages in alpha1 tarball

2010/11/6 HAT <hat <at> fa2.so-net.ne.jp>:
> # ./configure \
>    --enable-ddp \
>    --with-pkgconfdir=/etc/netatalk \
>    --with-cracklib \
>    --with-pam \
>    --with-shadow \
>    --enable-shared \
>    --enable-krbV-uam \
>    --enable-overwrite \
>    --with-gnu-ld \
>    --enable-redhat
>
> # make
> (snip)
> Making all in man
> make[2]: Entering directory `/home/hat/src/netatalk-2.2alpha1/man'
> Making all in man1
> make[3]: Entering directory `/home/hat/src/netatalk-2.2alpha1/man/man1'
> sed -e s <at> :SBINDIR: <at> /usr/local/sbin <at>  \
>    -e s <at> :BINDIR: <at> /usr/local/bin <at>  \
>    -e s <at> :ETCDIR: <at> /etc/netatalk <at>  \
>    -e s <at> :LIBDIR: <at> /usr/local/lib <at>  \
>    -e s <at> :DEFAULT_CNID_SCHEME: <at> dbd <at>  \
>    <uniconv.1.tmpl >uniconv.1
> sed -e s <at> :SBINDIR: <at> /usr/local/sbin <at>  \
>    -e s <at> :BINDIR: <at> /usr/local/bin <at>  \
>    -e s <at> :ETCDIR: <at> /etc/netatalk <at>  \
>    -e s <at> :LIBDIR: <at> /usr/local/lib <at>  \
>    -e s <at> :DEFAULT_CNID_SCHEME: <at> dbd <at>  \
(Continue reading)

Frank Lahm | 8 Nov 2010 13:52

Re: Netatalk 2.2-alpha1 does not compile without ACL support.

2010/11/5 Frank Lahm <franklahm <at> googlemail.com>:
> 2010/11/4 Alan Snelgrove <alansnelgrove <at> yahoo.co.uk>:
>>
>> The problems are sys/acl.h not found
>>
>>
>> --- bin/ad/ad_util.c.orig       2010-11-04 01:11:00.000000000 +0100
>> +++ bin/ad/ad_util.c    2010-11-04 01:13:38.000000000 +0100
>>  <at>  <at>  -32,8 +32,15  <at>  <at> 
>>  #include "config.h"
>>  #endif /* HAVE_CONFIG_H */
>>
>> +#ifdef HAVE_SOLARIS_ACLS
>> +#include <sys/acl.h>
>> +#endif  /* HAVE_SOLARIS_ACLS */
>> +
>> +#ifdef HAVE_POSIX_ACLS
>>  #include <sys/types.h>
>>  #include <sys/acl.h>
>> +#endif /* HAVE_POSIX_ACLS */
>> +
>>  #include <sys/param.h>
>>  #include <sys/stat.h>
>>  #include <sys/mman.h>
>>
>> Problem in vfs.c: VFS_FUNC_ARGS_AC, VFS_FUNC_VARS_ACL not found
>>
>> --- include/atalk/vfs.h.orig    2010-11-04 00:45:32.000000000 +0100
>> +++ include/atalk/vfs.h 2010-11-04 00:57:49.000000000 +0100
>>  <at>  <at>  -62,7 +62,7  <at>  <at> 
(Continue reading)

HAT | 8 Nov 2010 17:43
Picon
Gravatar

Any daemon did not run if atalkd doesn't exist

In case of Fedora, the initscript doesn't start any daemon
if netatalk 2.2alpha1 is compiled without AppleTalk.

> # service netatalk start
> Starting Netatalk services: 
> [/usr/local/sbin/atalkd not found. Check for permissions]

I corrected this problem a little while ago.

http://netatalk.git.sourceforge.net/git/gitweb.cgi?p=netatalk/netatalk;a=commitdiff;h=df209f7d49e090fce1591d7abc9ac342d5426d9d

Maybe, other initscrips have similar problem.

rc.atalk.cobalt:
test -x /usr/sbin/atalkd || exit 0

rc.atalk.debian.tmpl:
test -x :SBINDIR:/atalkd || exit 0

--

-- 
HAT

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
Frank Lahm | 9 Nov 2010 11:40

Netatalk 2.2alpha2 is available

Netatalk 2.2alpha2
==================
The Netatalk development team is proud to announce version 2.2alpha2 of
the Netatalk File Sharing suite. This is an unstable version, published
for the sole purpose of receiving wider testing. Do not run this on
production systems.

Netatalk is a freely-available Open Source AFP fileserver. It also
provides a kernel level implementation of the AppleTalk Protocol Suite.
A *NIX/*BSD system running Netatalk is capable of serving many Macintosh
clients simultaneously as an AppleShare file server (AFP), AppleTalk
router, *NIX/*BSD print server, and for accessing AppleTalk printers via
Printer Access Protocol (PAP).
Included are a number of minor printing and debugging utilities.

The suite contains:

* afpd - a file server that implements the Apple Filing Protocol, allowing
  clients running MacOS to access Unix file servers
* atalkd - an implementation of the AppleTalk protocol
* papd - a print server that enables Macintosh computers to access printers
  connected to Unix servers
* megatron - a tool to convert files in Macintosh specific formats like
  BinHex, AppleSingle, or MacBinary into files readable by Unix computers
* various supporting programs and utilities

Netatalk is a Free/Open Source Software project and is released under
the GNU General Public License (GPL).  The full license text is available
at:

(Continue reading)


Gmane