Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http_ping: Update to 20160309 #26730

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 30 additions & 27 deletions net/http_ping/Portfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
PortSystem 1.0

name http_ping
version 29jun2005
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
master_sites ${homepage}
distname ${name}_${version}
checksums md5 6ff0319344f934baa5a5f9bc6df7eaf7
use_configure no

worksrcdir ${name}
build.target
# -*- 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 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 https://www.acme.com/software/http_ping/
master_sites ${homepage}
distname ${name}_${version}

checksums rmd160 ec19e900d7ad738f3ba4863ade11a2e7148c5d9a \
sha256 f8b95773aaed09839a44a1927f979a62752d57aace79da3846bfb73e6c9805e9 \
size 8106

worksrcdir ${name}
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
livecheck.regex ${name}_(\[0-9A-Za-z._\]+)\\.tar
livecheck.type regex
livecheck.regex ${name}_(\[0-9A-Za-z._\]+)\\.tar
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