You are not logged in.

#1 2004-06-21 16:36:55

seratne
Member
Registered: 2004-02-06
Posts: 21

[request] Netatalk

Can someone add a netatalk package.

Thanks!

Offline

#2 2004-06-29 20:27:22

seratne
Member
Registered: 2004-02-06
Posts: 21

Re: [request] Netatalk

Anyone with netatalk experience wanna give this a go.  Please smile

Offline

#3 2004-07-04 22:18:33

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: [request] Netatalk

Here's a PKGBUILD I made that compiles. I don't have any use for this, so I would'nt know if it works. If there's any problems, post here, we'll see what we can do.

#Contributor Ravi Desai <ravster3@hotmail.com>
pkgname=netatalk
pkgver=1.6.4
pkgrel=1
pkgdesc="Implementation of the AppleTalk Protocol Suite for Unix systems"
url="http://netatalk.sourceforge.net"
license="GPL"
depends=(pam openssl perl)
makedepends=()
source=(http://aleron.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('8bed0582d51deef7a31da1b6ae5df2e6')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

There are a lot of './configure' options in the progs INSTALL file. Since I don't know about the package or your preferences, I suggest you download the source and have a look at the various options therein.

Of course, you will require 'CONFIG_ATALK' to be a part of the running kernel(AppleTalk DDP support). Just in case someone has'nt tried this before.

Offline

#4 2004-09-10 02:48:33

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: [request] Netatalk

Here's what I came up with for a PKGBUILD, but I don't have appletalk built into my kernel yet:

#$Id: $
#Contributor: thegnu <thegnu@nathancurry.com>

pkgname=netatalk
pkgver=2.0
pkgrel=1
pkgdesc="a deamon providing *NIX systems with the ability to share files and printers with Apple Macintosh computers"
url="http://sourceforge.net/projets/netatalk"
depends=('perl' 'cups' 'openssl' perl' 'pam')
source=(http://aleron.dl.sourceforge.net/sourceforge/netatalk/$pkgname-$pkgver-rc1.tar.bz2 netatalk)
md5sums=('b3c746b9804d057e45a8badf510a5ea2' 'c03f21b97d05f40b7ff0445e9a46d703')


build() {
  cd $startdir/src/$pkgname-$pkgver-rc1
  ./configure --prefix=/usr --enable-cups
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  install -D -m755 -o root -g root $startdir/netatalk $startdir/pkg/etc/rc.d/netatalk
}

netatalk file:

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

case "$1" in

  start)
    stat_busy "Starting Netatalk Daemon"
    /usr/sbin/atalkd &>/dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      add_daemon netatalk
      stat_done
    fi
  ;;

  stop)
    stat_busy "Stopping Netatalk Daemon"
    rm_daemon netatalk
    if [ $? -gt 0 ]; then
      stat_fail
    else
    stat_done
  ;;

  restart)
    $0 stop
    $0 start
  ;;

  *)
    echo "usage: $0 {start|stop|restart}"
esac

I did --enable-free-bsd on configure because otherwise the /etc/pam.d directory would have ended up in /usr/etc/pam.d.  Should I have done it this way?  Here's the filelist:

