source: trunk/dports/irc/ngircd/Portfile

Last change on this file was 146517, checked in by raimue@…, 17 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ngircd
7version             22.1
8revision            1
9categories          irc
10platforms           darwin
11license             GPL-2+
12maintainers         nomaintainer
13
14description         next generation IRC daemon
15long_description    ngIRCd is a free open source daemon for Internet \
16                    Relay Chat (IRC). It's written from scratch and is \
17                    not based upon the original IRCd like many others.
18
19homepage            http://ngircd.barton.de/
20master_sites        http://arthur.barton.de/pub/ngircd/
21use_xz              yes
22
23checksums           rmd160  1e6ee53d301a02bff1ec425e0eb8483eb5f04e3b \
24                    sha256  cbe76d63fa919b2eaa87c5942f587f9fa95291e6fa4d7490d71bc94fa69b4956
25
26depends_lib         port:libident \
27                    port:tcp_wrappers \
28                    port:zlib
29
30patchfiles          patch-contrib-MacOSX-Makefile.in.diff \
31                    patch-doc-Makefile.in.diff
32
33configure.args      --enable-ipv6 \
34                    --enable-sniffer \
35                    --with-tcp-wrappers \
36                    --with-ident
37
38# It's easier to create our own startup item than to patch and install
39# the provided plist.
40startupitem.create      yes
41startupitem.executable  ${prefix}/sbin/ngircd --nodaemon
42startupitem.logfile     ${prefix}/var/log/ngIRCd.log
43startupitem.logevents   yes
44
45post-activate {
46    if {![file exists ${prefix}/etc/ngircd.conf]} {
47        xinstall -m 0644 ${prefix}/share/doc/${name}/sample-ngircd.conf \
48            ${prefix}/etc/ngircd.conf
49    }
50}
51
52variant gnutls conflicts openssl description {Build with GnuTLS} {
53    configure.args-append   --with-gnutls
54    depends_lib-append      port:gnutls
55}
56
57variant openssl conflicts gnutls description {Build with OpenSSL} {
58    configure.args-append   --with-openssl
59    depends_lib-append      path:lib/libssl.dylib:openssl
60}
61
62if {![variant_isset gnutls]} {
63    default_variants        +openssl
64}
65
66livecheck.type      regex
67livecheck.url       [lindex ${master_sites} 0]
68livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.