Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 353816 Details for
Bug 477684
net-nntp/lazylibrarian-99999.ebuild - Automated book downloader for net-nntp/sabnzbd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-nntp/lazylibrarian-99999.ebuild
lazylibrarian-99999.ebuild (text/plain), 2.36 KB, created by
daktak
on 2013-07-22 04:21:24 UTC
(
hide
)
Description:
net-nntp/lazylibrarian-99999.ebuild
Filename:
MIME Type:
Creator:
daktak
Created:
2013-07-22 04:21:24 UTC
Size:
2.36 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=4 > >PYTHON_DEPEND="2:2.6" > >EGIT_REPO_URI="https://github.com/herman-rogers/LazyLibrarian-1.git" > >inherit eutils user git-2 python > >DESCRIPTION="LazyLibrarian is an automated book downloader for SABnzbd." >HOMEPAGE="http://github.com/herman-rogers/LazyLibrarian-1" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >pkg_setup() { > # Control PYTHON_USE_WITH > python_set_active_version 2 > python_pkg_setup > > # Create lazylibrarian group > enewgroup ${PN} > # Create lazylibrarian user, put in lazylibrarian group > enewuser ${PN} -1 -1 -1 ${PN} >} > >src_install() { > dodoc README.md > > newconfd "${FILESDIR}/${PN}.conf" ${PN} > newinitd "${FILESDIR}/${PN}.init" ${PN} > > epatch "${FILESDIR}/path.patch" || die > # Location of log and data files > keepdir /var/${PN} > fowners -R ${PN}:${PN} /var/${PN} > > keepdir /var/{${PN}/{cache,download},log/${PN}} > fowners -R ${PN}:${PN} /var/{${PN}/{cache,download},log/${PN}} > > insinto /etc/${PN} > insopts -m0660 -o ${PN} -g ${PN} > doins "${FILESDIR}/${PN}.ini" > > # Rotation of log files > insinto /etc/logrotate.d > insopts -m0644 -o root -g root > newins "${FILESDIR}/${PN}.logrotate" ${PN} > > # wierd stuff ;-) > last_commit=$(git rev-parse HEAD) > echo ${last_commit} > version.txt > > insinto /usr/share/${PN} > doins -r cherrypy data lazylibrarian lib mako LazyLibrarian.py version.txt >} > >pkg_postinst() { > > # we need to remove .git which old ebuild installed > if [[ -d "/usr/share/${PN}/.git" ]] ; then > ewarn "stale files from previous ebuild detected" > ewarn "/usr/share/${PN}/.git removed." > ewarn "To ensure proper operation, you should unmerge package and remove directory /usr/share/${PN} and then emerge package again" > ewarn "Sorry for the inconvenience" > rm -Rf "/usr/share/${PN}/.git" > fi > > python_mod_optimize /usr/share/${PN} > > elog "Headphones has been installed with data directories in /var/${PN}" > elog > elog "New user/group ${PN}/${PN} has been created" > elog > elog "Config file is located in /etc/${PN}/${PN}.ini" > elog > elog "Please configure /etc/conf.d/${PN} before starting as daemon!" > elog > elog "Start with ${ROOT}etc/init.d/${PN} start" > elog "Visit http://<host ip>:8181 to configure Headphones" > elog "Default web username/password : lazylibrarian/secret" > elog >} > >pkg_postrm() { > python_mod_cleanup /usr/share/${PN} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 477684
:
353806
|
353808
|
353810
|
353812
|
353814
|
353816
|
353818
|
353820
|
353832
|
353970
|
376566