[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2025-06-22 Thread Sam James
commit: 865707cc41e46c614026f596a5a38ba008cebba2
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun 22 16:55:29 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun 22 16:57:46 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=865707cc

sys-apps/ucspi-unix: build w/ -std=gnu17

Other PRs sent to the same upstream haven't had a response so let's
just -std=gnu17 this.

Closes: https://bugs.gentoo.org/950208
Signed-off-by: Sam James  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild
index f22d4134ea79..f19eefeefaaa 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="UCSPI implementation for Unix domain sockets"
 HOMEPAGE="https://untroubled.org/ucspi-unix/";
@@ -17,6 +17,9 @@ KEYWORDS="~amd64 ~loong ~riscv ~sparc ~x86"
 DEPEND=">=dev-libs/bglibs-2.04"
 
 src_configure() {
+   # bug #950208
+   append-cflags -std=gnu17
+
echo "$(tc-getCC) ${CFLAGS} -D_GNU_SOURCE" > conf-cc || die
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2025-05-21 Thread Sam James
commit: 354a8949f5c3ea4a9efca969fe02e1369b9c7d42
Author: Filip Kobierski  pm  me>
AuthorDate: Mon May 12 16:26:29 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 21 21:43:12 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=354a8949

sys-apps/ucspi-unix: metadata: add upstream & indent

Signed-off-by: Filip Kobierski  pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/42059
Signed-off-by: Sam James  gentoo.org>

 sys-apps/ucspi-unix/metadata.xml | 21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/sys-apps/ucspi-unix/metadata.xml b/sys-apps/ucspi-unix/metadata.xml
index ea0a4ca31d9b..0032edff4b7e 100644
--- a/sys-apps/ucspi-unix/metadata.xml
+++ b/sys-apps/ucspi-unix/metadata.xml
@@ -1,12 +1,17 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-
-   base-sys...@gentoo.org
-   Gentoo Base System
-
-
-This package contains UNIX domain socket client and server programs that
-conform to UCSPI, the UNIX Client-Server Program Interface.
-
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
+   This package contains UNIX domain socket client and server 
programs that
+   conform to UCSPI, the UNIX Client-Server Program Interface.
+   
+   
+   https://github.com/bruceg/ucspi-unix/issues
+   https://untroubled.org/ucspi-unix/NEWS
+   bruceg/ucspi-unix
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2025-05-21 Thread Sam James
commit: a3fa9efeea337acc66704a8ad786e2ecba58a483
Author: Filip Kobierski  pm  me>
AuthorDate: Mon May 12 16:28:43 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 21 21:43:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fa9efe

sys-apps/ucspi-unix: bump EAPI

also
- remove "A " from DESCRIPTION
- remove empty IUSE
- remove dead block RDEPEND
- remove unneeded DOCS

Signed-off-by: Filip Kobierski  pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/42059
Closes: https://github.com/gentoo/gentoo/pull/42059
Signed-off-by: Sam James  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild | 28 
 1 file changed, 28 insertions(+)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild
new file mode 100644
index ..f22d4134ea79
--- /dev/null
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="UCSPI implementation for Unix domain sockets"
+HOMEPAGE="https://untroubled.org/ucspi-unix/";
+SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv ~sparc ~x86"
+
+# We statically link bglibs.
+DEPEND=">=dev-libs/bglibs-2.04"
+
+src_configure() {
+   echo "$(tc-getCC) ${CFLAGS} -D_GNU_SOURCE" > conf-cc || die
+   echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
+}
+
+src_install() {
+   dobin unixserver unixclient unixcat
+   doman unixserver.1 unixclient.1
+   dodoc NEWS PROTOCOL README
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2024-06-28 Thread Arthur Zamarin
commit: e568cb432973e12f933d6203a72e887823a7aaff
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun 28 13:41:21 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun 28 13:41:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e568cb43

sys-apps/ucspi-unix: unkeyword 1.0 for ppc

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
index 0f7291eb308b..12b8b9d8a389 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~loong ppc ~riscv ~sparc x86"
+KEYWORDS="amd64 ~loong ~riscv ~sparc x86"
 IUSE=""
 
 # We statically link bglibs.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2022-08-27 Thread WANG Xuerui
commit: 2362e00a405ab9db2852785fdb662484b67391a9
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Aug 28 06:27:49 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Aug 28 06:28:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2362e00a

sys-apps/ucspi-unix: keyword 1.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
index 6a03bc143d24..0f7291eb308b 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc ~riscv ~sparc x86"
+KEYWORDS="amd64 ~loong ppc ~riscv ~sparc x86"
 IUSE=""
 
 # We statically link bglibs.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2021-07-20 Thread Yixun Lan
commit: d15422ba5134785026bde4c79216029653d9580b
Author: Alex Fan  yahoo  com>
AuthorDate: Mon Jul 19 02:30:28 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jul 21 02:21:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15422ba

sys-apps/ucspi-unix: keyword 1.0 for ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
index 393abef9c3f..6a03bc143d2 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
+KEYWORDS="amd64 ppc ~riscv ~sparc x86"
 IUSE=""
 
 # We statically link bglibs.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/, sys-apps/ucspi-unix/files/

2019-10-07 Thread Michał Górny
commit: d9ff11cbbe1b2a344a2207da016703033d24a5e5
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  7 13:13:09 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  7 13:53:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ff11cb

sys-apps/ucspi-unix: Drop old (EAPI=0)

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/ucspi-unix/Manifest   |  1 -
 .../files/ucspi-unix-0.36-fix-parallel-build.patch | 19 --
 .../ucspi-unix-0.36-include-sys_socket.h.patch | 11 --
 .../ucspi-unix/files/ucspi-unix-gentoo-head.patch  | 33 --
 sys-apps/ucspi-unix/ucspi-unix-0.36-r3.ebuild  | 38 
 sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild  | 40 --
 6 files changed, 142 deletions(-)

diff --git a/sys-apps/ucspi-unix/Manifest b/sys-apps/ucspi-unix/Manifest
index 074cc8a27ce..2041b6bd1c8 100644
--- a/sys-apps/ucspi-unix/Manifest
+++ b/sys-apps/ucspi-unix/Manifest
@@ -1,2 +1 @@
-DIST ucspi-unix-0.36.tar.gz 14175 BLAKE2B 
609de0e75825ee458823bd34b41ad1d2072851cd006f6fd603c5082c69b48bc7018242a4b6bf7d2584bf43d79273f223352a3af4868575ee8574c9fc9ba4d819
 SHA512 
56fc5145315ff43629f455996874d6434ebee16e9fccf78ce3dcdd6312daafc508e2dce0984ca9ea73b9ff0da5d2171fc678c8e200641e1c0be02e7863bc5633
 DIST ucspi-unix-1.0.tar.gz 17391 BLAKE2B 
0605c770a5e898ff9fbe9eb1a50fddbe2fcb25b37168f7b6a2fed18a632504d0f80f5f0b39b812de7d4bd6845039e143eab8706429392f7b4178bbbe59713630
 SHA512 
dc79515908e34cd3bcc8c66f360fe3f4662a5be35c9876b07c609fac0f90e0f498d306d1796ebbade902c7affceece7d18f8acd178a850e42d6d6820d53c1d11

diff --git a/sys-apps/ucspi-unix/files/ucspi-unix-0.36-fix-parallel-build.patch 
b/sys-apps/ucspi-unix/files/ucspi-unix-0.36-fix-parallel-build.patch
deleted file mode 100644
index 94fc07cb002..000
--- a/sys-apps/ucspi-unix/files/ucspi-unix-0.36-fix-parallel-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
 Makefile.orig  2010-01-14 14:42:14.0 +0100
-+++ Makefile   2010-01-14 14:42:42.0 +0100
-@@ -41,14 +41,14 @@
-   ./load insthier -linstaller
-   mv insthier installer
- 
--instcheck: load insthier.o
-+instcheck: load insthier.o installer instshow
-   ./load insthier -linstcheck
-   mv insthier instcheck
- 
- insthier.o: compile insthier.c conf_bin.c conf_man.c
-   ./compile insthier.c
- 
--instshow: load insthier.o
-+instshow: load insthier.o installer
-   ./load insthier -linstshow
-   mv insthier instshow
- 

diff --git 
a/sys-apps/ucspi-unix/files/ucspi-unix-0.36-include-sys_socket.h.patch 
b/sys-apps/ucspi-unix/files/ucspi-unix-0.36-include-sys_socket.h.patch
deleted file mode 100644
index 0d96450911c..000
--- a/sys-apps/ucspi-unix/files/ucspi-unix-0.36-include-sys_socket.h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur ucspi-unix-0.36.orig/env.c ucspi-unix-0.36/env.c
 ucspi-unix-0.36.orig/env.c 2002-06-10 23:12:06.0 +0200
-+++ ucspi-unix-0.36/env.c  2008-11-06 16:31:09.0 +0100
-@@ -2,6 +2,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- extern const char* utoa(unsigned long);
- 

diff --git a/sys-apps/ucspi-unix/files/ucspi-unix-gentoo-head.patch 
b/sys-apps/ucspi-unix/files/ucspi-unix-gentoo-head.patch
deleted file mode 100644
index fa360e53c1f..000
--- a/sys-apps/ucspi-unix/files/ucspi-unix-gentoo-head.patch
+++ /dev/null
@@ -1,33 +0,0 @@
 ucspi-unix-0.36/Makefile.orig  2003-12-26 18:50:34.0 -0500
-+++ ucspi-unix-0.36/Makefile   2003-12-26 18:50:56.0 -0500
-@@ -18,18 +18,18 @@
-   ( echo '#!/bin/sh'; \
- echo 'source=$$1; shift'; \
- echo 'base=`echo "$$source" | sed -e s:.c$$::`'; \
--echo exec `head -1 conf-cc` '-I. -o $${base}.o -c $$source 
$${1+"$$@"}'; \
-+echo exec `head -n 1 conf-cc` '-I. -o $${base}.o -c $$source 
$${1+"$$@"}'; \
-   ) >compile
-   chmod 755 compile
- 
- conf_bin.c: conf-bin
--  head -1 conf-bin | \
-+  head -n 1 conf-bin | \
- sed -e 's/"/\\"/g' \
- -e 's/^/const char conf_bin[] = "/' \
- -e 's/$$/";/' >conf_bin.c
- 
- conf_man.c: conf-man
--  head -1 conf-man | \
-+  head -n 1 conf-man | \
- sed -e 's/"/\\"/g' \
- -e 's/^/const char conf_man[] = "/' \
- -e 's/$$/";/' >conf_man.c
-@@ -55,7 +55,7 @@
- load: conf-ld
-   ( echo '#!/bin/sh';\
- echo 'main="$$1"; shift';\
--echo exec `head -1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' 
-lsysdeps;\
-+echo exec `head -n 1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' 
-lsysdeps;\
-   ) >load
-   chmod 755 load
- 

diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.36-r3.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-0.36-r3.ebuild
deleted file mode 100644
index 1a88589733b..000
--- a/sys-apps/ucspi-unix/ucspi-unix-0.36-r3.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2019-10-07 Thread Agostino Sarubbo
commit: 7d5c5686f65868e834b63dd0c00548e9cc03ee42
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  7 09:46:11 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  7 09:47:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5c5686

sys-apps/ucspi-unix: ppc stable wrt bug #696352

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
index 97d04efb650..393abef9c3f 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc x86"
+KEYWORDS="amd64 ppc ~sparc x86"
 IUSE=""
 
 # We statically link bglibs.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2019-10-07 Thread Agostino Sarubbo
commit: d2811097288aa78ccd9cdaead0d2084f097eb9ab
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  7 08:40:24 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  7 08:40:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2811097

sys-apps/ucspi-unix: amd64 stable wrt bug #696352

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
index 80b1c1808b2..97d04efb650 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc x86"
+KEYWORDS="amd64 ~ppc ~sparc x86"
 IUSE=""
 
 # We statically link bglibs.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2019-10-06 Thread Thomas Deutschmann
commit: b621126dbd39b94d54ab735ede6a77f9abfe38ed
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct  6 21:07:24 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct  6 21:18:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b621126d

sys-apps/ucspi-unix: x86 stable (bug #696352)

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
index dd48c88398c..80b1c1808b2 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~sparc x86"
 IUSE=""
 
 # We statically link bglibs.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/, profiles/

2019-05-22 Thread Lars Wendler
commit: 9da8cfa6b2bfad2636acbb51cedaf5ce2eef89d3
Author: Stefan Strogin  gentoo  org>
AuthorDate: Wed May 22 10:10:13 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu May 23 05:31:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da8cfa6

sys-apps/ucspi-unix: bump version to 1.0

Temporarily mask it since it depends on masked >=dev-libs/bglibs-2.04.

Closes: https://bugs.gentoo.org/678926
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Stefan Strogin  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/12080
Signed-off-by: Lars Wendler  gentoo.org>

 profiles/package.mask |  1 +
 sys-apps/ucspi-unix/Manifest  |  1 +
 sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild | 31 +++
 3 files changed, 33 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 5d7f2078fd8..8c7701e8fc7 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -32,6 +32,7 @@
 # Stefan Strogin  (22 May 2019)
 # Depends on >=dev-libs/bglibs-2.04. Bug #678928.
 >=sys-apps/ucspi-proxy-1.1
+>=sys-apps/ucspi-unix-1.0
 
 # Jonas Stein  (22 May 2019)
 # Masked for removal after 2019-06-23. (bug #686260)

diff --git a/sys-apps/ucspi-unix/Manifest b/sys-apps/ucspi-unix/Manifest
index cd6441e797d..074cc8a27ce 100644
--- a/sys-apps/ucspi-unix/Manifest
+++ b/sys-apps/ucspi-unix/Manifest
@@ -1 +1,2 @@
 DIST ucspi-unix-0.36.tar.gz 14175 BLAKE2B 
609de0e75825ee458823bd34b41ad1d2072851cd006f6fd603c5082c69b48bc7018242a4b6bf7d2584bf43d79273f223352a3af4868575ee8574c9fc9ba4d819
 SHA512 
56fc5145315ff43629f455996874d6434ebee16e9fccf78ce3dcdd6312daafc508e2dce0984ca9ea73b9ff0da5d2171fc678c8e200641e1c0be02e7863bc5633
+DIST ucspi-unix-1.0.tar.gz 17391 BLAKE2B 
0605c770a5e898ff9fbe9eb1a50fddbe2fcb25b37168f7b6a2fed18a632504d0f80f5f0b39b812de7d4bd6845039e143eab8706429392f7b4178bbbe59713630
 SHA512 
dc79515908e34cd3bcc8c66f360fe3f4662a5be35c9876b07c609fac0f90e0f498d306d1796ebbade902c7affceece7d18f8acd178a850e42d6d6820d53c1d11

diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
new file mode 100644
index 000..dd48c88398c
--- /dev/null
+++ b/sys-apps/ucspi-unix/ucspi-unix-1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A UCSPI implementation for Unix domain sockets"
+HOMEPAGE="https://untroubled.org/ucspi-unix/";
+SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+# We statically link bglibs.
+DEPEND=">=dev-libs/bglibs-2.04"
+# Block other unixcat installers. #480546
+RDEPEND="!net-analyzer/mk-livestatus"
+
+src_configure() {
+   echo "$(tc-getCC) ${CFLAGS} -D_GNU_SOURCE" > conf-cc || die
+   echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
+}
+
+src_install() {
+   dobin unixserver unixclient unixcat
+   doman unixserver.1 unixclient.1
+   dodoc ANNOUNCEMENT ChangeLog NEWS PROTOCOL README TODO
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2016-02-12 Thread Mike Frysinger
commit: 12fed7053a93f9249b89debd299289938194a156
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Feb 12 20:32:58 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Feb 12 20:37:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12fed705

sys-apps/ucspi-unix: leverage SYSROOT for cross-compiling

 sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
index 7962db5..2555e1a 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
@@ -27,8 +27,8 @@ src_configure() {
local has_peercred
use kernel_linux && has_peercred="-DHASPEERCRED=1"
 
-   echo "$(tc-getCC) ${CPPFLAGS} ${CFLAGS} -I/usr/include/bglibs 
${has_peercred} -D_GNU_SOURCE" > conf-cc
-   echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -L/usr/$(get_libdir)/bglibs" > 
conf-ld
+   echo "$(tc-getCC) ${CPPFLAGS} ${CFLAGS} -I${SYSROOT}/usr/include/bglibs 
${has_peercred} -D_GNU_SOURCE" > conf-cc
+   echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} 
-L${SYSROOT}/usr/$(get_libdir)/bglibs" > conf-ld
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2016-02-12 Thread Mike Frysinger
commit: cd22983691f12c91237ab65b48b52f5d0850cdcd
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Feb 12 20:36:57 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Feb 12 20:37:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd229836

sys-apps/ucspi-unix: block mk-livestatus over unixcat collision #480546

 sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
index efffd41..f25f1e4 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
@@ -17,6 +17,8 @@ IUSE=""
 
 # We statically link bglibs.
 DEPEND=">=dev-libs/bglibs-1.106"
+# Block other unixcat installers. #480546
+RDEPEND="!net-analyzer/mk-livestatus"
 
 src_prepare() {
epatch "${FILESDIR}"/${PN}-gentoo-head.patch



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2016-02-12 Thread Mike Frysinger
commit: 808831653eca0c123b1a09c7940676ec2dc4030f
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Feb 12 20:34:29 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Feb 12 20:37:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80883165

sys-apps/ucspi-unix: update to EAPI=5

 sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
index 2555e1a..efffd41 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI="5"
 
 inherit eutils toolchain-funcs multilib
 
@@ -15,6 +15,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
 IUSE=""
 
+# We statically link bglibs.
 DEPEND=">=dev-libs/bglibs-1.106"
 
 src_prepare() {
@@ -32,7 +33,7 @@ src_configure() {
 }
 
 src_install() {
-   dobin unixserver unixclient unixcat || die
+   dobin unixserver unixclient unixcat
doman unixserver.1 unixclient.1
dodoc ANNOUNCEMENT NEWS PROTOCOL README TODO
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/ucspi-unix/

2016-02-12 Thread Mike Frysinger
commit: 23c414767bfd7ff2dcfb5e70df63b82aad499a5c
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Feb 12 20:30:56 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Feb 12 20:37:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c41476

sys-apps/ucspi-unix: respect user CPPFLAGS settings

Also pass CFLAGS during link to simplify people's usage.

 sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild 
b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
index 58359b6..7962db5 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
@@ -27,8 +27,8 @@ src_configure() {
local has_peercred
use kernel_linux && has_peercred="-DHASPEERCRED=1"
 
-   echo "$(tc-getCC) ${CFLAGS} -I/usr/include/bglibs ${has_peercred} 
-D_GNU_SOURCE" > conf-cc
-   echo "$(tc-getCC) ${LDFLAGS} -L/usr/$(get_libdir)/bglibs" > conf-ld
+   echo "$(tc-getCC) ${CPPFLAGS} ${CFLAGS} -I/usr/include/bglibs 
${has_peercred} -D_GNU_SOURCE" > conf-cc
+   echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -L/usr/$(get_libdir)/bglibs" > 
conf-ld
 }
 
 src_install() {