I'd say you made out well on the package, and your buddy gave you a good deal. $400 (or more) for the rifle alone would have been possible, if the seller was willing to go online or wait around. Tang safety models can be very desireable to some folks who like the older M77 rifles. I handled a pretty nice M77 with tang safety in .30-06 a few years ago at a gun show. Seller wanted $500 for the bare rifle. I was willing to $400 but he wouldn't budge.
Considering you got some ammo and a Leupold scope, that sweetens the deal in my mind. Even the cheapest factory .25-06 from Prvi is going for $15 per 20, and American made hunting rounds are $1 a round.
Leupold is great to have in a used scope because of the lifetime warranty. If you take it out to the range tomorrow and something goes wrong with it, just send it back to Leupold for repair or replacement. What version of Leupold is it? I'm assuming it's a Rifleman or VX-1, which would make sense for the package. If it's a higher end Leupold, then the deal is even better.