source: trunk/dports/irc/bitlbee/Portfile @ 146743

Last change on this file since 146743 was 146743, checked in by cal@…, 3 years ago

libotr: 4.1.1, security, maintainer timeout

CVE-2016-2851
For more information, see https://lists.cypherpunks.ca/pipermail/otr-users/2016-March/002581.html

Closes: #50879

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 146743 2016-03-16 21:35:19Z cal@macports.org $
3
4PortSystem          1.0
5PortGroup           conflicts_build 1.0
6
7name                bitlbee
8version             3.2.2
9revision            2
10categories          irc net
11platforms           darwin
12license             GPL-2
13maintainers         nomaintainer
14description         An IRC to other chat networks gateway
15long_description    bitlbee is an IRC server that can connect to IM \
16                    networks such as AIM and MSN. Its intention is you \
17                    only have to use one client application for all your \
18                    instant messaging.
19
20homepage            http://www.bitlbee.org/
21master_sites        http://get.bitlbee.org/src/
22
23checksums           rmd160  7d5ce23f05b7ff7bac1c0a8af7e38f821176939a \
24                    sha256  ba38939281f23e8a0e71022c7be0cb68f6544248404362c5e20245fa7a67558e
25
26depends_build       port:pkgconfig
27depends_lib         port:gnutls \
28                    port:gettext \
29                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
30                    port:libgcrypt \
31                    port:libgpg-error \
32                    port:libiconv
33
34patchfiles          patch-configure.diff
35configure.args      --config=${prefix}/var/lib/bitlbee/ --ssl=gnutls --otr=0
36configure.universal_args
37
38destroot.target     install install-etc
39
40# libproxy's proxy.h shadows bitlbee's; see #27598
41conflicts_build     libproxy
42# liboauth's oauth.h shadows bitlbee's
43conflicts_build-append liboauth
44
45post-destroot {
46    destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee
47    set etcdir ${destroot}${prefix}/etc/bitlbee
48    move ${etcdir}/bitlbee.conf ${etcdir}/bitlbee.conf.sample
49    move ${etcdir}/motd.txt ${etcdir}/motd.txt.sample
50}
51
52post-activate {
53    ui_msg "To complete installation, run"
54    ui_msg "sudo cp ${prefix}/etc/bitlbee/bitlbee.conf.sample ${prefix}/etc/bitlbee/bitlbee.conf"
55    ui_msg "and edit ${prefix}/etc/bitlbee/bitlbee.conf to taste"
56}
57
58livecheck.type      regex
59livecheck.url       ${master_sites}
60livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
61
62default_variants +otr
63
64variant otr description {Off-the-Record messaging} {
65    configure.args-delete --otr=0
66    configure.args-append --otr=1
67    depends_lib-append    port:libotr
68}
Note: See TracBrowser for help on using the repository browser.