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.


AttachmentSize
gencompilerenvfiles.bz2451 bytes
compileport.bz22.53 KB

1452 comments

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 http://163.30.71.32/phpinfo.php?a%5B%5D=%3Ca%20href%3Dhttp%3A%2F%2Fwww.d...
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.

Pages

Add new comment