git: 2546e1f94733 - main - net/sacc: update to 1.07
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Nov 2023 11:37:16 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=2546e1f9473338f1335b12acddab7f6bf471d3d1 commit 2546e1f9473338f1335b12acddab7f6bf471d3d1 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2023-11-29 08:02:33 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-11-30 11:35:58 +0000 net/sacc: update to 1.07 PR: 275412 Reported by: joonas115@gmail.com --- net/sacc/Makefile | 4 +--- net/sacc/distinfo | 6 +++--- net/sacc/files/patch-Makefile | 20 ++++++++++---------- net/sacc/files/patch-config.mk | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 16 deletions(-) diff --git a/net/sacc/Makefile b/net/sacc/Makefile index e1bf3d99b627..6e312bf3bd87 100644 --- a/net/sacc/Makefile +++ b/net/sacc/Makefile @@ -1,5 +1,5 @@ PORTNAME= sacc -PORTVERSION= 1.01 +PORTVERSION= 1.07 CATEGORIES= net MASTER_SITES= ftp://bitreich.org/releases/sacc/ @@ -12,8 +12,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= xdg-open:devel/xdg-utils -USES= tar:tgz - PLIST_FILES= bin/sacc share/man/man1/sacc.1.gz .include <bsd.port.mk> diff --git a/net/sacc/distinfo b/net/sacc/distinfo index d9234bd74872..e5e5845bce3f 100644 --- a/net/sacc/distinfo +++ b/net/sacc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1589518597 -SHA256 (sacc-1.01.tgz) = cb5784b2cd69a8a0276901b99a1093ac77fba37c6c2fb5c2935d87c4964925ba -SIZE (sacc-1.01.tgz) = 12011 +TIMESTAMP = 1701195277 +SHA256 (sacc-1.07.tar.gz) = 2dd11e647f8959bee2104ce29005dac46d0de4630fc6381321de131cb81d536c +SIZE (sacc-1.07.tar.gz) = 15850 diff --git a/net/sacc/files/patch-Makefile b/net/sacc/files/patch-Makefile index e8af43a0f3e1..6ed816528ebb 100644 --- a/net/sacc/files/patch-Makefile +++ b/net/sacc/files/patch-Makefile @@ -1,12 +1,12 @@ ---- Makefile.orig 2020-02-19 20:41:12 UTC -+++ Makefile -@@ -32,8 +32,7 @@ uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) $(DESTDIR)$(MANDIR)/$(MAN) +--- Makefile.orig 2023-11-28 19:03:10.851119000 +0200 ++++ Makefile 2023-11-28 19:03:30.393321000 +0200 +@@ -9,8 +9,7 @@ + OBJ = $(BIN:=.o) ui_$(UI).o io_$(IO).o - # Stock FLAGS --SACCCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE \ -- $(CFLAGS) -+SACCCFLAGS = $(CFLAGS) + GETVER = $$(git rev-parse --is-inside-work-tree >/dev/null 2>&1 \ +- && git describe --tags \ +- || echo $(DEFVERSION)) ++ && echo $(DEFVERSION)) + + all: $(BIN) - .c.o: - $(CC) $(SACCCFLAGS) -c $< diff --git a/net/sacc/files/patch-config.mk b/net/sacc/files/patch-config.mk new file mode 100644 index 000000000000..24e3e1fa6712 --- /dev/null +++ b/net/sacc/files/patch-config.mk @@ -0,0 +1,33 @@ +--- config.mk.orig 2023-11-28 19:03:18.907271000 +0200 ++++ config.mk 2023-11-28 19:03:52.448805000 +0200 +@@ -18,22 +18,22 @@ + + # IO type + # clr (clear) +-#IO = clr ++IO = clr + # tls (Transport Layer Security) +-IO = tls +-IOLIBS = -ltls +-IOCFLAGS = -DUSE_TLS ++#IO = tls ++#IOLIBS = -ltls ++#IOCFLAGS = -DUSE_TLS + + # OS compilation flags are used to expose the system interfaces + # Linux, OpenBSD +-OSCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE +-OSLDFLAGS = ++#OSCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE ++#OSLDFLAGS = + # NetBSD, using default pkgsrc path + #OSCFLAGS = -I/usr/pkg/include + #OSLDFLAGS = -L/usr/pkg/lib -R/usr/pkg/lib + # FreeBSD +-#OSCFLAGS = -I/usr/local/include +-#OSLDFLAGS = -L/usr/local/lib ++OSCFLAGS = -I/usr/local/include ++OSLDFLAGS = -L/usr/local/lib + + # Define NEED_ASPRINTF and/or NEED_STRCASESTR in your OS compilation flags + # if your system does not provide asprintf() or strcasestr(), respectively.