We usually put our tents and stakes into silnylon dry bags. If you have to pack a shelter up wet, it keeps it from soaking everything else in your pack. Poles (if required, most of our floorless use a trekking pole as the center pole) packed separately wherever they fit. We usually use a 25L, which is total overkill most of the time. But makes it way easier to pack the shelter into, and then the bag is softer so it conforms to the rest of the stuff in your pack easier.
We got a bunch of OR drysacks cheap awhile back, but green was the only color available. Ended up just writing the name of the shelter on the outside in permanent marker so we know what’s what.