Valery Kartel: 1 community/dovecot-pigeonhole-plugin: fix depends, move config from -doc to main package. 2 files changed, 63 insertions(+), 9 deletions(-)
Copy & paste the following snippet into your terminal to import this patchset into git:
curl -s https://lists.alpinelinux.org/~alpine/aports/patches/1971/mbox | git am -3Learn more about email & git
How to make a request to rename the package? I think, this package need to be renamed to "dovecot-pigeonhole" (without -plugin) or to "dovecot-sieve" to do like the names of the other dovecot-subpackages. --- community/dovecot-pigeonhole-plugin/APKBUILD | 17 ++++---- community/dovecot-pigeonhole-plugin/APKBUILD.old | 55 ++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 9 deletions(-) create mode 100644 community/dovecot-pigeonhole-plugin/APKBUILD.old diff --git a/community/dovecot-pigeonhole-plugin/APKBUILD b/community/dovecot-pigeonhole-plugin/APKBUILD index e46330d..79977b8 100644 --- a/community/dovecot-pigeonhole-plugin/APKBUILD +++ b/community/dovecot-pigeonhole-plugin/APKBUILD @@ -5,19 +5,20 @@ pkgname=dovecot-pigeonhole-plugin _realname=dovecot-2.2-pigeonhole pkgver=0.4.10 -pkgrel=0 +pkgrel=1 pkgdesc="Pigeonhole project provides Sieve support as a plugin to Dovecot's LDA" url="http://pigeonhole.dovecot.org" arch="all" license="LGPL" -depends="dovecot" -depends_dev="" -makedepends="dovecot-dev openssl-dev" +depends="" +depends_dev="$pkgname" +makedepends="dovecot-dev" install="" subpackages="$pkgname-doc $pkgname-dev $pkgname-tools" source="http://pigeonhole.dovecot.org/releases/2.2/$_realname-$pkgver.tar.gz" -_builddir="$srcdir/$_realname-$pkgver" +_builddir="$srcdir"/$_realname-$pkgver + prepare() { cd "$_builddir" update_config_sub || return 1 @@ -29,10 +30,6 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ --with-dovecot=/usr/lib/dovecot \ --disable-static \ || return 1 @@ -42,6 +39,8 @@ build() { package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 + mkdir -p "$pkgdir"/etc + mv "$pkgdir"/usr/share/doc/dovecot/example-config "$pkgdir"/etc/dovecot } tools() { diff --git a/community/dovecot-pigeonhole-plugin/APKBUILD.old b/community/dovecot-pigeonhole-plugin/APKBUILD.old new file mode 100644 index 0000000..e46330d --- /dev/null +++ b/community/dovecot-pigeonhole-plugin/APKBUILD.old @@ -0,0 +1,55 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Contributor: Kozak Ivan <kozak-iv@yandex.ru> +# Maintainer: Kozak Ivan <kozak-iv@yandex.ru> +pkgname=dovecot-pigeonhole-plugin +_realname=dovecot-2.2-pigeonhole +pkgver=0.4.10 +pkgrel=0 +pkgdesc="Pigeonhole project provides Sieve support as a plugin to Dovecot's LDA" +url="http://pigeonhole.dovecot.org" +arch="all" +license="LGPL" +depends="dovecot" +depends_dev="" +makedepends="dovecot-dev openssl-dev" +install="" +subpackages="$pkgname-doc $pkgname-dev $pkgname-tools" +source="http://pigeonhole.dovecot.org/releases/2.2/$_realname-$pkgver.tar.gz" + +_builddir="$srcdir/$_realname-$pkgver" +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-dovecot=/usr/lib/dovecot \ + --disable-static \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +tools() { + pkgdesc="Pigeonhole project provides Sieve support (test and debug tools)" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +md5sums="a11632e1302d2d906267d67e761da218 dovecot-2.2-pigeonhole-0.4.10.tar.gz" +sha256sums="e9dfe7160fd3b465d6d5068f219122626ef790cce507e290cd09852c7d90726f dovecot-2.2-pigeonhole-0.4.10.tar.gz" +sha512sums="3e864727fc2bd346a7212135a3dd8759f9a5c27abd938c4d6b805c784c5c2c5aa401dd49cfa90951348a00202b85f91d86a2fa17ccab9a983a6faf2d0add48e8 dovecot-2.2-pigeonhole-0.4.10.tar.gz" -- 2.6.4 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---