aur/netatalk to 2.2.3-4

This commit is contained in:
Kevin Mihelich 2012-06-26 16:51:03 -04:00
parent d22ace2adb
commit 1b5460c93d
9 changed files with 37 additions and 14 deletions

View file

@ -7,7 +7,7 @@
pkgname=netatalk
true && pkgname=('netatalk' 'netatalk-ddp')
pkgver=2.2.3
pkgrel=1
pkgrel=4
pkgdesc='A kernel-level implementation of AppleTalk, AFP, and PAP services'
arch=('i686' 'x86_64')
url='http://netatalk.sourceforge.net'
@ -24,13 +24,13 @@ install=$pkgname.install
changelog=$pkgname.changelog
source=(a2boot.rc afpd.rc atalkd.rc cnid_metad.rc netatalk.rc papd.rc timelord.rc \
http://hivelocity.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
md5sums=('792435b982af01a206b43f82115d4820'
'812f2a6236c495682e768704007b9b7d'
'8348b1bd91ff4a9c2d5e2bbb44cbc970'
'bc8c1f7e2af6e02982dc375fbf02f4d6'
'4226d26b886d6cff422c4a5bd5b88d55'
'288ee4394109ad8e163518a3b335064b'
'8a60ce9165f1346dab37045ce440c4cd'
md5sums=('26d1f602c5de87495b6c69021202d929'
'dcbce48475b038c0966d81dc8d61fbee'
'244fc26daba9c95e31f839c5c6f27c89'
'c227dc51d94f3e541daf478bd3d0be03'
'56cc073c625abdc26553ecf1998d40cb'
'e32f1df98f95a2a977d9a513deaf5aae'
'425a3dead19a20f4433fc2bffedb32bc'
'0b5a0645836183b0e548ccfbd5c022f8')
_options='--disable-ddp --disable-srvloc --disable-timelord --disable-cups --disable-a2boot'
_depddp=('openslp' 'libcups' 'libgcrypt>=1.2.3')
@ -39,6 +39,9 @@ build() {
if [ "$pkgname" = "netatalk-ddp" ];then resolve_deps ${_depddp[@]}
_options=`echo $_options | sed s/disable/enable/g`;fi
cd $pkgbase-$pkgver
msg2 'Fixing...'
sed -i 's/install-exec-hook/install-data-hook/' etc/uams/Makefile.am
autoreconf
msg2 'Configuring...'
CFLAGS="-Wno-unused-result" ./configure --prefix=/usr --localstatedir=/var --libexecdir='${libdir}' \
--with-cracklib --with-cnid-cdb-backend --enable-fhs $_options
@ -55,6 +58,7 @@ package() {
install -D -m755 "$srcdir"/netatalk.rc "$pkgdir"/etc/rc.d/netatalk
install -m755 "$srcdir"/cnid_metad.rc "$pkgdir"/etc/rc.d/cnid_metad
install -m755 "$srcdir"/afpd.rc "$pkgdir"/etc/rc.d/afpd
rm "$pkgdir"/usr/include/netatalk/at.h
}
package_netatalk() {
package

View file

@ -28,7 +28,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping $NAME"
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && kill $PID &>/dev/null
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && wait_pid $PID
if [ $? = 0 ]; then
stat_done
else

View file

@ -28,7 +28,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping $NAME"
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && kill $PID &>/dev/null
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && wait_pid $PID
if [ $? = 0 ]; then
stat_done
else

View file

@ -28,7 +28,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping $NAME"
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && kill $PID &>/dev/null
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && wait_pid $PID
if [ $? = 0 ]; then
stat_done
else

View file

@ -28,7 +28,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping $NAME"
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && kill $PID &>/dev/null
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && wait_pid $PID
if [ $? = 0 ]; then
stat_done
else

View file

@ -1,3 +1,18 @@
2012-06-12 SJ_UnderWater
* 2.2.3-4 :
added kill timing
2012-06-04 SJ_UnderWater
* 2.2.3-3 :
removed conflicting files
2012-06-02 SJ_UnderWater
* 2.2.3-2 :
Missing UAM links
2012-05-29 SJ_UnderWater
* 2.2.3-1 :

View file

@ -26,6 +26,10 @@ get_pid_rr(){
get_pid_r $*
if [ "$?" -ne "0" ];then return 1;fi
}
wait_pid(){
kill $1 &>/dev/null
while kill -0 $1 &>/dev/null;do sleep 0.5;done
}
case "$1" in
start|stop)

View file

@ -28,7 +28,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping $NAME"
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && kill $PID &>/dev/null
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && wait_pid $PID
if [ $? = 0 ]; then
stat_done
else

View file

@ -28,7 +28,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping $NAME"
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && kill $PID &>/dev/null
`get_pid_rr $REQUIRED` && [ -n "$PID" ] && wait_pid $PID
if [ $? = 0 ]; then
stat_done
else