Vishnudharmottara Purana (Jyotisha Selections) · by Vyasa
Chapter 22 · The Jataka Chapter
जातकाध्यायः
जीवस्य सूर्येन्दुभौमा मित्राणि, रविसुतो मध्यः, सौम्यसितावरी ।।
In the full Vishnudharmottara Purana this is Khanda 2, chapter 167, prose part 26.
Jupiter has the Sun, the Moon and Mars as friends. Saturn is neutral. Mercury and Venus are its enemies.
Simple meaning: Jupiter is friends with the Sun, Moon and Mars, neutral to Saturn, and an enemy of Mercury and Venus.
शुक्रस्य बुधसौरौ मित्रे भौमजीवौ मध्यस्थौ सूर्येन्दू अरी ।।
Venus is friends with Mercury and Saturn, neutral to Mars and Jupiter, and an enemy of the Sun and Moon.
सौरस्य बुधशुक्रौ मित्रे जीवो मध्यस्थः आदित्येन्दुकुजा रिपवः ।।
Saturn is friends with Mercury and Venus, neutral to Jupiter, and an enemy of the Sun, Moon and Mars.
तत्काले च ग्रहाद्ग्रहो द्वितीयतृतीयतामेति मध्यश्चारितामरिरमित्रताम् ।।
At the time of birth, planets can take on a temporary closer or colder relation to one another.