Tinderbox extra scripts

Continuing on from my previous two ramblings let's have a look at two scripts I use with my tinderbox setup. It may not be the best place but I decided to keep these within the tinderbox/scripts folder.

The first script is gencompilerenvfiles which I have expanded a little since my previous post.

#!/bin/sh cd /usr/local/tinderbox/scripts/etc/env rm build.* ## set CC options ############################################### for BNAME in `../../tc listBuilds | grep clang` do cat > build.$BNAME <<CCOPTIONS export CC=clang export CXX=clang++ export CPP=clang-cpp export NO_WERROR= export WERROR= CCOPTIONS done for BNAME in `../../tc listBuilds | grep gcc` do cat > build.$BNAME <<CCOPTIONS export CC=gcc export CXX=g++ export CPP=cpp export NO_WERROR= export WERROR= CCOPTIONS done ## set the ARCH ############################################### for BNAME in `../../tc listBuilds | grep i386` do cat >> build.$BNAME <<CCOPTIONS export ARCH=i386 CCOPTIONS done for BNAME in `../../tc listBuilds | grep amd64` do cat >> build.$BNAME <<CCOPTIONS export ARCH=amd64 CCOPTIONS done ## optionally set the CPUTYPE - fixes some build issues ############################################### if [ "$1" = "cpu" ] then for BNAME in `../../tc listBuilds | grep i386` do cat >> build.$BNAME <<CCOPTIONS export CPUTYPE=pentium2 CCOPTIONS done for BNAME in `../../tc listBuilds | grep amd64` do cat >> build.$BNAME <<CCOPTIONS export CPUTYPE=nocona CCOPTIONS done fi

So the changes since my previous post are fairly small and obvious - first I added NO_WERROR and WERROR which allows some ports to finish building that only generate warnings. Some ports are setup to treat warnings as errors causing the build to stop. While it can make sense with some ports, others it isn't of concern and only gets annoying that the builds stop and you take 10 minutes to figure out that it's all because of a simple warning.

The next change is the addition of ARCH - when building for the same arch as the base system this is of no concern but some ports have a problem building on an amd64 system when the compiler is generating x86 code. The ARCH definition overcomes that issue.

The other change is the conditional addition of CPUTYPE. This is added by calling the script with an argument of cpu. I found a couple of ports that have trouble compiling when targeting the minimum cpu features. While the cpu types used can be adjusted I chose pentium2 as the minimum 32bit as i686 is a common base but sometimes the lack of mmx causes problems, pentium2 is the next one up that has mmx support, pentium4 or prescott are other good choices if you know the minimum cpu your builds need to run on or if you need sse. For amd64 I chose nocona as the first Intel 64bit cpu, not sure that core2 would be any advantage but this can be changed to corei7 to include sse4.2 support. Other options for amd cpu's can be used if you want to test against amd specific features.

The other script I showed previously I called testbuilds.sh. I have expanded this script quite a bit and now call it compileport - while it is now a lot longer than the previous example it's not really more complex. The extra length is from many case and if statements than any real complexity. You can download it below if you want to use it or just read through it.

For the most part you should be able to figure it out based on the comments and help (-h) included within the script. To compile a port we want to know 4 things - sysversion arch compiler and port, sysversion arch and compiler default to current i386/amd64 and gcc/clang and can be left out if you wish to use that combination. That leaves us with specifying the port, giving a minimum of compileport -P <category/portname> to compile against 10-CURRENT.

A few bonus options for sysversion are for preset searches - all current stable and release should be obvious, with releng being a moving target based on system releases. Currently this is set to 9.0 8.3 and 7.4 - being the highest minor release of each major version. Over time this should be updated to include newer releases and drop the less than current releases. So when 9.1 goes beta or RC1 it would be added to the list and after release we can remove 9.0.

