X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by lists.alpinelinux.org (Postfix) with ESMTP id 89D135C41A0 for ; Sun, 10 Jul 2016 11:08:54 +0000 (GMT) Received: by mail-wm0-f65.google.com with SMTP id k123so13090541wme.2 for ; Sun, 10 Jul 2016 04:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kampka-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=PzRZHEIHjlmSc+YvDytlMXuFnPDiP9PPluZ9hzRWLqM=; b=TzSLD0JnL+LXg17IjuKVdoOvr2C9IlDbuGH6ruy1SwkvFy8SVe0BnbpjtWsN8Jitj+ VAUf9bSadSPjctfu/sCTK5TwAoyUnkoJqdoygggDh/kQTlp23nibzg3p0jg/dRzxFGWJ MrS/CisYKAfwBVm3cgKkPpgd5peJTZxRxXkHUtT1SoMZoRFCPVKzg/xO3MtLTnrvZk+W e24iEmnEk85aP5slsstrpCZpnThQQbmbxPYnBZKXam/Xi8hn892a/wfz6qBrLNDKmK8P Aauv8U3OYyJmPcPfseh6yx3bVwUSm+QkYas/O586avZK4yPx1U++dJnF7lT2AaXTUJbH hzkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PzRZHEIHjlmSc+YvDytlMXuFnPDiP9PPluZ9hzRWLqM=; b=FBSJ6BoNdCRn+1mRzJqXTJhOzs88jKz32FUCjFoyhJPnOTrVe2SwVwx8Rxw3/WLfgE ZmcuypW2wErJmks2iWoyAu/sq8/4Vo5vxYj4a/lT56DTWJIo/dfEFMZdHV2CstJtsWdS Y7qUe3+pcfmchM3M86puSj27WTHb6IJRQMMwwYvud9IZy9whTyoQ+6n8zOTwZzTmEzOp M7ES1QxkXbIQSmBpL4PIaeRPoa+ZejduH03DLJMm550u3JqctUpiL4zctRXunlSSOq3U Usfo40BRWhUuN/LloNXEUm/Mqf1pOo4Y4Kr1uquXfObg/m5cHiilHnRW7l8emkYatAb0 w+pA== X-Gm-Message-State: ALyK8tK0RACKovd8PGlRLgUuJovDfutlbdFPlyJH73O2vYpGU3fML7LZ0HNmjLLZ/ipnuQ== X-Received: by 10.28.189.9 with SMTP id n9mr10899856wmf.79.1468148933500; Sun, 10 Jul 2016 04:08:53 -0700 (PDT) Received: from localhost (p57AEC31C.dip0.t-ipconnect.de. [87.174.195.28]) by smtp.gmail.com with ESMTPSA id d192sm5940896wmd.14.2016.07.10.04.08.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Jul 2016 04:08:52 -0700 (PDT) From: Christian Kampka To: alpine-aports@lists.alpinelinux.org Cc: Christian Kampka Subject: [alpine-aports] [PATCH] main/procps: new upstream version 3.3.12 Date: Sun, 10 Jul 2016 13:08:50 +0200 Message-Id: <20160710110850.29974-1-christian@kampka.net> X-Mailer: git-send-email 2.8.3 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/procps/APKBUILD | 30 ++++++------- main/procps/fix-musl.patch | 102 --------------------------------------------- 2 files changed, 15 insertions(+), 117 deletions(-) delete mode 100644 main/procps/fix-musl.patch diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD index f1279b8..cd8c7a1 100644 --- a/main/procps/APKBUILD +++ b/main/procps/APKBUILD @@ -1,18 +1,20 @@ # Maintainer: Natanael Copa pkgname=procps -pkgver=3.3.9 -pkgrel=3 +_projname="${pkgname}-ng" +_githash="e0784ddaed30d095bb1d9a8ad6b5a23d10a212c4" +pkgver=3.3.12 +pkgrel=0 pkgdesc="Utilities for monitoring your system and processes on your system" -url="https://sourceforge.net/projects/procps-ng/" +url="https://gitlab.com/${_projname}/${pkgname}" arch="all" license="GPL LGPL" depends= -makedepends="ncurses-dev autoconf automake" +makedepends="ncurses-dev gettext-dev autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc libproc" -source="http://downloads.sourceforge.net/procps-ng/procps-ng-$pkgver.tar.xz - fix-musl.patch" +source="${pkgname}-${pkgver}.tar.gz::https://gitlab.com/${_projname}/${pkgname}/repository/archive.tar.gz?ref=v${pkgver}" + +_builddir="${srcdir}/${pkgname}-v${pkgver}-${_githash}" -_builddir="$srcdir"/procps-ng-$pkgver prepare() { cd "$_builddir" for i in $source; do @@ -20,12 +22,13 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - aclocal && autoconf && autoheader && automake --add-missing + ./autogen.sh } build() { cd "$_builddir" - ./configure \ + export LIBS="$LIBS -lintl" + ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/ \ @@ -59,9 +62,6 @@ libproc() { mv "$pkgdir"/lib "$subpkgdir"/ } -md5sums="0980646fa25e0be58f7afb6b98f79d74 procps-ng-3.3.9.tar.xz -0d01ae50c41bb5f08edc146d08111897 fix-musl.patch" -sha256sums="00f0cb0fadf968ddf605b0ef119846af07386629244d4f3da711a2cecf4e8663 procps-ng-3.3.9.tar.xz -b1563d732e9364081cefe90d220caa7405609e1c45483af767dbeda6027b2323 fix-musl.patch" -sha512sums="62c7270aa48b4346a3198f306d1cb8474f64650bfb67e8cc6c4d41923e50c31c95b3a0367a464823fb50a6137ec0c6352006292ac85b50caf730ec8ec35eb553 procps-ng-3.3.9.tar.xz -7dd9554deaf2868e43b2566f96c13d6854c50a580fc497c5c25b3893746b8feec40f0d879fc9554517e54fd96f2311dbb0c60367773e75234e0e049cf5f45ecf fix-musl.patch" +md5sums="9e7545423a204a37e9828abf01515d8f procps-3.3.12.tar.gz" +sha256sums="b1036c109f271c7c50325b11a748236f8e58aa1dbafefb30c995ff1d05b4a1a8 procps-3.3.12.tar.gz" +sha512sums="a4400b9e13f8e9ec1c527a0e9e2e5580b6d007cae0f961b2a82c2924e4922232cee7a8be77badb45d608383758476da0260460d8e0801a5e88ced7cc6b8c10cc procps-3.3.12.tar.gz" diff --git a/main/procps/fix-musl.patch b/main/procps/fix-musl.patch deleted file mode 100644 index d6924b9..0000000 --- a/main/procps/fix-musl.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index f08867c..a0150f0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -45,7 +45,7 @@ AC_PROG_RANLIB - - # Checks for header files. - AC_HEADER_MAJOR --AC_CHECK_HEADERS([arpa/inet.h fcntl.h langinfo.h libintl.h limits.h locale.h netinet/in.h stdint.h stdio_ext.h stdlib.h string.h sys/file.h sys/ioctl.h sys/param.h sys/time.h termios.h unistd.h utmp.h values.h wchar.h wctype.h]) -+AC_CHECK_HEADERS([arpa/inet.h fcntl.h langinfo.h libintl.h limits.h locale.h netinet/in.h stdint.h stdio_ext.h stdlib.h string.h sys/file.h sys/ioctl.h sys/param.h sys/time.h termios.h unistd.h utmp.h values.h wchar.h wctype.h error.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_CHECK_HEADER_STDBOOL -@@ -235,7 +235,9 @@ if test "x$enable_numa" = xno; then - else - AC_SEARCH_LIBS([dlopen], [dl], [], - [AC_MSG_ERROR([dynamic linking unavailable, circumvent with --disable-numa])]) -- DL_LIB="$ac_cv_search_dlopen" -+ if test "x$ac_cv_search_dlopen" != "xnone required"; then -+ DL_LIB="$ac_cv_search_dlopen" -+ fi - fi - AC_SUBST([DL_LIB]) - -diff --git a/lib/nsutils.c b/lib/nsutils.c -index b97f446..a166a74 100644 ---- a/lib/nsutils.c -+++ b/lib/nsutils.c -@@ -1,5 +1,4 @@ - #include --#include - #include - #include - #include -diff --git a/ps/display.c b/ps/display.c -index c20285d..b8d8fd5 100644 ---- a/ps/display.c -+++ b/ps/display.c -@@ -25,7 +25,9 @@ - #include - #include - #include -+#ifdef HAVE_ERROR_H - #include -+#endif - - #include - #include -@@ -63,7 +65,12 @@ static void signal_handler(int signo){ - case SIGUSR2: - exit(EXIT_FAILURE); - default: -+#ifdef HAVE_ERROR_H - error_at_line(0, 0, __FILE__, __LINE__, "%s", _("please report this bug")); -+#else -+ fflush(stdout); -+ fprintf(stderr, "%s:%u: %s\n", __FILE__, __LINE__, _("please report this bug")); -+#endif - signal(signo, SIG_DFL); /* allow core file creation */ - kill(getpid(), signo); - } -diff --git a/ps/global.c b/ps/global.c -index b75f728..d4d36a8 100644 ---- a/ps/global.c -+++ b/ps/global.c -@@ -25,7 +25,9 @@ - #include - #include - #include -+#ifdef HAVE_ERROR_H - #include -+#endif - - #include - #include -@@ -522,6 +524,11 @@ catastrophic_failure(const char *filename, - unsigned int linenum, - const char *message) - { -+#ifdef HAVE_ERROR_H - error_at_line(0, 0, filename, linenum, "%s", message); -+#else -+ fflush(stdout); -+ fprintf(stderr, "%s:%u: %s\n", filename, linenum, message); -+#endif - exit(EXIT_FAILURE); - } -diff --git a/sysctl.c b/sysctl.c -index bb3e6b7..8afd487 100644 ---- a/sysctl.c -+++ b/sysctl.c -@@ -48,6 +48,10 @@ - #include "proc/procps.h" - #include "proc/version.h" - -+#ifndef GLOB_TILDE -+#define GLOB_TILDE 0 -+#endif -+ - /* - * Globals... - */ -- 2.8.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---