20170326 - created psqlodbc-09.05.0400.ebuild accepting keyword amd64
2017. 3. 26. 06:02OpenLDAP 설치하는데 postgresql 기반으로 설치하려니 odbc 드라이버가 필요했는데, Gentoo Packages 에서는 현재 9.3까지 지원하고 있어 오랜만에 작업함.
내 서버는 postgresql-9.5 사용중이라 바로 작업하기로 결정. 마지막으로 진행했던 Overlay 작업이 3년 전이라 명령어를 찾아봐야 했다. 자주 안하니 잊어버렸음 :(
추가로 accept_keywords=amd64 적용했고,
configure 단계에서 --enable-openssl 항목은 제거했어야 했지만, 귀찮아서 수정 안함. :P
- Prepare existing Gentoo Overlay from GitHub
git clone https://github.com/nol2ter/gentoo_overlay.git;
- Create custom ebuild, psqlodbc-09.05.0400.ebuild
vim psqlodbc-09.05.0400.ebuild;
ebuild psqlodbc-09.05.0400.ebuild manifest;
- Install custom ebuild
emerge -Dv psqlodbc