[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2024-04-15 Thread Arthur Zamarin
commit: d4d6975de3702d97fd1486e41d483c15e8a830d1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 08:45:12 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 08:45:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d6975d

dev-libs/openct: Stabilize 0.6.20-r5 arm64, #914526

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

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index c26193b88277..bcc0ae168c43 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="doc debug pcsc-lite selinux usb"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2023-09-09 Thread WANG Xuerui
commit: bb684097281d589f72c30fa3115eca23d25e7b51
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Sep 10 05:45:55 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Sep 10 05:45:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb684097

dev-libs/openct: keyword 0.6.20-r5 for ~loong

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

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index 87dc47eea993..c619ba444c4d 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="doc debug pcsc-lite selinux usb"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2023-08-05 Thread Arthur Zamarin
commit: 3b2f5794030e7cf5948be20bf4752d279ce4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug  5 11:35:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug  5 11:35:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2f5794

dev-libs/openct: Keyword 0.6.20-r5 arm64, #909781

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

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index cc15fff1ce5e..87dc47eea993 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="doc debug pcsc-lite selinux usb"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2023-07-10 Thread Jakov Smolić
commit: f48195c8792e5cb5425e12077bac5cf85c76daa6
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jul 10 16:07:16 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jul 10 16:07:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f48195c8

dev-libs/openct: Keyword 0.6.20-r5 riscv, #909781

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index c53d713b370a..cc15fff1ce5e 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="doc debug pcsc-lite selinux usb"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2023-06-28 Thread Sam James
commit: 6ee7dff167ae55bd04d0d3ea6b048fa41e0b5c92
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 28 07:25:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 28 07:36:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee7dff1

dev-libs/openct: add missing selinux policy dep

Signed-off-by: Sam James  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index b240704e94ee..c53d713b370a 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,13 +7,12 @@ inherit autotools flag-o-matic udev
 
 DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
-
 SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="doc debug pcsc-lite usb"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
+IUSE="doc debug pcsc-lite selinux usb"
 
 DEPEND="
pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
@@ -24,6 +23,7 @@ RDEPEND="
${DEPEND}
acct-group/openct
acct-user/openctd
+   selinux? ( sec-policy/selinux-openct )
 "
 BDEPEND="doc? ( app-doc/doxygen )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-07-20 Thread Conrad Kostecki
commit: efda804a2134e4ed9a17bc4cfb8ee088c8d4ef0b
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Tue Jul 20 19:12:07 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Jul 20 19:12:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efda804a

dev-libs/openct: drop old version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/openct/openct-0.6.20-r4.ebuild | 79 -
 1 file changed, 79 deletions(-)

diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild 
b/dev-libs/openct/openct-0.6.20-r4.ebuild
deleted file mode 100644
index f73005a3763..000
--- a/dev-libs/openct/openct-0.6.20-r4.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic udev user
-
-DESCRIPTION="library for accessing smart card terminals"
-HOMEPAGE="https://github.com/OpenSC/openct/wiki";
-
-SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="doc debug pcsc-lite usb"
-
-RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
-   usb? ( virtual/libusb:0 )
-   dev-libs/libltdl:0="
-DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-doc/doxygen )"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-automake.patch
-   "${FILESDIR}"/${P}-slibtool.patch
-)
-
-pkg_setup() {
-   enewgroup openct
-   enewuser openctd
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   use debug && append-cppflags -DDEBUG_IFDH
-
-   econf \
-   --localstatedir=/var \
-   --with-udev="$(get_udevdir)" \
-   --enable-non-privileged \
-   --with-daemon-user=openctd \
-   --with-daemon-groups=usb \
-   --enable-shared \
-   --disable-static \
-   $(use_enable doc) \
-   $(use_enable doc api-doc) \
-   $(use_enable pcsc-lite pcsc) \
-   $(use_with pcsc-lite bundle /usr/$(get_libdir)/readers/usb) \
-   $(use_enable usb)
-}
-
-src_install() {
-   default
-
-   find "${ED}" -name '*.la' -delete || die
-   rm -f "${ED}"/usr/$(get_libdir)/openct-ifd.* || die
-
-   udev_newrules etc/openct.udev 70-openct.rules
-
-   newinitd "${FILESDIR}"/openct.initd openct
-}
-
-pkg_postinst() {
-   elog
-   elog "You need to edit /etc/openct.conf to enable serial readers."
-   elog
-   elog "You should add \"openct\" to your default runlevel. To do so"
-   elog "type \"rc-update add openct default\"."
-   elog
-   elog "You need to be a member of the (newly created) group openct to"
-   elog "access smart card readers connected to this system. Set users'"
-   elog "groups with usermod -G.  root always has access."
-   elog
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-07-20 Thread Conrad Kostecki
commit: 90759a7a4a919d83410418d45c2e6d2a8aa9799b
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Tue Jul 20 19:10:31 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Jul 20 19:12:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90759a7a

dev-libs/openct: ppc stable #802312

Closes: https://bugs.gentoo.org/802312
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index 839e543fcf1..b240704e94e 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
 
 SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-07-17 Thread Sam James
commit: 2c66cf5557df8a9eb384faa49499622b106cded8
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 17 23:17:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 17 23:17:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c66cf55

dev-libs/openct: Stabilize 0.6.20-r5 ppc64, #802312

Signed-off-by: Sam James  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index d72b32674b2..839e543fcf1 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
 
 SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 sparc x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-07-16 Thread Sam James
commit: 38fcc5a43cda729f6450f0cca9e140af455cc4c5
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 16 21:41:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 16 21:44:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38fcc5a4

dev-libs/openct: Stabilize 0.6.20-r5 arm, #802312

Signed-off-by: Sam James  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index 328ac335722..d72b32674b2 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
 
 SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc 
x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-07-15 Thread Sam James
commit: faa1352cd902556c17c451531fb9472d5edadbc1
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 15 21:42:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 15 21:42:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa1352c

dev-libs/openct: Stabilize 0.6.20-r5 sparc, #802312

Signed-off-by: Sam James  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index c4eb1754fe8..328ac335722 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
 
 SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc 
x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-07-15 Thread Sam James
commit: 04c85dca70677d1d466b9053ce2138a732b1017f
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 15 21:36:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 15 21:38:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c85dca

dev-libs/openct: Stabilize 0.6.20-r5 amd64, #802312

Signed-off-by: Sam James  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index acf8db5cacb..c4eb1754fe8 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
 
 SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-07-15 Thread Sam James
commit: b5005cdd6eb3739bef11ea00c3d92f44c24b72ca
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 15 21:32:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 15 21:32:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5005cdd

dev-libs/openct: Stabilize 0.6.20-r5 x86, #802312

Signed-off-by: Sam James  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index 6183a18acb1..acf8db5cacb 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
 
 SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/, dev-libs/openct/files/

2021-05-05 Thread Lars Wendler
commit: 922639c43726d0ffd0c11371e554d6b817ceee60
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May  5 13:52:06 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May  5 18:51:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922639c4

dev-libs/openct: Fix for slibtool

Thanks-to: orbea  riseup.net>
Upstream: https://github.com/OpenSC/openct/commit/86abf3c
Upstream: https://github.com/OpenSC/openct/commit/f329c26
Closes: https://bugs.gentoo.org/780033
Signed-off-by: Lars Wendler  gentoo.org>

 dev-libs/openct/files/openct-0.6.20-automake.patch | 24 +++
 dev-libs/openct/files/openct-0.6.20-slibtool.patch | 34 ++
 dev-libs/openct/openct-0.6.20-r4.ebuild| 12 +++-
 dev-libs/openct/openct-0.6.20-r5.ebuild| 12 +++-
 4 files changed, 80 insertions(+), 2 deletions(-)

diff --git a/dev-libs/openct/files/openct-0.6.20-automake.patch 
b/dev-libs/openct/files/openct-0.6.20-automake.patch
new file mode 100644
index 000..451af6a8a50
--- /dev/null
+++ b/dev-libs/openct/files/openct-0.6.20-automake.patch
@@ -0,0 +1,24 @@
+From 86abf3cbddbdc590dbb2ff5b0bda263e42595b88 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev 
+Date: Wed, 10 Oct 2012 08:48:02 +
+Subject: [PATCH] build: fix issue with latest automake
+
+---
+ etc/Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/etc/Makefile.am b/etc/Makefile.am
+index ff66d4e..dc00f47 100644
+--- a/etc/Makefile.am
 b/etc/Makefile.am
+@@ -30,8 +30,8 @@ dist_noinst_DATA += openct.usermap
+ endif
+ 
+ 
+-sysconf_DATA=#required in order to create dir
+-install-exec-hook:install-sysconfDATA openct.conf
++install-exec-hook:openct.conf
++  $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
+   if [ -f "$(DESTDIR)$(sysconfdir)/openct.conf" ]; then \
+   $(INSTALL_DATA) openct.conf 
"$(DESTDIR)$(sysconfdir)/openct.conf.new"; \
+   else \

diff --git a/dev-libs/openct/files/openct-0.6.20-slibtool.patch 
b/dev-libs/openct/files/openct-0.6.20-slibtool.patch
new file mode 100644
index 000..0c0af2e1bd9
--- /dev/null
+++ b/dev-libs/openct/files/openct-0.6.20-slibtool.patch
@@ -0,0 +1,34 @@
+From f329c2663bde748d4a8fc462a1ea7bbc4ab47b36 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev 
+Date: Fri, 27 Sep 2013 23:27:24 +0300
+Subject: [PATCH] build: use newer libtool -shared option
+
+Signed-off-by: Alon Bar-Lev 
+---
+ src/ctapi/Makefile.am | 2 +-
+ src/pcsc/Makefile.am  | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/ctapi/Makefile.am b/src/ctapi/Makefile.am
+index 25627a3..c837820 100644
+--- a/src/ctapi/Makefile.am
 b/src/ctapi/Makefile.am
+@@ -8,4 +8,4 @@ libopenctapi_la_LIBADD = $(top_builddir)/src/ct/libopenct.la
+ libopenctapi_la_CFLAGS = $(AM_CFLAGS) \
+   -I$(top_srcdir)/src/include \
+   -I$(top_builddir)/src/include
+-libopenctapi_la_LDFLAGS = -avoid-version -no-undefined --module
++libopenctapi_la_LDFLAGS = -avoid-version -no-undefined -module -shared
+diff --git a/src/pcsc/Makefile.am b/src/pcsc/Makefile.am
+index 9986621..6aff8b8 100644
+--- a/src/pcsc/Makefile.am
 b/src/pcsc/Makefile.am
+@@ -5,7 +5,7 @@ lib_LTLIBRARIES = openct-ifd.la
+ endif
+ 
+ openct_ifd_la_SOURCES = pcsc.c
+-openct_ifd_la_LDFLAGS = -module -avoid-version -no-undefined
++openct_ifd_la_LDFLAGS = -module -shared -avoid-version -no-undefined
+ openct_ifd_la_LIBADD = $(PCSC_LIBS) $(top_builddir)/src/ctapi/libopenctapi.la
+ openct_ifd_la_CFLAGS = $(AM_CFLAGS) \
+   -I$(top_srcdir)/src/include \

diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild 
b/dev-libs/openct/openct-0.6.20-r4.ebuild
index 7c44328e370..f73005a3763 100644
--- a/dev-libs/openct/openct-0.6.20-r4.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit flag-o-matic udev user
+inherit autotools flag-o-matic udev user
 
 DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
@@ -21,11 +21,21 @@ RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
 DEPEND="${RDEPEND}"
 BDEPEND="doc? ( app-doc/doxygen )"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-automake.patch
+   "${FILESDIR}"/${P}-slibtool.patch
+)
+
 pkg_setup() {
enewgroup openct
enewuser openctd
 }
 