.FILELIST
.PKGINFO
etc/
etc/pam.d/
etc/pam.d/netatalk
etc/rc.d/
etc/rc.d/netatalk
usr/
usr/bin/
usr/bin/achfile
usr/bin/acleandir.rc
usr/bin/add_netatalk_printer
usr/bin/adv1tov2
usr/bin/aecho
usr/bin/afile
usr/bin/afpd-mtab.pl
usr/bin/afppasswd
usr/bin/apple_cp
usr/bin/apple_mv
usr/bin/apple_rm
usr/bin/asip-status.pl
usr/bin/binheader
usr/bin/cleanappledouble.pl
usr/bin/cnid2_create
usr/bin/cnid_maint
usr/bin/getzones
usr/bin/hqx2bin
usr/bin/lp2pap.sh
usr/bin/macbinary
usr/bin/macusers
usr/bin/megatron
usr/bin/nadheader
usr/bin/nbplkup
usr/bin/nbprgstr
usr/bin/nbpunrgstr
usr/bin/netatalk-config
usr/bin/netatalkshorternamelinks.pl
usr/bin/nu
usr/bin/pap
usr/bin/papstatus
usr/bin/psorder
usr/bin/showppd
usr/bin/single2bin
usr/bin/timeout
usr/bin/unbin
usr/bin/unhex
usr/bin/uniconv
usr/bin/unsingle
usr/etc/
usr/etc/netatalk/
usr/etc/netatalk/AppleVolumes.default
usr/etc/netatalk/AppleVolumes.system
usr/etc/netatalk/afpd.conf
usr/etc/netatalk/atalkd.conf
usr/etc/netatalk/netatalk.conf
usr/etc/netatalk/papd.conf
usr/etc/netatalk/uams/
usr/etc/netatalk/uams/uams_clrtxt.so
usr/etc/netatalk/uams/uams_dhx.so
usr/etc/netatalk/uams/uams_dhx_pam.a
usr/etc/netatalk/uams/uams_dhx_pam.la
usr/etc/netatalk/uams/uams_dhx_pam.so
usr/etc/netatalk/uams/uams_dhx_passwd.a
usr/etc/netatalk/uams/uams_dhx_passwd.la
usr/etc/netatalk/uams/uams_dhx_passwd.so
usr/etc/netatalk/uams/uams_guest.a
usr/etc/netatalk/uams/uams_guest.la
usr/etc/netatalk/uams/uams_guest.so
usr/etc/netatalk/uams/uams_pam.a
usr/etc/netatalk/uams/uams_pam.la
usr/etc/netatalk/uams/uams_pam.so
usr/etc/netatalk/uams/uams_passwd.a
usr/etc/netatalk/uams/uams_passwd.la
usr/etc/netatalk/uams/uams_passwd.so
usr/etc/netatalk/uams/uams_randnum.a
usr/etc/netatalk/uams/uams_randnum.la
usr/etc/netatalk/uams/uams_randnum.so
usr/include/
usr/include/atalk/
usr/include/atalk/adouble.h
usr/include/atalk/aep.h
usr/include/atalk/afp.h
usr/include/atalk/asp.h
usr/include/atalk/atp.h
usr/include/atalk/boolean.h
usr/include/atalk/cnid.h
usr/include/atalk/compat.h
usr/include/atalk/ddp.h
usr/include/atalk/dsi.h
usr/include/atalk/list.h
usr/include/atalk/logger.h
usr/include/atalk/nbp.h
usr/include/atalk/netddp.h
usr/include/atalk/pap.h
usr/include/atalk/paths.h
usr/include/atalk/rtmp.h
usr/include/atalk/server_child.h
usr/include/atalk/tdb.h
usr/include/atalk/uam.h
usr/include/atalk/util.h
usr/include/atalk/zip.h
usr/include/netatalk/
usr/include/netatalk/aarp.c
usr/include/netatalk/aarp.h
usr/include/netatalk/at.h
usr/include/netatalk/at_control.c
usr/include/netatalk/at_proto.c
usr/include/netatalk/at_var.h
usr/include/netatalk/ddp.h
usr/include/netatalk/ddp_input.c
usr/include/netatalk/ddp_output.c
usr/include/netatalk/ddp_usrreq.c
usr/include/netatalk/ddp_var.h
usr/include/netatalk/endian.h
usr/include/netatalk/phase2.h
usr/lib/
usr/lib/libatalk.a
usr/lib/libatalk.la
usr/libexec/
usr/libexec/etc2ps.sh
usr/libexec/ifmpap
usr/libexec/ifmpaprev
usr/libexec/ifpap
usr/libexec/ifpaprev
usr/libexec/ifwmpap
usr/libexec/ifwmpaprev
usr/libexec/ifwpap
usr/libexec/ifwpaprev
usr/libexec/ofmpap
usr/libexec/ofpap
usr/libexec/ofwmpap
usr/libexec/ofwpap
usr/libexec/psa
usr/libexec/psf
usr/libexec/tfmpap
usr/libexec/tfmpaprev
usr/libexec/tfpap
usr/libexec/tfpaprev
usr/libexec/tfwmpap
usr/libexec/tfwmpaprev
usr/libexec/tfwpap
usr/libexec/tfwpaprev
usr/man/
usr/man/man1/
usr/man/man1/achfile.1.gz
usr/man/man1/acleandir.1.gz
usr/man/man1/aecho.1.gz
usr/man/man1/afile.1.gz
usr/man/man1/afppasswd.1.gz
usr/man/man1/apple_cp.1.gz
usr/man/man1/apple_mv.1.gz
usr/man/man1/apple_rm.1.gz
usr/man/man1/asip-status.pl.1.gz
usr/man/man1/getzones.1.gz
usr/man/man1/hqx2bin.1.gz
usr/man/man1/macbinary.1.gz
usr/man/man1/megatron.1.gz
usr/man/man1/nbp.1.gz
usr/man/man1/nbplkup.1.gz
usr/man/man1/nbprgstr.1.gz
usr/man/man1/nbpunrgstr.1.gz
usr/man/man1/netatalk-config.1.gz
usr/man/man1/pap.1.gz
usr/man/man1/papstatus.1.gz
usr/man/man1/psorder.1.gz
usr/man/man1/single2bin.1.gz
usr/man/man1/timeout.1.gz
usr/man/man1/unbin.1.gz
usr/man/man1/unhex.1.gz
usr/man/man1/uniconv.1.gz
usr/man/man1/unsingle.1.gz
usr/man/man3/
usr/man/man3/atalk_aton.3.gz
usr/man/man3/nbp_name.3.gz
usr/man/man4/
usr/man/man4/atalk.4.gz
usr/man/man5/
usr/man/man5/AppleVolumes.default.5.gz
usr/man/man5/afpd.conf.5.gz
usr/man/man5/atalkd.conf.5.gz
usr/man/man5/netatalk.conf.5.gz
usr/man/man5/papd.conf.5.gz
usr/man/man8/
usr/man/man8/afpd.8.gz
usr/man/man8/atalkd.8.gz
usr/man/man8/cnid_dbd.8.gz
usr/man/man8/cnid_metad.8.gz
usr/man/man8/papd.8.gz
usr/man/man8/papstatus.8.gz
usr/man/man8/psf.8.gz
usr/man/man8/timelord.8.gz
usr/sbin/
usr/sbin/afpd
usr/sbin/atalkd
usr/sbin/cnid_dbd
usr/sbin/cnid_metad
usr/sbin/papd
usr/share/
usr/share/aclocal/
usr/share/aclocal/netatalk.m4
usr/share/netatalk/
usr/share/netatalk/pagecount.ps
usr/var/
usr/var/spool/
usr/var/spool/netatalk/

