initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

32
perl-socket6/LICENSE.BSD3 Normal file
View File

@@ -0,0 +1,32 @@
Copyright (C) 2000-2018 Hajimu UMEMOTO <ume@mahoroba.org>.
All rights reserved.
This module is based on perl5.005_55-v6-19990721 written by KAME
Project.
Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
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.
3. Neither the name of the project 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 PROJECT 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 PROJECT 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.

14
perl-socket6/LICENSE.ISC Normal file
View File

@@ -0,0 +1,14 @@
Copyright (C) 1996-2001 Internet Software Consortium.
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 INTERNET SOFTWARE CONSORTIUM
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
INTERNET SOFTWARE CONSORTIUM 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.

55
perl-socket6/PKGBUILD Normal file
View File

@@ -0,0 +1,55 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=perl-socket6
pkgver=0.29
_debver=0.29
_debrel=1
pkgrel=1
pkgdesc="A getaddrinfo/getnameinfo support module"
arch=('i686' 'x86_64')
url='http://search.cpan.org/dist/Socket6'
license=('Modified-BSD' 'ISC')
depends=('perl')
makedepends=('quilt')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-$pkgver.tar.gz
https://deb.debian.org/debian/pool/main/libs/libsocket6-perl/libsocket6-perl_$_debver-$_debrel.debian.tar.gz
LICENSE.BSD3
LICENSE.ISC)
sha512sums=('51d05a04563519010f515a50fb1082c4e72eb4537137ad55f117458c71ec8429a5674083bd68adcbbf2e57632a1cb1bf60693ea98364e7f96c826ff8c9655b33'
'7a673a47b1ff380c4a8f8c292000704f304e52daa4cc2d066eb69d19742ce194b7169be0d2da75c1eefefd0ffbbcebdcce0db29cefef2a1f042e21fadb6f2b04'
'daba6aae06f47ca935da7a9fb9385c5da24dfcb17772393cb55460db5e19c1c3f981599087b134410ef85cf14c67d01c9b256223a564e4621da050d8aa043044'
'46dfd9cc6642b7049c1643aca7b47b0c26af2e9018e18c946e0898c113bd952fb3148497a73403e84a7d01ab25c99ed4732ddbca64c781033d8dd02169db6876')
prepare() {
cd Socket6-$pkgver
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
# Debian patches
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
export QUILT_DIFF_ARGS='--no-timestamps'
mv "$srcdir"/debian .
quilt push -av
fi
}
build() {
cd Socket6-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Socket6-$pkgver
make test
}
package() {
cd Socket6-$pkgver
make DESTDIR="$pkgdir" install
for i in BSD3 ISC; do
install -Dm644 $srcdir/LICENSE.$i $pkgdir/usr/share/licenses/$pkgname/LICENSE.$i
done
}