If you want to setup default values you can do that through environment variables, which can also be setup in your shell rc files like any other variable. So if you always compile for 9-STABLE you can set OPTBASEVERS to 9-STABLE and it will be used without you having to specify -B 9-STABLE every time. This is where the upper/lower case options come into play. If you have the OPTBASEVERS set to 9-STABLE then compileport -b 8-STABLE will build the port for both 9-STABLE and 8-STABLE but if you use compileport -B 8-STABLE then it will ignore the environment settings and just compile for 8-STABLE. The real advantage to environment settings comes when you want to compile a list of ports. This may be a preset list of all the ports you maintain or you can do something like -

setenv OPTPORTLIST `pkg_info -aoq` compileport -B all

will compile every port you have installed on your system with every tinderbox build you have setup - or -

setenv OPTPORTLIST `pkg_version -vL= | awk '{print $1}' | xargs pkg_info -oq` compileport -B 9-STABLE

will compile every port that needs updating against the 9-STABLE builds you have setup. This leads into what I plan to talk about in my next post - using tinderbox to build your own packages.

gencompilerenvfiles.bz2451 bytes
compileport.bz22.53 KB


sunbeam juicer's picture

You will also need to be careful with citrus fruit because
they have a lot of citric acid in them. It comes with several features such as
the following:. You might think that taking the time to juice your own fruit is time consuming and wasteful.

http://www.quickvisionsl.es/project/multiple-media/'s picture

Great post. I will be dealing with a few of these issues as well..

well known payday's picture

Hey there, You've done a fantastic job. I'll certainly digg
it and personally suggest to my friends. I am sure they'll be benefited from this web site.

Australia&#039;s Only Sex Toy Subscription Box Service's picture

Good day I am so delighted I found your site, I really found
you by accident, while I was searching on Google
for something else, Anyhow I am here now and would just like to say cheers
for a remarkable post and a all round enjoyable blog (I also love the theme/design), I don't have
time to browse it all at the minute but I have saved it and also added in your RSS feeds,
so when I have time I will be back to read
a great deal more, Please do keep up the superb work.

http://phoeberehfisch.blog.fc2.com/blog-entry-1.html's picture

Wonderful beat ! I wish to apprentice whilst you amend your site,
how can i subscribe for a weblog web site?
The account helped me a appropriate deal.
I have been tiny bit acquainted of this your broadcast provided bright transparent concept

best juicer machines's picture

Some expert in raw food movement say that due to heat, a centrifuge juicer can destroy all enzymes or a part of them.
My intention with this article is to make you
recognize a good wheatgrass juicer when you see
one. Families probably want to consider a larger juicer.

commercial juicer reviews's picture

You also can learn more about the juicer by understanding its benefits that make
it a great choice over the other juicers in the market. Thus, it is important to remain at top shape
so that you can succeed despite the occasional glitch in life.
Families probably want to consider a larger

hamilton beach big mouth juice extractor's picture

Some expert in raw food movement say that due to heat, a centrifuge
juicer can destroy all enzymes or a part of them.
It comes with several features such as the following:
. When compared to a centrifugal juicer, you will see that the juices from
this masticating juicer are much darker because of the way it extracts all parts of the vegetable instead of just the juice.

vita juicer's picture

I did look in several of the nationally known cookbooks having sections on baking cookies just to see
if any author had the inkling that any of their readers
would seek out such an idea. The quality of juice obtained
from an orange juice extractor is not the same as what is mass-produced and sold in stores.
Families probably want to consider a larger

Coconut Oil for Hair's picture

It is healthy, natural and provide you a breath of fresh hair.

When you're blow drying flowing haair use a dryer which has
tourmaline preventing once nice hair is dry. The best one tto use is one without glue for example the sew in hair weave hairstyles.

computer services miami's picture

Aware Bear Computers (585)473-7035 on 5 Monroe Avenue
Pittsford NY reviewed the new HP ENVY 14 Beats Edition Series.

Checking for Registry errors is highly recommended.
What about the cost of hiring a computer repair Orange County California company.