fffft!

Offline

#5 2004-09-10 03:04:41

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [request] Netatalk

usr/libexec/ should not be used

usr/etc/ -> /etc

try to find variables in the Makefile that specify this destinations and set them differently

(these are general tipps - i have no chance to try appletalk myself and therefore cannot test anything)


The impossible missions are the only ones which succeed.

Offline

#6 2004-09-10 12:46:56

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: [request] Netatalk

OK, I've added --sysconfdir=/etc to the ./configure line.  It's working a bit better.

I still have a libexec directory, though.  I had considered putting  the netatalk install in /opt/.  Is this a good idea?

I do, however, already have a /usr/libexec directory on my computer with:

gcc (dir)
gnupg (dir)
rssh_chroot_helper (exec)
sudo_noexec.la
sudo_noexec.so (exec)

Why is /usr/libexec a bad idea?  There is a configure option to change the libexec directory.  Any suggestions?


fffft!

Offline

#7 2005-07-10 17:07:25

samsara
Member
From: Edinburgh, UK
Registered: 2005-01-27
Posts: 16
Website

Re: [request] Netatalk

In trying to compile version 2.0.3, I keep getting this error [EDIT]The error is also present in 2.0.2[/EDIT]:

Making all in cnid
make[3]: Entering directory `/tmp/netatalk-2/src/netatalk-2.0.3/bin/cnid'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../include -march=i686 -O2 -pipe -Wl,-O1 -I../../sys   -MT cnid_index.o -MD -MP -MF ".deps/cnid_index.Tpo" 
  -c -o cnid_index.o `test -f 'cnid_index.c' || echo './'`cnid_index.c; 
then mv -f ".deps/cnid_index.Tpo" ".deps/cnid_index.Po"; 
else rm -f ".deps/cnid_index.Tpo"; exit 1; 
fi
cnid_index.c: In function `dbif_count':
cnid_index.c:277: warning: passing arg 2 of pointer to function from incompatible pointer type
cnid_index.c:277: error: too few arguments to function

