Re: [aur-general] acroread package compromised

2018-07-08 Thread Justus-dev
Good catch, guys.

Shouldn't someone also contact the operators of ptpb.pw to take down the
(at least) two URLs in question?

I'd also like to understand how xeactor took over the packages.

Justus


[aur-general] Bump pkgrel just to force recompilation

2017-08-10 Thread Justus-dev
Hi -

I keep running into problems caused by stale installations from the AUR,
such as upgraded, ABI-incompatible dependencies or Python packages still
installed under /usr/lib/python3.5/ where they are no longer found since
the move to python3.6.

My understanding is that in such situations, the affected packages
should bump pkgrel to force rebuild and reinstall, even if the source
and the rest of the PKGBUILD remain unchanged.

Is this understanding correct?  If so, can this be clarified in places
such as [1][2] where people cannot miss it?

Confronted with this issue, some maintainers advise their users to just
rebuild by hand, but that defeats part of the purpose of package
management systems.  I don't want to have to debug weird run-time errors
one by one, trace the problem to this trivial issue, and then solve each
of them by manual rebuild.

Justus


[1] https://wiki.archlinux.org/index.php/PKGBUILD#pkgrel
[2] https://wiki.archlinux.org/index.php/Arch_User_Repository


[aur-general] PKGBUILD Review Request: syncevolution

2016-06-25 Thread Justus-dev
I scratched an itch and would now like feedback on my first PKGBUILD. I
enabled the features I need (which are all basic), plus all those that
did not pull in too many additional dependencies and compiled without
fuss. I split out syncevo-http-server because it depends on many Python
packages, and many users won't need it.

The patch (not included) replaces python by python2, fixes two minor
compilation issues, and applies a hack to get it to work with libical2.
(Upstream is aware.)

(There are obsolete syncevolution packages in the AUR Archive, but I
decided to start from scratch.)

Thanks,
Justus



# Maintainer: Justus Piater 
pkgname=('syncevolution' 'syncevolution-http')
pkgver=1.5.1
pkgrel=1
pkgdesc="Synchronize PIM data via various protocols"
arch=('i686' 'x86_64')
url="https://syncevolution.org/;
license=('LGPL')
depends=('evolution-data-server' 'neon' 'openobex' 'python2' 'libunique')
makedepends=('intltool' 'boost')
#changelog=
source=("https://download.01.org/syncevolution/syncevolution/sources/$pkgname-$pkgver.tar.gz;
"$pkgname-$pkgver.patch")
sha256sums=('39f52049006c4a703bfe4b7cea3bb3298fe61b4ba9a8dbc367492409e4091c70'
'e8592cff59bc0ebc9bb2b35b63840d4207bb8bc321f244294122a40910b6aeb2')

prepare() {
cd "$pkgname-$pkgver"
patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}

build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --libexecdir=/usr/lib/syncevolution 
--sysconfdir=/etc CXXFLAGS=-std=gnu++98 --enable-bluetooth --enable-core 
--enable-dbus-service --enable-notify --enable-notify-compatibility 
--enable-gui --enable-pbap --enable-dav
make
}

package_syncevolution() {
cd "$pkgbase-$pkgver"
make DESTDIR="$pkgdir/" install
rm -f $pkgdir/usr/bin/syncevo-http-server
rmdir $pkgdir/usr/lib/syncevolution/test
}

package_syncevolution-http() {
pkgdesc="Synchronize PIM data via various protocols (HTTP server)"
arch=('any')
depends=('syncevolution'
 'python2-dbus'
 'python2-twisted'
 'python2-gobject2'
 'python2-pyopenssl'
 'python2-service-identity')
#changelog=

cd "$pkgbase-$pkgver"
mkdir -p $pkgdir/usr/bin
/usr/bin/install -c test/syncevo-http-server.py 
$pkgdir/usr/bin/syncevo-http-server
}