Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Fedora Release Engineering
85bacf7b51 dist-git conversion 2010-07-29 03:40:06 +00:00
Bill Nottingham
4cb064977d Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:39:51 +00:00
Thomas Moschny
470f2a5b7e Update to 0.45. 2009-09-13 17:06:17 +00:00
Thomas Moschny
10894c3627 Update to 0.44. 2009-05-18 19:49:42 +00:00
Thomas Moschny
dc837ce855 Update to 0.43. 2009-03-30 15:05:23 +00:00
Thomas Moschny
dde660f0e1 Updating from devel. 2009-03-06 21:48:20 +00:00
Thomas Moschny
6c413bc653 Updated for 0.42. 2009-01-03 00:53:23 +00:00
Jesse Keating
2ff61d2d04 Initialize branch F-10 for monotone 2008-11-07 04:56:31 +00:00
6 changed files with 86 additions and 51 deletions

View file

@ -1 +0,0 @@
monotone-0.41.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
monotone-0.45.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: monotone
# $Id$
NAME := monotone
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)

View file

@ -0,0 +1,9 @@
============================================================
--- tests/key_files_created_securely/__driver__.lua 63a9bd279770dc1fcefec5eb6cead7fd3e061982
+++ tests/key_files_created_securely/__driver__.lua 2a0d5d0376174967369a15795f30a6e081af81b6
@@ -25,4 +25,4 @@ check({ "ls", "-l", "keys/foobar." .. ke
keyid = string.sub(line, 0, 40)
check({ "ls", "-l", "keys/foobar." .. keyid }, 0, true, nil)
-check(qgrep("^-rw------- .*keys/foobar." .. keyid, "stdout"))
+check(qgrep("^-rw-------[.+]? .*keys/foobar." .. keyid, "stdout"))

View file

@ -1,5 +1,5 @@
Name: monotone
Version: 0.41
Version: 0.45
Release: 1%{?dist}
Summary: A free, distributed version control system
@ -11,23 +11,17 @@ Source0: http://monotone.ca/downloads/%{version}/%{name}-%{version}.tar.gz
Source1: monotone.init
Source2: monotone.sysconfig
Source3: README.monotone-server
Patch0: monotone-0.45-ls-output.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
BuildRequires: boost-devel >= 1.33.1
%if 1
%define bundled_sqlite yes
%else
# In fact, monotone has a locally-hacked 3.2.7, so we can't replace it.
BuildRequires: sqlite-devel >= 3.2.7
%define bundled_sqlite no
%endif
# monotone has local hacks in lua 5.0.2 as well, sigh.
%define bundled_lua 1
%if %{bundled_lua} == 0
BuildRequires: lua
%endif
BuildRequires: botan-devel >= 1.6.3
BuildRequires: pcre-devel >= 7.4
BuildRequires: sqlite-devel >= 3.3.8
BuildRequires: lua-devel >= 5.1
BuildRequires: libidn-devel
# The test suite needs cvs.
BuildRequires: cvs
@ -59,17 +53,28 @@ Group: Development/Tools
%description server
This package provides an easy-to-use standalone server setup for monotone.
%package -n perl-Monotone
Summary: Perl Module for monotone
Requires: monotone = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Group: Development/Tools
%description -n perl-Monotone
This is a simple Perl module to start a monotone automate sub-process
and then pass commands to it.
%prep
%setup -q
%patch0 -p0 -b .ls-output
%build
%configure --with-bundled-lua=%{bundled_lua} \
--with-bundled-sqlite=%{bundled_sqlite}
--with-bundled-sqlite=%{bundled_sqlite}
make %{?_smp_mflags}
%check
make %{?_smp_mflags} check || { cat tester_dir/*.log; false; }
# disable parallel runs in the testsuite for now
make check || { cat tester_dir/*.log; false; }
%install
rm -rf %{buildroot}
@ -92,7 +97,7 @@ mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_localstatedir}/lib
ln -snf ../bin/mtn %{buildroot}%{_sbindir}/monotone-server
%{__install} -D -m 0555 %{SOURCE1} \
%{buildroot}%{_sysconfdir}/rc.d/init.d/monotone
%{buildroot}%{_sysconfdir}/rc.d/init.d/monotone
%{__install} -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/monotone
%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/monotone
%{__install} -d -m 0750 %{buildroot}%{_sysconfdir}/monotone/private-keys
@ -101,17 +106,20 @@ ln -snf ../bin/mtn %{buildroot}%{_sbindir}/monotone-server
# These do not actually wind up in the package, due to %%ghost.
%{__install} -c -m 0440 /dev/null \
%{buildroot}%{_sysconfdir}/monotone/passphrase.lua
%{buildroot}%{_sysconfdir}/monotone/passphrase.lua
%{__install} -c -m 0640 /dev/null \
%{buildroot}%{_sysconfdir}/monotone/read-permissions
%{buildroot}%{_sysconfdir}/monotone/read-permissions
%{__install} -c -m 0640 /dev/null \
%{buildroot}%{_sysconfdir}/monotone/write-permissions
%{buildroot}%{_sysconfdir}/monotone/write-permissions
%{__install} -c -m 0644 /dev/null \
%{buildroot}%{_sysconfdir}/monotone/monotonerc
%{buildroot}%{_sysconfdir}/monotone/monotonerc
touch %{buildroot}%{_localstatedir}/lib/monotone/server.mtn
cp %{SOURCE3} .
%{__install} -D -m 0644 -p contrib/Monotone.pm \
%{buildroot}%{perl_vendorlib}/Monotone.pm
%clean
rm -f README.monotone-server
rm -rf %{buildroot}
@ -119,13 +127,13 @@ rm -rf %{buildroot}
%post
if [ $1 -eq 1 ]
then
/sbin/install-info %{_infodir}/monotone.info %{_infodir}/dir > /dev/null 2>&1 || :
/sbin/install-info %{_infodir}/monotone.info %{_infodir}/dir > /dev/null 2>&1 || :
fi
%preun
if [ $1 -eq 0 ]
then
/sbin/install-info --delete %{_infodir}/monotone.info %{_infodir}/dir > /dev/null 2>&1 || :
/sbin/install-info --delete %{_infodir}/monotone.info %{_infodir}/dir > /dev/null 2>&1 || :
fi
%files -f %{name}.lang
@ -139,13 +147,17 @@ fi
%{_datadir}/emacs/site-lisp/monotone*.el*
%{_sysconfdir}/bash_completion.d
%files -n perl-Monotone
%defattr(-,root,root,-)
%{perl_vendorlib}/Monotone.pm
%files server
%defattr(-,root,root,-)
%doc README.monotone-server
%{_sbindir}/monotone-server
%{_sysconfdir}/rc.d/init.d/monotone
%dir %attr(0755,monotone,monotone) %{_localstatedir}/run/monotone
%config %{_sysconfdir}/sysconfig/monotone
%config(noreplace) %{_sysconfdir}/sysconfig/monotone
%dir %attr(0755,root,monotone) %{_sysconfdir}/monotone
%dir %attr(0750,root,monotone) %{_sysconfdir}/monotone/private-keys
%attr(0640,root,monotone) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) %{_sysconfdir}/monotone/monotonerc
@ -160,7 +172,7 @@ fi
getent group monotone > /dev/null || groupadd -r monotone
getent passwd monotone > /dev/null ||
useradd -r -g monotone -r -d %{_localstatedir}/lib/monotone -s /sbin/nologin \
-c "Monotone Netsync Server" monotone
-c "Monotone Netsync Server" monotone
exit 0
%post server
@ -169,18 +181,53 @@ exit 0
%preun server
if [ $1 = 0 ]; then
/sbin/service monotone stop > /dev/null 2>&1
/sbin/chkconfig --del monotone
/sbin/service monotone stop > /dev/null 2>&1
/sbin/chkconfig --del monotone
fi
%postun
if [ $1 -gt 1 ]; then
# Restart the running server: updates its db format when needed.
/sbin/service monotone condrestart > /dev/null 2>&1 || :
# Restart the running server: updates its db format when needed.
/sbin/service monotone condrestart > /dev/null 2>&1 || :
fi
%changelog
* Sat Sep 12 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.45-1
- Update to 0.45.
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.44-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed May 13 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.44-1
- Update to 0.44.
* Sat Apr 25 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.43-2
- Rebuilt for new botan version.
* Fri Mar 27 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.43-1
- Update to 0.43.
- Add BRs for libraries monotone doesn't bundle anylonger.
- Drop patches applied upstream.
* Fri Feb 27 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.42-5
- Add one more netsync related patch from trunk.
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.42-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 9 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.42-3
- Disable %%{_smp_mflags} in the testsuite, causes strange errors.
- Fix two issues with gcc44.
- Add patch from upstream fixing netsync printing an error message of
the form "peer [...] IO failed in confirmed state (success)".
* Fri Jan 2 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.42-2
- Pack Monotone.pm (in a subpackage). (#450267)
* Fri Jan 2 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.42-1
- Updated for 0.42 release.
* Fri Sep 12 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.41-1
- Updated for 0.41 release.
- Added mtnopt helper.

View file

@ -1 +1 @@
f4ee37fb6853719933561fef901e2a07 monotone-0.41.tar.gz
bd37c3d75e3fd1974a17f556499b42ab monotone-0.45.tar.gz