python/aiohttp: update to 3.11.2
[oi-userland.git] / components / library / libspf2 / Makefile
blobe1d334c30e45f027b7291ad73978c76f4a53ffd2
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022 Friedrich Kink
13 # Copyright 2022 Niklas Poslovski
16 # NOTE (from Arch Package): package version is a pinned commit (titled 'bump to version 1.2.11').
17 # this is used due to inactivity upstream and CVE-2021-20314.
18 # when/if upstream becomes active again, this package can be re-done in a
19 # better way.
21 BUILD_BITS= 64 # for binaries or 32_and_64 for libraries
23 include ../../../make-rules/shared-macros.mk
25 COMPONENT_NAME= libspf2
26 COMPONENT_VERSION= 1.2.11
27 COMPONENT_COMMIT= 8131fe140704eaae695e76b5cd09e39bd1dd220b
28 COMPONENT_SUMMARY= libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair.
29 COMPONENT_PROJECT_URL= https://www.$(COMPONENT_NAME).org
30 COMPONENT_FMRI= library/libspf2
31 COMPONENT_CLASSIFICATION=System/Libraries
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_COMMIT)
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
34 COMPONENT_ARCHIVE_URL= https://github.com/shevek/libspf2/archive/$(COMPONENT_COMMIT).tar.gz
35 COMPONENT_ARCHIVE_HASH= sha256:2ba3dc7ea380a72646f5b2fbc1fff0d9a10d5c844a998621f8dd410afc50553a
36 COMPONENT_LICENSE= Copyright 2005 by Shevek and Wayne Schlitt, LGPL 2.1
37 COMPONENT_LICENSE_FILE= LICENSES
39 TEST_TARGET= $(NO_TESTS)
40 DROP_STATIC_LIBRARIES= yes
42 include $(WS_MAKE_RULES)/common.mk
44 COMPONENT_PREP_ACTION= cd $(@D) && autoreconf -fvi
46 # without '-m64' build will fail because of internally built 32bit objects
47 CONFIGURE_OPTIONS+= "CFLAGS=-m64 -D__STDC_VERSION__=0"
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES += system/library