initial commit of file from CVS for dar on Wed 12 Jul 14:08:40 BST 2023
This commit is contained in:
parent
4d777dc81b
commit
3da4e9e7c1
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*.rpm
|
||||
*.log
|
||||
*spec-20*
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Makefile for source rpm: dar
|
||||
# $Id: Makefile,v 1.1 2016/02/04 12:28:37 vip-ire Exp $
|
||||
NAME := dar
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
8
README.Fedora
Normal file
8
README.Fedora
Normal file
@ -0,0 +1,8 @@
|
||||
Due to fedora policy and the apparent inability of the current version of
|
||||
glibc to compile a true static binary, the dar-static package/binaries have
|
||||
not been built or included with this package. If you would like to build
|
||||
static binaries, you can download the source RPM file from the Fedora Extras
|
||||
repository and recompile it with "--with static" to enable the static binary
|
||||
and library files.
|
||||
|
||||
-Chris Petersen, Fedora package maintainer, 2006-11-14
|
10
README.md
10
README.md
@ -1,3 +1,11 @@
|
||||
# dar
|
||||
|
||||
3rd Party (Maintained by Koozali) git repo for dar smeserver
|
||||
3rd Party (Maintained by Koozali) git repo for dar smeserver
|
||||
|
||||
## Description
|
||||
|
||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||
*Once it has been checked, then this comment will be deleted*
|
||||
<br />
|
||||
|
||||
DAR (Disk ARchive) is a software package for creating and managing backup archives of a file system. It is a full-featured command line backup tool that can create and restore full and incremental backups of a file system or a single directory. It provides a number of features such as compression, encryption, splitting archives into multiple volumes, checksum verification, and snapshots.
|
||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
||||
sme10
|
BIN
dar-2.3.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
dar-2.3.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
270
dar.spec
Normal file
270
dar.spec
Normal file
@ -0,0 +1,270 @@
|
||||
#
|
||||
# Specfile for DAR, the disk archiver
|
||||
#
|
||||
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=210790
|
||||
#
|
||||
|
||||
# Static build is disabled by default by fedora policy, but also because the
|
||||
# latest versions of glibc don't seem to compile proper static binaries. Use
|
||||
# "--with static" to enable the static subpackage
|
||||
%define with_static %{?_with_static: 1} %{?!_with_static: 0}
|
||||
|
||||
#
|
||||
# Basic descriptive tags for this package:
|
||||
#
|
||||
Name: dar
|
||||
Version: 2.3.8
|
||||
Release: 7%{?dist}
|
||||
Summary: Software for making/restoring incremental CD/DVD backups
|
||||
|
||||
Group: Applications/Archiving
|
||||
License: GPLv2+
|
||||
URL: http://dar.linux.free.fr/
|
||||
|
||||
################################################################################
|
||||
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: README.Fedora
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
################################################################################
|
||||
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: bzip2-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: e2fsprogs-devel
|
||||
|
||||
Requires: par2cmdline
|
||||
|
||||
################################################################################
|
||||
|
||||
%description
|
||||
DAR is a command line tool to backup a directory tree and files. DAR is
|
||||
able to make differential backups, split them over a set of disks or files
|
||||
of a given size, use compression, filter files or subtrees to be saved or
|
||||
not saved, directly access and restore given files. DAR is also able
|
||||
to handle extented attributes, and can make remote backups through an
|
||||
ssh session for example. Finally, DAR handles save and restore of hard
|
||||
and symbolic links.
|
||||
|
||||
################################################################################
|
||||
|
||||
%package -n libdar
|
||||
Group: System Environment/Libraries
|
||||
Summary: Library providing support for the DAR API
|
||||
|
||||
%description -n libdar
|
||||
Common library code for DAR.
|
||||
|
||||
################################################################################
|
||||
|
||||
%package -n libdar-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for libdar
|
||||
Requires: libdar = %{version}-%{release}
|
||||
|
||||
%description -n libdar-devel
|
||||
This package contains the header files and libraries for developing
|
||||
programs that use the DAR API (libdar).
|
||||
|
||||
################################################################################
|
||||
# The following two subpackages are only built when enabled via "--with static"
|
||||
################################################################################
|
||||
|
||||
%if %{with_static}
|
||||
|
||||
%package -n dar-static
|
||||
Group: Applications/System
|
||||
Summary: Statically linked version of dar
|
||||
|
||||
%description -n dar-static
|
||||
Statically linked version of dar that can be installed onto backup disks for
|
||||
easier file retrieval.
|
||||
|
||||
%package -n libdar-static-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Statically linked dar library files
|
||||
|
||||
%description -nlibdar-static-devel
|
||||
Statically linked version of dar libraries that can be installed onto backup
|
||||
disks for easier file retrieval.
|
||||
|
||||
%endif
|
||||
|
||||
################################################################################
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
################################################################################
|
||||
|
||||
%build
|
||||
|
||||
# Options
|
||||
%if %{with_static}
|
||||
STATIC=""
|
||||
%else
|
||||
STATIC="--disable-dar-static --disable-static"
|
||||
%endif
|
||||
|
||||
%configure --disable-build-html $STATIC
|
||||
|
||||
# Remove Rpath
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
################################################################################
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%find_lang %{name}
|
||||
|
||||
# Remove the libtool archive files
|
||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
# Delete the sample files that we can't seem to disable
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/dar/
|
||||
|
||||
# Remove the doc makefiles so they don't get installed along with the other files.
|
||||
rm -f doc/Makefile*
|
||||
rm -f doc/*/Makefile*
|
||||
|
||||
# Rename the documentation directory so it makes more sense after installation.
|
||||
mv doc html
|
||||
|
||||
# Sample scripts should not be executable
|
||||
chmod 0644 html/samples/*
|
||||
|
||||
# Install the fedora readme
|
||||
cp -a %{SOURCE1} .
|
||||
|
||||
################################################################################
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
################################################################################
|
||||
|
||||
%post -n libdar -p /sbin/ldconfig
|
||||
%postun -n libdar -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc html/ AUTHORS ChangeLog COPYING NEWS README THANKS TODO README.Fedora
|
||||
|
||||
%{_bindir}/dar
|
||||
%{_bindir}/dar_cp
|
||||
%{_bindir}/dar_manager
|
||||
%{_bindir}/dar_slave
|
||||
%{_bindir}/dar_xform
|
||||
%{_mandir}/man1/*
|
||||
|
||||
################################################################################
|
||||
|
||||
%files -n libdar
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
################################################################################
|
||||
|
||||
%files -n libdar-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/dar/
|
||||
%{_libdir}/*.so
|
||||
|
||||
################################################################################
|
||||
|
||||
%if %{with_static}
|
||||
|
||||
%files -n dar-static
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/dar_static
|
||||
|
||||
################################################################################
|
||||
|
||||
%files -n libdar-static-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.a
|
||||
|
||||
################################################################################
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jul 12 2023 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
Fri Nov 04 2006 --> Fri Nov 03 2006 or Sat Nov 04 2006 or Fri Nov 10 2006 or ....
|
||||
|
||||
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-7
|
||||
- Rebuilt for glibc bug#747377
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.8-5
|
||||
- rebuilt with new openssl
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 2.3.8-2
|
||||
- rebuild with new openssl
|
||||
|
||||
* Mon Aug 04 2008 Marcin Garski <mgarski[AT]post.pl> 2.3.8-1
|
||||
- Update to 2.3.8 (#434519, #438953)
|
||||
- Own dar's include directory
|
||||
- Remove Rpath
|
||||
- Update BR's
|
||||
|
||||
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.6-5
|
||||
- fix license tag
|
||||
|
||||
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.6-4
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Wed Dec 05 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-3
|
||||
- Add openssl requirement
|
||||
|
||||
* Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-2
|
||||
- failed "make tag"
|
||||
|
||||
* Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-1
|
||||
- Update to 2.3.6
|
||||
|
||||
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.3.4-2
|
||||
- Rebuild for selinux ppc32 issue.
|
||||
|
||||
* Tue Jul 03 2007 Chris Petersen <rpm@forevermore.net> 2.3.4-1
|
||||
- Update to 2.3.4
|
||||
|
||||
* Mon May 28 2007 Chris Petersen <rpm@forevermore.net> 2.3.3-1
|
||||
- Update to 2.3.3
|
||||
- Remove man.dar.patch, which was added upstream
|
||||
|
||||
* Wed Nov 15 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-4
|
||||
- Change the main summary -- this is no longer a "collection of scripts"
|
||||
|
||||
* Tue Nov 14 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-3
|
||||
- Fix/standardize Requires/Provides for libdar and libdar-devel
|
||||
- Remove redundant zlib-devel (covered by openssl-devel)
|
||||
- Update README.Fedora with my name/date, as requested in the ticket
|
||||
- Add a patch to fix a funky character in man/dar.1
|
||||
|
||||
* Fri Nov 04 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-2
|
||||
- Add README.Fedora explaining why we do not include static binaries (upstream's request)
|
||||
- Add libdar-static-devel subpackage to hold the *.a files
|
||||
- Disable static subpackages by default, enabled via "--with static" for those who want to compile them
|
||||
|
||||
* Thu May 11 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-1
|
||||
- Initial package, compiled from half a dozen third party packages
|
||||
|
Loading…
Reference in New Issue
Block a user