locksmith rheede street cape town's picture

We should be cautious even though picking a locksmith rheede street cape town, as we will need
a skilled that will be ready to securely safe our treasured items.
Here are several things you are able to do to prevent these types of situations:.
These companies may present specialized talent and
gear needed for the work.

http://jaymecoyixvq.pen.io/'s picture

Hello there, I found your site via Google at the same time as searching for a similar subject, your website came up, it seems great.
I have bookmarked it in my google bookmarks.
Hi there, simply turned into aware of your blog via Google, and found that it
is truly informative. I am going to be careful for brussels.
I'll appreciate in case you proceed this in future. A lot of people will
probably be benefited from your writing. Cheers!

crostata alla nutella's picture

Hi there, I found your website via Google whilst searching for a similar matter, your site got here up,
it seems great. I've bookmarked it in my google bookmarks.

Hello there, just turned into aware of your weblog thru Google, and found that it
is really informative. I'm gonna be careful for brussels.
I will be grateful if you happen to continue this in future.
Numerous people might be benefited from your writing.

free pinoy movies pinoy tv ofw tambayan's picture

One plays to the tune of the entertainer and the site Free Movies Online website sure knows how to.
Such decisions are quite common and can also be seen in CSI: Miami season 9 episode 7 episodes.
Moviegoers don't certainly like that idea right after they watch movie
online because may be watch your movie on the large display.

hamilton beach juicer 67650's picture

We hear how important getting your daily dose of vitamin and
mineral rich fruits and vegetables are for
proper body functioning and overall health.
Most high functioning juicers will cost somewhere in the range
of $200 to $2,000. Or would you rather go for low motor speed that will produce a more quiet juicing process.

Online advancement uni's picture

In order to be successful in a home-based business, you must think
of this business as a long-term investment. There's
a lot of satisfaction following an area of interest you like as a work from home entrepreneur.

Jim Wa is tired of seeing get rich quick-schemes polluting the Internet.

Also visit my site - Online advancement uni

ทัวร์ญี่ปุ่น's picture

I am genuinely glad to glance at this webpage posts which carries plenty of useful information, thanks for
providing these kinds of information.

Augusto de Arruda Botelho's picture

I do agree with all the concepts you've introduced
in your post. They're very convincing and will certainly work.
Nonetheless, the posts are very brief for beginners.
May just you please lengthen them a bit from subsequent time?

Thanks for the post.

muaythaiboxing.no's picture

This is the perfect webpage for anyone who wants to
understand this topic. You understand a whole lot its almost tough to argue with you (not that I actually will need to...HaHa).
You definitely put a brand new spin on a topic which has
been written about for a long time. Great stuff, just excellent!

tommyweb2016's picture

I don't even know the way I ended up here, however I thought this post was once great.
I don't recognise who you're but definitely you are going to a well-known blogger for those who aren't already.

fast business loans for bad credit's picture

Hi there every one, here every one is sharing these knowledge, thus it's pleasant to read
this weblog, and I used to go to see this blog all the time.

exchequerpub2.com's picture

As I crossed the street, I saw a man parked by the donation center taking a juicer out of his
car. All of the parts are easily removed and are made of
an easy-to-clean material. Most lower- and medium-end juicers on the market
use the centrifugal method.

blackjack.automatyhazardoweonline.pl's picture

When someone writes an post he/she retains the idea of
a user in his/her mind that how a user can know it.
Therefore that's why this article is outstdanding.

jerkofftube's picture

jeni ribera xxx http://ww.almeriapsoe.es/index.php/blog/item/101-el-psoe-denuncia-la-pod... While not wanting to, I looked at my see and realised that I had to be sustain at the office for a encounter in 10 minutes..

yoursexyclub.com's picture

She told Allison, I bear you now! Tracey sensed Unhappy

xxxsmall's picture

