add libgit2{,-glib} upg librewolf help2man git cups-filters

This commit is contained in:
joborun linux 2022-04-14 00:51:42 +03:00
parent ebcc087cbf
commit d7bbe53ae8
20 changed files with 519 additions and 28 deletions

View File

@ -1,13 +1,14 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=cups-filters
pkgver=1.28.14
pkgver=1.28.15
pkgrel=01
pkgdesc="OpenPrinting CUPS Filters"
pkgdesc="OpenPrinting CUPS Filters w/o systemd"
arch=('x86_64')
url="https://wiki.linuxfoundation.org/openprinting/cups-filters"
depends=('lcms2' 'poppler' 'qpdf' 'imagemagick' 'liblouis' 'ijs' 'libcups>=2.2.6-2')
@ -59,4 +60,4 @@ package() {
license=('custom')
sha256sums=(1a2d4579c828296e0b001561bffb5ee0177a62a8043f97d3c43fd8a34c2bfde6) # cups-filters-1.28.14.tar.xz
sha256sums=(a907ec769fbb72efbfbf9b540b250a08e33b6e373a8a7c343f9840fba4d0478b) # cups-filters-1.28.15.tar.xz

View File

@ -1,7 +1,7 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=cups-filters
pkgver=1.28.14
pkgver=1.28.15
pkgrel=1
pkgdesc="OpenPrinting CUPS Filters"
arch=('x86_64')
@ -18,7 +18,7 @@ optdepends=('ghostscript: for non-PostScript printers to print with CUPS to conv
'docx2txt: to convert Microsoft OOXML text from DOCX files')
backup=(etc/cups/cups-browsed.conf)
source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz)
sha256sums=('1a2d4579c828296e0b001561bffb5ee0177a62a8043f97d3c43fd8a34c2bfde6')
sha256sums=('a907ec769fbb72efbfbf9b540b250a08e33b6e373a8a7c343f9840fba4d0478b')
build() {
cd "$pkgname"-$pkgver

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=git
pkgver=2.35.1
pkgver=2.35.2
pkgrel=01
pkgdesc='the fast distributed version control system w/o systemd'
arch=('x86_64')
@ -129,6 +129,6 @@ license=('GPL2')
validpgpkeys=('96E07AF25771955980DAD10020D04E5A713660A7') # Junio C Hamano
sha256sums=(d768528e6443f65a203036266f1ca50f9d127ba89751e32ead37117ed9191080 # git-2.35.1.tar.xz
6b630d0bc76d27a5f7b99e2d9e5fb83fb7d202054697fb682a6cb134e530a011 # git-2.35.1.tar.sign
sha256sums=(c73d0c4fa5dcebdb2ccc293900952351cc5fb89224bb133c116305f45ae600f3 # git-2.35.2.tar.xz
7eb028ed25ae08033358f998597be3c81ef6b6500cd7ec30cb189db75524e7ad # git-2.35.2.tar.sign
7630e8245526ad80f703fac9900a1328588c503ce32b37b9f8811674fcda4a45) # git-sysusers.conf

View File

@ -2,7 +2,7 @@
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=git
pkgver=2.35.1
pkgver=2.35.2
pkgrel=1
pkgdesc='the fast distributed version control system'
arch=('x86_64')
@ -30,7 +30,7 @@ source=("https://www.kernel.org/pub/software/scm/git/git-$pkgver.tar."{xz,sign}
'git-daemon@.service'
'git-daemon.socket'
'git-sysusers.conf')
sha256sums=('d768528e6443f65a203036266f1ca50f9d127ba89751e32ead37117ed9191080'
sha256sums=('c73d0c4fa5dcebdb2ccc293900952351cc5fb89224bb133c116305f45ae600f3'
'SKIP'
'14c0b67cfe116b430645c19d8c4759419657e6809dfa28f438c33a005245ad91'
'ac4c90d62c44926e6d30d18d97767efc901076d4e0283ed812a349aece72f203'

131
git/configure vendored Normal file
View File

@ -0,0 +1,131 @@
`configure' configures git 2.35.2 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/git]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-pthreads=FLAGS FLAGS is the value to pass to the compiler to enable
POSIX Threads. The default if FLAGS is not specified
is to try first -pthread and then -lpthread.
--disable-pthreads will disable threading.
--enable-jsmin=PATH PATH is the name of a JavaScript minifier or the
absolute path to one.
--enable-cssmin=PATH PATH is the name of a CSS minifier or the absolute
path to one.
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-sane-tool-path=DIR-1[:DIR-2...:DIR-n]
Directories to prepend to PATH in build system and
generated scripts
--with-lib=ARG ARG specifies alternative name for lib directory
--with-openssl use OpenSSL library (default is YES)
ARG can be prefix for openssl library and headers
--with-libpcre1 DEPRECATED
--with-libpcre synonym for --with-libpcre2
--with-libpcre2 support Perl-compatible regexes via libpcre2
(default is NO)
ARG can be also prefix for libpcre library and
headers
--with-curl support http(s):// transports (default is YES)
ARG can be also prefix for curl library and headers
--with-expat support git-push using http:// and https://
transports via WebDAV (default is YES)
ARG can be also prefix for expat library and headers
--without-iconv if your architecture doesn't properly support iconv
--with-iconv=PATH PATH is prefix for libiconv library and headers
used only if you need linking with libiconv
--with-gitconfig=VALUE Use VALUE instead of /etc/gitconfig as the global
git configuration file. If VALUE is not fully
qualified it will be interpreted as a path relative
to the computed prefix at runtime.
--with-gitattributes=VALUE
Use VALUE instead of /etc/gitattributes as the
global git attributes file. If VALUE is not fully
qualified it will be interpreted as a path relative
to the computed prefix at runtime.
--with-pager=VALUE Use VALUE as the fall-back pager instead of 'less'.
This is used by things like 'git log' when the user
does not specify a pager to use through alternate
methods. eg: /usr/bin/pager
--with-editor=VALUE Use VALUE as the fall-back editor instead of 'vi'.
This is used by things like 'git commit' when the
user does not specify a preferred editor through
other methods. eg: /usr/bin/editor
--with-shell=PATH provide PATH to shell
--with-perl=PATH provide PATH to perl
--with-python=PATH provide PATH to python
--with-zlib=PATH provide PATH to zlib
--with-tcltk use Tcl/Tk GUI (default is YES)
ARG is the full path to the Tcl/Tk interpreter.
Bare --with-tcltk will make the GUI part only if
Tcl/Tk interpreter will be found in a system.
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <git@vger.kernel.org>.

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=help2man
pkgver=1.49.1
pkgver=1.49.2
pkgrel=01
pkgdesc="Conversion tool to create man files"
arch=('x86_64')
@ -36,5 +36,5 @@ license=('GPL')
validpgpkeys=('87EA44D150D89615E39A3FEEF0DC8E00B28C5995') # Brendan O'Dea <bod@debian.org>
sha256sums=(fd99a664ec4be9a86a0dd89719989f14f367a9c079d75d0e1d71e18a7bb51b03 # help2man-1.49.1.tar.xz
0c95c3c660975132997f4d9eb3418659a9dcfb190941fdbff2fb11d93616d994) # help2man-1.49.1.tar.xz.sig
sha256sums=(9e2e0e213a7e0a36244eed6204d902b6504602a578b6ecd15268b1454deadd36 # help2man-1.49.2.tar.xz
7b355f2e83e1a14ba6d06c487437f634be7ebe57decdfe330f7bd5eadd1303d3) # help2man-1.49.2.tar.xz.sig

View File

@ -2,7 +2,7 @@
# Contributor: Paul Mattal <paul@mattal.com>
pkgname=help2man
pkgver=1.49.1
pkgver=1.49.2
pkgrel=1
pkgdesc="Conversion tool to create man files"
arch=('x86_64')
@ -10,7 +10,7 @@ url="https://www.gnu.org/software/help2man/"
license=('GPL')
depends=('perl-locale-gettext')
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha512sums=('78ea063d49aa9a115ddd7eb8b1b30eaba3d597caf357cbdddeef93b19d1e938ea0f3808dbb63b459c06870ec62f0dc4565a40be8c67720d0185dbcf26ba408df'
sha512sums=('cb8f9f923263d7160a27a7924ae559aba93d7258167888eb9e0e3e97a2014297b8d739b2bb7869acbf586354d099bd91d85f8208b901bce5ba0c5ad4b6abd6d5'
'SKIP')
validpgpkeys=('87EA44D150D89615E39A3FEEF0DC8E00B28C5995') # Brendan O'Dea <bod@debian.org>

57
libgit2-glib/PKGBUILD Normal file
View File

@ -0,0 +1,57 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libgit2-glib
pkgver=1.0.0.1
pkgrel=02
pkgdesc="GLib wrapper for libgit2"
url="https://wiki.gnome.org/Projects/Libgit2-glib"
arch=('x86_64')
depends=('glibc')
makedepends=('gobject-introspection' 'glib2' 'libgit2' 'gtk-doc' 'meson'
'python-gobject' 'vala' 'git')
_commit=391b764ac7e2915ed564f5e144cfdb1ae51fbc4e # tags/v1.0.0.1^0
source=("git+https://gitlab.gnome.org/GNOME/libgit2-glib.git#commit=$_commit")
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build -D gtk_doc=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
depends+=('libgio-2.0.so' 'libgit2.so' 'libglib-2.0.so' 'libgobject-2.0.so')
provides+=('libgit2-glib-1.0.so')
meson install -C build --destdir "$pkgdir"
# strip $pkgdir from embedded paths:
python -m compileall -d "/usr/lib" "$pkgdir/usr/lib"
python -O -m compileall -d "/usr/lib" "$pkgdir/usr/lib"
install -vDm 644 $pkgname/{AUTHORS,ChangeLog,NEWS,README} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}
#---- license gpg-key sha256sums ----
license=('LGPL2.1')
sha256sums=('SKIP')

View File

@ -0,0 +1,49 @@
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: David Runge <dvzrv@archlinux.org>
pkgname=libgit2-glib
pkgver=1.0.0.1
pkgrel=2
pkgdesc="GLib wrapper for libgit2"
url="https://wiki.gnome.org/Projects/Libgit2-glib"
license=('LGPL2.1')
arch=('x86_64')
depends=('glibc')
makedepends=('gobject-introspection' 'glib2' 'libgit2' 'gtk-doc' 'meson'
'python-gobject' 'vala' 'git')
_commit=391b764ac7e2915ed564f5e144cfdb1ae51fbc4e # tags/v1.0.0.1^0
source=("git+https://gitlab.gnome.org/GNOME/libgit2-glib.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build -D gtk_doc=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
depends+=('libgio-2.0.so' 'libgit2.so' 'libglib-2.0.so' 'libgobject-2.0.so')
provides+=('libgit2-glib-1.0.so')
meson install -C build --destdir "$pkgdir"
# strip $pkgdir from embedded paths:
python -m compileall -d "/usr/lib" "$pkgdir/usr/lib"
python -O -m compileall -d "/usr/lib" "$pkgdir/usr/lib"
install -vDm 644 $pkgname/{AUTHORS,ChangeLog,NEWS,README} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}

1
libgit2-glib/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,libgit2-glib}

7
libgit2-glib/deps Normal file
View File

@ -0,0 +1,7 @@
gobject-introspection
libgit2
gtk-doc
meson
python-gobject
vala
git

5
libgit2-glib/time Normal file
View File

@ -0,0 +1,5 @@
real 0m30.261s
user 0m36.208s
sys 0m3.874s

59
libgit2/PKGBUILD Normal file
View File

@ -0,0 +1,59 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libgit2
pkgver=1.4.3
pkgrel=01
epoch=1
pkgdesc="A linkable library for Git"
arch=(x86_64)
url="https://github.com/libgit2/libgit2"
depends=(glibc http-parser openssl pcre zlib)
makedepends=(cmake libssh2 python)
provides=(libgit2.so)
#options=(debug) ## uncomment this to have the debug pkg produced
source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
$pkgname-1.2.0-remove_http-parse_incompatible_tests.patch)
prepare() {
# remove tests that are only compatible with the (modified) vendored version
# of http-parser, but not with upstream http-parser
patch -d $pkgname-$pkgver -Np1 -i ../$pkgname-1.2.0-remove_http-parse_incompatible_tests.patch
}
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DUSE_HTTP_PARSER=system \
-DUSE_SSH=ON \
-DTHREADSAFE=ON \
-Wno-dev \
-B build \
-S $pkgname-$pkgver
make VERBOSE=1 -C build
}
check() {
make VERBOSE=1 test -C build
}
package() {
depends+=(libssh2.so)
make VERBOSE=1 DESTDIR="$pkgdir" install -C build
install -vDm 644 $pkgname-$pkgver/{AUTHORS,README.md} -t "$pkgdir/usr/share/doc/$pkgname"
}
#---- license gpg-key sha256sums ----
license=(GPL2)
sha512sums=('3dfa16c1c705b99fbda55e5e86e67703621d6f8fb62a03cfe998c834d242f33f4200fc0b6bc5d32fe5254c8b8e845259688e4bea9c2dbfc2b7df91841c335d28'
'01bf3a960b2e6d441017af363bff267bd1513915ebefda95012d7feb38f7020778ea0908664cc479da82f441a4dd2788772005006a9c19e87cfc234268dc3785')
b2sums=('9308100ede912eae9d1fa4011c67f88f225aa11a49adf845389559fcbc213f31b0f91e4a5b496d282d42ac7f843f03c4ef7236f2d200331c615013d1250f6c31'
'e725fb41c9bdfd9952693c9c47be90c10a16a78ab91f80e74c40c5510a83325575ce95674a2e21282e9c300f2bc8d430c896fa379ef744b8a8a912729fa88827')
sha256sums=(f48b961e463a9e4e7e7e58b21a0fb5a9b2a1d24d9ba4d15870a0c9b8ad965163 # libgit2-1.4.3.tar.gz
e95000dd7e2a3c56015114d0b67cf1a6d2ff382d2e2a2567dbb4731300a1deb1) # libgit2-1.2.0-remove_http-parse_incompatible_tests.patch

54
libgit2/PKGBUILD-arch Normal file
View File

@ -0,0 +1,54 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Hilton Medeiros <medeiros.hilton@gmail.com>
# Contributor: Dave Reisner <d@falconindy.com>
pkgname=libgit2
pkgver=1.4.3
pkgrel=1
epoch=1
pkgdesc="A linkable library for Git"
arch=(x86_64)
url="https://github.com/libgit2/libgit2"
license=(GPL2)
depends=(glibc http-parser openssl pcre zlib)
makedepends=(cmake libssh2 python)
provides=(libgit2.so)
options=(debug)
source=(
$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
$pkgname-1.2.0-remove_http-parse_incompatible_tests.patch
)
sha512sums=('3dfa16c1c705b99fbda55e5e86e67703621d6f8fb62a03cfe998c834d242f33f4200fc0b6bc5d32fe5254c8b8e845259688e4bea9c2dbfc2b7df91841c335d28'
'01bf3a960b2e6d441017af363bff267bd1513915ebefda95012d7feb38f7020778ea0908664cc479da82f441a4dd2788772005006a9c19e87cfc234268dc3785')
b2sums=('9308100ede912eae9d1fa4011c67f88f225aa11a49adf845389559fcbc213f31b0f91e4a5b496d282d42ac7f843f03c4ef7236f2d200331c615013d1250f6c31'
'e725fb41c9bdfd9952693c9c47be90c10a16a78ab91f80e74c40c5510a83325575ce95674a2e21282e9c300f2bc8d430c896fa379ef744b8a8a912729fa88827')
prepare() {
# remove tests that are only compatible with the (modified) vendored version
# of http-parser, but not with upstream http-parser
patch -d $pkgname-$pkgver -Np1 -i ../$pkgname-1.2.0-remove_http-parse_incompatible_tests.patch
}
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DUSE_HTTP_PARSER=system \
-DUSE_SSH=ON \
-DTHREADSAFE=ON \
-Wno-dev \
-B build \
-S $pkgname-$pkgver
make VERBOSE=1 -C build
}
check() {
make VERBOSE=1 test -C build
}
package() {
depends+=(libssh2.so)
make VERBOSE=1 DESTDIR="$pkgdir" install -C build
install -vDm 644 $pkgname-$pkgver/{AUTHORS,README.md} -t "$pkgdir/usr/share/doc/$pkgname"
}

1
libgit2/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,libgit*.gz}

3
libgit2/deps Normal file
View File

@ -0,0 +1,3 @@
http-parser
cmake
python

View File

@ -0,0 +1,117 @@
diff -ruN a/tests/network/url/parse.c b/tests/network/url/parse.c
--- a/tests/network/url/parse.c 2021-09-02 05:06:19.000000000 +0200
+++ b/tests/network/url/parse.c 2021-09-10 09:17:34.775074427 +0200
@@ -63,18 +63,6 @@
cl_assert_equal_i(git_net_url_is_default_port(&conndata), 0);
}
-void test_network_url_parse__hostname_implied_root_empty_port(void)
-{
- cl_git_pass(git_net_url_parse(&conndata, "http://example.com:"));
- cl_assert_equal_s(conndata.scheme, "http");
- cl_assert_equal_s(conndata.host, "example.com");
- cl_assert_equal_s(conndata.port, "80");
- cl_assert_equal_s(conndata.path, "/");
- cl_assert_equal_p(conndata.username, NULL);
- cl_assert_equal_p(conndata.password, NULL);
- cl_assert_equal_i(git_net_url_is_default_port(&conndata), 1);
-}
-
void test_network_url_parse__hostname_encoded_password(void)
{
cl_git_pass(git_net_url_parse(&conndata,
@@ -129,18 +117,6 @@
cl_assert_equal_i(git_net_url_is_default_port(&conndata), 0);
}
-void test_network_url_parse__hostname_empty_port(void)
-{
- cl_git_pass(git_net_url_parse(&conndata, "http://example.com:/resource"));
- cl_assert_equal_s(conndata.scheme, "http");
- cl_assert_equal_s(conndata.host, "example.com");
- cl_assert_equal_s(conndata.port, "80");
- cl_assert_equal_s(conndata.path, "/resource");
- cl_assert_equal_p(conndata.username, NULL);
- cl_assert_equal_p(conndata.password, NULL);
- cl_assert_equal_i(git_net_url_is_default_port(&conndata), 1);
-}
-
void test_network_url_parse__hostname_user_port(void)
{
/* user@hostname.tld:port/resource */
@@ -219,18 +195,6 @@
cl_assert_equal_i(git_net_url_is_default_port(&conndata), 0);
}
-void test_network_url_parse__ipv4_implied_root_empty_port(void)
-{
- cl_git_pass(git_net_url_parse(&conndata, "http://192.168.1.1:"));
- cl_assert_equal_s(conndata.scheme, "http");
- cl_assert_equal_s(conndata.host, "192.168.1.1");
- cl_assert_equal_s(conndata.port, "80");
- cl_assert_equal_s(conndata.path, "/");
- cl_assert_equal_p(conndata.username, NULL);
- cl_assert_equal_p(conndata.password, NULL);
- cl_assert_equal_i(git_net_url_is_default_port(&conndata), 1);
-}
-
void test_network_url_parse__ipv4_encoded_password(void)
{
cl_git_pass(git_net_url_parse(&conndata,
@@ -283,18 +247,6 @@
cl_assert_equal_i(git_net_url_is_default_port(&conndata), 0);
}
-void test_network_url_parse__ipv4_empty_port(void)
-{
- cl_git_pass(git_net_url_parse(&conndata, "http://192.168.1.1:/resource"));
- cl_assert_equal_s(conndata.scheme, "http");
- cl_assert_equal_s(conndata.host, "192.168.1.1");
- cl_assert_equal_s(conndata.port, "80");
- cl_assert_equal_s(conndata.path, "/resource");
- cl_assert_equal_p(conndata.username, NULL);
- cl_assert_equal_p(conndata.password, NULL);
- cl_assert_equal_i(git_net_url_is_default_port(&conndata), 1);
-}
-
void test_network_url_parse__ipv4_user_port(void)
{
cl_git_pass(git_net_url_parse(&conndata,
@@ -371,18 +323,6 @@
cl_assert_equal_i(git_net_url_is_default_port(&conndata), 0);
}
-void test_network_url_parse__ipv6_implied_root_empty_port(void)
-{
- cl_git_pass(git_net_url_parse(&conndata, "http://[fe80::dcad:beff:fe00:0001]:"));
- cl_assert_equal_s(conndata.scheme, "http");
- cl_assert_equal_s(conndata.host, "fe80::dcad:beff:fe00:0001");
- cl_assert_equal_s(conndata.port, "80");
- cl_assert_equal_s(conndata.path, "/");
- cl_assert_equal_p(conndata.username, NULL);
- cl_assert_equal_p(conndata.password, NULL);
- cl_assert_equal_i(git_net_url_is_default_port(&conndata), 1);
-}
-
void test_network_url_parse__ipv6_encoded_password(void)
{
cl_git_pass(git_net_url_parse(&conndata,
@@ -435,18 +375,6 @@
cl_assert_equal_i(git_net_url_is_default_port(&conndata), 0);
}
-void test_network_url_parse__ipv6_empty_port(void)
-{
- cl_git_pass(git_net_url_parse(&conndata, "http://[fe80::dcad:beff:fe00:0001]:/resource"));
- cl_assert_equal_s(conndata.scheme, "http");
- cl_assert_equal_s(conndata.host, "fe80::dcad:beff:fe00:0001");
- cl_assert_equal_s(conndata.port, "80");
- cl_assert_equal_s(conndata.path, "/resource");
- cl_assert_equal_p(conndata.username, NULL);
- cl_assert_equal_p(conndata.password, NULL);
- cl_assert_equal_i(git_net_url_is_default_port(&conndata), 1);
-}
-
void test_network_url_parse__ipv6_user_port(void)
{
cl_git_pass(git_net_url_parse(&conndata,

4
libgit2/time Normal file
View File

@ -0,0 +1,4 @@
real 2m44.089s
user 2m54.741s
sys 0m26.889s

View File

@ -8,20 +8,21 @@
pkgname=librewolf
provides=($pkgname-bin $pkgname)
conflicts=($pkgname-bin $pkgname)
pkgver=97.0.2
pkgrel=01
pkgver=99.0
pkgrel=02
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
arch=(x86_64)
options=(!emptydirs)
install=librewolf.install
makedepends=(zst sh)
makedepends=(zstd sh)
proj_id=12875785
url=https://gitlab.com/api/v4/projects/$proj_id/packages/generic/librewolf/$pkgver-1
source=($url/$pkgname-$pkgver-1-x86_64.pkg.tar.zst{,.sig})
source=($url/$pkgname-$pkgver-1-x86_64.pkg.tar.zst{,.sig}
librewolf.install)
package() {
depends=(gtk3 libxt startup-notification mime-types dbus-glib
ffmpeg4.4 nss ttf-liberation libpulse)
nss ttf-liberation libpulse ffmpeg)
optdepends=('libnotify: Notification integration'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, US English')
@ -37,5 +38,6 @@ license=(MPL GPL LGPL)
validpgpkeys=(031F7104E932F7BD7416E7F6D2845E1305D6E801) # <1813007-ohfp@users.noreply.gitlab.com>
sha256sums=(de9c1357ea6845e3d823009cb7e173cc81c2c6e225f4b0774d6d1de664f43041 # librewolf-97.0.2-1-x86_64.pkg.tar.zst
935d59944b8d88daefec03c32fce76e5ca9fafb89b977a272097fb926c3ad374) # librewolf-97.0.2-1-x86_64.pkg.tar.zst.sig
sha256sums=(cfe2dd962365ac9e323bba4053f1e13940e2da09a25c223d0a3738dd11d0bf38 # librewolf-99.0-1-x86_64.pkg.tar.zst
b19e7905c013a8469e57f7ab1d0a5697b596879ca72574fe9c94c0fcaa8d866f # librewolf-99.0-1-x86_64.pkg.tar.zst.sig
c3d94f33b96944e80b6fe84e36eaa9b4179ab144fe7aa58c5aa2efae0e2004b9) # librewolf.install

View File

@ -3,14 +3,14 @@
pkgname=librewolf-bin
provides=(${pkgname//-bin/""})
conflicts=(${pkgname//-bin/""})
pkgver=97.0.2
pkgrel=1
pkgver=99.0
pkgrel=2
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
arch=(x86_64 aarch64)
license=(MPL GPL LGPL)
url="https://librewolf-community.gitlab.io/"
depends=(gtk3 libxt startup-notification mime-types dbus-glib
nss ttf-font libpulse ffmpeg4.4)
nss ttf-font libpulse ffmpeg)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'pulseaudio: Audio support'
@ -30,9 +30,9 @@ _uploadpath_sig_aarch64=${_base_url}/${pkgname//-bin/""}-${pkgver}-${pkgrel}-aar
_uploadpath_sig_x86_64=${_base_url}/${pkgname//-bin/""}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst.sig
source_aarch64=("${_uploadpath_aarch64}" "${_uploadpath_sig_aarch64}")
source_x86_64=("${_uploadpath_x86_64}" "${_uploadpath_sig_x86_64}")
sha256sums_x86_64=('de9c1357ea6845e3d823009cb7e173cc81c2c6e225f4b0774d6d1de664f43041'
sha256sums_x86_64=('4792aa9ac758074173d7cd763746f34af54d1bbfc5b8557bfdb7b394500500c8'
'SKIP')
sha256sums_aarch64=('07bfa835bb7bff2f990971714d1bffb9e5ff3e239dcd0e75ef32f3302b13d25f'
sha256sums_aarch64=('fd08744adb37a7c7fd1feea7f90775fe40943fdd8b0b2ac424b49aeca6116121'
'SKIP')
package() {