source: trunk/dports/www/pound/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 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: 1.8 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem        1.0
4
5name              pound
6version           2.6
7revision          1
8categories        www
9license           GPL-3
10platforms         darwin
11maintainers       gmail.com:rcavanaugh
12
13description       A reverse proxy, load balancer and HTTPS front-end for Web server(s)
14long_description  The Pound program is a reverse proxy, load balancer and\
15                  HTTPS front-end for Web server(s). Pound was developed to\
16                  enable distributing the load among several Web-servers and\
17                  to allow for a convenient SSL wrapper for those Web servers\
18                  that do not offer it natively.
19
20homepage          http://www.apsis.ch/pound/
21distname          Pound-${version}
22extract.suffix    .tgz
23master_sites      ${homepage}
24
25checksums         sha1    91ba84c6db579b06dc82fceb790e55e344b1dc40 \
26                  rmd160  c957127350d067b685009ba4f4c52cbcacae8477
27
28# TODO use tcmalloc and/or hoard
29depends_lib       path:lib/libssl.dylib:openssl port:pcre
30
31configure.args    --with-ssl=${prefix}
32
33set pound_config_name   pound.cfg
34set pound_config        ${prefix}/etc/${pound_config_name}
35set pound_pidfile_name  pound.pid
36set pound_pidfile       ${prefix}/var/run/${pound_pidfile_name}
37
38pre-configure {
39  reinplace "s|-o @I_OWNER@ -g @I_GRP@||g" ${worksrcpath}/Makefile.in
40}
41
42startupitem.create  yes
43startupitem.init    "PIDFILE=${pound_pidfile}"
44startupitem.start   "${prefix}/sbin/pound -f ${pound_config} -p \$PIDFILE"
45startupitem.stop    "kill \$(cat \$PIDFILE)"
46
47post-install {
48  ui_msg "\n Before starting pound it must be configured.\n\
49    Pound is configured by editing ${pound_config}\n\
50    Details on the format of ${pound_config_name} can be found in\n\
51    the pound man page or at ${homepage}\n"
52}
53
54livecheck.type      regex
55livecheck.regex     "Pound-(\\d+\.\\d+\).tgz"
Note: See TracBrowser for help on using the repository browser.