mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
New package: opensmtpd-filter-dkimsign-0.5
This commit is contained in:
parent
cdd28fc718
commit
74818c0439
2 changed files with 47 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
The LOCALBASE variable is used as a prefix for parts of both build and install.
|
||||
This causes issues with cross-compiling, where the prefix for development files
|
||||
and for installation are different (e.g. /usr/aarch64-linux-gnu versus /usr).
|
||||
|
||||
This patch removes references to LOCALBASE in the include and link search paths
|
||||
to fix include errors caused by having `-I/usr/include` in a cross-compile.
|
||||
|
||||
--- a/Makefile.gnu 2022-07-25 15:21:33.867612285 -0500
|
||||
+++ b/Makefile.gnu 2022-07-25 15:41:18.197622258 -0500
|
||||
@@ -23,7 +23,6 @@
|
||||
CRYPT_LDADD= -lcrypto
|
||||
endif
|
||||
|
||||
-CFLAGS+= -I${LOCALBASE}/include
|
||||
CFLAGS+= -Wall -I${.CURDIR}
|
||||
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
|
||||
CFLAGS+= -Wmissing-declarations
|
||||
@@ -32,7 +31,6 @@
|
||||
CFLAGS+= ${CRYPT_CFLAGS}
|
||||
CFLAGS+= -I${CURDIR} -I${CURDIR}/openbsd-compat/
|
||||
|
||||
-LDFLAGS+= -L${LOCALBASE}/lib
|
||||
LDFLAGS+= ${CRYPT_LDFLAGS}
|
||||
LDADD+= ${CRYPT_LDADD} -lopensmtpd
|
||||
|
22
srcpkgs/opensmtpd-filter-dkimsign/template
Normal file
22
srcpkgs/opensmtpd-filter-dkimsign/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'opensmtpd-filter-dkimsign'
|
||||
pkgname=opensmtpd-filter-dkimsign
|
||||
version=0.5
|
||||
revision=1
|
||||
wrksrc="filter-dkimsign-${version}"
|
||||
build_style=gnu-makefile
|
||||
make_cmd="make -f Makefile.gnu"
|
||||
make_use_env=yes
|
||||
make_build_args="MANFORMAT="
|
||||
make_install_args="MANFORMAT="
|
||||
makedepends="libopensmtpd-devel openssl-devel"
|
||||
short_desc="Filter for signing mail with DKIM"
|
||||
maintainer="Adam Gausmann <agausmann@fastmail.com>"
|
||||
license="ISC"
|
||||
homepage="https://imperialat.at/dev/filter-dkimsign/"
|
||||
distfiles="https://distfiles.sigtrap.nl/filter-dkimsign-${version}.tar.gz"
|
||||
checksum=a5b4ec3af5ecb42351a0b5459bdd0f32c00ec55c23050b5f46dfaed8e321974b
|
||||
make_check=no # Does not have a test suite
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Add table
Reference in a new issue