jimjag / epm

Updated ESP Package Manager (EPM)
https://jimjag.github.io/epm/
Apache License 2.0
10 stars 8 forks source link

freebsd epm uses pkg_create, which does not exist anymore? #14

Open johanhenselmans opened 6 months ago

johanhenselmans commented 6 months ago

I tried to create a package with epm for FreeBSD. Unfortunately, epm creates something else as pkg expects nowadays. pkg-create does not exist anymore. When trying to create a package name boca (epm -vv -f native -a amd64 boca.amd64) I get this error: /usr/sbin/pkg_create -p / -c freebsd-14.0-amd64/boca.amd64.comment -d freebsd-14.0-amd64/boca.amd64.descr -f freebsd-14.0-amd64/boca.amd64.plist freebsd-14.0-amd64/boca.amd64-3.3.2-freebsd-14.0-amd64.tbz epm: Unable to execute "/usr/sbin/pkg_create" program: No such file or directory Packaging failed!

This is what is available in freebsd-14.0-amd64 This is what epm creates: drwxr-xr-x 3 root wheel 3 Dec 7 16:27 boca.amd64.buildroot -rw-r--r-- 1 root wheel 355 Dec 8 14:23 boca.amd64.comment -rw-r--r-- 1 root wheel 43 Dec 8 14:23 boca.amd64.descr -rw-r--r-- 1 root wheel 657 Dec 8 14:23 boca.amd64.plist

pkg create expects something like this: -rwxr-xr-x 1 root wheel 1820 Dec 7 23:51 +MANIFEST drwxr-xr-x 3 root wheel 8 Dec 7 23:51 . drwxr-xr-x 5 root wheel 7 Dec 8 03:08 .. -rw-r--r-- 1 root wheel 312 Dec 7 16:08 LICENSE -rwxr-xr-x 1 root wheel 55 Dec 7 16:08 pkg-deinstall -rwxr-xr-x 1 root wheel 57 Dec 7 16:08 pkg-install drwxr-xr-x 3 root wheel 3 Dec 7 16:08 usr

Or is there perhaps a pkg-create that I have to install from somewhere?