Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 171728 Details for
Bug 132590
Ebuild for sabnzbd (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sabnzbd-0.4.5.ebuild
sabnzbd-0.4.5.ebuild (text/plain), 2.34 KB, created by
Thomas Kuther
on 2008-11-14 17:26:12 UTC
(
hide
)
Description:
sabnzbd-0.4.5.ebuild
Filename:
MIME Type:
Creator:
Thomas Kuther
Created:
2008-11-14 17:26:12 UTC
Size:
2.34 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="1" > >inherit distutils > >MY_P="${P/sab/SAB}" > >DESCRIPTION="Binary Newsgrabber written in Python, server-oriented using a web-interface.The active successor of the abandoned SABnzbd project." >HOMEPAGE="http://www.sabnzbd.org/" >SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz" > >HOMEDIR="${ROOT}var/lib/${PN}" >DHOMEDIR="/var/lib/${PN}" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="+rar unzip rss +yenc ssl" > >RDEPEND=">=dev-lang/python-2.4.4 > >=dev-python/celementtree-1.0.5 > =dev-python/cherrypy-2* > >=dev-python/cheetah-2.0.1 > >=app-arch/par2cmdline-0.4 > rar? ( app-arch/rar ) > unzip? ( >=app-arch/unzip-5.5.2 ) > rss? ( >=dev-python/feedparser-4.1 ) > yenc? ( >=dev-python/yenc-0.3 ) > ssl? ( dev-python/pyopenssl )" >DEPEND="${RDEPEND} > app-text/dos2unix" > >S="${WORKDIR}/${MY_P}" >DOCS="CHANGELOG.txt ISSUES.txt INSTALL.txt README.txt" > >src_unpack() { > unpack ${A} > cp "${FILESDIR}/${PN}-gentoo-setup.py" "${S}/setup.py" >} > >pkg_setup() { > #Create group and user > enewgroup "${PN}" > enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}" >} > >src_install() { > distutils_src_install > > #Init scripts > newinitd "${FILESDIR}/${PN}.init" "${PN}" > newconfd "${FILESDIR}/${PN}.conf" "${PN}" > > #Example config > insinto /etc > newins "${FILESDIR}/${PN}.ini" "${PN}.conf" > fowners root:${PN} /etc/${PN}.conf > fperms 660 /etc/${PN}.conf > > #Create all default dirs > keepdir ${DHOMEDIR} > > for i in download dirscan complete nzb_backup cache scripts; do > keepdir ${DHOMEDIR}/${i} > done > fowners -R ${PN}:${PN} ${DHOMEDIR} > fperms -R 775 ${DHOMEDIR} > > keepdir /var/log/sabnzbd > fowners -R ${PN}:${PN} /var/log/${PN} > fperms -R 775 /var/log/${PN} > > #Add themes > cd "${D}" > mv usr/interfaces usr/share/${P} > > #fix permission on themes > fowners -R root:sabnzbd /usr/share/${P} > > #create symlink to keep the initial conf version free > dosym /usr/share/${P} /usr/share/${PN} >} > >pkg_postinst() { > distutils_pkg_postinst > > einfo "Default directory: ${HOMEDIR}" > einfo "Templates can be found in: ${ROOT}usr/share/${P}" > einfo "" > einfo "Run: gpasswd -a <user> sabnzbd" > einfo "to add an user to the sabnzbd group so it can edit sabnzbd files" > einfo "" > ewarn "Please configure /etc/conf.d/${PN} before starting!" > einfo "" > einfo "Start with ${ROOT}etc/init.d/${PN} start" >} >
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 132590
:
86376
|
95475
|
95478
|
95479
|
108363
|
108365
|
108366
|
111084
|
111087
|
111089
|
111091
|
111094
|
161536
|
161537
|
161539
|
161541
|
161544
|
161812
|
161814
|
164169
|
164256
|
164257
|
164258
|
164263
|
171728
|
171729
|
171730
|
246967
|
246968
|
246970
|
246972
|
246974
|
246976
|
246978
|
246979
|
247310
|
266817
|
272339
|
272341
|
272343
|
272345
|
272583
|
273731
|
273733
|
273735
|
274375
|
290557
|
295443
|
295445
|
295447
|
305361
|
305363
|
305365
|
305367
|
305371
|
311453
|
317236
|
317494
|
318768
|
318772
|
319228
|
319336
|
322298