X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 52336DC6644 for ; Tue, 9 Feb 2016 08:18:08 +0000 (UTC) Received: from mail.infogroup.kiev.ua (tera.infogroup.kiev.ua [195.144.25.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 0FB4BDC025E for ; Tue, 9 Feb 2016 08:18:06 +0000 (UTC) Received: from aveo.com.ua ([195.144.25.27] helo=alpine) by mail.infogroup.kiev.ua with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1aT3Up-0004T1-J3; Tue, 09 Feb 2016 10:18:03 +0200 From: Valery Kartel To: alpine-aports@lists.alpinelinux.org Cc: Valery Kartel Subject: [alpine-aports] [PATCH] unmaintained/dovecot-deleted-to-trash-plugin: upgrade to 0.6 Date: Tue, 9 Feb 2016 10:22:22 +0200 Message-Id: <1455006142-11400-1-git-send-email-valery.kartel@gmail.com> X-Mailer: git-send-email 2.7.0 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: - 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 @@ -1,19 +1,23 @@ +# Contributor: Valery Kartel # Contributor: Natanael Copa # Maintainer: Natanael Copa 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" @@ -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 @@ -0,0 +1,19 @@ +--- a/Makefile ++++ b/Makefile +@@ -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@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---