4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019 Nona Hansel
28 #USE_OPENSSL11= yes slrn doesn't seem to be compatible with openssl-1.1
29 include ..
/..
/..
/make-rules
/shared-macros.mk
32 COMPONENT_VERSION
= 1.0.3
34 COMPONENT_SUMMARY
= slrn is an text-based news client
35 COMPONENT_PROJECT_URL
= https
://slrn.
info
36 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
37 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
).
tar.bz2
38 COMPONENT_ARCHIVE_HASH
= sha256
:3ba8a4d549201640f2b82d53fb1bec1250f908052a7983f0061c983c634c2dac
39 COMPONENT_ARCHIVE_URL
= https
://jedsoft.org
/releases
/slrn
/$(COMPONENT_ARCHIVE
)
40 COMPONENT_FMRI
= network
/nntp
/$(COMPONENT_NAME
)
41 COMPONENT_CLASSIFICATION
= Applications
/Internet
42 COMPONENT_LICENSE
= GPLv2
44 TEST_TARGET
= $(NO_TESTS
)
45 include $(WS_MAKE_RULES
)/common.mk
47 COMPONENT_PRE_CONFIGURE_ACTION
= $(CLONEY
) $(SOURCE_DIR
) $(@D
)
49 CONFIGURE_SCRIPT
= $(@D
)/configure
51 # slrn configure test for 'mkdir -p' functionality doesn't like Solaris
52 # implementation (GNU mkdir will understand --version option).
55 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
56 CONFIGURE_OPTIONS
+= --with-server-file
=/etc
/nntpserver
57 CONFIGURE_OPTIONS
+= --with-slrnpull
=/var
/spool
/slrnpull
58 CONFIGURE_OPTIONS
+= --enable-spool
59 CONFIGURE_OPTIONS
+= --with-ssl
=$(OPENSSL_PREFIX
)
61 ASLR_MODE
= $(ASLR_ENABLE
)
63 # Auto-generated dependencies
64 REQUIRED_PACKAGES
+= library
/security
/openssl
65 REQUIRED_PACKAGES
+= library
/slang
66 REQUIRED_PACKAGES
+= system
/library