[Question]Making your very own "ports" system reddit / BSD ---------------------------------------------------------------------- Haghiri75 · 2019-08-17 08:00 Greetings. I was a BSD user a long time ago, and I just came back to the squad this week. I knew BSD variants are easy to hack and this is what make them awesome! But I have a problem in the process of hacking. I just changed the system name variable in \`newvers.sh\` file and it's not FreeBSD anymore. And when I try to make a port, it says there's a variable which doesn't match. I think the ports system checks output of \`uname\` and this is why it doesn't work. What should I do now, to customize ports system? ---------------------------------------------------------------------- Nyanraltotlapun · 2019-08-17 09:07 >I knew BSD variants are easy to hack Well, FreeBSD positioned as more monolithic system than Linux, so this is not obvious statement. ---------------------------------------------------------------------- Haghiri75 · 2019-08-17 09:51 To be honest, hacking FreeBSD had more learning and fun for me. ---------------------------------------------------------------------- PitifulView · 2019-08-17 10:35 Not keeping the name of an already-recognized OS is a bigger step than you might initially assume: it's embedded in a lot of code of packages to have per-OS logic, and they know what to do with freebsd, but not your new name. if I had to do it myself I'd start with pkgsrc instead of freebsd ports, because it already has hacks to rename the OS as needed for MirBSD (another very rarely known fork). ---------------------------------------------------------------------- Haghiri75 · 2019-08-17 11:14 MirBSD is a familiar name to me. I talked to some developers of the project in the past. It was a good talk BTW. Thanks, I also consider your suggestion. But another question, is pkgsrc available on FreeBSD? ---------------------------------------------------------------------- zieziegabor · 2019-08-17 14:00 yes. pkgsrc works all over the place. see:https://www.pkgsrc.org/#platforms ---------------------------------------------------------------------- [deleted] · 2019-08-17 18:08 [removed] ---------------------------------------------------------------------- [deleted] · 2019-08-17 20:32 Somebody was able to port Arch Linux's pacman to FreeBSD and create ArchBSD or PacBSD, so anything is possible if your dedicated enough.