pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/freeradius freeradius: tweak list generation code ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53a87ebd0f62
branches:  trunk
changeset: 376687:53a87ebd0f62
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Tue Apr 12 01:02:47 2022 +0000

description:
freeradius: tweak list generation code examples (NFC)

It's better to generate these lists from the resulting package to be
installed via DESTDIR, rather than the ingoing source, as not everything
found in the latter is installed. (The sed command also doesn't work
with BSD sed as intended, but that's left as-is.)

diffstat:

 net/freeradius/config.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r c90e38e9a7f6 -r 53a87ebd0f62 net/freeradius/config.mk
--- a/net/freeradius/config.mk  Mon Apr 11 21:35:36 2022 +0000
+++ b/net/freeradius/config.mk  Tue Apr 12 01:02:47 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: config.mk,v 1.3 2022/04/11 02:05:27 gutteridge Exp $
+# $NetBSD: config.mk,v 1.4 2022/04/12 01:02:47 gutteridge Exp $
 
-# cd ${WRKSRC}/raddb; find . -type f -or -type l | sort | sed 's,^./,EGFILES+=\t,'
+# cd ${DESTDIR}${EGDIR}/raddb; find . -type f -or -type l | sort | sed 's,^./,EGFILES+=\t,'
 EGFILES+=      README.rst
 EGFILES+=      certs/Makefile
 EGFILES+=      certs/README.md
@@ -274,7 +274,7 @@
 EGFILES+=      templates.conf
 EGFILES+=      trigger.conf
 
-# cd ${WRKSRC}/raddb; find . -type d | sort | sed 's,^./,EGDIRS+=\t,'
+# cd ${DESTDIR}${EGDIR}/raddb; find . -type d | sort | sed 's,^./,EGDIRS+=\t,'
 EGDIRS+=       certs
 EGDIRS+=       mods-available
 EGDIRS+=       mods-config



Home | Main Index | Thread Index | Old Index