You are not logged in.

#1 2004-04-16 20:11:27

razor
Member
From: Kiev, Ukraine
Registered: 2004-04-08
Posts: 16

[network: email] mutt-nntp, arCHMage, and logwatch

mutt-nntp - mutt 1.5.6i with patches from Vsevolod Volkov (mutt.org.ua)
chmlib - library for dealing with .chm files
xchm - a .chm viewer
arCHMage - an extractor of .chm
logwatch - log analyzer


Best wishes, Alexander Solovyov

Offline

#2 2004-04-16 21:07:07

razor
Member
From: Kiev, Ukraine
Registered: 2004-04-08
Posts: 16

Re: [network: email] mutt-nntp, arCHMage, and logwatch

Oh, sorry, i just forgot post PKGBUILDs sad

And for you first post: sorry, but i don't think that i'm understand what you mean. I should do something or not?

# Contributor: Alexander Solovyov <piranha@eth0.org.ua>

pkgname=mutt-nntp
pkgver=1.5.6
pkgrel=1
pkgdesc="A small but very powerful text-based mail client. (NNTP POWERED)"
makedepends=('gnupg')
depends=('ncurses' 'openssl')
url="http://www.mutt.org"
conflicts=('mutt')
source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}i.tar.gz 
        http://mutt.org.ua/download/mutt-${pkgver}/patch-${pkgver}.rr.compressed.gz 
        http://mutt.org.ua/download/mutt-${pkgver}/patch-${pkgver}.vvv.initials.gz 
        http://mutt.org.ua/download/mutt-${pkgver}/patch-${pkgver}.vvv.nntp.gz 
        http://mutt.org.ua/download/mutt-${pkgver}/patch-${pkgver}.vvv.quote.gz 
        http://mutt.org.ua/download/mutt-${pkgver}/patch-${pkgver}.vvv.ru.gz 
        http://mutt.org.ua/download/mutt-${pkgver}/patch-${pkgver}.vvv.slang.gz)
md5sums=('aa1433635d7c86beba1675a3408b0324' 
        '0d57a62f17c93eb1d2eff60e070933b3' 
        'eecaa646227609b52e5267178b3bc462' 
        'b32ef18006ce8a211ad2d1dabc62bfcb' 
        'f262968775cf5c37ba49b29248fcf170' 
        '49f6ebac195e6899b89827a9f8643b3e' 
        '11dccb4b178d63d0dbf51afcea3b30c8')

build() {
  cd $startdir/src/mutt-1.5.6
  cat ../patch-1.5.6.rr.compressed | patch -p1
  cat ../patch-1.5.6.vvv.initials | patch -p1
  cat ../patch-1.5.6.vvv.nntp | patch -p1
  cat ../patch-1.5.6.vvv.quote | patch -p1
  cat ../patch-1.5.6.vvv.ru | patch -p1
  cat ../patch-1.5.6.vvv.slang | patch -p1
  ./configure --prefix=/usr --sysconfdir=/etc 
        --enable-nntp --enable-pop --enable-imap 
        --with-ssl --enable-pgp --enable-buffy-size 
        --enable-compressed
  /usr/bin/make || return 1
  /usr/bin/make DESTDIR=$startdir/pkg install
}
# Contributor: Alexander Solovyov <piranha@eth0.org.ua>

pkgname=chmlib
pkgver=0.31
pkgrel=1
pkgdesc="CHMLIB is a library for dealing with Microsoft ITSS/CHM format files"
url="http://66.93.236.84/~jedwin/projects/chmlib/"
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://66.93.236.84/~jedwin/projects/chmlib/$pkgname-$pkgver.tgz)
md5sums=('5ff2d8476d4124d04aae11601b844c63')

build() {
  cd $startdir/src/$pkgname-$pkgver
  sed 's/gcc-3.2/gcc/g' Makefile > Makefile.new
  mv Makefile.new Makefile
  make || return 1
  mkdir -p $startdir/pkg/usr/include $startdir/pkg/usr/lib
  make INSTALLPREFIX=$startdir/pkg/usr install
}
# Contributor: Alexander Solovyov <piranha@eth0.org.ua>

pkgname=xchm
pkgver=0.9
pkgrel=1
pkgdesc="A .chm viewer"
url=""
depends=(wxgtk chmlib)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=($pkgname-$pkgver.tar.gz)
md5sums=('c2cdc266fbbf013f5b63fabcdaa8547b')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
  rm -rf $startdir/pkg/usr/share/locale
}
# Contributor: Alexander Solovyov <piranha@eth0.org.ua>

