mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
libasr, cleanup, add license file (#8294)
This commit is contained in:
@@ -22,11 +22,14 @@ COPYRIGHT="2001 Jakob Schlyter
|
|||||||
The Regents of the University of California
|
The Regents of the University of California
|
||||||
Ian F. Darwin
|
Ian F. Darwin
|
||||||
Damien Miller
|
Damien Miller
|
||||||
Eric P. Allman"
|
Eric P. Allman
|
||||||
# wanted to add ISC, but the package creation failed although the license
|
1995 Tatu Ylonen
|
||||||
# file is available in /system/data/licenses/
|
1995 Tatu Ylonen
|
||||||
LICENSE="BSD (2-clause)"
|
2003 Peter Stuge"
|
||||||
REVISION="6"
|
LICENSE="BSD (2-clause)
|
||||||
|
GNU GPL v3
|
||||||
|
LIBASR"
|
||||||
|
REVISION="7"
|
||||||
SOURCE_URI="https://github.com/OpenSMTPD/libasr/archive/libasr-$portVersion.tar.gz"
|
SOURCE_URI="https://github.com/OpenSMTPD/libasr/archive/libasr-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="4ab54264206e255fd6c2de982764bb5ce7857ec8f649ad3ee45771244593b6e1"
|
CHECKSUM_SHA256="4ab54264206e255fd6c2de982764bb5ce7857ec8f649ad3ee45771244593b6e1"
|
||||||
SOURCE_DIR="libasr-libasr-$portVersion"
|
SOURCE_DIR="libasr-libasr-$portVersion"
|
||||||
@@ -34,9 +37,12 @@ SOURCE_DIR="libasr-libasr-$portVersion"
|
|||||||
ARCHITECTURES="all"
|
ARCHITECTURES="all"
|
||||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
|
libVersion="0.0.2"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
libasr$secondaryArchSuffix = $portVersion
|
libasr$secondaryArchSuffix = $portVersion
|
||||||
lib:libasr$secondaryArchSuffix = 0.0.2 compat >= 0
|
lib:libasr$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
@@ -45,7 +51,7 @@ REQUIRES="
|
|||||||
|
|
||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
libasr${secondaryArchSuffix}_devel = $portVersion
|
libasr${secondaryArchSuffix}_devel = $portVersion
|
||||||
devel:libasr$secondaryArchSuffix = 0.0.2 compat >= 0
|
devel:libasr$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
libasr$secondaryArchSuffix == $portVersion base
|
libasr$secondaryArchSuffix == $portVersion base
|
||||||
@@ -58,7 +64,7 @@ BUILD_REQUIRES="
|
|||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
cmd:autoconf
|
cmd:autoconf
|
||||||
cmd:gcc$secondaryArchSuffix
|
cmd:gcc$secondaryArchSuffix
|
||||||
cmd:libtoolize
|
cmd:libtoolize$secondaryArchSuffix
|
||||||
cmd:make
|
cmd:make
|
||||||
"
|
"
|
||||||
|
|
||||||
@@ -66,7 +72,8 @@ BUILD()
|
|||||||
{
|
{
|
||||||
touch README NEWS AUTHORS
|
touch README NEWS AUTHORS
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
runConfigure ./configure CFLAGS="-D_BSD_SOURCE"
|
runConfigure ./configure CFLAGS="-D_BSD_SOURCE" \
|
||||||
|
--disable-static
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,5 +84,6 @@ INSTALL()
|
|||||||
rm $libDir/libasr.la
|
rm $libDir/libasr.la
|
||||||
|
|
||||||
prepareInstalledDevelLib libasr
|
prepareInstalledDevelLib libasr
|
||||||
|
|
||||||
packageEntries devel $developDir
|
packageEntries devel $developDir
|
||||||
}
|
}
|
||||||
|
|||||||
165
net-libs/libasr/licenses/LIBASR
Normal file
165
net-libs/libasr/licenses/LIBASR
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
This file is part of the libasr software.
|
||||||
|
|
||||||
|
The licences which components of this software fall under are as
|
||||||
|
follows. First, we will summarize and say that all components
|
||||||
|
are under a BSD licence, or a licence more free than that.
|
||||||
|
|
||||||
|
libasr is divided in 2 parts:
|
||||||
|
- original asr
|
||||||
|
- openbsd-compat
|
||||||
|
|
||||||
|
|
||||||
|
libasr
|
||||||
|
======
|
||||||
|
|
||||||
|
|
||||||
|
1) Almost all code is licensed under an ISC-style license, to the following
|
||||||
|
copyright holders:
|
||||||
|
|
||||||
|
Eric Faurot
|
||||||
|
Internet Software Consortium
|
||||||
|
|
||||||
|
|
||||||
|
2) last part of getrrsetbyname_async.c is covered by 2-clause BSD license
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2001 Jakob Schlyter. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
|
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||||
|
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
openbsd-compat
|
||||||
|
==============
|
||||||
|
|
||||||
|
|
||||||
|
Most of the OpenBSD compatibility layer is based on the work by Damien Miller for
|
||||||
|
Portable OpenSSH.
|
||||||
|
|
||||||
|
1) Almost all code is licensed under an ISC-style license, to the following
|
||||||
|
copyright holders:
|
||||||
|
|
||||||
|
Internet Software Consortium.
|
||||||
|
David Mazieres
|
||||||
|
Damien Miller
|
||||||
|
Markus Friedl
|
||||||
|
Todd C. Miller
|
||||||
|
Henning Brauer
|
||||||
|
Pierre-Yves Ritschard
|
||||||
|
Reyk Floeter
|
||||||
|
Theo de Raadt
|
||||||
|
Ted Unangst
|
||||||
|
Charles Longeau
|
||||||
|
|
||||||
|
* Permission to use, copy, modify, and 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.
|
||||||
|
|
||||||
|
|
||||||
|
2) Some code is under a 3-clause BSD license, from the
|
||||||
|
following copyright holders:
|
||||||
|
|
||||||
|
The Regents of the University of California.
|
||||||
|
Ian F. Darwin
|
||||||
|
Damien Miller
|
||||||
|
Eric P. Allman
|
||||||
|
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
|
3) includes.h
|
||||||
|
|
||||||
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
* All rights reserved
|
||||||
|
*
|
||||||
|
* As far as I am concerned, the code I have written for this software
|
||||||
|
* can be used freely for any purpose. Any derived versions of this
|
||||||
|
* software must be clearly marked as such, and if the derived work is
|
||||||
|
* incompatible with the protocol description in the RFC file, it must be
|
||||||
|
* called by a name other than "ssh" or "Secure Shell".
|
||||||
|
|
||||||
|
|
||||||
|
4) bootstrap (only there in the git repository)
|
||||||
|
|
||||||
|
# Copyright (c) 2002-2011 Sam Hocevar <sam@hocevar.net>
|
||||||
|
#
|
||||||
|
# This program is free software. It comes without any warranty, to
|
||||||
|
# the extent permitted by applicable law. You can redistribute it
|
||||||
|
# and/or modify it under the terms of the Do What The Fuck You Want
|
||||||
|
# To Public License, Version 2, as published by Sam Hocevar. See
|
||||||
|
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
mk
|
||||||
|
======
|
||||||
|
|
||||||
|
1) mdoc2man.awk
|
||||||
|
|
||||||
|
# Copyright (c) 2003 Peter Stuge <stuge-mdoc2man@cdy.org>
|
||||||
|
#
|
||||||
|
# Permission to use, copy, modify, and 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.
|
||||||
|
|
||||||
|
# Dramatically overhauled by Tim Kientzle. This version almost
|
||||||
|
# handles library-style pages with Fn, Ft, etc commands. Still
|
||||||
|
# a lot of problems...
|
||||||
Reference in New Issue
Block a user