The Marian reforms had hit by then, so didn't the state have a monopoly on weapon production and troop recruitment? How was this legal and how were these legions armed? Did they just buy stock from an arms depot, did they have their own corps of blacksmiths and artisans to make the armor and weapons, or was it just 'allowed'?
The so-called "Marian reforms" consist simply of the legal and formal abolition of the property requirement, itself only a technicality by Marius' time, which allowed Marius to recruit from the capite censi, who never were a majority of the army. Marius passed no legislation regarding the means of levying troops or supplying them, and these functions continued as they always had, i.e. through the tribunes, quaestors, and other minor staff of magistrates with imperium. Caesar and Crassus paid for their troops from their own pocket by virtue of their magistracies--both were proconsuls. Legions were raised by military tribunes, who might be elected in the tribal assembly or when necessary appointed by a holder of imperium. A proconsul's first four legions--his "consular" legions, so to speak--were raised by military tribunes elected by the tribal assembly and funded from the state treasury. Any additional troops either had to have senatorial approval, as technically speaking the senate controlled state funds, or were paid for from one's own pocket (or from extraordinary taxes in one's province). There was, however, no particular reason why a magistrate or promagistrate could not shoulder a significant amount of the financial burden, or even all of it, himself, no more than there was any reason why the state should fund all his duties military or otherwise. An accepted, even expected, part of magistracy in the Roman world was the conspicuous expenditure of private capital in the service of the people and state. To a modern observer this is perhaps most notable among the aediles, whose frequent monumental building projects were often at least in part privately funded, but magistrates distributed largess, funded public shows or feasts, donated from their own funds to the treasury (especially after military victories), paid for their own private staff, and were otherwise extravagant with their own wealth, especially when after Sulla it became expected for praetorians and consulars to head off to the provinces, where they could recover from their losses and make a great profit. This expectation did not cease, however, during military campaign in Italy or provincial administration--Clodius, for example, commented to Cicero about his intentions to act as patron of Sicily during his time as quaestor there, which provoked one of Cicero's best and funniest obscene jokes.