OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Building from Sources - General Questions
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Building from Sources - General Questions  (Read 13294 times)

Fabricio

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
    • View Profile
Re: Building from Sources - General Questions
« Reply #15 on: April 20, 2018, 04:10:52 pm »
Hi Franco.
Thanks Much! It's always clarifying to talk to you guys.

So, I am asking about bsdinstaller because the " OPNsense Installer" is still showing the original Welcome message, MOTD and hourglass logo, even after all the customizations. The only location I could see the "Welcome message and logo" was in the bsdinstaller folder.
That's why I have imagined the scripts are still calling/cloning the original opnsense repositories, not the forked one.
The interesting party is that all the other customizations are working really fine. just the "Installer" is still showing the original messages.

Appreciate the help!

Fabricio.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: Building from Sources - General Questions
« Reply #16 on: April 20, 2018, 04:21:08 pm »
Hey Fabricio,

It's simple if you follow this file: https://github.com/opnsense/tools/blob/master/config/18.1/ports.conf

Everything in this file is built from the ports tree /usr/ports during the "ports" build step.

You can see bsdinstaller is listed under opnsense/bsdinstaller, so you need to modify the source tree, particularly the makefile for it:

https://github.com/opnsense/ports/blob/master/opnsense/bsdinstaller/Makefile#L18-L20

Here you see it points to our GitHub location:

https://github.com/opnsense/bsdinstaller

There are two approaches in FreeBSD ports possible: fork the bsdinstaller, adjust ports Makefile accordingly in your local environment *or* add patches to the files/ directory for manual overrides. Unfortunately these two are a bit harder to explain so I have to refer to the porters handbook:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

But what you can also do is see the history of the opnsense/bsdinstaller directory to get the hang of how it is modified. :)


Cheers,
Franco
Logged

Fabricio

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
    • View Profile
Re: Building from Sources - General Questions
« Reply #17 on: April 20, 2018, 04:30:45 pm »
Hi Franco. 
Now I got the point!
I am trying this "or" that, during the day.

I am having great times, believe me. :-)
Once again, I really appreciate the help.

Fabricio.

Logged

davin.GGame159

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Building from Sources - General Questions
« Reply #18 on: April 03, 2020, 01:00:51 pm »
Thank you very much.
เกมยิงปลา
Really good information I tried for the first time yesterday Takes no more than 5h: 30 minutes
เทคนิคเล่นเกมยิงปลาออนไลน์
Today I tweaked some items and added a winbind - samba script to the main menu, including cosmetic changes.
เดิมพันเกมส์ยิงปลาแจกโบนัสฟรี
I will clone the tool again and try it. "Update", maybe it will only download "Change" information, right? I really enjoyed this period.
สมัครสมาชิกเล่นเกมยิงปลาเว็บไหนดีสุด?
Thank you so much
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Building from Sources - General Questions
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2