From e5bed7e62d5ef030b931f79ff3eb23390da7b3cc Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Wed, 2 Aug 2017 21:26:33 +0300 Subject: [PATCH] Added manual pages to gostsum package --- Makefile | 2 +- debian/copyright | 21 +++++---------------- debian/gostsum.dirs | 2 ++ debian/rules | 7 +++++++ 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index 653a89d..6ebf6de 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ $(PKGNAME)_$(VERSION)-1_$(ARCH).deb: $(PKGNAME)-$(VERSION)/debian/changelog # this rule # $(PKGNAME)-$(VERSION)/debian/changelog: $(PKGNAME)_$(VERSION).orig.tar.bz2 $(wildcard debian/*) - rm -f $(PKGNAME)-$(VERSION) + rm -rf $(PKGNAME)-$(VERSION) tar xf $(PKGNAME)_$(VERSION).orig.tar.bz2 cp -r debian $(PKGNAME)-$(VERSION)/debian cd $(PKGNAME)-$(VERSION); dch -v $(VERSION)-1 "Build for $(ARCH)" diff --git a/debian/copyright b/debian/copyright index 1b7c52d..9a420db 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,20 +1,13 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: libengine-gost-openssl1.1 -Source: +Upstream-Name: gost-engine +Source: https://github.com/gost-engine/engine Files: * -Copyright: - -License: - - - . - +Copyright: 2008-2017 Cryptocom Ltd +License: OpenSSL License -# If you want to use GPL v2 or later for the /debian/* files use -# the following clauses, or change it to suit. Delete these two lines Files: debian/* -Copyright: 2017 Victor Wagner +Copyright: 2017 Victor Wagner License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,7 +25,3 @@ License: GPL-2+ On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. -# Please avoid to pick license terms that are more restrictive than the -# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/gostsum.dirs b/debian/gostsum.dirs index e69de29..1317f86 100644 --- a/debian/gostsum.dirs +++ b/debian/gostsum.dirs @@ -0,0 +1,2 @@ +/usr/bin +/usr/share/man/man1 diff --git a/debian/rules b/debian/rules index 9382c16..78328e3 100755 --- a/debian/rules +++ b/debian/rules @@ -29,11 +29,18 @@ OPENSSL_ENGINE_DIR=$(shell openssl version -e |sed -e 's/^[^.]*"//' -e 's/".*$$/ override_dh_install: install -d -m 755 $(CURDIR)/debian/libengine-gost-openssl1.1/$(OPENSSL_ENGINE_DIR) install -d -m 755 $(CURDIR)/debian/gostsum/usr/bin + install -d -m 755 $(CURDIR)/debian/gostsum/usr/share/man/man1 install -m 755 bin/gost.so $(CURDIR)/debian/libengine-gost-openssl1.1/$(OPENSSL_ENGINE_DIR) install -m 755 bin/gostsum $(CURDIR)/debian/gostsum/usr/bin install -m 755 bin/gost12sum $(CURDIR)/debian/gostsum/usr/bin + install -m 644 gostsum.1 $(CURDIR)/debian/gostsum/usr/share/man/man1 + install -m 644 gost12sum.1 $(CURDIR)/debian/gostsum/usr/share/man/man1 #verride_dh_clean: # rm -rf bin debian/debhelper-build-stamp +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. -- 2.39.5