Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82447 - [EBUILD] new package: boxbackup-0.09.ebuild
Summary: [EBUILD] new package: boxbackup-0.09.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: App-Backup Team
URL:
Whiteboard:
Keywords: EBUILD, InVCS
: 71995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-18 04:54 UTC by Mark Spanbroek
Modified: 2005-09-17 06:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
boxbackup-0.09.ebuild (new package) (boxbackup-0.09.ebuild.tar.gz,3.48 KB, application/octet-stream)
2005-02-18 04:56 UTC, Mark Spanbroek
Details
Ebuild boxbackup client part (boxbackup-client-0.09.ebuild,1.29 KB, text/plain)
2005-08-28 23:29 UTC, Anatoly Shipitsin
Details
Ebuid boxbackup clent part with conf & init files (boxbackup-client.tar.bz2,3.92 KB, application/octet-stream)
2005-08-28 23:31 UTC, Anatoly Shipitsin
Details
Ebuild boxbackup server part (boxbackup-server-0.09.ebuild,2.05 KB, text/plain)
2005-08-28 23:32 UTC, Anatoly Shipitsin
Details
Ebuid boxbackup server part with conf & init files (boxbackup-server.tar.bz2,4.12 KB, application/octet-stream)
2005-08-28 23:32 UTC, Anatoly Shipitsin
Details
Ebuild with fix (boxbackup-client-0.09.ebuild,1.30 KB, text/plain)
2005-08-29 00:33 UTC, Anatoly Shipitsin
Details
Ebuid boxbackup clent part with conf & init files. Fix (boxbackup-client.tar.bz2,3.93 KB, application/octet-stream)
2005-08-29 00:37 UTC, Anatoly Shipitsin
Details
Ebuild with fix (boxbackup-server-0.09.ebuild,2.05 KB, text/plain)
2005-08-29 00:38 UTC, Anatoly Shipitsin
Details
Ebuid boxbackup server part with conf & init files. Fix (boxbackup-server.tar.bz2,4.12 KB, application/octet-stream)
2005-08-29 00:47 UTC, Anatoly Shipitsin
Details
files/boxbackup-0.09-solaris.patch -- a modified version of the solaris patch on the boxbackup website (boxbackup-0.09-solaris.patch,23.80 KB, patch)
2005-08-29 01:04 UTC, Fabian Groffen
Details | Diff
files/boxbackup-0.09-darwin.patch -- a patch for darwin systems (boxbackup-0.09-darwin.patch,443 bytes, patch)
2005-08-29 01:05 UTC, Fabian Groffen
Details | Diff
boxbackup-0.09.ebuild -- a modified version of the original ebuild supplied by Mark Spanbroek (boxbackup-0.09.ebuild,2.43 KB, patch)
2005-08-29 01:09 UTC, Fabian Groffen
Details | Diff
boxbackup-0.09.ebuild v0.2 (boxbackup-0.09.ebuild,2.16 KB, text/plain)
2005-09-17 03:10 UTC, Fabian Groffen
Details
boxbackup-0.09-gentoo.patch (boxbackup-0.09-gentoo.patch,6.54 KB, patch)
2005-09-17 03:13 UTC, Fabian Groffen
Details | Diff
files/bbackupd.rc -- init script for bbackupd (bbackupd.rc,411 bytes, text/plain)
2005-09-17 04:28 UTC, Mark Spanbroek
Details
files/bbackupd.rc -- init script for bbstored (bbstored.rc,423 bytes, text/plain)
2005-09-17 04:30 UTC, Mark Spanbroek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Spanbroek 2005-02-18 04:54:47 UTC
Hi,

Box Backup is an open source, completely automatic on-line backup system for UNIX. See also http://www.fluffy.co.uk/boxbackup/. The attached .tar.gz file contains an ebuild, init scripts and configuration files.

Mark
Comment 1 Mark Spanbroek 2005-02-18 04:56:55 UTC
Created attachment 51508 [details]
boxbackup-0.09.ebuild (new package)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-13 17:47:08 UTC
*** Bug 71995 has been marked as a duplicate of this bug. ***
Comment 3 Fabian Groffen gentoo-dev 2005-08-08 13:10:56 UTC
does anyone from app-backup herd object if I take this ebuild?

Mark, thanks for the ebuild.
- Is there a reason why you force -j1 for make?
- For calling configure, there is a handly "econf" thing, like "emake", did you
decide not to use it deliberately?
- It's quite unconventional to install files yourself in src_install(), why
don't you use "make DESTDIR=${D} install"?
- for adding and removing users/groups there are tools "enewuser" and "enewgroup"

Could you try to elaborate on/implement the points mentioned above in a new
ebuild, preferably via a patch with the current one?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-08-08 13:25:31 UTC
grobian: no problems with you coming on to help us in app-backup.

I'm waiting for any response from recruiters to get app-backup up to speed (got
2 people waiting), so please add yourself to the herd and the mailing alias (I'd
like to keep the assigned group in bugzilla as app-backup, for tracking reasons).
Comment 5 Fabian Groffen gentoo-dev 2005-08-10 00:57:08 UTC
in response to comment #3:

ok, I had not realised that there still exist people that think it's better to
create your own configure script in Perl, as well as don't care about (g)make
and go for bsdmake if necessary and do the install phase via a few scripts.

(horror)

