Glue or nails for siding repair?
I suggest both, but nails should be all you need, provided the pieces span to a stud so as not to break when you attach them. What is strange is there is no sheathing behind the shingles....hmmm