jaeger changed the topic of #crux to: CRUX 3.7 | Homepage: https://crux.nu/ | Ports: https://crux.nu/portdb/ https://crux.ninja/portdb/ | Logs: https://libera.irclog.whitequark.org/crux/
<r0ni> i'm attempting to setup a pkg-get server for builds for my arm machine, i'm curious if crux will let me do a dir for each core/opt/xorg and having mult entries or if I have to put *all* the pkgs into a single dir in the end?
<farkuhar> r0ni: the sample pkg-get.conf indicates that multiple pkgdir entries are allowed. It shouldn't be a problem to have them all synced from the same server. As for the configuration on your build machine, you would probably have to define PKGMK_PACKAGE_DIR with a command substitution that obtains the port collection (core/opt/xorg) from the absolute path.
<r0ni> ya i'm tampering with it at the moment, couldn't get it to do anything until i found the "sync" command, now its working
<farkuhar> PKGMK_PACKAGE_DIR="$(dirname ${PWD//ports/pkgmk})" is one possibility, if you want to populate the separate directories /usr/pkgmk/{core,opt,xorg} with the built packages.
<r0ni> i've specified the base and set up urls for each set in pkg-get.conf, seems to act appropriately so far
frinnst has quit [Ping timeout: 246 seconds]
frinnst has joined #crux
chrcav has quit [Ping timeout: 260 seconds]
chrcav has joined #crux
<farkuhar> r0ni: pkg-get might act inappropriately if you need to run pre- or post-install scripts for ports with dashes in their names. See https://slackalaxy.com/2021/09/01/own-ports-and-packages-repos-for-crux/ for a workaround.
<farkuhar> Line 213 of pkg-repgen.pl might need rethinking, in light of this bug report by ppetrov^.
<farkuhar> Also in need of revision is the interaction between runscripts and an installation target other than "/". What emmett1 reported last month regarding prt-get, looks applicable to the corresponding implementation in pkg-get.
maledictium has quit [Server closed connection]
maledictium has joined #crux
guido_rokepo has quit [Quit: guido_rokepo]
DaViruz has quit [Ping timeout: 255 seconds]
DaViruz has joined #crux
ukky has quit [Ping timeout: 240 seconds]
<r0ni> farkuhar: oh I was using that page for reference, I'll make sure I change that, as I had skipped over it initially
ukky has joined #crux
ppetrov^ has joined #crux
<cruxbot> [contrib.git/3.7]: [notify]: open-vm-tools: updated to version 12.2.5-21855600
<cruxbot> [contrib.git/3.7]: nginx: updated to version 1.25.1
<cruxbot> [contrib.git/3.7]: libmd: updated to version 1.1.0
<cruxbot> [contrib.git/3.7]: docker-buildx: updated to version 0.11.0
<cruxbot> [contrib.git/3.7]: diff-so-fancy: updated to version 1.4.4
ppetrov^ has quit [Quit: Leaving]
<farkuhar> Actually, line 213 of pkg-repgen.pl is the natural consequence of trying to come up with a 1-1 map between port names and shell script functions (bash imposes more restrictions on the latter, when it comes to valid characters). But *arguments* passed to a bash function are not limited in the same way. I'll work on a patch for pkg-repgen.pl, to fix the issue that ppetrov^ observed.
tilman_ has joined #crux
tilman has quit [Ping timeout: 240 seconds]
tilman_ is now known as tilman
darfo_ has quit [Remote host closed the connection]
darfo has joined #crux