The money is for a Wall plus other security measures.
I think during the Schumer/Trump negotiations before the gov shutdown, they were talking about a trust fund to contain the $25B so Trump didn’t have to rely on future Congressional annual appropriation bills to keep funding the Wall.
I smell a rat. The DHS last Spring estimated $22 Billion to build the wall, so only $5 Bil means at most 20-23% of it could be built per year. Taking into account the all-but-certain cost overruns on any major project, not to mention the portion allocated for non-wall use, this means it will take at least 5 to 6 years to build.
The Rats are hoping to flip either or both halves of Congress, and/or the White House, long, long before the wall is completed. What happens then to the remainder of this 6-year project?
Not completing the wall will simply mean the border-jumpers have fewer routes to take. That's like claiming your house is secure from burglars, because over 98% of the surface area of your house is inaccessible to passage, with the only minor exceptions being two outside doors without locks on them.