Portage is a package management system used by Gentoo Linux
# ChangeLog for app-backup/bobs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/bobs/ChangeLog,v 1.7 2007/02/21 20:07:20 peper Exp $
21 Feb 2007; Piotr JaroszyĆski
Transition to Manifest2.
24 Jan 2007; Marius Mauch
Replacing einfo with elog
17 May 2006; Robin H. Johnson
files/Makefile-fixcmdloopd.patch, bobs-0.6.2-r1.ebuild:
Full fix for sandbox bug #133409 - in some cases automake was being called,
blowing away the previous patch. So now patch Makefile.am and always call
automake.
16 May 2006; Lisa Seelye
+files/Makefile-fixcmdloopd.patch, -bobs-0.6.2.ebuild,
bobs-0.6.2-r1.ebuild:
Fix bug 133409 and put this in ~arch. Not sure how it got committed without it.
*bobs-0.6.2-r1 (15 May 2006)
15 May 2006; Lisa Seelye
Added a check to warn the user if theyve not got POSIX support for PHP.
Nonfatal check for now. Bug
13 May 2006; Fabian Groffen
Added quotes around variables, added 'die' in front of error messages, fixed
sed scripts to fix bug #133120
*bobs-0.6.2 (11 May 2006)
11 May 2006; Lisa Seelye
+files/postinstall-en.txt, +metadata.xml, +bobs-0.6.2.ebuild:
New backup package submitted by Ed Wildgoose, gentoo@wildgooses.com. Bug 84652
AUX Makefile-fixcmdloopd.patch 903 RMD160 e530ac05002958595191ac5e91f96fe0756ce39f SHA1 0d77242fe8e282ad1c59dfc7fd8c9baab29b63a7 SHA256 f197aea4861074f1cd11ee0ccd22ae8be95dfbb15d60df61637a74ce79969d9a
AUX bobs-0.6.2.patch 2617 RMD160 a9ddcf805dab1a599247b08185dda862a4df21ef SHA1 5a4fcea0ad93ff381b05f327b16864ee15616459 SHA256 9479cbb34c1cf27e56948f1224043c372406d7d52fd46b27937c01b0dd075569
AUX postinstall-en.txt 379 RMD160 0577888491de60f220c34f4880ba3e7c6111b844 SHA1 eab005a50d4251a046935fb46160835e228fd77b SHA256 811e7dccb496d30aef98930eb08de5b3c9207e43fc37231ae6d4bb9eb43d0e83
DIST bobs-0.6.2.tar.gz 185605 RMD160 6bf21f098b28d112eb30d5bdeea23a53d2d87216 SHA1 dbfc1c98e022c9e5ed85c98a2f8b8f011518d7aa SHA256 0a4f97be37d1244f88f36b7c738011d1d121ba71b2b0f9e044f929f3172e40c8
EBUILD bobs-0.6.2-r1.ebuild 2911 RMD160 292fc6bf9e814674e6d6e4f3849a6d6a36a1c70a SHA1 604d42c1b04ae40521e73aae62adb3199f31a470 SHA256 15e0d064575f7d20e543bad09c54795755464925e607903b0eacd8b6041bb58f
MISC ChangeLog 1509 RMD160 d5dbf6b60cc57a3c2ef40e48c77ca9ed6dc53bba SHA1 bebf3ff53a171c81928fd104a5ec6b957bbec081 SHA256 707a127139c5cd412a6d4bcbe8ac5c65aedaa5d5ab53aff84ab63462f79646a5
MISC metadata.xml 229 RMD160 361faad2aa64dc56553b74541a2b31f2ca2cce87 SHA1 0749e155f785cbd2eedd01806ca945627353d811 SHA256 dd8168978da302bbe4ca583614aa9721a9bedf46c72e6259c73a47decae7dae9
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/bobs/bobs-0.6.2-r1.ebuild,v 1.4 2007/01/24 04:13:36 genone Exp $
inherit webapp eutils autotools
DESCRIPTION="The Browsable Online Backup System"
HOMEPAGE="http://bobs.sourceforge.net/"
SRC_URI="mirror://sourceforge/bobs/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND="virtual/php"
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/bobs-0.6.2.patch
#Makefile was executing commands out of the sandbox (bug #133409)
epatch ${FILESDIR}/Makefile-fixcmdloopd.patch
# Original configure looks for httpd process. Hardwire to apache2...
sed -e "s:\$(ps -C httpd:\$(ps -C apache2:" \
-i 'configure' || die "Autodetect of Apache user failed"
# Slightly nasty fixup for some problems in the orig Makefile
# Otherwise it doesn't respect that prefix given to "make install"
sed -e "s:\$(myBOBSDATA):\$(DESTDIR)\$(myBOBSDATA):" \
-i 'Makefile.am' || die "Makefile bodge 1 failed"
sed -e "s:\$(top_srcdir)/mkinstalldirs \$(myWEBDIR):\$(top_srcdir)/mkinstalldirs \$(DESTDIR)\$(myWEBDIR):" \
-i 'inc/servers/Makefile.am' || die "Makefile bodge 2 failed"
sed -e "s:chown -R \$(myHTTPDUSER) \$(myWEBDIR):chown -R \$(myHTTPDUSER) \$(DESTDIR)\$(myWEBDIR):" \
-i 'inc/servers/Makefile.am' || die "Makefile bodge failed"
# Modify the webdir to match the webapp format
sed -e "s:myWEBDIR=\$with_webdir/bobs:myWEBDIR=\$with_webdir:" \
-i 'configure' || die "configure bodge failed"
eautomake
}
src_compile() {
econf \
--with-webdir=/usr/share/webapps/${PN}/${PVR}/htdocs \
|| die "configure failed"
emake || die "emake failed"
}
src_install() {
webapp_src_preinst
# MY_HTDOCSDIR="/usr/share/webapps/${PN}/${PVR}"
if [[ ! `built_with_use virtual/php posix` ]]; then
ewarn "Your PHP does not appear to support POSIX functions. ${P} requires"
ewarn "POSIX functions to be enabled. I will continue to install ${P} but"
ewarn "You need to recompile PHP with POSIX support by recompiling"
ewarn "with the 'posix' USE flag enabled for php. See bug #133198."
ebeep 5
fi
make DESTDIR="${D}" install || die
keepdir /var/bobsdata/current/process/session
keepdir /var/bobsdata/current/process/cmd
keepdir /var/bobsdata/current/process/mounts
webapp_configfile "${MY_HTDOCSDIR}"/inc/excludes/default.excludelist
webapp_configfile "${MY_HTDOCSDIR}"/inc/config.php
webapp_configfile "${MY_HTDOCSDIR}"/inc/servers/testserver.share.ini
dodir /var/bobsdata/incoming
dodir /var/bobsdata/incremental
# Why doesn't this next line work?
chown -R root:apache "${D}"/var/bobsdata/
elog "/var/bobsdata MUST be accessible to the apache user"
dodoc README INSTALL TODO
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
webapp_src_install
elog "Add /etc/init.d/cmdloopd to default runlevel"
}