Re: [Cooker] anonftp scripts still broken!

2000-05-14 Thread Eugenio Diaz

--- Jean-Michel Dault [EMAIL PROTECTED]
wrote:
 
 Uploaded yet another package. Can you test it and
 give me some (hopefully
 good) news?

Yes, it is ok now. Thanks!

=

Eugenio Diaz, BSEE/BSCE   
Linux Engineer
[EMAIL PROTECTED]

__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Re: [Cooker] anonftp scripts still broken!

2000-05-14 Thread Jean-Michel Dault


Uploaded yet another package. Can you test it and give me some (hopefully
good) news?

Jean-Michel Dault
[EMAIL PROTECTED]


On Sun, 14 May 2000, Eugenio Diaz wrote:

 There is still another error in line 14 of the "rpm
 -qp --scripts"
 
 grep -q class  /etfc/ftpacce...
   ^
 
 --- Jean-Michel Dault [EMAIL PROTECTED]
 wrote:
  
  I just fixed the package again. It should appear in
  cooker shortly.
  
  Jean-Michel Dault
  [EMAIL PROTECTED]
 
 
 =
 
 Eugenio Diaz, BSEE/BSCE   
 Linux Engineer
 [EMAIL PROTECTED]
 
 __
 Do You Yahoo!?
 Send instant messages  get email alerts with Yahoo! Messenger.
 http://im.yahoo.com/
 




Re: [Cooker] anonftp scripts still broken!

2000-05-14 Thread Eugenio Diaz

There is still another error in line 14 of the "rpm
-qp --scripts"

grep -q class  /etfc/ftpacce...
  ^

--- Jean-Michel Dault [EMAIL PROTECTED]
wrote:
 
 I just fixed the package again. It should appear in
 cooker shortly.
 
 Jean-Michel Dault
 [EMAIL PROTECTED]


=

Eugenio Diaz, BSEE/BSCE   
Linux Engineer
[EMAIL PROTECTED]

__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Re: [Cooker] anonftp scripts still broken!

2000-05-13 Thread Andreas Simon

Eugenio Diaz wrote:

 rpm -Uvh anonftp-3.0-4mdk.i586.rpm
 anonftp
 ##
 mv: missing file argument
 Try `mv --help' for more information.
 execution of script failed

I have no problems with the new 3.0-4mdk version.
In fact I think the problems you encountered are
still from an older anonftp package. RPM can't
do an correct update of the package, because
it is unable to remove the old one because of
script errors.

What I did: first remove my old anonftp with
`rpm -e --noscripts anonftp' and then installed
the new one. No error messages for me.

Cheers,
~Andreas




Re: [Cooker] anonftp scripts still broken!

2000-05-13 Thread Andreas Simon

Andreas Simon wrote:
 
 I have no problems with the new 3.0-4mdk version.

Oops. Forget it. You're right, Eugenio. The error
is still there.

~Andreas




[Cooker] anonftp scripts still broken!

2000-05-13 Thread Eugenio Diaz

How difficult is it to remove a single character in such an important
package? Especially when the changelog says it is done 

[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
rpm -qp --changelog anonftp-3.0-4mdk.i586.rpm |head
* Fri May 12 2000 Chmouel Boudjnah [EMAIL PROTECTED] 3.0-4mdk

- Fix post scripts again.
- Add libtermcap.so.2 for ls :\

* Mon May 08 2000 Jean-Michel Dault [EMAIL PROTECTED] 3.0-3mdk

- removed reference to $RPM_BUILD_ROOT in post scripts (DOH!)

* Sat Apr 22 2000 Chmouel Boudjnah [EMAIL PROTECTED] 3.0-2mdk
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
rpm -Uvh anonftp-3.0-4mdk.i586.rpm
anonftp
##
mv: missing file argument
Try `mv --help' for more information.
execution of script failed
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
rpm -qp --scripts anonftp-3.0-4mdk.i586.rpm
postinstall script (through /bin/sh):
if [ -f /etc/ftpaccess ];then
  if ! grep -q "class.*anonymous.*"  /etc/ftpaccess;then
  cat /etc/ftpaccess | grep -v class  /etc/ftpaccess.mdk
  echo "class all real,guest,anonymous  *"  /etc/ftpaccess
  cat /etc/ftpaccess.mdk  /etc/ftpaccess
  rm -f /etc/ftpaccess.mdk
  fi
fi
exit 0
preuninstall script (through /bin/sh):
if [ -f /etc/ftpaccess ];then
  grep -q class  /etfc/ftpaccess  grep -v class /etc/ftpaccess 
/etc/ftpaccess.mdk
  if [ "$?" = "0" ];then
mv -f /etc/ftpaccess.mdk  /etc/ftpaccess

 H E R E  ^ 

  fi
fi
exit 0
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#

--
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]





Re: [Cooker] anonftp scripts still broken!

2000-05-13 Thread Jean-Michel Dault


I just fixed the package again. It should appear in cooker shortly.

Jean-Michel Dault
[EMAIL PROTECTED]


On Sat, 13 May 2000, Andreas Simon wrote:

 Andreas Simon wrote:
  
  I have no problems with the new 3.0-4mdk version.
 
 Oops. Forget it. You're right, Eugenio. The error
 is still there.
 
 ~Andreas