diff options
Diffstat (limited to 'net-misc/bopm')
-rw-r--r-- | net-misc/bopm/bopm-3.1.3.ebuild | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/net-misc/bopm/bopm-3.1.3.ebuild b/net-misc/bopm/bopm-3.1.3.ebuild deleted file mode 100644 index fcb8b0c3de95..000000000000 --- a/net-misc/bopm/bopm-3.1.3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils user - -DESCRIPTION="Blitzed Open Proxy Monitor" -HOMEPAGE="http://www.blitzed.org/bopm/" -SRC_URI="http://static.blitzed.org/www.blitzed.org/${PN}/files/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/sed" - -src_compile() { - econf \ - --sysconfdir=/etc \ - --datadir=/usr/share/doc/${PF} \ - --localstatedir=/var/log/bopm || die "econf failed" - emake || die "emake failed" -} - -src_install () { - sed -i \ - -e 's!/some/path/bopm.pid!/var/run/bopm/bopm.pid!' \ - -e 's!/some/path/scan.log!/var/log/bopm/scan.log!' bopm.conf.sample - - make \ - DESTDIR="${D}" \ - sysconfdir="${D}"/etc \ - datadir=/usr/share/doc/${PF} \ - localstatedir="${D}"/var/log/bopm \ - install || die "install failed" - - fperms 600 /etc/bopm.conf - - # Remove libopm related files, because bopm links statically to it - # If anybody wants libopm, please install net-libs/libopm - rm -r "${D}"/usr/lib "${D}"/usr/include - - newinitd "${FILESDIR}"/bopm.init.d bopm - newconfd "${FILESDIR}"/bopm.conf.d bopm - - dodoc ChangeLog INSTALL README TODO -} - -pkg_postinst() { - enewuser bopm - - install -d -m 0700 -o bopm -g root "${ROOT}"/var/log/bopm - install -d -m 0700 -o bopm -g root "${ROOT}"/var/run/bopm - chown bopm "${ROOT}"/etc/bopm.conf -} |