Updated

South Africa captain Graeme Smith was named Tuesday for a two-Test October series against Pakistan in the United Arab Emirates after recovering from foot surgery.

Smith has not played since he was diagnosed with a stress fracture which ruled him out of the ICC Champions Trophy in England and Wales last June.

Smith was also named in South Africa's one-day international squad for five ODIs which will follow the Tests -- but selection convener Andrew Hudson indicated that there were still doubts about his full fitness.

"We should have a definite picture on the status of Graeme's recovery from surgery within the next two weeks," said Hudson.

"We will obviously be monitoring Graeme's condition very carefully and do not want to overload him too much during the early stages of his return."

Leg-spinner Imran Tahir, dropped after taking some heavy punishment in a Test series in Australia last year, was brought back, joining Robin Peterson as a front-line spinner for what are likely to be spin-friendly conditions.

Fast bowler Vernon Philander, who has become a key member of the Test side, was named in the one-day squad.

He has not played a one-day international since January 2012 -- and that was a single appearance against Sri Lanka after an absence of more than three years from one-day games.

Jacques Kallis was not included in the one-day squad.

Kallis was unavailable for the Champions Trophy, but recently committed to playing in a home one-day series against India later this year with a view to earning selection for the 2015 World Cup in Australia and New Zealand.

Squads

Tests

Graeme Smith (capt), Hashim Amla, AB de Villiers (wkt), JP Duminy, Faf du Plessis, Dean Elgar, Imran Tahir, Jacques Kallis, Rory Kleinveldt, Morne Morkel, Alviro Petersen, Robin Peterson, Vernon Philander, Dale Steyn, Thami Tsolekile (wkt)

ODI

AB de Villiers (captain, wkt), Hashim Amla, Quinton de Kock (wkt), JP Duminy, Faf du Plessis, Imran Tahir, Ryan McLaren, David Miller, Morne Morkel, Wayne Parnell, Robin Peterson, Vernon Philander, Graeme Smith, Dale Steyn, Lonwabo Tsotsobe