Open s3rvac opened 5 years ago
Great! Also the FreeBSD community have what is called a ports collection, with over 26,000 ports being maintained by individuals and teams. The ports collection is compiled into packages which rather than building the port
yourself, you can download and install a pre-built package
.
There are many massive organisations that use FreeBSD as servers or in embeded systems and contribute including Apple (as the OSX & iOS are based on FreeBSD). Netflix, Cisco, Whatsapp ($1m donation every year), EMC, Sony, VMWare, Yahoo.. etc.
If you want to know more about a particular company go to youtube.com and search for example "netflix freebsd".
FreeBSD is exceptionally stable including all its ports and packages. Everything works first time every time! Updating to the latest FreeBSD operating system is as easy as freebsd-update -r <release>
I am sure there will be people interested to help. :)
PCBSD is probably the best place to start. As it will give you a nice GUI Desktop, where as FreeBSD (out of the box) will give you a basic server and you have to install all the packages
to get a GUI Desktop.
(Another lifetime ago started on Linux/GNU but switched!)
Hey @gwquk , since you ported RetDec to FreeBSD, do you want to help connect this project to Cirrus CI? Here is a simple example and hope it helps: https://github.com/facebook/zstd/blob/dev/.cirrus.yml
If you would also like to create a port, it will be even better and I'll do anything I can help!
I'll give it a go, more than happy to help with both. Not done it before but I am sure you and google can help. 👍
OK, If I understand what is going on below.
Iwshu, Is this what you are looking for?
####################### env: CIRRUS_CLONE_DEPTH: 1 ARCH: amd64
task: freebsd_instance: matrix: image: freebsd-12-0-release-amd64 image: freebsd-11-2-release-amd64 install_script:
@gwquk yes this one looks nice to me, except that I think we need one more 'N' argument after make -j
. Also, may I suggest you test this .cirrus.yml
in your fork repository with cirrus-ci?
OK! I'll give it a go.
I have not submitted a port before, I'll make a few files. I suspect "retdec" would go here "/usr/ports/devel/retdec" in the "ports tree" I suspect these standard files will be needed.. Makefile distinfo pkg-descr pkg-message
All of these sound reasonable to me. I would also recommend you reading the porter's handbook: https://www.freebsd.org/doc/en/books/porters-handbook/ and discuss on freebsd-ports list if you have further question: https://lists.freebsd.org/mailman/listinfo/freebsd-ports
Great! As I did not introduce myself.. I have been using FreeBSD activitely since around version 2.2.7 .. I did have a version 1.0 CD not sure where that went! Although I changed careers back in 2007, I have always maintained a few FreeBSD boxes. What about yourself?
My FreeBSD history is shorter than you :) you can find my public information on my github page.
👍
@gwquk yes this one looks nice to me, except that I think we need one more 'N' argument after
make -j
. Also, may I suggest you test this.cirrus.yml
in your fork repository with cirrus-ci?
Do I create a new file called ".cirrus.yml" in a "clone" of the retdec source code from github .. Where do I start with this https://github.com/marketplace/cirrus-ci .. I have never used it before?
Sorry stupid questions..
That's OK, you can create a new .cirrus.yml
in a branch in your "forked" repository at https://github.com/gwquk/retdec , and please check cirrus-ci's doc at https://cirrus-ci.org/ for more information about how to enable that service in your repository.
OK.. I have made the "free" purchase. Uploaded the ".cirrus.yml" to my "forked" repository at https://github.com/gwquk/retdec .. it is not obvious what happens next! Will Cirrus CI just find the file and use it on my repository?
Yes it will get triggered automatically, the result is at https://cirrus-ci.com/github/gwquk/retdec/ It looks you need check syntax and indentation of YAML.
I have uploaded a new version but I am only guessing .. all I have done is indent some of the lines. Could you please take a look into the file ".cirrus.yml" at https://github.com/gwquk/retdec ? Thanks
Please check this one https://gist.github.com/27795df4dd4d33929c6444ec4368654c
cheers... some silly mistakes on my part. Also ... looks like FreeBSD 12.0 may compile retdec successfully on the forth attempt. (still going) FreeBSD 11.2 failed!
That's great! Please also check the sed
line in the above gist link, the line in your repository probably cannot do what we exactly want.
Hello @gwquk how's the status? I see the .cirrus.yml
in https://github.com/gwquk/retdec is good, but there seems some tweaks in the retdec's c++ codes, right?
At present, RetDec can be built on Windows, Linux, macOS, and (experimentally) on FreeBSD (#476). However, we have continuous integration only for Windows, Linux, and macOS. As suggested here, it would be a good idea to also connect RetDec to a continuous integration service supporting FreeBSD, such as https://cirrus-ci.com/.
As we have no experience with FreeBSD, we encourage the community to help. For inspiration, you can take a look at
.appveyor.yml
and.travis.yml
.