opendkim: DKIM signing and verifying emails
The OpenDKIM package provides a service for signing and verifying
DomainKeys Identified Mail (DKIM) signatures. OpenDKIM consists of
a library that implements the DKIM service and a milter-based
filter application that can plug in to any milter-aware MTA, such
as Postfix or Sendmail, to provide that service to sufficiently
recent sendmail MTAs and other MTAs that support the milter
protocol.
This submission provides three new packages:
- libopendkim, a library for signing and verifying DKIM signatures,
- opendkim, the server application and the genkey script,
- opendkim-tools, a set of tools for configuring and testing OpenDKIM.
While at it, add PKG_BUILD_DEPENDS statement to sendmail's Makefile.
Travis CI buildbot sometimes fails to compile libopenssl before
starting to build sendmail. Since sendmail depends on libopenssl, the
whole Travis CI build process fails. Setting PKG_BUILD_DEPENDS
to "openssl", the directory name of libopenssl's Makefile, fixes the
problem.
Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
8 years ago opendkim: DKIM signing and verifying emails
The OpenDKIM package provides a service for signing and verifying
DomainKeys Identified Mail (DKIM) signatures. OpenDKIM consists of
a library that implements the DKIM service and a milter-based
filter application that can plug in to any milter-aware MTA, such
as Postfix or Sendmail, to provide that service to sufficiently
recent sendmail MTAs and other MTAs that support the milter
protocol.
This submission provides three new packages:
- libopendkim, a library for signing and verifying DKIM signatures,
- opendkim, the server application and the genkey script,
- opendkim-tools, a set of tools for configuring and testing OpenDKIM.
While at it, add PKG_BUILD_DEPENDS statement to sendmail's Makefile.
Travis CI buildbot sometimes fails to compile libopenssl before
starting to build sendmail. Since sendmail depends on libopenssl, the
whole Travis CI build process fails. Setting PKG_BUILD_DEPENDS
to "openssl", the directory name of libopenssl's Makefile, fixes the
problem.
Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
8 years ago opendkim: DKIM signing and verifying emails
The OpenDKIM package provides a service for signing and verifying
DomainKeys Identified Mail (DKIM) signatures. OpenDKIM consists of
a library that implements the DKIM service and a milter-based
filter application that can plug in to any milter-aware MTA, such
as Postfix or Sendmail, to provide that service to sufficiently
recent sendmail MTAs and other MTAs that support the milter
protocol.
This submission provides three new packages:
- libopendkim, a library for signing and verifying DKIM signatures,
- opendkim, the server application and the genkey script,
- opendkim-tools, a set of tools for configuring and testing OpenDKIM.
While at it, add PKG_BUILD_DEPENDS statement to sendmail's Makefile.
Travis CI buildbot sometimes fails to compile libopenssl before
starting to build sendmail. Since sendmail depends on libopenssl, the
whole Travis CI build process fails. Setting PKG_BUILD_DEPENDS
to "openssl", the directory name of libopenssl's Makefile, fixes the
problem.
Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
8 years ago |
|
- #
- # Copyright (C) 2017 Val Kulkov <val.kulkov@gmail.com>
- #
- # This is free software, licensed under the GNU General Public License v3.
- #
-
- include $(TOPDIR)/rules.mk
-
- PKG_NAME:=opendkim
- PKG_VERSION:=2.10.3
- PKG_RELEASE:=3
-
- PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
- PKG_SOURCE_URL:=@SF/$(PKG_NAME)
- PKG_HASH:=43a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b
- PKG_MAINTAINER:=Val Kulkov <val.kulkov@gmail.com>
-
- PKG_LICENSE:=BSD-3-Clause
- PKG_LICENSE_FILES:=LICENSE LICENSE.Sendmail
-
- PKG_INSTALL:=1
- PKG_BUILD_DEPENDS:=openssl
- PKG_FIXUP:=autoreconf
-
- include $(INCLUDE_DIR)/package.mk
-
- define Package/opendkim
- SECTION:=mail
- CATEGORY:=Mail
- DEPENDS:=+libopendkim
- TITLE:=Open source milter for providing DKIM service
- URL:=http://opendkim.org/
- USERID:=opendkim:opendkim
- endef
-
- define Package/opendkim/description
- The OpenDKIM daemon application and the opendkim-genkey Perl script for generating public/private key pairs.
- endef
-
- define Package/libopendkim
- SECTION:=mail
- CATEGORY:=Libraries
- DEPENDS:=+libopenssl +libmilter-sendmail
- TITLE:=Library for signing and verifying DKIM signatures
- URL:=http://opendkim.org/
- endef
-
- define Package/libopendkim/description
- Library for signing and verifying DomainKeys Identified Mail (DKIM) signatures.
- endef
-
- define Package/opendkim-tools
- SECTION:=mail
- CATEGORY:=Mail
- DEPENDS:=+libopendkim
- TITLE:=genzone, testkey and testmsg tools for OpenDKIM
- URL:=http://opendkim.org/
- endef
-
- define Package/opendkim-tools/description
- opendkim-genzone, opendkim-testkey and opendkim-testmsg tools.
- endef
-
- TARGET_CFLAGS += $(FPIC)
-
- CONFIGURE_ARGS += \
- --without-db \
- --without-gcov \
- --without-gprof \
- --without-lcov \
- --with-milter=$(STAGING_DIR)/usr
-
- define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/opendkim $(1)/usr/sbin/
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/opendkim-{genkey,genzone,testkey,testmsg} $(1)/usr/sbin/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopendkim.so* $(1)/usr/lib/
- endef
-
- define Package/opendkim/conffiles
- /etc/opendkim.conf
- /etc/opendkim/
- endef
-
- define Package/opendkim/install
- $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/opendkim $(1)/etc/init.d
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/opendkim $(1)/usr/sbin/
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/opendkim-genkey $(1)/usr/sbin/opendkim-genkey.pl
- $(INSTALL_BIN) ./files/opendkim-genkey $(1)/usr/sbin/
- $(INSTALL_DATA) ./files/opendkim.conf.simple $(1)/etc/opendkim/
- $(INSTALL_BIN) ./files/opendkim.init $(1)/etc/init.d/opendkim
- endef
-
- define Package/libopendkim/install
- $(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopendkim.so* $(1)/usr/lib/
- endef
-
- define Package/opendkim-tools/install
- $(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/opendkim-{genzone,testkey,testmsg} $(1)/usr/sbin/
- endef
-
- $(eval $(call BuildPackage,opendkim))
- $(eval $(call BuildPackage,libopendkim))
- $(eval $(call BuildPackage,opendkim-tools))
|