It can last quite a while. As long as the flour is kept dry and free of bugs that might contaminate it. Place the flour in an air tight container to keep it fresher.
Since Pumpkin Pie is a custard-based product, it should be kept refrigerated. Do not leave it out at room temperature for any more than 2 hours, but less time is even better.
If made correctly and sealed properly, jerky has no expiration date. All the water has been dehydrated from it giving bacteria nothing to survive on. If it is discolored or if it smelled spoiled,...