pkgname=archmage
pkgver=0.0.6
pkgrel=1
pkgdesc="CHM (Compiled HTML) Decompressor"
url="http://archmage.sourceforge.net/"
depends=(chmlib python)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=($pkgname-$pkgver.tar.gz)
md5sums=('0ab0e7c51fbf10be0a2719f5b5f329f8')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./setup.py bdist
  cd $startdir/pkg
  tar zxf $startdir/src/$pkgname-$pkgver/dist/$pkgname-$pkgver.linux-i686.tar.gz
}
# Contributor: Alexander Solovyov <piranha@eth0.org.ua>
                        
pkgname=logwatch        
pkgver=5.1              
pkgrel=1                
pkgdesc="Log watcher"   
url="http://www.logwatch.org"
depends=()              
makedepends=()          
conflicts=()            
replaces=()             
backup=()               
source=(ftp://ftp.logwatch.org/pub/linux/$pkgname-$pkgver.tar.gz)
md5sums=('35f96e1002d081620c508216bb9a0170')
                        
build() {               
 cd $startdir/src/$pkgname-$pkgver
                        
install -m 0755 -d $startdir/pkg/etc/log.d/conf/logfiles
install -m 0755 -d $startdir/pkg/etc/log.d/conf/services
install -m 0755 -d $startdir/pkg/etc/log.d/scripts/services
install -m 0755 -d $startdir/pkg/etc/log.d/scripts/shared
install -m 0755 -d $startdir/pkg/etc/log.d/lib
                        
install -m 0755 scripts/logwatch.pl $startdir/pkg/etc//log.d/scripts/logwatch.pl
                        
for i in scripts/logfiles/* ; do
 if [ $(ls $i | wc -l) -ne 0 ] ; then
 install -m 0755 -d $startdir/pkg/etc/log.d/$i
 install -m 0755 $i/* $startdir/pkg/etc/log.d/$i
 fi                     
done                    
install -m 0755 scripts/services/* $startdir/pkg/etc/log.d/scripts/services
install -m 0755 scripts/shared/* $startdir/pkg/etc/log.d/scripts/shared
install -m 0755 lib/* $startdir/pkg/etc/log.d/lib
                        
install -m 0644 conf/logwatch.conf $startdir/pkg/etc/log.d/conf/logwatch.conf
install -m 0644 conf/logfiles/* $startdir/pkg/etc/log.d/conf/logfiles
install -m 0644 conf/services/* $startdir/pkg/etc/log.d/conf/services
                        
install -m 0755 -d $startdir/pkg/usr/man/man8
install -m 0644 logwatch.8 $startdir/pkg/usr/man/man8
                        
install -m 0755 -d $startdir/pkg/etc/cron.daily
cd $startdir/pkg/etc/cron.daily
ln -s ../log.d/scripts/logwatch.pl 0logwatch
install -m 0755 -d $startdir/pkg/usr/sbin
cd $startdir/pkg/usr/sbin
ln -s ../../etc/log.d/scripts/logwatch.pl logwatch
} 

Best wishes, Alexander Solovyov

Offline

#3 2004-04-17 01:02:32

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: [network: email] mutt-nntp, arCHMage, and logwatch

Hey, I tried your nntp-mutt PKGBUILD, works fine, except it should conflict with both mutt AND mutt-devel.

How do you actually use the nntp options? I added the proper config settings to my muttrc (found from google), but every combination of a newsgroup I try from:
nntp://blah, says invalid specification. What's the proper format?


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

#4 2004-04-17 05:36:20

razor
Member
From: Kiev, Ukraine
Registered: 2004-04-08
Posts: 16

Re: [network: email] mutt-nntp, arCHMage, and logwatch

Thx, i add mutt-devel to list of conflicts, and reload it to incoming.
Sorry for so many troubles, this is my first packages. smile

About nntp, here is a part from my config:

set news_cache_dir="~/.mutt"
set news_server="nntp://news.ntu-kpi.kiev.ua"
set newsrc="~/.newsrc"
set nntp_context=2000
set nntp_load_description=no                                                                             set nntp_poll=60
set nntp_reconnect=yes

bind    index   f        followup-message
bind    pager   f        followup-message
bind    index   p       post-message
bind    pager   p       post-message


Best wishes, Alexander Solovyov

Offline

Board footer

Powered by FluxBB