mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
net/serveez: Update version 0.2.2=>0.3.1
- Adopt port - Switch to Guile 2
This commit is contained in:
parent
70bbc343c3
commit
10d82819dc
@ -1,36 +1,31 @@
|
||||
PORTNAME= serveez
|
||||
PORTVERSION= 0.2.2
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 0.3.1
|
||||
CATEGORIES= net devel
|
||||
MASTER_SITES= GNU
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Server framework
|
||||
WWW= https://www.gnu.org/software/serveez/
|
||||
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_FreeBSD_13= ld: error: duplicate symbol: guile_global_error
|
||||
BROKEN_FreeBSD_14= ld: error: duplicate symbol: guile_global_error
|
||||
|
||||
USES= cpe guile:1.8 tar:xz libtool
|
||||
USES= cpe guile:2.2 libtool pkgconfig tar:lz
|
||||
CPE_VENDOR= gnu
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-libserveez-install
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
INFO= serveez
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^SUBDIRS/s|test||' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/date -r/s|^|#|' ${WRKSRC}/src/irc-server/Makefile.in
|
||||
@${ECHO_CMD} 'static char created[] = "2013-12-02 09:17 UTC";' \
|
||||
@${ECHO_CMD} 'static char created[] = "2021-11-15 13:19 UTC";' \
|
||||
> ${WRKSRC}/src/irc-server/timestamp.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (serveez-0.2.2.tar.xz) = 4c77feabc00b9d68d9c2a7296d076536093feea76d9f47770c475f610e944525
|
||||
SIZE (serveez-0.2.2.tar.xz) = 831824
|
||||
TIMESTAMP = 1697884594
|
||||
SHA256 (serveez-0.3.1.tar.lz) = 9d2a3eb8fd2f773d2e86bf2285bab9c3e1e710a14d841bf71a754c1dc85d087b
|
||||
SIZE (serveez-0.3.1.tar.lz) = 861402
|
||||
|
75
net/serveez/files/patch-src_irc-server_Makefile.in
Normal file
75
net/serveez/files/patch-src_irc-server_Makefile.in
Normal file
@ -0,0 +1,75 @@
|
||||
--- src/irc-server/Makefile.in.orig 2023-10-21 11:24:01 UTC
|
||||
+++ src/irc-server/Makefile.in
|
||||
@@ -150,7 +150,7 @@ ARFLAGS = cru
|
||||
AM_V_AR = $(am__v_AR_@AM_V@)
|
||||
am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
|
||||
am__v_AR_0 = @echo " AR " $@;
|
||||
-am__v_AR_1 =
|
||||
+am__v_AR_1 =
|
||||
libircserver_a_AR = $(AR) $(ARFLAGS)
|
||||
libircserver_a_LIBADD =
|
||||
am_libircserver_a_OBJECTS = irc-proto.$(OBJEXT) irc-crypt.$(OBJEXT) \
|
||||
@@ -167,11 +167,11 @@ am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
-am__v_GEN_1 =
|
||||
+am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
-am__v_at_1 =
|
||||
+am__v_at_1 =
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
|
||||
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
|
||||
am__maybe_remake_depfiles = depfiles
|
||||
@@ -187,7 +187,7 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES
|
||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||
am__v_lt_0 = --silent
|
||||
-am__v_lt_1 =
|
||||
+am__v_lt_1 =
|
||||
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
@@ -195,7 +195,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOO
|
||||
AM_V_CC = $(am__v_CC_@AM_V@)
|
||||
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
|
||||
am__v_CC_0 = @echo " CC " $@;
|
||||
-am__v_CC_1 =
|
||||
+am__v_CC_1 =
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
@@ -203,7 +203,7 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAG
|
||||
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
-am__v_CCLD_1 =
|
||||
+am__v_CCLD_1 =
|
||||
SOURCES = $(libircserver_a_SOURCES)
|
||||
DIST_SOURCES = $(libircserver_a_SOURCES)
|
||||
am__can_run_installinfo = \
|
||||
@@ -426,7 +426,7 @@ $(am__aclocal_m4_deps):
|
||||
clean-noinstLIBRARIES:
|
||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
|
||||
-libircserver.a: $(libircserver_a_OBJECTS) $(libircserver_a_DEPENDENCIES) $(EXTRA_libircserver_a_DEPENDENCIES)
|
||||
+libircserver.a: $(libircserver_a_OBJECTS) $(libircserver_a_DEPENDENCIES) $(EXTRA_libircserver_a_DEPENDENCIES)
|
||||
$(AM_V_at)-rm -f libircserver.a
|
||||
$(AM_V_AR)$(libircserver_a_AR) libircserver.a $(libircserver_a_OBJECTS) $(libircserver_a_LIBADD)
|
||||
$(AM_V_at)$(RANLIB) libircserver.a
|
||||
@@ -725,13 +725,6 @@ uninstall-am:
|
||||
# GNU date's ‘-r’ flag, which BSD date does not support.
|
||||
|
||||
timestamp.c: $(top_builddir)/config.status
|
||||
- if date --version >/dev/null 2>&1 ; then \
|
||||
- DATESTR=`date -r $< -u +'%Y-%m-%d %R UTC'` ; \
|
||||
- else \
|
||||
- MDATE=`$(top_builddir)/build-aux/mdate-sh $<` ; \
|
||||
- DATESTR=`date -jf "%d %B %Y" "$$MDATE" +'%Y-%m-%d %R UTC'` ; \
|
||||
- fi ; \
|
||||
- printf 'static char created[] = "%s";\n' "$$DATESTR" > $@
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
@ -1,5 +1,5 @@
|
||||
--- src/libserveez/defines.h.orig 2013-01-20 23:49:50.000000000 +0900
|
||||
+++ src/libserveez/defines.h 2013-02-25 14:11:54.000000000 +0900
|
||||
--- src/libserveez/defines.h.orig 2021-12-11 09:07:37 UTC
|
||||
+++ src/libserveez/defines.h
|
||||
@@ -34,6 +34,14 @@
|
||||
#include <winsock2.h>
|
||||
#endif
|
@ -1,4 +1,4 @@
|
||||
--- src/networking-headers.h.orig
|
||||
--- src/networking-headers.h.orig 2021-12-11 09:07:37 UTC
|
||||
+++ src/networking-headers.h
|
||||
@@ -25,6 +25,8 @@
|
||||
*/
|
Loading…
Reference in New Issue
Block a user