04:12:54 Having trouble with my first port... 04:14:36 This is what I have as my working makefile: https://paste.linux.chat/?be2d606a8059e474#4Lk324bhSmtULyAuZbak3WnFTqMNkEBNvNJKsuXCq7gy 04:14:58 I am expecting it to download the code from github, the tag is specified, then run the MAKE_CMD command, which is ./build 04:15:09 Instead, it seems to give me the output as listed. 04:15:37 It correctly downloads the code (great), but doesn't run the `build` script. 04:18:12 farhan: it's probably trying to pass -f to your MAKE_CMD, you may need to set MAKEFILE and/or _MAKE_JOBS like boost-jam does 04:19:28 I don't see a -f flag here? https://github.com/freebsd/freebsd-ports/blob/main/devel/boost-jam/Makefile 04:19:59 -f is the flag to tell make what makefile to use, by setting MAKEFILE to an empty value, it prevents that flag from being passed (i assume) 04:20:31 I do not see that in the Makefile I pasted. 04:20:42 Am I missing something? 04:20:45 this is from ports itself, it's running ${MAKE_CMD} -f ${MAKEFILE} -j ${_MAKE_JOBS} 04:21:10 but your build script doesn't understand -f, which is what causes the error 04:22:02 so, run `make -f`? 04:22:15 I'm not following you. 04:22:24 Where is the `-f` you are referencing? 04:22:36 in the output you pasted: [error] invalid option: -f 04:23:25 this is because ports is running "${MAKE_CMD} -f ${MAKEFILE}", to make it not do that, you need to set MAKEFILE to an empty value, which is what boost-jam's makefile does 04:23:48 ohhhh 04:25:25 The issue seems to remain, did I do this right? https://paste.linux.chat/?aa288a03343395b0#97faXWcHzZzRiTRaBkTQrbtW9VGN9hFgdUM1LBuqxW6s 04:26:10 hmm, try setting MAKE_FLAGS as well, an empty value should be fine 04:26:26 if that doesn't work you may need to dig into ports/Mk/ to see how ${MAKE_CMD} is actually invoked 04:29:20 I tried both blank and -I/usr/local/include. It fails saying unexpected flag I 04:29:25 so yes, I will have to dig into this... 04:29:59 the empty value returned the error...[error] unexpected positional argument 04:30:03 I"ll dig into it 04:30:35 there's a make flag (-d something) that will show the actual command it's running, which might also help 04:30:44 (put that on your make command line, not in the makefile) 04:33:45 hm...what is the path of ports/Mk? 04:33:57 oh, I was searching in /usr/src :/ 04:34:53 Mk/ is in the top-level ports directory 04:36:22 I think I have to call it for the evening... 04:36:49 I know the basics of gmake, but not bsdmake. Maybe I can just write a bsdmake Makefile, might be easier... 08:38:38 farhan: you should write a do-build target instead of misusing MAKE_CMD for that 08:41:09 (and it is really nice that the ports framework ignores the rule about being verbose while building, so that you can debug what went wrong) 08:45:50 print/hyperlatex seems to be a better example port, just forget what devel/boost-jam does 18:27:59 Hello! I recently installed freebsd and using synth for my ports. I got a minisforum v3 and i cannot seem to get the touchpad to work. Touchscreen and keyboard works, though. Any place i can be guided to? 18:29:06 I come from linux, so please be patient with me 18:35:17 Tikosh: A good place for X questions is the #freebsd-xorg channel on EFnet. A lot of folks who work on the stuff are there. There's also the freebsd-x11 mailing list: https://lists.freebsd.org/subscription/freebsd-x11 18:36:01 Even for if im using wayland? 18:36:14 Even if im using wayland? 18:40:50 Thank you 18:41:12 mason: thank you 18:50:14 Tikosh: Sure! Hope it helps. 18:51:13 Tikosh: Ah, I know nothing about Wayland. I don't see Wayland-specific lists or channels but I bet the X folks are still the best resource. 18:56:08 I thought wayland wasnt a thing yet on freebsd? 18:57:12 seti_ : i saw the handbook talking about wayland 19:01:26 Yea. I come from gentoo linux. So im a linux soyguy lol 19:01:32 Jk 19:01:59 Freebsd is cool. Its similar to linux but different 19:04:39 Does anybody have experience using synth for building ports? 19:05:55 Im accustomed to gentoo. And i see a bit of similarity to portage and synth a bit. Is there another port mgr that similar to portage? 19:50:29 Ah, he left before I got a chance to recommend Poudriere. 21:11:45 Hi. According to https://forums.freebsd.org/threads/ipfw-or-pf.46706/ ipfw seems to better supported (?) than pf. But the Handbook lists pf first (which I interpret as a recommendation). Which one to pick? 21:15:25 I chose pf because I found it easier to find resources for. But that could have been dumb luck. At least a couple knowledgeable people here use ipfw 21:29:04 dacav: I use ipfw, but probably more people really like pf. Really up to you. Look at the syntax of each and see what you prefer. 21:31:42 mason: I'm currently only using it for fail2ban 21:32:07 I managed btw to have it triggered, and `ipfw list` shows me the rule I wanted to see 21:32:14 65100 unreach port tcp from 192.168.122.1 to 127.0.0.1 80,443 21:32:34 I think I'm missing something though, because the rule is not effective 21:32:50 perhaps firewall_type="open" is too liberal, I've got to RT.M 21:32:52 ;-) 21:33:15 Anyway, I understand that pf and ipfw are equally powerful, in the end? 21:33:19 dacav: Hm, might be worth looking at tables too, rather than raw rules for things. 21:33:26 Tables are a fantastic tool. 21:34:15 I don't know yet what they are 21:34:31 I'm currently just a first day user! :D 21:34:39 (first hour, actually) 21:37:35 Ah, nice! They seem to be very convenient 21:39:03 fail2ban seems to use rules, and grep for the correct rule before deleting it 21:39:16 I suppose I could do it removing the unbanned IP from the table instead 21:42:15 (probably after having it working with basic rules though... keeping it simple first ;-) 21:44:48 i have a mfi0 in raid mode but i think i should flash it to jbod mode (PERC H700 Integrated). what's the best way to go about doing that 22:17:01 dacav: Sorry, missed this. Tables are entities that contain a list of addresses or CIDR ranges, and you treat them with a single ipfw (or I guess pf) rule, rather than having a large number of separate rules. 22:17:17 They're particularly useful for both blocklists and allowlists. 23:02:00 hrm, i broke my vm-bhyve bridges 23:05:42 looks like net.link.bridge.member_ifaddrs >:| 23:07:13 ivy: who did this