However, I managed to get this thing compiling on x86 and ppc-macos using GCC4.
 I think it also compiles on solaris, as I applied a solaris patch that's on the
boxbackup website.  Altogether some patchwork and unavoidable sed replacements
to get the code somehow GCC4 proof.

Mark, thanks for figuring out most of the job of manually installing the files.
 How much you think it is required to generate the config file whenever your
conf.d file changes?  Since the conf.d does not seem to hold actual settings
that influence how the daemon is started, I'd prefer just to have the config
file in /etc and not be auto-generated upon change of the conf.d file...
Comment 6 Anatoly Shipitsin 2005-08-28 23:29:14 UTC
Created attachment 67138 [details]
Ebuild boxbackup client part
Comment 7 Anatoly Shipitsin 2005-08-28 23:31:04 UTC
Created attachment 67139 [details]
Ebuid boxbackup clent part with conf & init files
Comment 8 Anatoly Shipitsin 2005-08-28 23:32:05 UTC
Created attachment 67140 [details]
Ebuild boxbackup server part
Comment 9 Anatoly Shipitsin 2005-08-28 23:32:46 UTC
Created attachment 67141 [details]
Ebuid boxbackup server part with conf & init files
Comment 10 Anatoly Shipitsin 2005-08-29 00:33:36 UTC
Created attachment 67145 [details]
Ebuild with fix
Comment 11 Anatoly Shipitsin 2005-08-29 00:37:15 UTC
Created attachment 67146 [details]
Ebuid boxbackup clent part with conf & init files. Fix
Comment 12 Anatoly Shipitsin 2005-08-29 00:38:08 UTC
Created attachment 67147 [details]
Ebuild with fix
Comment 13 Fabian Groffen gentoo-dev 2005-08-29 00:41:34 UTC
Anatoly, what versions does your ebuilds deal with?

I'll look at them in more detail later, thanks sofar.
Comment 14 Anatoly Shipitsin 2005-08-29 00:47:37 UTC
Created attachment 67148 [details]
Ebuid boxbackup server part with conf & init files. Fix
Comment 15 Anatoly Shipitsin 2005-08-29 00:54:19 UTC
(In reply to comment #13)
> Anatoly, what versions does your ebuilds deal with?
It's my variant ebuild's for boxbackup. Obsolete ebuid contains "econf" but
configure in package not compatibility with this, i'm rollback to old version.
With ./configure.

> I'll look at them in more detail later, thanks sofar.
10x. 

PS Boxbackup very usefull backup software ;)

Comment 16 Fabian Groffen gentoo-dev 2005-08-29 01:04:57 UTC
Created attachment 67150 [details, diff]
files/boxbackup-0.09-solaris.patch -- a modified version of the solaris patch on the boxbackup website

I have worked on this ebuild myself in the past.  I will submit my files that I
modified/created that represent my efforts to get boxbackup working on
ppc-macos too.
Comment 17 Fabian Groffen gentoo-dev 2005-08-29 01:05:57 UTC
Created attachment 67151 [details, diff]
files/boxbackup-0.09-darwin.patch -- a patch for darwin systems

this patch allows compilation of boxbackup 0.09 on OSX 10.4
Comment 18 Fabian Groffen gentoo-dev 2005-08-29 01:09:37 UTC
Created attachment 67152 [details, diff]
boxbackup-0.09.ebuild -- a modified version of the original ebuild supplied by Mark Spanbroek

I made an attempt to generalise the ebuild supplied by Mark Spanbroek, comment
it a bit on why things are not done the standard ways.

This ebuild uses one source file for both client and server.  Anatoly, it
looked in your ebuilds as if there are two source files, one for client and the
other for server, but I can't find them on sourceforge.  Do you have access to
development sources of boxbackup?
Comment 19 Fabian Groffen gentoo-dev 2005-09-17 03:10:53 UTC
Created attachment 68657 [details]
boxbackup-0.09.ebuild v0.2

I made some improvements on compilation area, and included the patch made by
Alexandrai to the sources to set the paths right.  We can now do without sed
crap to compile on GCC4
Comment 20 Fabian Groffen gentoo-dev 2005-09-17 03:13:17 UTC
Created attachment 68658 [details, diff]
boxbackup-0.09-gentoo.patch

patch extracted from Anatoly's files (sorry, got your name wrong in previous
post)
Comment 21 Fabian Groffen gentoo-dev 2005-09-17 03:14:12 UTC
it makes no sense to spam the ppc-macos guys at this moment
Comment 22 Mark Spanbroek 2005-09-17 04:28:56 UTC
Created attachment 68661 [details]
files/bbackupd.rc  -- init script for bbackupd

This is a modified version of the init script from the first attachment (the
tar.gz). I removed the automatic (re)generation of config files from the init
script, because that really isn't the place to do it.
Comment 23 Mark Spanbroek 2005-09-17 04:30:40 UTC
Created attachment 68663 [details]
files/bbackupd.rc  -- init script for bbstored

Same change for the bbstored init script.
Comment 24 Fabian Groffen gentoo-dev 2005-09-17 06:34:43 UTC
Ok, I checked in a boxbackup ebuild largerly based on the work of Mark
Spanbroek, including the gentoo patches by Anatoly Shipitsin.  It compiles and
runs on ~x86.

Please open a new bug if problems appear.