net/uhttpmock0: copy from net/uhttpmock and switch consumer

The latest uhttpmock uses devel/libsoup3 with a changed SONAME to
reflect incompatibility.
This commit is contained in:
Charlie Li 2024-12-25 17:17:28 -05:00
parent 3d1e45501d
commit fc879c7b8d
No known key found for this signature in database
GPG key ID: 678F936058415CCA
6 changed files with 71 additions and 1 deletions

View file

@ -11,7 +11,7 @@ WWW= https://live.gnome.org/libgdata
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= uhttpmock>0:net/uhttpmock
BUILD_DEPENDS= uhttpmock0>0:net/uhttpmock0
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libjson-glib-1.0.so:devel/json-glib \
libp11-kit.so:security/p11-kit \

View file

@ -1620,6 +1620,7 @@
SUBDIR += udt
SUBDIR += uget
SUBDIR += uhttpmock
SUBDIR += uhttpmock0
SUBDIR += ulxmlrpcpp
SUBDIR += unfs3
SUBDIR += unison

28
net/uhttpmock0/Makefile Normal file
View file

@ -0,0 +1,28 @@
PORTNAME= uhttpmock
PORTVERSION= 0.5.3
CATEGORIES= net gnome
MASTER_SITES= http://tecnocode.co.uk/downloads/uhttpmock/
PKGNAMESUFFIX= 0
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= HTTP web service mocking library
WWW= https://gitlab.freedesktop.org/pwithnall/uhttpmock
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup
USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz vala:build
USE_GNOME= gnomeprefix glib20 introspection:build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-Werror
INSTALL_TARGET= install-strip
PORTSCOUT= limit:^0\.5
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

3
net/uhttpmock0/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1735161740
SHA256 (gnome/uhttpmock-0.5.3.tar.xz) = 90843223c3a30bdb7f1eb3442373a03fee425af85a9df289cd687698ccff112f
SIZE (gnome/uhttpmock-0.5.3.tar.xz) = 318708

3
net/uhttpmock0/pkg-descr Normal file
View file

@ -0,0 +1,3 @@
uhttpmock is a project for mocking web service APIs which use HTTP
or HTTPS. It provides a library, libuhttpmock, which implements
recording and playback of HTTP requestresponse traces.

35
net/uhttpmock0/pkg-plist Normal file
View file

@ -0,0 +1,35 @@
include/libuhttpmock-0.0/uhttpmock/uhm-resolver.h
include/libuhttpmock-0.0/uhttpmock/uhm-server.h
include/libuhttpmock-0.0/uhttpmock/uhm-version.h
include/libuhttpmock-0.0/uhttpmock/uhm.h
lib/girepository-1.0/Uhm-0.0.typelib
lib/libuhttpmock-0.0.a
lib/libuhttpmock-0.0.so
lib/libuhttpmock-0.0.so.0
lib/libuhttpmock-0.0.so.0.2.3
libdata/pkgconfig/libuhttpmock-0.0.pc
%%PORTDOCS%%share/doc/libuhttpmock-0.0/UhmResolver.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/UhmServer.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/annotation-glossary.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/ch01.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/ch02.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/ch03.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/ch04.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/home.png
%%PORTDOCS%%share/doc/libuhttpmock-0.0/index.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/left-insensitive.png
%%PORTDOCS%%share/doc/libuhttpmock-0.0/left.png
%%PORTDOCS%%share/doc/libuhttpmock-0.0/libuhttpmock-0.0-Version-Information.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/libuhttpmock-0.0.devhelp2
%%PORTDOCS%%share/doc/libuhttpmock-0.0/pt01.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/pt02.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/pt03.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/pt04.html
%%PORTDOCS%%share/doc/libuhttpmock-0.0/right-insensitive.png
%%PORTDOCS%%share/doc/libuhttpmock-0.0/right.png
%%PORTDOCS%%share/doc/libuhttpmock-0.0/style.css
%%PORTDOCS%%share/doc/libuhttpmock-0.0/up-insensitive.png
%%PORTDOCS%%share/doc/libuhttpmock-0.0/up.png
share/gir-1.0/Uhm-0.0.gir
share/vala/vapi/libuhttpmock-0.0.deps
share/vala/vapi/libuhttpmock-0.0.vapi