Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ppp: fix prefix
@ 2021-03-21  5:49 unspecd
  2021-03-21  5:59 ` unspecd
  2021-03-21  6:05 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: unspecd @ 2021-03-21  5:49 UTC (permalink / raw)
  To: ml

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

There is a new pull request by unspecd against master on the void-packages repository

https://github.com/unspecd/void-packages pkg/ppp
https://github.com/void-linux/void-packages/pull/29646

ppp: fix prefix
Fixes https://www.reddit.com/r/voidlinux/comments/m9j2j0/pppd_searching_plugins_in_usrlocallib.

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29646.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/ppp-29646.patch --]
[-- Type: text/x-diff, Size: 869 bytes --]

From 326cdcabc655d216aa3af5c56f9c371c9f348994 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Sun, 21 Mar 2021 16:46:59 +1100
Subject: [PATCH] ppp: fix prefix

---
 srcpkgs/ppp/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ppp/template b/srcpkgs/ppp/template
index 265de99e0753..8f597b56516f 100644
--- a/srcpkgs/ppp/template
+++ b/srcpkgs/ppp/template
@@ -6,7 +6,7 @@
 # When update this package
 pkgname=ppp
 version=2.4.9
-revision=1
+revision=2
 makedepends="libpcap-devel openssl-devel"
 short_desc="PPP (Point-to-Point Protocol) daemon"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -27,7 +27,7 @@ conf_files="
  /etc/ppp/pap-secrets"
 
 do_configure() {
-	./configure --cc="${CC}" --cflags="${CFLAGS}"
+	./configure --prefix=/usr --cc="${CC}" --cflags="${CFLAGS}"
 }
 
 do_build() {

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

* Re: ppp: fix prefix
  2021-03-21  5:49 [PR PATCH] ppp: fix prefix unspecd
@ 2021-03-21  5:59 ` unspecd
  2021-03-21  6:05 ` [PR PATCH] [Merged]: " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: unspecd @ 2021-03-21  5:59 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/29646#issuecomment-803518473

Comment:
The ppp configuration script uses `/usr/local` as prefix, so we need to override it.
```sh
#!/bin/sh
# Where to install stuff by default
DESTDIR=/usr/local
SYSCONF=/etc
…
    case $arg in
	--prefix)	 DESTDIR=$val ;;
```


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

* Re: [PR PATCH] [Merged]: ppp: fix prefix
  2021-03-21  5:49 [PR PATCH] ppp: fix prefix unspecd
  2021-03-21  5:59 ` unspecd
@ 2021-03-21  6:05 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2021-03-21  6:05 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

ppp: fix prefix
https://github.com/void-linux/void-packages/pull/29646

Description:
Fixes https://www.reddit.com/r/voidlinux/comments/m9j2j0/pppd_searching_plugins_in_usrlocallib.

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

end of thread, other threads:[~2021-03-21  6:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-21  5:49 [PR PATCH] ppp: fix prefix unspecd
2021-03-21  5:59 ` unspecd
2021-03-21  6:05 ` [PR PATCH] [Merged]: " sgn

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).