aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2026-03-03 21:51:59 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2026-03-05 14:09:47 +0000
commitdac5730f959228681b61afcc51f7a7d5d9c2ab74 (patch)
tree8fb303139516bea2f83d17da97ab8d65b65eb7c5
parentf1519962117a79ce956631f7d3896a49a9f43ba9 (diff)
sysutils/xstow: update 1.0.2 -> 1.1.1
Changelog: * https://github.com/majorkingleo/xstow/releases/tag/1.1.1 * https://github.com/majorkingleo/xstow/releases/tag/1.1.0 Major changes: * compile with modern compilers * infrastructure updates to compile with new and old compilers Port changes: * moved sourcecode to github * Makefile cleanup to please portfmt
-rw-r--r--sysutils/xstow/Makefile16
-rw-r--r--sysutils/xstow/distinfo5
-rw-r--r--sysutils/xstow/files/patch-src__leoini.h16
-rw-r--r--sysutils/xstow/files/patch-src__string_utils.h12
4 files changed, 11 insertions, 38 deletions
diff --git a/sysutils/xstow/Makefile b/sysutils/xstow/Makefile
index 89685ea78d8d..48aea0bf0a86 100644
--- a/sysutils/xstow/Makefile
+++ b/sysutils/xstow/Makefile
@@ -1,8 +1,7 @@
PORTNAME= xstow
-PORTVERSION= 1.0.2
-PORTREVISION= 1
+PORTVERSION= 1.1.1
CATEGORIES= sysutils
-MASTER_SITES= SF/${PORTNAME}/
+MASTER_SITES= https://github.com/majorkingleo/xstow/releases/download/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Enhanced replacement for GNU stow written in C++
@@ -10,7 +9,6 @@ WWW= https://xstow.sourceforge.net/
LICENSE= GPLv2
-USES= tar:bzip2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
@@ -18,11 +16,13 @@ GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS+= --enable-debug
.endif
-PLIST_FILES= bin/merge-info bin/xstow \
- share/man/man1/merge-info.1.gz share/man/man1/xstow.1.gz \
+PLIST_FILES= bin/merge-info \
+ bin/xstow \
+ share/man/man1/merge-info.1.gz \
+ share/man/man1/xstow.1.gz \
share/man/man5/xstow.ini.5.gz
-PORTDOCS= AUTHORS ChangeLog NEWS README TODO xstow.html \
- xstow.ini xstow.ini.html
+PORTDOCS= AUTHORS ChangeLog NEWS README TODO xstow.html xstow.ini \
+ xstow.ini.html
OPTIONS_DEFINE= DOCS
diff --git a/sysutils/xstow/distinfo b/sysutils/xstow/distinfo
index bfce25698b60..ab4b9e192669 100644
--- a/sysutils/xstow/distinfo
+++ b/sysutils/xstow/distinfo
@@ -1,2 +1,3 @@
-SHA256 (xstow-1.0.2.tar.bz2) = 6f041f19a5d71667f6a9436d56f5a50646b6b8c055ef5ae0813dcecb35a3c6ef
-SIZE (xstow-1.0.2.tar.bz2) = 151622
+TIMESTAMP = 1772573501
+SHA256 (xstow-1.1.1.tar.gz) = 8eef4d92d297c7c0b64d17bff46ee9ff8e413b4779b5600c97b94883c9c17f07
+SIZE (xstow-1.1.1.tar.gz) = 225191
diff --git a/sysutils/xstow/files/patch-src__leoini.h b/sysutils/xstow/files/patch-src__leoini.h
deleted file mode 100644
index cbd8ac1ce89c..000000000000
--- a/sysutils/xstow/files/patch-src__leoini.h
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/leoini.h~ 2013-06-01 22:28:45.000000000 +0300
-+++ src/leoini.h 2013-06-01 22:32:05.000000000 +0300
-@@ -260,11 +260,9 @@
-
- if( start == std::string::npos ||
- end == std::string::npos )
-- s = "";
-- else
-- s = s.substr( start+1, start-end -1 );
-+ return s2x<A>("");
-
-- return s2x<A>(s);
-+ return s2x<A>(s.substr( start+1, start-end -1 ));
- }
- } // namespace Leo
-
diff --git a/sysutils/xstow/files/patch-src__string_utils.h b/sysutils/xstow/files/patch-src__string_utils.h
deleted file mode 100644
index d63aef204026..000000000000
--- a/sysutils/xstow/files/patch-src__string_utils.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/string_utils.h~ 2013-06-01 23:10:50.000000000 +0300
-+++ src/string_utils.h 2013-06-01 22:56:43.000000000 +0300
-@@ -28,6 +28,9 @@
- # define STRSTREAM
- #endif
-
-+typedef std::vector<std::string> vec_string;
-+std::ostream& operator<<( std::ostream& out, const vec_string &v );
-+
- std::string toupper( std::string s );
- std::string strip( const std::string& str, const std::string& what = " \t\n\0" );
- bool is_int( const std::string &s );