very soon i will be doing a sub enclosure

i will be using a 10" JL audio sub and i have picked the technitians brains at my local car audio shop and found these work best in 1 cubic foot boxes
basically all i want to kno is does the box have to be square or can it be rectangle, as where im putting it i have the height but not the depth so i was thinking of making the box rectange, i would of thought as long as the internal volume is correct it shouldnt matter about shape
am i right?
also would it be better sealed or ported? i listen to lots of different music, my taste ranges from stuff like enter shikari, to kanye west and from really dirty heavy dubstep to dance music, and a bit of indie like hard fi and a good bit of oasis/britpop etc. im not really into blowing the windows out of macdonalds as you drive past, more quality but i wouldnt mind a bit of volume

cheers!!!