* [gentoo-commits] repo/gentoo:master commit in: sys-apps/prctl/files/, sys-apps/prctl/
@ 2016-06-22 22:08 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2016-06-22 22:08 UTC (permalink / raw
To: gentoo-commits
commit: 5c6b402ab1dbd4c2ec912597536a2b5f4d52f43b
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 22:08:25 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 22:08:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c6b402a
sys-apps/prctl: bump up to 1.6, keyworded for x86 and amd64
Has got new mcekill knob, useful on x86/amd64 family.
Package-Manager: portage-2.3.0_rc1
sys-apps/prctl/Manifest | 1 +
sys-apps/prctl/files/prctl-1.6-no-implicits.patch | 20 +++++++++++++++
sys-apps/prctl/metadata.xml | 4 +++
sys-apps/prctl/prctl-1.6.ebuild | 30 +++++++++++++++++++++++
4 files changed, 55 insertions(+)
diff --git a/sys-apps/prctl/Manifest b/sys-apps/prctl/Manifest
index 5e43f5b..bb9b9d2 100644
--- a/sys-apps/prctl/Manifest
+++ b/sys-apps/prctl/Manifest
@@ -1 +1,2 @@
DIST prctl-1.5.tar.gz 17507 SHA256 b3fed2cec8721518179355d1a443c4be58f73ea224aa4c0cc4ba30ec87479687 SHA512 60463a80fcadec9f2c6fbb0e179391affb594a15f116bc0c6dba350251b6fab1eb7bfca5753e0765cb27b723b76a86cbe19bdaa3ef50d4fee6696ed861e0bb96 WHIRLPOOL e494535cbb7aa2a2bf25dc461231b297dc98c24b87ab50fd6db74da63be9263bc64c07491a8e6c9434f2506022c0f1c7cc0bd2aab31ffa77a5f66589361b6c40
+DIST prctl-1.6.tar.gz 18876 SHA256 62cf7b519774dd5b655c9718fc9b16cc5f9feff199c6cd81f563c4da09fc8727 SHA512 c5b70abbb76f76f4a4c53cebcbd34fa4e87d7db2278a2ea17128da30dea958cc4e4d75b641cb3b9fbd8fa56fee482e97dbae5e61c697e80ef4d13f4b6d28cfda WHIRLPOOL 3fe30b105dc5561bfb34be15dcf42073f116ff3f59131d4a4a4792ad53e32b7950dca684ba4e64c353426a673db1b8467fe703db6d6d70673e49f78852fe4dcb
diff --git a/sys-apps/prctl/files/prctl-1.6-no-implicits.patch b/sys-apps/prctl/files/prctl-1.6-no-implicits.patch
new file mode 100644
index 0000000..2bbf9ab
--- /dev/null
+++ b/sys-apps/prctl/files/prctl-1.6-no-implicits.patch
@@ -0,0 +1,20 @@
+diff --git a/prctl.c b/prctl.c
+index 2dcda79..01c542f 100644
+--- a/prctl.c
++++ b/prctl.c
+@@ -27,3 +27,4 @@
+ #include <pwd.h>
+-#include <linux/prctl.h>
++#include <linux/prctl.h> /* prctl constants */
++#include <sys/prctl.h> /* prctl() proto */
+ #include <string.h>
+@@ -50,3 +51,3 @@ int verbose=0;
+
+-print_version(char *progname)
++void print_version(char *progname)
+ {
+@@ -55,3 +56,3 @@ print_version(char *progname)
+
+-usage(char *progname)
++void usage(char *progname)
+ {
diff --git a/sys-apps/prctl/metadata.xml b/sys-apps/prctl/metadata.xml
index 67443d0..370c638 100644
--- a/sys-apps/prctl/metadata.xml
+++ b/sys-apps/prctl/metadata.xml
@@ -5,6 +5,10 @@
<email>ia64@gentoo.org</email>
<name>Gentoo Linux IA-64 Development</name>
</maintainer>
+ <maintainer type="person">
+ <email>slyfox@gentoo.org</email>
+ <name>Sergei Trofimovich</name>
+ </maintainer>
<upstream>
<remote-id type="sourceforge">prctl</remote-id>
</upstream>
diff --git a/sys-apps/prctl/prctl-1.6.ebuild b/sys-apps/prctl/prctl-1.6.ebuild
new file mode 100644
index 0000000..f20ddd7
--- /dev/null
+++ b/sys-apps/prctl/prctl-1.6.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Tool to query and modify process behavior"
+HOMEPAGE="http://sourceforge.net/projects/prctl/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="sys-apps/groff"
+
+PATCHES=("${FILESDIR}"/${P}-no-implicits.patch)
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin prctl
+ doman prctl.1
+ dodoc ChangeLog
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/prctl/files/, sys-apps/prctl/
@ 2020-05-28 8:20 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2020-05-28 8:20 UTC (permalink / raw
To: gentoo-commits
commit: 6fac7e1d3121a0611a11f66d945e65806bbae301
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu May 28 08:20:35 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu May 28 08:20:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fac7e1d
sys-apps/prctl: drop CPP detection
While at it modernized build system up to recent automake.
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
sys-apps/prctl/files/Makefile.am | 3 +++
sys-apps/prctl/files/configure.ac | 13 ++++++++++
sys-apps/prctl/files/prctl-1.6-configure.in.patch | 20 ++++++++++++++++
sys-apps/prctl/prctl-1.6-r1.ebuild | 29 +++++++++++++++++++++++
4 files changed, 65 insertions(+)
diff --git a/sys-apps/prctl/files/Makefile.am b/sys-apps/prctl/files/Makefile.am
new file mode 100644
index 00000000000..aff321ed048
--- /dev/null
+++ b/sys-apps/prctl/files/Makefile.am
@@ -0,0 +1,3 @@
+bin_PROGRAMS = prctl
+prctl_SOURCES = prctl.c
+man_MANS = prctl.1
diff --git a/sys-apps/prctl/files/configure.ac b/sys-apps/prctl/files/configure.ac
new file mode 100644
index 00000000000..d29ea9dd274
--- /dev/null
+++ b/sys-apps/prctl/files/configure.ac
@@ -0,0 +1,13 @@
+AC_INIT([prctl], [1.6])
+AC_CONFIG_SRCDIR([prctl.c])
+AM_INIT_AUTOMAKE([foreign])
+
+AC_PROG_CC
+
+AC_HEADER_STDC
+AC_CHECK_HEADERS(unistd.h)
+
+AC_CHECK_FUNCS(strerror)
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/sys-apps/prctl/files/prctl-1.6-configure.in.patch b/sys-apps/prctl/files/prctl-1.6-configure.in.patch
new file mode 100644
index 00000000000..492733eb97e
--- /dev/null
+++ b/sys-apps/prctl/files/prctl-1.6-configure.in.patch
@@ -0,0 +1,20 @@
+Restored configure.in based on tarball's configure
+--- /dev/null
++++ b/configure.in
+@@ -0,0 +1,16 @@
++AC_INIT(prctl.c)
++
++AC_PROG_LN_S
++AC_PROG_CC
++AC_PROG_CPP
++AC_PROG_INSTALL
++
++
++AC_HEADER_STDC
++AC_CHECK_HEADERS(unistd.h)
++
++
++AC_CHECK_FUNCS(strerror)
++AC_SUBST(ASCPP)
++AC_SUBST(INSTALL)
++AC_OUTPUT(Makefile)
diff --git a/sys-apps/prctl/prctl-1.6-r1.ebuild b/sys-apps/prctl/prctl-1.6-r1.ebuild
new file mode 100644
index 00000000000..419cae89d00
--- /dev/null
+++ b/sys-apps/prctl/prctl-1.6-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Tool to query and modify process behavior"
+HOMEPAGE="https://sourceforge.net/projects/prctl/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+PATCHES=(
+ "${FILESDIR}"/${P}-no-implicits.patch
+)
+
+src_prepare() {
+ default
+
+ cp "${FILESDIR}"/{Makefile.am,configure.ac} ./ || die
+ eautoreconf
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-28 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-28 8:20 [gentoo-commits] repo/gentoo:master commit in: sys-apps/prctl/files/, sys-apps/prctl/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2016-06-22 22:08 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox