Skip to content

Commit

Permalink
http_ping: Update to 20160309
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealKeto authored and herbygillot committed Nov 26, 2024
1 parent 2e68bcc commit 2a1326b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 13 deletions.
30 changes: 17 additions & 13 deletions net/http_ping/Portfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
# -*- 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

PortSystem 1.0
PortGroup openssl 1.0
PortGroup makefile 1.0

name http_ping
version 29jun2005
version 09Mar2016
revision 0
categories net www
license BSD
maintainers nomaintainer

description Sends HTTP requests every few seconds and times how long they take
long_description ${description}
homepage http://www.acme.com/software/http_ping/
platforms darwin
long_description {*}${description}

homepage https://www.acme.com/software/http_ping/
master_sites ${homepage}
distname ${name}_${version}
checksums md5 6ff0319344f934baa5a5f9bc6df7eaf7
use_configure no

checksums rmd160 ec19e900d7ad738f3ba4863ade11a2e7148c5d9a \
sha256 f8b95773aaed09839a44a1927f979a62752d57aace79da3846bfb73e6c9805e9 \
size 8106

worksrcdir ${name}
build.target
patchfiles-append makefile-support-macports-openssl3.diff

destroot {
xinstall -m 755 -d ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/man/man1
xinstall -m 755 ${worksrcpath}/http_ping \
${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/http_ping.1 \
${destroot}${prefix}/man/man1
xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1/
}

livecheck.type regex
Expand Down
17 changes: 17 additions & 0 deletions net/http_ping/files/makefile-support-macports-openssl3.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
--- Makefile 2014-08-11 19:13:31.000000000 +0000
+++ Makefile 2024-11-24 19:47:54.834320939 +0000
@@ -9,10 +9,10 @@
# http://www.openssl.org/ Make sure the SSL_TREE definition points to the
# tree with your OpenSSL installation - depending on how you installed it,
# it may be in /usr/local instead of /usr/local/ssl.
-#SSL_TREE = /usr/local/ssl
-#SSL_DEFS = -DUSE_SSL
-#SSL_INC = -I$(SSL_TREE)/include
-#SSL_LIBS = -L$(SSL_TREE)/lib -lssl -lcrypto
+SSL_TREE = $(PREFIX)/libexec/openssl3
+SSL_DEFS = -DUSE_SSL
+SSL_INC = -I$(SSL_TREE)/include
+SSL_LIBS = -L$(SSL_TREE)/lib -lssl -lcrypto


BINDIR = /usr/local/bin

0 comments on commit 2a1326b

Please sign in to comment.