+src_prepare() {
+   default
+   eautoreconf
+}
+
 src_configure() {
use debug && append-cppflags -DDEBUG_IFDH
 

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
index 12d4c000e8c..6183a18acb1 100644
--- a/dev-libs/openct/openct-0.6.20-r5.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit flag-o-matic udev
+inherit autotools flag-o-matic udev
 
 DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
@@ -27,6 +27,16 @@ RDEPEND="
 "
 BDEPEND="doc? ( app-doc/doxygen )"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-au

[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-04-11 Thread Conrad Kostecki
commit: f0644b69eae65e47efcfd26d7f0bfdfe192ed6bd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Apr 11 19:46:25 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr 11 19:46:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0644b69

dev-libs/openct: migrate to GLEP 81

Closes: https://bugs.gentoo.org/781290
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/openct/openct-0.6.20-r5.ebuild | 70 +
 1 file changed, 70 insertions(+)

diff --git a/dev-libs/openct/openct-0.6.20-r5.ebuild 
b/dev-libs/openct/openct-0.6.20-r5.ebuild
new file mode 100644
index 000..12d4c000e8c
--- /dev/null
+++ b/dev-libs/openct/openct-0.6.20-r5.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic udev
+
+DESCRIPTION="library for accessing smart card terminals"
+HOMEPAGE="https://github.com/OpenSC/openct/wiki";
+
+SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc debug pcsc-lite usb"
+
+DEPEND="
+   pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
+   usb? ( virtual/libusb:0 )
+   dev-libs/libltdl:0=
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/openct
+   acct-user/openctd
+"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+src_configure() {
+   use debug && append-cppflags -DDEBUG_IFDH
+
+   econf \
+   --localstatedir=/var \
+   --with-udev="$(get_udevdir)" \
+   --enable-non-privileged \
+   --with-daemon-user=openctd \
+   --with-daemon-groups=usb \
+   --enable-shared \
+   --disable-static \
+   $(use_enable doc) \
+   $(use_enable doc api-doc) \
+   $(use_enable pcsc-lite pcsc) \
+   $(use_with pcsc-lite bundle /usr/$(get_libdir)/readers/usb) \
+   $(use_enable usb)
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+   rm -f "${ED}"/usr/$(get_libdir)/openct-ifd.* || die
+
+   udev_newrules etc/openct.udev 70-openct.rules
+
+   newinitd "${FILESDIR}"/openct.initd openct
+}
+
+pkg_postinst() {
+   elog
+   elog "You need to edit /etc/openct.conf to enable serial readers."
+   elog
+   elog "You should add \"openct\" to your default runlevel. To do so"
+   elog "type \"rc-update add openct default\"."
+   elog
+   elog "You need to be a member of the (newly created) group openct to"
+   elog "access smart card readers connected to this system. Set users'"
+   elog "groups with usermod -G.  root always has access."
+   elog
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2021-04-03 Thread Sam James
commit: ed6b91ce5b16625ff9d191033b6aacb8c73a308e
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr  3 22:53:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr  3 22:53:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6b91ce

dev-libs/openct: multilib--, sort USE, missing die

Signed-off-by: Sam James  gentoo.org>

 dev-libs/openct/openct-0.6.20-r4.ebuild | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild 
b/dev-libs/openct/openct-0.6.20-r4.ebuild
index a9c60e5a381..1ec25fe7b6e 100644
--- a/dev-libs/openct/openct-0.6.20-r4.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit flag-o-matic multilib udev user
+inherit flag-o-matic udev user
 
 DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
@@ -13,7 +13,7 @@ KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 
s390 sparc x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="doc pcsc-lite usb debug"
+IUSE="doc debug pcsc-lite usb"
 
 RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
usb? ( virtual/libusb:0 )
@@ -35,7 +35,8 @@ src_configure() {
--enable-non-privileged \
--with-daemon-user=openctd \
--with-daemon-groups=usb \
-   --enable-shared --disable-static \
+   --enable-shared \
+   --disable-static \
$(use_enable doc) \
$(use_enable doc api-doc) \
$(use_enable pcsc-lite pcsc) \
@@ -45,8 +46,9 @@ src_configure() {
 
 src_install() {
default
-   find "${D}" -name '*.la' -delete || die
-   rm "${D}"/usr/$(get_libdir)/openct-ifd.*
+
+   find "${ED}" -name '*.la' -delete || die
+   rm "${ED}"/usr/$(get_libdir)/openct-ifd.* || die
 
udev_newrules etc/openct.udev 70-openct.rules
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2018-09-27 Thread Alon Bar-Lev
commit: 5f0f0a567649ab5144eb4973534de27959bc0ee4
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sun Sep 23 14:50:19 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Thu Sep 27 23:51:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f0f0a56

dev-libs/openct: eapi bump

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-libs/openct/metadata.xml|  3 ---
 dev-libs/openct/openct-0.6.20-r4.ebuild | 25 -
 2 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/dev-libs/openct/metadata.xml b/dev-libs/openct/metadata.xml
index 38be29df0b1..769c5bd3d17 100644
--- a/dev-libs/openct/metadata.xml
+++ b/dev-libs/openct/metadata.xml
@@ -13,9 +13,6 @@

Add debug output to the driver library for pcsc-lite.

-   
-   Install rules for sys-fs/udev to auto-start 
openct.
-   


OpenSC/openct

diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild 
b/dev-libs/openct/openct-0.6.20-r4.ebuild
index 8f874966fbf..cb39d7698bf 100644
--- a/dev-libs/openct/openct-0.6.20-r4.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit flag-o-matic ltprune multilib udev user
+inherit flag-o-matic multilib udev user
 
 DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
@@ -13,22 +13,13 @@ KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 
s390 sh sparc x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="doc pcsc-lite usb debug +udev"
+IUSE="doc pcsc-lite usb debug"
 
-# Drop the libtool dep once libltdl goes stable.
 RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
usb? ( virtual/libusb:0 )
dev-libs/libltdl:0="
-
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
-
-# udev is not required at all at build-time as it's only a matter of
-# installing the rules; add openrc for the checkpath used in the new
-# init script
-RDEPEND="${RDEPEND}
-   udev? ( virtual/udev )
-   sys-apps/openrc"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
 
 pkg_setup() {
enewgroup openct
@@ -56,10 +47,10 @@ src_configure() {
 
 src_install() {
default
-   prune_libtool_files --all
+   find "${D}" -name '*.la' -delete || die
rm "${D}"/usr/$(get_libdir)/openct-ifd.*
 
-   use udev && udev_newrules etc/openct.udev 70-openct.rules
+   udev_newrules etc/openct.udev 70-openct.rules
 
newinitd "${FILESDIR}"/openct.initd openct
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2017-03-25 Thread Alon Bar-Lev
commit: 9fe2aa725fda87455494aec133b3ec0ce5409679
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Mar 25 17:44:24 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Mar 25 18:11:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe2aa72

dev-libs/openct: use ltprune

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/openct/openct-0.6.20-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild 
b/dev-libs/openct/openct-0.6.20-r4.ebuild
index 1729a83985b..b675d41066d 100644
--- a/dev-libs/openct/openct-0.6.20-r4.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils flag-o-matic multilib udev user
+inherit flag-o-matic ltprune multilib udev user
 
 DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";



[gentoo-commits] repo/gentoo:master commit in: dev-libs/openct/

2016-06-12 Thread Alon Bar-Lev
commit: f415fdd58e3187b3176fe484bf13457baa9d172e
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sun Jun 12 02:20:56 2016 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sun Jun 12 03:22:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f415fdd5

dev-libs/openct: cleanup

Package-Manager: portage-2.2.28

 dev-libs/openct/openct-0.6.20-r3.ebuild | 79 -
 1 file changed, 79 deletions(-)

diff --git a/dev-libs/openct/openct-0.6.20-r3.ebuild 
b/dev-libs/openct/openct-0.6.20-r3.ebuild
deleted file mode 100644
index f3b0c65..000
--- a/dev-libs/openct/openct-0.6.20-r3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils flag-o-matic multilib udev user
-
-DESCRIPTION="library for accessing smart card terminals"
-HOMEPAGE="https://github.com/OpenSC/openct/wiki";
-
-SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="doc pcsc-lite usb debug +udev"
-
-# Drop the libtool dep once libltdl goes stable.
-RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1 )
-   usb? ( virtual/libusb:0 )
-   || ( dev-libs/libltdl:0