python/hypothesis: update to 6.121.0
[oi-userland.git] / components / network / vpnc-scripts / Makefile
blob5df55951680853b84972b04d8fe5df9c03baf503
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 2016 Jim Klimov
13 # Copyright 2019 Michal Nowak
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= vpnc-scripts
19 # Commit timestamp and previous known release (none here)
20 COMPONENT_VERSION= 0.0.20190606
21 COMPONENT_VERSION_TAG= c84fb8e5a523a647a01a1229a9104db934e19f00
22 COMPONENT_VERSION_TAGSHORT= $(shell echo $(COMPONENT_VERSION_TAG) | cut -c1-7)
23 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-$(COMPONENT_VERSION_TAGSHORT).tar.gz
24 COMPONENT_FMRI= network/$(COMPONENT_NAME)
25 COMPONENT_CLASSIFICATION= Applications/Internet
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION_TAGSHORT)
27 COMPONENT_PROJECT_URL= http://www.infradead.org/openconnect/$(COMPONENT_NAME).html
28 COMPONENT_DOWNLOAD_URL= http://git.infradead.org/users/dwmw2/$(COMPONENT_NAME).git
29 COMPONENT_ARCHIVE_HASH= \
30 sha256:f347bc00703d1438859268e1a64338d8937c629fad81d978d224cd621a94a7a1
31 COMPONENT_ARCHIVE_URL= $(COMPONENT_DOWNLOAD_URL)/snapshot/$(COMPONENT_VERSION_TAG).tar.gz
32 COMPONENT_LICENSE= GPLv2
33 COMPONENT_LICENSE_FILE= COPYING
34 COMPONENT_SUMMARY= Connect scripts for use with vpnc and openconnect (and similar clients)
36 include $(WS_MAKE_RULES)/prep.mk
37 include $(WS_MAKE_RULES)/ips.mk
39 # This is an archive with scripts, nothing to build
40 $(BUILD_$(BITS)): $(SOURCE_DIR)/.prep
41 $(MKDIR) $(BUILD_DIR_$(BITS))
42 $(TOUCH) $@
44 build: $(BUILD_32)
46 # By convention (consumer defaults), this lands under /etc/vpnc/
47 # The other scripts (vpnc-script-ptrtd and vpnc-script-ssh) and
48 # the netunshare.c program are at the moment extremely linux
49 # oriented so we don't even package them.
50 $(INSTALL_32): $(BUILD_32) $(SOURCE_DIR)/.prep
51 $(MKDIR) $(PROTOETCDIR)/vpnc
52 $(CP) $(SOURCE_DIR)/vpnc-script $(PROTOETCDIR)/vpnc/
53 $(CP) $(SOURCE_DIR)/vpnc-script-win.js $(PROTOETCDIR)/vpnc/
54 $(CP) $(SOURCE_DIR)/xinetd.netns.conf $(PROTOETCDIR)/vpnc/xinetd.netns.conf.example
55 $(TOUCH) $@
57 install: $(INSTALL_32)
59 test: $(NO_TESTS)
61 REQUIRED_PACKAGES += system/library
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES += SUNWcs