info: dump i rmt
Marcin Bohosiewicz
marcus w venus.wis.pk.edu.pl
Nie, 13 Wrz 1998, 08:53:42 CEST
On Sun, 13 Sep 1998, Konrad Stepien wrote:
> Wrzuciłem na cznzora dump-a, przy okazji generuje się z niego pakiet
> rmt, który zastępuje rmt z tar-a (w tarze go już nie ma)
>
> dump.spec:
>
> Summary: dump/restore backup system
> Summary(de): Dump/Restore-Backup-System
> Summary(fr): systčme de sauvegarde dump/restore
> Summary(pl): System kopi bezpieczeństwa dump/restore
^^^^
A nie ma byc przypadkiem "kopii" ?
> Summary(tr): dump/restore yedekleme sistemi
> Name: dump
> Version: 0.3
> Release: 14
> Copyright: UCB
> Group: Utilities/System
> Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/dump-0.3.tar.gz
A nie lepiej:
Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/%{name}-%{version}.tar.gz
> Patch: dump-0.3-config.patch
> Patch1: dump-0.3-types.patch
> Patch2: dump-0.3-glibc.patch
> Patch3: dump-0.3-sparc.patch
> Patch4: dump-0.3-kernel.patch
Przy patchach moze tez to "0.3" zlikwidowac?
> Requires: rmt
> BuildRoot: /tmp/%{name}-%{version}-root
>
> %description
> dump and restore can be used to backup extended 2 (ext2) partitions in
> a variety of ways.
>
> %package -n rmt
> Summary: Remote (network) tape device access
> Summary(de): Entfernter Zugriff (Netzwerk) auf Magnetbandgeräte
> Summary(fr): Accčs distant (réseau) ŕ un périphérique bande
> Summary(pl): Zdalny dostęp do napędów taśm magnetycznych
> Summary(tr): Uzak teyp sürücülerine eriţim aracý
> Group: Utilities/System
>
> %description -n rmt
> rmt provides remote access to tape devices for programs like dump,
> restore, and tar.
>
> %description -l de -n rmt
> rmt stellt Remote-Access zu Bandgeräten für Programme wie Dump, Restore
> und tar bereit.
>
> %description -l de
> Sie können mit dump und restore verschiedene Verfahren zum Sichern
> von extended 2 (ext2)-Partitionen ausführen.
>
> %description -l fr -n rmt
> rmt offre un accčs distant aux périphériques bandes pour des programmes comme
> dump, restore et tar.
>
> %description -l fr
> dupm et restore servent ŕ sauvegarder des partitions ext2 de plusieurs
> façons possibles
>
> %description -l pl
> Programy dump i restore służą do tworzenia i odtwarzanie kopii
> bezpieczeństwa partycji z systemem plków ext2.
>
> %description -l pl -n rmt
> Program rmt umożliwia zdalny dostęp do napędów taśm magnetycznych
> dla programów takich jak dump, restore czy tar
>
> %description -l tr -n rmt
> rmt programý, dump, restore ve tar gibi programlar için teyp aygýtlarýna
> uzaktan eriţim sađlar.
>
> %description -l tr
> dump, ext2 bölümlerini birkaç deđiţik ţekilde yedeklemek için kullanýlýr.
> restore ise dump ile alýnan yedekleri geri yükleyen programdýr.
>
> %prep
> %setup -q
> %patch0 -p1 -b .config
> %patch1 -p1 -b .types
> %patch2 -p1 -b .glibc
> #%patch3 -p1 -b .sparc
> %patch4 -p1 -b .kernel
>
> %build
> make OPT="$RPM_OPT_FLAGS"
>
> %install
> rm -rf $RPM_BUILD_ROOT
> install -d $RPM_BUILD_ROOT/usr/man/man8
> install -d $RPM_BUILD_ROOT/sbin
> install -d $RPM_BUILD_ROOT/etc
>
> MYNAME=`whoami`
> make BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT/usr/man/man8 \
> BINOWN=$MYNAME BINGRP=$MYNAME MANOWN=$MYNAME MANGRP=$MYNAME install
>
> > $RPM_BUILD_ROOT/etc/dumpdates
>
> ###( cd $RPM_BUILD_ROOT/sbin
> ### strip dump restore rmt
> ###)
> #### There is a bug in strip which clears the sgid bit!
> #### It's not a bug, it's a feature. Modifying an inode clears the
> #### set*id bits as a security feature.
> ###chmod 6755 /sbin/dump /sbin/restore
>
> ln -sf ../sbin/rmt $RPM_BUILD_ROOT/etc/rmt
> ln -sf dump $RPM_BUILD_ROOT/sbin/rdump
> ln -sf restore $RPM_BUILD_ROOT/sbin/rrestore
> ln -sf dump.8 $RPM_BUILD_ROOT/usr/man/man8/rdump.8
> ln -sf restore.8 $RPM_BUILD_ROOT/usr/man/man8/rrestore.8
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %files
> %defattr(0644,root,root,0755)
> %doc COPYRIGHT KNOWNBUGS THANKS CHANGES dump-0.3.announce
> %attr(0664,root,disk) %config /etc/dumpdates
> %attr(6755,root,root) /sbin/dump
> %attr(0755,root,root) /sbin/rdump
> %attr(6755,root,root) /sbin/restore
> %attr(0755,root,root) /sbin/rrestore
> /usr/man/man8/dump.8
> /usr/man/man8/rdump.8
> /usr/man/man8/restore.8
> /usr/man/man8/rrestore.8
>
> %files -n rmt
> %defattr(0644,root,root,0755)
> %attr(0755,root,root) /sbin/rmt
> %attr(0755,root,root) /etc/rmt
> /usr/man/man8/rmt.8
>
> %changelog
> * Sat Sep 12 1998 Konrad Stępień <konrad w interdata.com.pl>
> - added ability to build from non-root
> - added %attr macros
> - pl translation
>
> * Tue Jul 14 1998 Jeff Johnson <jbj w redhat.com>
> - add build root.
>
> * Tue May 05 1998 Prospector System <bugs w redhat.com>
> - translations modified for de, fr, tr
>
> * Thu Apr 30 1998 Cristian Gafton <gafton w redhat.com>
> - added a patch for resolving linux/types.h and sys/types.h conflicts
>
> * Wed Dec 31 1997 Erik Troan <ewt w redhat.com>
> - added prototype of llseek() so dump would work on large partitions
>
> * Thu Oct 30 1997 Donnie Barnes <djb w redhat.com>
> - made all symlinks relative instead of absolute
>
> * Thu Jul 10 1997 Erik Troan <ewt w redhat.com>
> - built against glibc
>
> * Thu Mar 06 1997 Michael K. Johnson <johnsonm w redhat.com>
> - Moved rmt to its own package.
>
> * Tue Feb 11 1997 Michael Fulbright <msf w redhat.com>
> - Added endian cleanups for SPARC
>
> * Fri Feb 07 1997 Michael K. Johnson <johnsonm w redhat.com>
> - Made /etc/dumpdates writeable by group disk.
>
Przy okazji male pytanko: jaki jest pelny adres magellan'a?
M.
--
-| == Marcin Bohosiewicz marcus w venus.wis.pk.edu.pl == |-
-| == tel. +48 (0-601) 48-50-97 marcus w krakow.linux.org.pl == |-
-| == Strona Domowa - http://venus.wis.pk.edu.pl/marcus/ == |-
-| == PLUG - Komisja Rewizyjna - http://www.linux.org.pl/ == |-
Więcej informacji o liście dyskusyjnej pld-devel-pl