Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/dovecot-pigeonhole: New package
Date: Mon, 29 Sep 2014 19:14:56 +0200	[thread overview]
Message-ID: <20140929191456.1f8900ea@free-electrons.com> (raw)
In-Reply-To: <1411925137-11284-2-git-send-email-bernd.kuhls@t-online.de>

Dear Bernd Kuhls,

On Sun, 28 Sep 2014 19:25:37 +0200, Bernd Kuhls wrote:

> diff --git a/package/dovecot-pigeonhole/dovecot-pigeonhole.mk b/package/dovecot-pigeonhole/dovecot-pigeonhole.mk
> new file mode 100644
> index 0000000..a55d2ec
> --- /dev/null
> +++ b/package/dovecot-pigeonhole/dovecot-pigeonhole.mk
> @@ -0,0 +1,31 @@
> +################################################################################
> +#
> +# dovecot-pigeonhole
> +#
> +################################################################################
> +
> +DOVECOT_PIGEONHOLE_VERSION = 0.4.3
> +DOVECOT_PIGEONHOLE_SOURCE = dovecot-2.2-pigeonhole-$(DOVECOT_PIGEONHOLE_VERSION).tar.gz
> +DOVECOT_PIGEONHOLE_SITE = http://pigeonhole.dovecot.org/releases/2.2
> +DOVECOT_PIGEONHOLE_LICENSE = LGPLv2.1

LGPLv2.1 or LGPLv2.1+ ?

> +DOVECOT_PIGEONHOLE_LICENSE_FILES = COPYING
> +DOVECOT_PIGEONHOLE_DEPENDENCIES = dovecot
> +
> +DOVECOT_PIGEONHOLE_CONF_OPT = \
> +	--with-dovecot=$(STAGING_DIR)/usr/lib \
> +	--with-moduledir=/usr/lib \
> +	--libexecdir=/usr/bin/dovecot \

Same question as dovecot: really /usr/bin/dovecot ?

> +	--sysconfdir=/etc \
> +	--localstatedir=/var
> +
> +define DOVECOT_PIGEONHOLE_POST_CONFIGURE
> +	for i in $$(find $(@D) -name "Makefile"); do \
> +		$(SED) 's%^pkglibdir =.*%pkglibdir = \$$(libdir)%' $$i; \
> +		$(SED) 's%^pkglibexecdir =.*%pkglibexecdir = \$$(libexecdir)%' $$i; \
> +		$(SED) 's%^sieve_plugindir =.*%sieve_plugindir = \$$(moduledir)%' $$i; \
> +	done
> +endef
> +
> +DOVECOT_PIGEONHOLE_POST_CONFIGURE_HOOKS += DOVECOT_PIGEONHOLE_POST_CONFIGURE

Like for dovecot.mk, it might be good to have a short comment above
explaining what's going on here.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-09-29 17:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-28 17:25 [Buildroot] [PATCH 1/2] package/dovecot: New package Bernd Kuhls
2014-09-28 17:25 ` [Buildroot] [PATCH 2/2] package/dovecot-pigeonhole: " Bernd Kuhls
2014-09-29 17:14   ` Thomas Petazzoni [this message]
2014-09-29 17:13 ` [Buildroot] [PATCH 1/2] package/dovecot: " Thomas Petazzoni
2014-10-03  9:33   ` Bernd Kuhls
2014-10-03 11:40     ` Thomas Petazzoni
2014-10-03 12:32       ` Bernd Kuhls
2014-10-03 14:12   ` Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140929191456.1f8900ea@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox