mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
aur/netatalk to 2.2-1
This commit is contained in:
parent
3aa33f8a95
commit
0462c32d73
3 changed files with 11 additions and 13 deletions
|
@ -2,12 +2,11 @@
|
|||
# Contributor: William Udovich <nerdzrule7 at earthlink dot net>
|
||||
# Contributor: Farhan Yousaf <farhany at xaviya dot com>
|
||||
|
||||
# from AUR, but with a change to add "--with-cnid-cdb-backend" to ./configure
|
||||
plugrel=1
|
||||
|
||||
pkgname=netatalk
|
||||
pkgver=2.1.4
|
||||
pkgrel=0
|
||||
plugrel=1
|
||||
pkgver=2.2
|
||||
pkgrel=1
|
||||
pkgdesc="A kernel level implementation of the AppleTalk Protocol Suite"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://netatalk.sourceforge.net"
|
||||
|
@ -22,19 +21,19 @@ backup=('etc/netatalk/afpd.conf'
|
|||
'etc/avahi/services/afpd.service')
|
||||
depends=('libcups' 'tcp_wrappers' 'avahi' 'openssl' 'pam' 'coreutils>=7.1-2' 'db')
|
||||
makedepends=('make' 'patch' 'gcc')
|
||||
source=(http://voxel.dl.sourceforge.net/project/netatalk/netatalk/$pkgver/netatalk-$pkgver.tar.bz2 \
|
||||
source=(http://voxel.dl.sourceforge.net/project/netatalk/netatalk/$pkgver/netatalk-$pkgver-beta4.tar.bz2 \
|
||||
afpd atalkd papd cnid afpd.service)
|
||||
install=netatalk.install
|
||||
md5sums=('b3251290f3f1bf10acdf407dea585bae'
|
||||
'ee18029d197da244dcc993553496e0c2'
|
||||
md5sums=('34be63cc07ed3ae606712028a9265216'
|
||||
'16ab9fa50ec4abde6de478fc7de57805'
|
||||
'2d05de4a16faf7d4af21b5f14e33fa82'
|
||||
'b16a687c96dd1ca7ffefd7c995356c0d'
|
||||
'84d1961726aaa8df08d63a0925358b1a'
|
||||
'9b6b2fee54fe052bba0c69f00d335bdb')
|
||||
|
||||
build() {
|
||||
cd $startdir/src/netatalk-$pkgver
|
||||
./configure --prefix=/usr --with-ssl-dir=/usr --localstatedir=/var --enable-fhs --enable-zeroconf=/usr --disable-srvloc --without-xfs --with-cnid-cdb-backend
|
||||
cd $startdir/src/netatalk-$pkgver-beta4
|
||||
./configure --prefix=/usr --with-cnid-cdb-backend --with-ssl-dir=/usr --localstatedir=/var --enable-fhs --enable-zeroconf=/usr --disable-srvloc --without-xfs
|
||||
make || return 1
|
||||
make DESTDIR=$startdir/pkg install
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ PID=$(pidof -o %PPID /usr/sbin/afpd)
|
|||
case $1 in
|
||||
start)
|
||||
stat_busy "Starting afpd Daemon"
|
||||
[ -z $PID ] && /usr/sbin/afpd
|
||||
[ -z "$PID" ] && /usr/sbin/afpd
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
|
@ -19,7 +19,7 @@ case $1 in
|
|||
;;
|
||||
stop)
|
||||
stat_busy "Stopping afpd Daemon"
|
||||
[ ! -z $PID ] && kill "$PID" &> /dev/null
|
||||
[ ! -z "$PID" ] && kill "$PID" &> /dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
To configure shares, please edit /etc/netatalk/AppleVolumes.default.
|
||||
To run as a daemon, add afpd to MODULES line in /etc/rc.conf.
|
||||
Make sure "afpd: ALL" is in your /etc/hosts.allow file.
|
||||
To run as a daemon, add afpd to MODULES line in /etc/rc.conf
|
||||
|
|
Loading…
Reference in a new issue