Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] rkhunter warning after updating to grep 3.8
@ 2023-03-19  5:01 Vinfall
  2023-03-19  5:10 ` Vinfall
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vinfall @ 2023-03-19  5:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

New issue by Vinfall on void-packages repository

https://github.com/void-linux/void-packages/issues/42853

Description:
### Is this a new report?

Yes

### System Info

Void 5.15.90.271828-vinfall-mod-WSL2 x86_64-musl GenuineIntel/Hyper-V uptodate rFFF

### Package(s) Affected

rkhunter-1.4.6_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://sourceforge.net/p/rkhunter/bugs/176/
https://bugs.gentoo.org/show_bug.cgi?id=895176

### Expected behaviour

rkhunter should not produce the warning `grep: warning: stray \ before -`.

### Actual behaviour

rkhunter produces the warning `grep: warning: stray \ before -`.

### Steps to reproduce

$ rkhunter --version
grep: warning: stray \ before -
grep: warning: stray \ before +
Rootkit Hunter 1.4.6

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: rkhunter warning after updating to grep 3.8
  2023-03-19  5:01 [ISSUE] rkhunter warning after updating to grep 3.8 Vinfall
@ 2023-03-19  5:10 ` Vinfall
  2023-03-19  5:11 ` Vinfall
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Vinfall @ 2023-03-19  5:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2361 bytes --]

New comment by Vinfall on void-packages repository

https://github.com/void-linux/void-packages/issues/42853#issuecomment-1475107584

Comment:
I tried to patching rkhunter with https://github.com/Vinfall/void-packages/commit/b303f0fb5adcc60296d59463e9c36072977e64c2, but building the package produces an error I don't know how to solve:

```sh
./xbps-src pkg rkhunter
=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/bootstrap/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> rkhunter-1.4.6_3: removing autodeps, please wait...
=> rkhunter-1.4.6_3: building for x86_64-musl...
   [target] curl-7.87.0_2: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] bash-5.1.016_2: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] perl-5.36.0_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] curl-7.87.0_2: found (https://repo-default.voidlinux.org/current/musl)
=> rkhunter-1.4.6_3: installing target dependencies: curl-7.87.0_2 ...
=> rkhunter-1.4.6_3: running do-patch hook: 00-patches ...
=> rkhunter-1.4.6_3: patching: rkhunter-GNUgrep3.8.patch.
The text leading up to this was:
--------------------------
|https://sourceforge.net/p/rkhunter/bugs/176/
|
|--- a/rkhunter
|+++ b/rkhunter
--------------------------
File to patch:
Skip this patch? [y]
74 out of 74 hunks ignored
=> ERROR: rkhunter-1.4.6_3: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1
=> ERROR:   in _process_patch() at common/hooks/do-patch/00-patches.sh:34
=> ERROR:   in hook() at common/hooks/do-patch/00-patches.sh:51
=> ERROR:   in run_func() at common/xbps-src/shutils/common.sh:21
=> ERROR:   in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262
=> ERROR:   in run_step() at common/xbps-src/shutils/common.sh:71
=> ERROR:   in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: rkhunter warning after updating to grep 3.8
  2023-03-19  5:01 [ISSUE] rkhunter warning after updating to grep 3.8 Vinfall
  2023-03-19  5:10 ` Vinfall
@ 2023-03-19  5:11 ` Vinfall
  2023-03-23  1:30 ` Vinfall
  2023-03-23  1:30 ` [ISSUE] [CLOSED] " Vinfall
  3 siblings, 0 replies; 5+ messages in thread
From: Vinfall @ 2023-03-19  5:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2358 bytes --]

New comment by Vinfall on void-packages repository

https://github.com/void-linux/void-packages/issues/42853#issuecomment-1475107584

Comment:
I tried to patch rkhunter with https://github.com/Vinfall/void-packages/commit/b303f0fb5adcc60296d59463e9c36072977e64c2, but building the package produces an error I don't know how to solve:

```sh
./xbps-src pkg rkhunter
=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/bootstrap/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> rkhunter-1.4.6_3: removing autodeps, please wait...
=> rkhunter-1.4.6_3: building for x86_64-musl...
   [target] curl-7.87.0_2: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] bash-5.1.016_2: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] perl-5.36.0_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] curl-7.87.0_2: found (https://repo-default.voidlinux.org/current/musl)
=> rkhunter-1.4.6_3: installing target dependencies: curl-7.87.0_2 ...
=> rkhunter-1.4.6_3: running do-patch hook: 00-patches ...
=> rkhunter-1.4.6_3: patching: rkhunter-GNUgrep3.8.patch.
The text leading up to this was:
--------------------------
|https://sourceforge.net/p/rkhunter/bugs/176/
|
|--- a/rkhunter
|+++ b/rkhunter
--------------------------
File to patch:
Skip this patch? [y]
74 out of 74 hunks ignored
=> ERROR: rkhunter-1.4.6_3: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1
=> ERROR:   in _process_patch() at common/hooks/do-patch/00-patches.sh:34
=> ERROR:   in hook() at common/hooks/do-patch/00-patches.sh:51
=> ERROR:   in run_func() at common/xbps-src/shutils/common.sh:21
=> ERROR:   in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262
=> ERROR:   in run_step() at common/xbps-src/shutils/common.sh:71
=> ERROR:   in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: rkhunter warning after updating to grep 3.8
  2023-03-19  5:01 [ISSUE] rkhunter warning after updating to grep 3.8 Vinfall
  2023-03-19  5:10 ` Vinfall
  2023-03-19  5:11 ` Vinfall
@ 2023-03-23  1:30 ` Vinfall
  2023-03-23  1:30 ` [ISSUE] [CLOSED] " Vinfall
  3 siblings, 0 replies; 5+ messages in thread
From: Vinfall @ 2023-03-23  1:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New comment by Vinfall on void-packages repository

https://github.com/void-linux/void-packages/issues/42853#issuecomment-1480459269

Comment:
Close with https://github.com/void-linux/void-packages/commit/40c9ceff701bc85b954fb95bd5790edb8d725b41.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] rkhunter warning after updating to grep 3.8
  2023-03-19  5:01 [ISSUE] rkhunter warning after updating to grep 3.8 Vinfall
                   ` (2 preceding siblings ...)
  2023-03-23  1:30 ` Vinfall
@ 2023-03-23  1:30 ` Vinfall
  3 siblings, 0 replies; 5+ messages in thread
From: Vinfall @ 2023-03-23  1:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

Closed issue by Vinfall on void-packages repository

https://github.com/void-linux/void-packages/issues/42853

Description:
### Is this a new report?

Yes

### System Info

Void 5.15.90.271828-vinfall-mod-WSL2 x86_64-musl GenuineIntel/Hyper-V uptodate rFFF

### Package(s) Affected

rkhunter-1.4.6_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://sourceforge.net/p/rkhunter/bugs/176/
https://bugs.gentoo.org/show_bug.cgi?id=895176

### Expected behaviour

rkhunter should not produce the warning `grep: warning: stray \ before -`.

### Actual behaviour

rkhunter produces the warning `grep: warning: stray \ before -`.

### Steps to reproduce

$ rkhunter --version
grep: warning: stray \ before -
grep: warning: stray \ before +
Rootkit Hunter 1.4.6

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-23  1:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-19  5:01 [ISSUE] rkhunter warning after updating to grep 3.8 Vinfall
2023-03-19  5:10 ` Vinfall
2023-03-19  5:11 ` Vinfall
2023-03-23  1:30 ` Vinfall
2023-03-23  1:30 ` [ISSUE] [CLOSED] " Vinfall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).