If there is a positive charge $q$ at the origin of a coordinate system, the electric potential $\phi$ at a distance $r$ from $q$ is (by definition, if we take the point of zero potential at infinity):
$$\phi=-\int_{\infty}^r \vec{E}\cdot d\vec{r}$$
The dot product of $\vec{E}$ and $d\vec{r}$ is $-E\text{ }dr$ because they point in opposite directions, so $$\phi=\int_{\infty}^r E\text{ } dr$$ For a positive point charge $q$, we have that: $$\phi=\frac{q}{4\pi\epsilon_0}\int_{\infty}^r \frac{dr}{r^2}$$ And evaluating the integral we arrive at: $$\phi=-\frac{q}{4\pi\epsilon_0 r}$$
However, the result should be positive according to Halliday-Resnick (fifth edition, page 608). They have the same derivation essentially, except that after evaluating the integral for some reason they get a positive potential. What's up?