FreeBSD Bugzilla – Attachment 238124 Details for
Bug 267815
net-mgmt/smokeping: Fix mismatch version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-net-mgmt-smokeping-Fix-mismatch-version.patch (text/plain), 1.40 KB, created by
Gasol Wu
on 2022-11-16 16:34:50 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2022-11-16 16:34:50 UTC
Size:
1.40 KB
patch
obsolete
>From 465f830fb2e4bde16b6f403e597bc22909fdc058 Mon Sep 17 00:00:00 2001 >From: Gasol Wu <gasol.wu@gmail.com> >Date: Wed, 16 Nov 2022 18:57:42 +0800 >Subject: [PATCH] net-mgmt/smokeping: Fix mismatch version > >Because the distfile is downloaded from GitHub. It is just a Git archive >created on particular tag. Compares to the releases from >https://oss.oetiker.ch/smokeping/pub/. They was created by the >`release-smokeping.sh` script. SmokePing uses automake's dist-hook to >replace $VERSION declared in lib/Smokeping.pm. You can check out the >dist-hook by the following link. > >https://github.com/oetiker/SmokePing/blob/1d6b686a537492a63ade2f3ad0f9b8117b152093/Makefile.am#L23 >--- > net-mgmt/smokeping/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile >index a67fa425f303..26b916eccbfe 100644 >--- a/net-mgmt/smokeping/Makefile >+++ b/net-mgmt/smokeping/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= smokeping > PORTVERSION= 2.8.2 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= net-mgmt www > > MAINTAINER= rodrigo@FreeBSD.org >@@ -83,6 +83,7 @@ post-extract: > cd ${WRKSRC}/lib ; ${RM} BER.pm SNMP_util.pm SNMP_Session.pm > > post-patch: >+ ${REINPLACE_CMD} -e 's|^\$$VERSION=.*;$$|\$$VERSION="${PORTVERSION}";|' ${WRKSRC}/lib/Smokeping.pm > ${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ > ${WRKSRC}/doc/Makefile.am \ > ${WRKSRC}/bin/smokeping \ >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267815
:
238124
|
238125
|
238131