I asked if he had done this before and he replied only to him self.I was blessed as a lark, even however I hadn't gotten any act.eventually, I came to her inward hips.But not me, I dreamed more but I knew I could predominate you from our first-ever encounter.I then permitted my arm to walk inbetween her saree and half-tee-shirt and embarked squeezing her shriek tits.You'll paddle up to my home and earn prepped to prefer your wife home.prepared for what, she asks? You will detect briefly, is your reaction.I was sizable with fabricate up and had a crimson bob wig with me.So his Friday afternoon was kept free in his diary and a mini-soiree was arranged by the office staff.It seemed this gal took staunch sheer pleasure in overcoming me.A mind-blowing female with minimal, taut fitting attire will always ensure the glaring interest of any masculines in the neighborhood.So she came encourage to my home and took a slowly bathroom.as the stud said thank you and stepped off the speak at the next terminate my buddy was aloof gobbling my snatch tugging off on his knees with his face in my vagina and ultimately stood up and keep my gams up and came on my poon and ate up all his jism to natty me off.like the introduce!She pulled up her trousers and jacket and was out the door before I could even salvage off the floor.I notably welcome feedback from women and girls about this practice.The door was unexcited ajar, she could hear traffic on the active street outside.eliminated it from the wraper and flipped in his well talented 7 scuttle slide-stick.It always seems somewhat surreal to be nude with a tubby stranger, my forearms toying with her bosoms and her arms wrapped around my dick as we learn about each other.We eventually made it happen, when my middle-senior pal Darren and his nubile son-in-law Brandon stayed the night.I told him I had never had lovemaking Love that before. disney shemaleanita blondeclevland show pornfujiko mine sexmoms-explorer movieanna miller tubevideos de ninas xxxsonomi fukuhararena mero pornpokemon girls nudeincest cartoon videossasha grey lesbian analcolette guimond cliterica campbell hardcoremature anal rapegiana michealsex khafanmistress headshavetrk pornomujer perdiendo su virginidadpreity zinta 3gptub8dr zawgyidesi rape videoscouncil estate sluts
Her bottom was tensing and loosening as she embarked to polish her thighs onto DavevDj(tm)s lap.At this time the dudes fabricate already commence up her hips and started to fondle her pizdischu.Leaving the books in the car, Lily dump into the building.I signaled and he instantly sank to his knees infront of me as I commenced to stroke myself to a tip.Well and indeed banging yourself.Meet me in the shed gradual my palace after dinner.Then while I was encountering the front of the car, I perceived her mitt fondle the side of my cheek and she stuck her finger in my jaws.Or another time, sorry to bug you, I know it's behind.screwing against you, I let my intense ballsack plumb your cheek.Imagine spending your days at my beck and call, doing my bidding as you desirable my mansion, handwash my undies, grope my soles or munch my beaver, invent for a gathering of my stud dominas or obey as the centerpiece at a sissy gang-slump! Call me now to receive your orders, sissy righteous.Perhaps I will be visiting this mansion again in the highly approach future for a expose spectacle.unbiased enough to coat your modesty but you aloof stare extraordinary and you know it.afterward that evening when Joe groped her, their routine where different when this tale embarked.taunting him in inbetween slight mutter about my unimaginative life and seemingly, taking easily, his compliments on how agreeable the meal is and how gargantuan I peer.The next workout I set aside her thru was a 'arched over dumbbell row'.The dolls that came up impartial fingerblasted me.He observed as Bill kneaded his penis on her backside.I truly did not mean to offend you, but sincerely, how can anyone not like you?Her violent behaviour all of a sudden became more loosened and she actually smirked.My ex had my testicles and guy-meat with lock and key and I would ultimately need to quiz her permission to contain fuckfest with another nymph.She would simply hike up her skirts as she ambled towards him and he would spurt his breaches to the ground.

لیست سایت های ایرانی's picture

Good day!
Thank you for sharing your thoughts. I truly appreciate your efforts and I will be waiting for your next
write up thanks once again.


Add new comment