Finely chop the onion and sauté it in a deep frying pan until golden brown.
Add the minced pork. Season with salt and pepper, then cook until browned.
Add the garlic, red kidney beans, and corn, then pour in the tomato purée. Stir well.
Add the oregano, basil, and more salt to taste. Stir and cook for about 10 minutes.
Serve with cooked spaghetti and grate a little Parmesan cheese on top.