Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2975 - freepops and patch

Attached to Project: Arch Linux
Opened by Claudio Riva (Firetux) - Tuesday, 19 July 2005, 09:34 GMT
Last edited by Dale Blount (dale) - Tuesday, 19 July 2005, 12:01 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Simo Leone (neotuli)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

freepops needs to be update quicly if you want that all plugins works well (now is out version 0.0.31).
In the official home page you can find patches that have to be apply to the pkg. For example at the moment there is a patch for hotmail.lua so I made a little change at PKGBUILD:

pkgname=freepops
pkgver=0.0.31
pkgrel=1
pkgdesc="A program to convert webmail interfaces to pop3"
url="http://freepops.sourceforge.net/"
depends=('curl' 'expat')
backup=('etc/freepops/config.lua')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz freepopsd \
http://dl.sourceforge.net/sourceforge/$pkgname/hotmail.lua)
md5sums=('ff1d7b2553dd4092ba483d96a3917371' 'da3192c9261e839654bdaa02253de919'\
'98c6d3abf52b8618ac35927414c480b8')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure.sh linux-slack
make || return 1
make DESTDIR=$startdir/pkg install
chmod 644 $startdir/pkg/etc/freepops/config.lua $startdir/pkg/usr/share/freepops/lua/*.lua $startdir/pkg/usr/share/man/man1/freepopsd.1
install -D -m755 $startdir/src/freepopsd $startdir/pkg/etc/rc.d/freepopsd
# Adding Patches
cd $startdir/src
for _patch in *.lua
do
install -D -m644 $_patch $startdir/pkg/usr/share/freepops/lua/$_patch
done
}

first of all I add the source of the patch (http://dl.sourceforge.net/sourceforge/$pkgname/hotmail.lua) and after I add a cycle "for" at the end of build() so, if a new patch come out, you need only to add it in the source list and it will be automatically add.
This task depends upon

Closed by  Simo Leone (neotuli)
Friday, 12 August 2005, 03:09 GMT
Reason for closing:  Won't fix
Additional comments about closing:  I'll do it my way, so long as it works. Please mark the package out of date and I'll know to look for new patches.

Sorry for the slow response, but I was on vacation for an extended time.

Loading...