mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCHv2] maildrop: this patch adds maildrop to ptxdist
Date: Fri, 22 Jun 2018 15:51:47 +0200	[thread overview]
Message-ID: <20180622135147.h3vobxbtervadjsy@pengutronix.de> (raw)
In-Reply-To: <20180622121722.GA18870@graute-opti>

On Fri, Jun 22, 2018 at 02:17:22PM +0200, Oliver Graute wrote:
> Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
> ---
>  rules/maildrop.in   |  8 ++++++
>  rules/maildrop.make | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 81 insertions(+)
>  create mode 100644 rules/maildrop.in
>  create mode 100644 rules/maildrop.make
> 
> diff --git a/rules/maildrop.in b/rules/maildrop.in
> new file mode 100644
> index 0000000..059806c
> --- /dev/null
> +++ b/rules/maildrop.in
> @@ -0,0 +1,8 @@
> +## SECTION=communication
> +
> +menuconfig MAILDROP
> +	select COURIER_UNICODE
> +	tristate
> +	prompt "maildrop"
> +	help
> +	  maildrop - mail delivery agent with filtering abilities
> diff --git a/rules/maildrop.make b/rules/maildrop.make
> new file mode 100644
> index 0000000..c75c90a
> --- /dev/null
> +++ b/rules/maildrop.make
> @@ -0,0 +1,73 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute <oliver.graute@neuhaus.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_MAILDROP) += maildrop
> +
> +#
> +# Paths and names
> +#
> +MAILDROP_VERSION	:= 2.8.3
> +MAILDROP_MD5		:= 4e3b2b19b58a76581a486381e4444b5e
> +MAILDROP		:= maildrop-$(MAILDROP_VERSION)
> +MAILDROP_SUFFIX		:= tar.bz2
> +MAILDROP_URL		:= http://downloads.sourceforge.net/project/courier/maildrop/$(MAILDROP_VERSION)/$(MAILDROP).$(MAILDROP_SUFFIX)

Use the ptx/mirror macro.

> +MAILDROP_SOURCE		:= $(SRCDIR)/$(MAILDROP).$(MAILDROP_SUFFIX)
> +MAILDROP_DIR		:= $(BUILDDIR)/$(MAILDROP)
> +MAILDROP_LICENSE	:= GPLv3

GPL-3.0-only

> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +MAILDROP_CONF_ENV	:= \
> +	$(CROSS_ENV) \
> +	ac_cv_func_getpgrp_void=yes \
> +	ac_cv_func_setpgrp_void=yes \
> +	ac_cv_func_memcmp_working=yes \
> +	rb_cv_binary_elf=no \
> +	rb_cv_negative_time_t=no
> +
> +#
> +# autoconf
> +#
> +MAILDROP_CONF_TOOL	:= autoconf
> +MAILDROP_CONF_OPT	:= \
> +	$(CROSS_AUTOCONF_USR)\
> +	--with-locking-method=fcntl \
> +	--without-db \
> +	--disable-tempdir \
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/maildrop.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, maildrop)
> +	@$(call install_fixup, maildrop,PRIORITY,optional)
> +	@$(call install_fixup, maildrop,SECTION,base)
> +	@$(call install_fixup, maildrop,AUTHOR,"<oliver.graute@neuhaus.de>")
> +	@$(call install_fixup, maildrop,DESCRIPTION,missing)
> +
> +	@$(call install_copy, maildrop, 0, 0, 0755, -, /usr/bin/maildrop)
> +	@$(call install_copy, maildrop, 0, 0, 0755, -, /usr/bin/mailbot)
> +	@$(call install_copy, maildrop, 0, 0, 0755, -, /usr/bin/reformail)
> +	@$(call install_copy, maildrop, 0, 0, 0755, -, /usr/bin/makemime)
> +	@$(call install_copy, maildrop, 0, 0, 0755, -, /usr/bin/reformime)
> +
> +	@$(call install_finish, maildrop)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> -- 
> 1.9.1
> 
> 
> -- 
> i. A.  Oliver GRAUTE
> Software Entwicklung Dipl.-Inform. (Uni) 
> 
> Sagemcom Dr. Neuhaus GmbH
> Papenreye 65, 22453 Hamburg GERMANY
> Phone: +49 (0) 40 55304-3045 
> Fax: +49 (0) 40 55304-180
> oliver.graute@sagemcom.com
> 
> www.neuhaus.de / www.sagemcom.com
> Geschäftsführer: André Karnatz, Patrick Sevian
> Sitz der Gesellschaft: Hamburg
> Amtsgericht Hamburg / HRB 133678 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2018-06-22 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22 12:17 Oliver Graute
2018-06-22 13:51 ` Michael Olbrich [this message]

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=20180622135147.h3vobxbtervadjsy@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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