Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230813 - app-misc/splitpipe - a program that allows the output of a program to span multiple volumes
Summary: app-misc/splitpipe - a program that allows the output of a program to span mu...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://ds9a.nl/splitpipe/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-05 02:56 UTC by Daniel
Modified: 2014-03-03 13:55 UTC (History)
1 user (show)

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


Attachments
very simple ebuild (splitpipe-0.4.ebuild,415 bytes, text/plain)
2008-07-08 17:32 UTC, Daniel
Details
One possible splitpipe-0.4 ebuild (splitpipe-0.4.ebuild,598 bytes, text/plain)
2008-07-12 13:01 UTC, Arttu Valo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2008-07-05 02:56:02 UTC
Splitpipe is a very small (40Kb tar.gz source) and convenient GPL program for multi-volume backup/restore on/from CD/DVDs without writing the volume images to the hard disk first.

Quotation from the site:

# tar cz /home | splitpipe -s dvd -o 'growisofs -Z /dev/dvd=/dev/stdin'
To restore:
# joinpipe /dev/dvd | tar xz
Comment 1 Daniel 2008-07-08 17:32:30 UTC
Created attachment 159889 [details]
very simple ebuild

Very simple ebuild which works for me on stable amd64.
Comment 2 Daniel 2008-07-08 18:15:00 UTC
Comment on attachment 159889 [details]
very simple ebuild

><HTML><HEAD/><BODY><PRE>S=${WORKDIR}/${P}
>DESCRIPTION="Multi-Volume Tool"
>HOMEPAGE="http://ds9a.nl/splitpipe"
>SRC_URI="http://ds9a.nl/splitpipe/${P}.tar.gz"
>
>
>DEPEND=""
>
>SLOT="0"
>LICENSE="GPL-2"
>KEYWORDS="x86 amd64"
>
>src_compile() {
>emake CFLAGS="$CFLAGS" || die
>}
>
>src_install() {
>make \
>DESTDIR=${D} \
>prefix=${D}/usr \
>mandir=${D}/usr/share/man \
>infodir=${D}/usr/share/info \
>install || die
>
>}
></PRE></BODY></HTML>
Comment 3 Arttu Valo 2008-07-12 13:01:05 UTC
Created attachment 160194 [details]
One possible splitpipe-0.4 ebuild

Modified version of Daniel's original ebuild. Header added, (R)DEPENDS added, unnecessary(?) methods dropped, src_install modified to use doman, dobin and dodoc.

Seems to emerge and to be writing to media nicely on amd64, no idea of x86 at the moment. However, restoring (joinpipe) appeared to have some problems. I couldn't restore the last file on first disk nor any files on later disks. Maybe this is an issue with wodim which I was writing CD-Rs with (cdrkit 1.1.8, not cdrtools)?

Anyway, feel free to modify onwards.
Comment 4 Dirk Heinrichs 2008-07-14 14:05:18 UTC
As per discussion on gentoo-user, here's what I get when I try to compile this thing manually:

# LANG="" make
g++ -Wall -g -O2 -DVERSION=\"0.4\"   -c -o splitpipe.o splitpipe.cc
In file included from splitpipe.cc:34:
md5.hh:18: warning: 'MD5Summer' has a field 'MD5Summer::d_context' whose type uses the anonymous namespace
splitpipe.cc: In function 'uint64_t getSize(const char*)':
splitpipe.cc:79: error: 'strcasecmp' was not declared in this scope
splitpipe.cc: In member function 'void SplitpipeClass::spawnOutputThread()':
splitpipe.cc:257: error: 'strcpy' was not declared in this scope
splitpipe.cc:261: warning: deprecated conversion from string constant to 'char*'
splitpipe.cc:262: warning: deprecated conversion from string constant to 'char*'
make: *** [splitpipe.o] Error 1
# LANG="" g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /gentoo/build/sys-devel-gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp --enable-cld --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1-r1 p1.1'
Thread model: posix
gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1)
Comment 5 Daniel 2008-07-14 14:20:17 UTC
On amd64 it compiles OK with:
gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /home/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
Comment 6 Arttu Valo 2009-10-29 20:16:07 UTC
Comment on attachment 160194 [details]
One possible splitpipe-0.4 ebuild

Just noticed over an emptytree rebuild that this splitpipe-0.4 ebuild won't compile with current gcc4xx/glibc210 without some (possibly minor?) patching. Deprecating the ebuild.