From a435ce1bf0f15099b159dcd538a28459858a6531 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 15 Jan 2018 09:43:36 -0200 Subject: [PATCH] New package: bsdunzip-20160115. Closes: #10836 [via git-merge-pr] --- srcpkgs/bsdunzip/patches/add-license.patch | 38 ++++++++++++++++++++++ srcpkgs/bsdunzip/template | 16 +++++++++ 2 files changed, 54 insertions(+) create mode 100644 srcpkgs/bsdunzip/patches/add-license.patch create mode 100644 srcpkgs/bsdunzip/template diff --git a/srcpkgs/bsdunzip/patches/add-license.patch b/srcpkgs/bsdunzip/patches/add-license.patch new file mode 100644 index 00000000000..c235b57181c --- /dev/null +++ b/srcpkgs/bsdunzip/patches/add-license.patch @@ -0,0 +1,38 @@ +From e8ce52e84c17944c8ee38786d2c401006f4962c7 Mon Sep 17 00:00:00 2001 +From: Kylie McClain +Date: Sun, 10 Jul 2016 22:32:16 -0400 +Subject: [PATCH] Add LICENSE (closes #1) + +--- + LICENSE | 24 ++++++++++++++++++++++++ + 1 file changed, 24 insertions(+) + create mode 100644 LICENSE + +--- /dev/null ++++ LICENSE +@@ -0,0 +1,24 @@ ++This license file only applies to the Makefile and README.md within the root ++of this repository. I claim no copyright on `/usr.bin/unzip`, or any files ++within it. The changes are likely too small to warrant a copyright claim. ++ ++All files in `/usr.bin/unzip` are under a two-clause BSD license as of last ++sync from upstream. ++ ++`Makefile` and `README.md` are licensed under the ISC license, which is ++reproduced here: ++ ++Copyright (c) 2015-2016 Kylie McClain ++ ++Permission to use, copy, modify, and/or distribute this software for any ++purpose with or without fee is hereby granted, provided that the above ++copyright notice and this permission notice appear in all copies. ++ ++THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES ++WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF ++MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ++ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ++WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ++ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR ++IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ++ + diff --git a/srcpkgs/bsdunzip/template b/srcpkgs/bsdunzip/template new file mode 100644 index 00000000000..450efc1e69e --- /dev/null +++ b/srcpkgs/bsdunzip/template @@ -0,0 +1,16 @@ +# Template file for 'bsdunzip' +pkgname=bsdunzip +version=20160115 +revision=1 +build_style=gnu-makefile +makedepends="libarchive-devel" +short_desc="Libarchive(3)-utilizing unzip implementation from FreeBSD" +maintainer="maxice8 " +license="BSD, ISC" +homepage="https://github.com/somasis/bsdunzip" +distfiles="https://github.com/somasis/bsdunzip/archive/${version}.tar.gz" +checksum=06c52c77fa518732665aa2daa73f364cd2470a5d47a83c9c79f86f207cf3ecc1 + +post_install() { + vlicense LICENSE +}