Mail archive
alpine-aports

[alpine-aports] [PATCH] unmaintained/dovecot-deleted-to-trash-plugin: upgrade to 0.6

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Tue, 9 Feb 2016 10:22:22 +0200

- lib renamed to lib95 to correct loading order
- config file added

Can you move this package from unmaintained to community?
---
 .../dovecot-deleted-to-trash-plugin/APKBUILD       | 26 ++++++++++++++--------
 .../dovecot-deleted-to-trash-plugin/makefile.patch | 19 ++++++++++++++++
 2 files changed, 36 insertions(+), 9 deletions(-)
 create mode 100644 unmaintained/dovecot-deleted-to-trash-plugin/makefile.patch
diff --git a/unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD b/unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD
index 91a8028..ea82269 100644
--- a/unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD
+++ b/unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD
_at_@ -1,19 +1,23 @@
+# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
 # Contributor: Natanael Copa <ncopa_at_alpinelinux.org>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=dovecot-deleted-to-trash-plugin
-pkgver=0.3
-pkgrel=1
-pkgdesc="Copy deleted email to trash for broken IMAP clients (Outlook)"
+_pkgreal=dovecot_deleted_to_trash
+pkgver=0.6
+pkgrel=0
+pkgdesc="Deleted to trash IMAP plugin for Dovecot"
 url="http://wiki2.dovecot.org/Plugins/deleted-to-trash"
 arch="all"
 license="unknown"
-depends=""
+depends="dovecot"
 makedepends="dovecot-dev"
 install=""
 subpackages=""
-source="http://dev.alpinelinux.org/archive/dovecot-deleted-to-trash-plugin/dovecot-deleted-to-trash-plugin-$pkgver.tar.bz2"
+source="$_pkgreal-$pkgver.tar.gz::https://github.com/lexbrugman/$_pkgreal/archive/v$pkgver.tar.gz
+	makefile.patch
+	"
 
-_builddir="$srcdir"/dovecot-deleted-to-trash-plugin-$pkgver
+_builddir="$srcdir"/$_pkgreal-$pkgver
 prepare() {
 	local i
 	cd "$_builddir"
_at_@ -31,8 +35,12 @@ build() {
 
 package() {
 	cd "$_builddir"
-	make install DESTDIR="$pkgdir" \
-		DOVECOT_IMAP_PLUGIN_PATH=/usr/lib/dovecot
+	make DESTDIR="$pkgdir" install configure
 }
 
-md5sums="63bdfa71312abc2dcaae5cfedd1db622  dovecot-deleted-to-trash-plugin-0.3.tar.bz2"
+md5sums="4a37da2bb41f7e53b9d218fb8d410594  dovecot_deleted_to_trash-0.6.tar.gz
+a3a7e184f3063eeacc1c182e91b672b0  makefile.patch"
+sha256sums="68d128092a42ad1a0aecaf273a59aee22c9b23e9697203fd7e629ab327d638cb  dovecot_deleted_to_trash-0.6.tar.gz
+0d89bc9fb881ab47176117a7afb17cc6a6ff63803b59b87ed06f39c2cac17ed3  makefile.patch"
+sha512sums="41da1b622f30ee137ac8c06a687466a36c21035fd54b83393543c944b4e7cb4f3576556f220734d934033e6804d371eb5a1ec4f1d2491f3bf808782a59e2cb12  dovecot_deleted_to_trash-0.6.tar.gz
+7bb0722ffcf8c248a15ff0baf4487d72d2bb8b66a875b70ee50776d732de58d011aa2963c39af628e8c61d7fa4395bee5496ce8a9388cf8f7411031258a169db  makefile.patch"
diff --git a/unmaintained/dovecot-deleted-to-trash-plugin/makefile.patch b/unmaintained/dovecot-deleted-to-trash-plugin/makefile.patch
new file mode 100644
index 0000000..e74044d
--- /dev/null
+++ b/unmaintained/dovecot-deleted-to-trash-plugin/makefile.patch
_at_@ -0,0 +1,19 @@
+--- a/Makefile
++++ b/Makefile
+_at_@ -5,14 +5,14 @@
+ # Dovecot's header directory
+ DOVECOT_INC_PATH = /usr/include/dovecot
+ # Dovecot's IMAP plugin path
+-DOVECOT_IMAP_PLUGIN_PATH = /usr/lib/dovecot/modules
++DOVECOT_IMAP_PLUGIN_PATH = /usr/lib/dovecot
+ # Dovecot's config path
+ DOVECOT_CONFIG_PATH = /etc/dovecot/conf.d 
+ 
+ ## usually no need to configure anything below this line ##
+ 
+ # plugin source & target name #
+-PLUGIN_NAME = lib_deleted_to_trash_plugin.so
++PLUGIN_NAME = lib95_deleted_to_trash_plugin.so
+ 
+ # config file
+ PLUGIN_CONFIG_FILE = 95-deleted_to_trash_plugin.conf
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Feb 09 2016 - 10:22:22 GMT