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

Change watch maintainer #25273

Merged
merged 4 commits into from
Aug 30, 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
26 changes: 13 additions & 13 deletions sysutils/watch/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
PortSystem 1.0
PortGroup gitlab 1.0

gitlab.setup procps-ng procps 4.0.0 v
gitlab.setup procps-ng procps 4.0.4 v
name watch
revision 1
revision 0

categories sysutils
license GPL-2
maintainers nomaintainer
maintainers {gmail.com:stuartwesterman @stuartwesterman} openmaintainer

description watch executes a program periodically, showing output fullscreen
long_description \
watch is like "top" for arbitrary commands. It runs command repeatedly, \
displaying its output (the first screen full). This allows you to watch \
the program output change over time. This is part of the linux "procps" \
package.
watch is like "top" for arbitrary commands. It runs command repeatedly, \
displaying its output (the first screen full). This allows you to watch \
the program output change over time. This is part of the linux "procps" \
package.

checksums rmd160 f4edebce660d3de3a0430e2762aac4aa59983eb6 \
sha256 4b8b86673321c263558b39f98aafbca16eacb85adee249c44363bd370d84c798 \
size 892004
checksums rmd160 630e3ed123e86d2f52230780b56b0ec29c62894d \
sha256 65d8e4eba8c1a264418f4fada87e06d59cedb96f04b7346f5c249bfeba72f410 \
size 1423198

patchfiles patch-autogen.sh.diff \
patch-configure.ac.diff
Expand Down Expand Up @@ -49,16 +49,16 @@ configure.args --disable-nls

variant universal {}

build.target watch
build.target src/watch
# LDADD is set to libprocps, which isn't needed for watch and fails to build on Darwin
build.args CC="${configure.cc} [get_canonical_archflags cc]" \
LDFLAGS="${configure.ldflags}" \
AM_LDFLAGS="" \
LDADD=""

destroot {
xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
xinstall -m 0644 ${worksrcpath}/watch.1 \
xinstall -m 0755 ${worksrcpath}/src/watch ${destroot}${prefix}/bin
xinstall -m 0644 ${worksrcpath}/man/watch.1 \
${destroot}${prefix}/share/man/man1
}

Expand Down
4 changes: 2 additions & 2 deletions sysutils/watch/files/patch-autogen.sh.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- autogen.sh.orig 2022-03-22 06:40:10.000000000 -0400
+++ autogen.sh 2022-04-05 12:18:30.000000000 -0400
--- autogen.sh.orig 2024-08-13 02:41:43
+++ autogen.sh 2024-08-13 02:42:06
@@ -35,7 +35,7 @@
DIE=1
}
Expand Down
6 changes: 3 additions & 3 deletions sysutils/watch/files/patch-configure.ac.diff
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
This patch ensures that the correct version number is used. Since there is no tar-ball,
the script to extract the version number fails and returns UNKNOWN
--- configure.ac.orig 2020-03-27 10:25:00.000000000 -0400
+++ configure.ac 2020-03-27 10:25:55.000000000 -0400
--- configure.ac.orig 2024-08-13 02:45:05
+++ configure.ac 2024-08-13 02:55:46
@@ -4,7 +4,7 @@
AC_PREREQ([2.69])
AC_CONFIG_MACRO_DIR([m4])
AC_INIT([procps-ng],
- m4_esyscmd([misc/git-version-gen .tarball-version]),
- m4_esyscmd([local/git-version-gen .tarball-version]),
+ @@VERSION@@,
[[email protected]],,[https://gitlab.com/procps-ng/procps])
AM_INIT_AUTOMAKE([foreign 1.11 subdir-objects -Wall -Wno-portability tar-pax no-dist-gzip dist-xz])
Expand Down