[sks/el6: 7/8] Add patch to fix sks_build.sh path
Nick Bebout
nb at fedoraproject.org
Wed Jan 25 03:41:16 UTC 2012
commit fcd8bd8bb225580561235172774ce11569dec843
Author: Nick Bebout <nb at fedoraproject.org>
Date: Tue Jan 24 21:40:16 2012 -0600
Add patch to fix sks_build.sh path
sks-build.patch | 24 ++++++++++++++++++++++++
sks.spec | 3 ++-
2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/sks-build.patch b/sks-build.patch
new file mode 100644
index 0000000..62f7100
--- /dev/null
+++ b/sks-build.patch
@@ -0,0 +1,24 @@
+--- sks/sks_build.sh 2012-01-24 17:31:38.000000000 -0600
++++ sks-fixed/sks_build.sh 2012-01-24 21:38:40.972888602 -0600
+@@ -26,7 +26,7 @@
+ mode="fastbuild"
+ ;;
+ 2)
+- mode="build /var/lib/sks/dump/*.pgp"
++ mode="build /srv/sks/dump/*.pgp"
+ ;;
+ *)
+ echo "Option unknown. bye!"
+@@ -40,9 +40,9 @@
+ ask_mode
+
+ echo "=== Running (fast)build... ==="
+-if ! /usr/sbin/sks $mode -n 10 -cache 100; then fail; fi
++if ! /usr/bin/sks $mode -n 10 -cache 100; then fail; fi
+ echo === Cleaning key database... ===
+-if ! /usr/sbin/sks cleandb; then fail; fi
++if ! /usr/bin/sks cleandb; then fail; fi
+ echo === Building ptree database... ===
+-if ! /usr/sbin/sks pbuild -cache 20 -ptree_cache 70; then fail; fi
++if ! /usr/bin/sks pbuild -cache 20 -ptree_cache 70; then fail; fi
+ echo === Done! ===
diff --git a/sks.spec b/sks.spec
index d3a9835..bc89c78 100644
--- a/sks.spec
+++ b/sks.spec
@@ -11,6 +11,7 @@ Source0: sks.tar.bz2
Source1: sks-db.init
Source2: sks-recon.init
Patch0: sks-libdb5.2.patch
+Patch1: sks-build.patch
#Patch1: sks-1.1.1-bdb.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: ocaml ocaml-camlp4-devel libdb-devel zlib-devel chrpath
@@ -30,7 +31,7 @@ deploy, decentralized, and highly reliable synchronization.
%prep
%setup -q -n sks
%patch0 -p1
-#%patch1 -p1
+%patch1 -p1
%build
%__mv Makefile.local.unused Makefile.local
More information about the scm-commits
mailing list