The current, gullible, Australian leadership gave Indonesia some C-130s for free. Part of the justification was that they could help with border security.
This is an effort by the current Australian leadership to give the impression that they are doing something about the illegal boat arrivals, even if they aren't doing anything (worth-while) about the problem.
Indonesia already has C-130s and most likely intends not to use the ones gifted by the Australian taxpayer for the use imagined by a nutty Australian leadership that has helped balloon national debt to $158B and counting.
In other news; while we are giving stuff to Indonesia that they can easily buy for themselves, they are purchasing used main-battle tanks, new submarines, fighter aircraft and a recent spend on these:
Don't hate the player.
Hate the game.