--- ssss-0.5.orig/debian/compat
+++ ssss-0.5/debian/compat
@@ -0,0 +1 @@
+5
--- ssss-0.5.orig/debian/dirs
+++ ssss-0.5/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- ssss-0.5.orig/debian/rules
+++ ssss-0.5/debian/rules
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+CFLAGS = -W -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+
+build: build-stamp
+build-stamp: patch
+ dh_testdir
+ $(MAKE) CFLAGS="$(CFLAGS)"
+ touch build-stamp
+
+clean: patch clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ $(MAKE) clean
+ rm -f ssss-combine.1 ssss-split.1
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/ssss
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ ln -s ssss.1 ssss-combine.1
+ ln -s ssss.1 ssss-split.1
+ dh_installman ssss-combine.1 ssss-split.1 ssss.1
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- ssss-0.5.orig/debian/control
+++ ssss-0.5/debian/control
@@ -0,0 +1,28 @@
+Source: ssss
+Section: utils
+Priority: optional
+Maintainer: James Westby
+Build-Depends: debhelper (>= 5.0), libgmp3-dev, xmltoman, quilt (>= 0.40)
+Standards-Version: 3.7.2
+
+Package: ssss
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Shamir's secret sharing scheme implementation
+ Implementation of Shamir's Secret Sharing Scheme. The program suite
+ does both: the generation of shares for a known secret, and the
+ reconstruction of a secret using user-provided shares.
+ .
+ Shamir's Secret Sharing Scheme allows a secret to be split in to shares.
+ These shares can then be distributed to different people. When the time comes
+ to retrieve the secret then a preset number of the shares need to be combined.
+ The number of shares created, and the number needed to retrieve the secret
+ are set at splitting time. The number of shares required to re-create the
+ secret can be chosen to be less that the number of shares created, so any
+ large enough subset of the shares can retrieve the secret.
+ .
+ This scheme allows a secret to be shared, either to reduce the chances that
+ the secret is lost, or to increase the number of parties that must cooperate
+ to reveal the secret.
+ .
+ Homepage: http://point-at-infinity.org/ssss/
--- ssss-0.5.orig/debian/copyright
+++ ssss-0.5/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by David Moreno Garza on
+Sun, 23 Oct 2005 16:22:30 -0500.
+
+It was downloaded from http://point-at-infinity.org/ssss/
+
+Upstream Author: B. Poettering .
+
+Copyright: 2005,2006 B. Poettering
+
+License:
+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ * 02111-1307 USA
+
+
+On Debian systems, the complete text of the GNU General Public License can
+be found in the file `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2005-2006 David Moreno Garza
+ (C) 2006 James Westby
+The packaging work is in the public domain, so anyone can use it,
+reuse it, destroy it or anything related.
--- ssss-0.5.orig/debian/changelog
+++ ssss-0.5/debian/changelog
@@ -0,0 +1,49 @@
+ssss (0.5-2ubuntu1) oneiric; urgency=low
+
+ * Fix FTBFS with ld --as-needed. LP: #832804.
+
+ -- Matthias Klose Tue, 13 Sep 2011 12:20:37 +0200
+
+ssss (0.5-2) unstable; urgency=low
+
+ * New maintainer. Thanks David. (Closes: #387234)
+ * Switch to quilt for patch management.
+ * debian/compat:
+ - Switch to level 5.
+ * debian/copyright:
+ - Add proper copyright statement and license header.
+ - Add a statement about the copyright on the Debian packaging.
+ * debian/rules:
+ - Remove unneeded configure targets.
+ - Remove unused dh_ calls.
+ - Actually use the CFLAGS in the build.
+ - Comment out DH_VERBOSE = 1.
+ * debian/control:
+ - Change the maintainer to myself.
+ - Update Standards-Version to 3.7.2 (no changes required).
+ - Add ${misc:Depends}.
+ - Improve description.
+ - Add Homepage: field.
+ - Bump dependency on debhelper to >= 5.0.
+ * debian/patches:
+ - 01-Makefile-install: The patch from the last version to add an install
+ target.
+ - 05-man-hyphen: Escape all hyphens in the manpage source so they come
+ out as the correct groff characters.
+ * debian/watch:
+ - Add.
+
+ -- James Westby Tue, 19 Sep 2006 01:13:52 +0100
+
+ssss (0.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- David Moreno Garza Mon, 16 Jan 2006 17:21:49 -0600
+
+ssss (0.4-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- David Moreno Garza Sun, 23 Oct 2005 16:22:30 -0500
+
--- ssss-0.5.orig/debian/watch
+++ ssss-0.5/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://point-at-infinity.org/ssss/ssss-(.*)\.tar\.gz
--- ssss-0.5.orig/debian/patches/01-Makefile-install
+++ ssss-0.5/debian/patches/01-Makefile-install
@@ -0,0 +1,23 @@
+Index: ssss-0.5/Makefile
+===================================================================
+--- ssss-0.5.orig/Makefile 2006-09-25 18:16:29.000000000 +0100
++++ ssss-0.5/Makefile 2006-09-25 18:18:12.000000000 +0100
+@@ -1,7 +1,9 @@
+ all: ssss-split ssss-combine ssss.1 ssss.1.html
+
++CFLAGS = -W -Wall -O2
++
+ ssss-split: ssss.c
+- $(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c
++ $(CC) $(CFLAGS) -o ssss-split ssss.c -lgmp
+ strip ssss-split
+
+ ssss-combine: ssss-split
+@@ -15,3 +17,7 @@
+
+ clean:
+ rm -rf ssss-split ssss-combine ssss.1 ssss.1.html
++
++install:
++ install -m0755 ssss-split $(DESTDIR)/usr/bin
++ install -m0755 ssss-combine $(DESTDIR)/usr/bin
--- ssss-0.5.orig/debian/patches/05-man-hyphen
+++ ssss-0.5/debian/patches/05-man-hyphen
@@ -0,0 +1,124 @@
+Index: ssss-0.5/ssss.manpage.xml
+===================================================================
+--- ssss-0.5.orig/ssss.manpage.xml 2006-09-19 00:29:11.000000000 +0100
++++ ssss-0.5/ssss.manpage.xml 2006-09-19 00:31:41.000000000 +0100
+@@ -8,9 +8,9 @@
+ desc="Split and Combine Secrets using Shamir's Secret Sharing Scheme.">
+
+
+- ssss-split -t threshold -n shares [-w token]
+- [-s level] [-x] [-q] [-Q] [-D] [-v]
+- ssss-combine -t threshold [-x] [-q] [-Q] [-D] [-v]
++ ssss-split \-t threshold \-n shares [\-w token]
++ [\-s level] [\-x] [\-q] [\-Q] [\-D] [\-v]
++ ssss-combine \-t threshold [\-x] [\-q] [\-Q] [\-D] [\-v]
+
+
+
+@@ -30,20 +30,20 @@
+
+
+
+
+
+
+-
+
+-
+
+-
+
+-
+-
+
+-
+
+-