Anybody know anything about it?

The PKGBUILD is:

#$Id: $
#Contributor: samsara
pkgname=netatalk
pkgver=2.0.3
pkgrel=1
pkgdesc="a deamon providing *NIX systems with the ability to share files and printers with Apple Macintosh computers"
url="http://sourceforge.net/projets/netatalk"
depends=('perl' 'cups' 'openssl' 'pam')
source=("http://heanet.dl.sourceforge.net/sourceforge/netatalk/$pkgname-$pkgver.tar.gz")
md5sums=()

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr --enable-cups --sysconfdir=/etc
        make || return 1
        make DESTDIR=$startdir/pkg install || return 1
        install -D -m755 -o root -g root $startdir/netatalk $startdir/pkg/etc/rc.d/netatalk
}

If I can build this package and make it work, I'll stick with Arch. Without it, I can't print, and will have to find a distro that provides it...

Thanks,

Samsara

Offline

#8 2005-07-10 17:56:19

samsara
Member
From: Edinburgh, UK
Registered: 2005-01-27
Posts: 16
Website

Re: [request] Netatalk

So this one works for the release candidate - thanks to thegnu!

#$Id: $
#Contributor: samsara

pkgname=netatalk
pkgver=2.0
pkgrel=1
pkgdesc="the AppleTalk protocol daemon for Unix and Linux"
url="http://sourceforge.net/projets/netatalk"
depends=('heimdal' 'openssl' 'cracklib' 'pam' 'tcp_wrappers' 'openslp' 'cups' 'perl' 'db' 'pam')
# Gentoo ebuild also cites openafs as a dependency, but Arch has no such package,
# and Debian does not have it as a dependency
source=("http://aleron.dl.sourceforge.net/sourceforge/netatalk/$pkgname-$pkgver-rc1.tar.gz")
md5sums=()


build() {
        cd $startdir/src/$pkgname-$pkgver-rc1
        ./configure --prefix=/usr --enable-cups --sysconfdir=/etc --includedir=/usr/local/include
        make || return 1
        make prefix=$startdir/pkg/usr install
}

Samsara

Offline

#9 2005-08-19 21:30:54

seratne
Member
Registered: 2004-02-06
Posts: 21

Re: [request] Netatalk

Not sure if it helps much, but gentoo has an ebuild for 2.0.3.
http://www.gentoo.org/cgi-bin/viewcvs.c … ideattic=1
That is if you can understand it, I can't  roll

Offline

#10 2007-06-18 03:29:14

Yaroze
Member
Registered: 2007-01-28
Posts: 6

Re: [request] Netatalk

Where did it go? There was a netatalk package in repository.. but now it has been removed.

Offline

#11 2007-06-18 03:41:55

nikron
Member
Registered: 2007-05-15
Posts: 130

Re: [request] Netatalk

Yaroze wrote:

Where did it go? There was a netatalk package in repository.. but now it has been removed.

Looks like it got dropped back into AUR, comments on AUR page:


Comment by: Snowman on 20070331 [06:19:50]
-moved from [community] repo.
-There seem to be a conflict with yudit.
- If you had this error with the community package:
/usr/sbin/afpd: error while loading shared libraries: libdb-4.3.so: cannot open shared
object file: No such file or directory
Rebuilding the package should fix that.

Comment by: The_Nerd on 20070401 [17:57:04]
I have recently adopted this package.
It does not build as is on two systems that I have tried, it currently needs a patch to
allow it to be built with the --without-xfs argument which then allows the build to be
successful on the two systems on which I've used this.
I will be adding the patch, and checking the package in the next few days.

Comment by: The_Nerd on 20070403 [22:30:49]
Update to fix build issue.

Last edited by nikron (2007-06-18 03:43:52)

Offline

#12 2008-08-03 20:46:17

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: [request] Netatalk

I'm having problems with the xfs headers not being found or being broken, can I get some details on this patch and the --without-xfs argument?

Offline

#13 2008-08-05 14:19:49

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: [request] Netatalk

When I run the PKGBUILD (which I guess has the --without-xfs argument included) I get an error regarding the option=(!LIBTOOL). Can I get rid of this and still build the package right?

Offline

Board footer

Powered by FluxBB