X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 98E7FDC74B7 for ; Fri, 6 Nov 2015 16:57:01 +0000 (UTC) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 4B53DDC4085 for ; Fri, 6 Nov 2015 16:57:01 +0000 (UTC) Received: by wicfv8 with SMTP id fv8so32579657wic.0 for ; Fri, 06 Nov 2015 08:56:58 -0800 (PST) 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=fUAE5mrr8RABvNbEVwdnMRB1GP5G/D3lCgJVwQlkh04=; b=yrpqYYZA2EkOwqUn55Ez+vAnz2QT6jEChvuCa8Q3y/SqUnXVoMGzO9nE3bEmqEGJjT ZNLrxE6egxL6ePJgyb/+zXhxWDJYhsWaZe4DCxJY/Vc4MGU/HPVoBPcAfBEQA7spFnGg zITn4Ogu1suDxjKrvflFsjLOl4dPCuS14vsRH8H7axJalBO8FBP0uzt7bFcobRDvLh1Z bu5ZwaPhsbO0iaYGBrUWxu1vXmsvZ8SlVO6wosEwqyG0pkpimxPhivx24o2tckalm0mZ RDw4DruQ0ymH/nCG8yYQITKWr9VL5q/kMp3UfOSj24XIhM7aWzjHQt2iJgKM/P3HTDRH DifA== 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=fUAE5mrr8RABvNbEVwdnMRB1GP5G/D3lCgJVwQlkh04=; b=aeuOTUTdNzWrBeYwt/0THXV7epuUpDli1oJuCNKD28DsgXoP0mV/+dqZAPcKA8CkIA g8s47Pqq/uw2FtUKFXr140DgPJKm4z903JbLk2qa24LUQFrb7qd5fBeEjrFFkBSXTIk3 a0Dt8sdSB07znFIdCXVWzClqePp1J0eNbdcjsJQHKUvkGfVgwx+Gi4tRoFCuQzT2sxEG y/nPjX9+r1V8C9Crtdo0zmGlsXgcxWDC45uCvyqE7gUgdS09K7pIPasl4RjhdNvTfQPj pnRj759Y/vyQqRgW+fW0+Zw3nfA4SqnNNjq98fI+CpmE9yoBQLMk9kFRbUWIa6+6av2m kJoA== X-Gm-Message-State: ALoCoQl4O3q1yZmaWjGuGmUQC7baj0yrbpN3vO49KrDZkaLQ7BpcaolKiY/n24/FH3yS3kPVRbIA X-Received: by 10.194.179.163 with SMTP id dh3mr17501367wjc.69.1446829018732; Fri, 06 Nov 2015 08:56:58 -0800 (PST) Received: from localhost (pD9578985.dip0.t-ipconnect.de. [217.87.137.133]) by smtp.gmail.com with ESMTPSA id jh4sm961691wjb.33.2015.11.06.08.56.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Nov 2015 08:56:58 -0800 (PST) From: Christian Kampka To: alpine-aports@lists.alpinelinux.org Cc: Christian Kampka Subject: [alpine-aports] [PATCH v2] main/sessreq: new upstream version 1.1.0 Date: Fri, 6 Nov 2015 17:56:56 +0100 Message-Id: <1446829016-28293-1-git-send-email-christian@kampka.net> X-Mailer: git-send-email 2.6.2 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/sessreg/APKBUILD | 25 +++++++++++++++++++------ main/sessreg/missing_path_wtmpx.patch | 12 ++++++++++++ 2 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 main/sessreg/missing_path_wtmpx.patch diff --git a/main/sessreg/APKBUILD b/main/sessreg/APKBUILD index 29453b0..7fb1153 100644 --- a/main/sessreg/APKBUILD +++ b/main/sessreg/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=sessreg -pkgver=1.0.5 -pkgrel=2 +pkgver=1.1.0 +pkgrel=0 pkgdesc="manage utmp/wtmp entries for non-init clients" url="http://xorg.freedesktop.org/" arch="all" @@ -9,13 +9,21 @@ license="custom" subpackages="$pkgname-doc" depends= makedepends="xproto" -source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" +source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2 +missing_path_wtmpx.patch +" _builddir="$srcdir/$pkgname-$pkgver" - prepare() { cd "$_builddir" - update_config_sub || return 1 + for i in $source; do + case $i in + patch*|*.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done } build () { @@ -33,4 +41,9 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="00e834c3cbfd990e9d7d5ddc834242df sessreg-1.0.5.tar.bz2" +md5sums="e238c89dabc566e1835e1ecb61b605b9 sessreg-1.1.0.tar.bz2 +d07d76587afb64739c876529c4f582cd missing_path_wtmpx.patch" +sha256sums="551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c sessreg-1.1.0.tar.bz2 +8d13a6ae41492cdc4afd38691f45792e8000b129f34e94cf83a30435c4686b29 missing_path_wtmpx.patch" +sha512sums="5d9010874696bbc53a6271f30c089690cb341ede992f6be0914474a03ff4468e01e6a4ce7e6a437b96751fdf0ccced52b374126e5caeac6747edecd049841116 sessreg-1.1.0.tar.bz2 +ab562bba2463d8f7ede6ed90fafdd685a33596ef47f118eefa2312f38e34d1ba18bd0c383dfe778327b126e0c80dc12045cb27d49eab09162ebacea6ab98b522 missing_path_wtmpx.patch" diff --git a/main/sessreg/missing_path_wtmpx.patch b/main/sessreg/missing_path_wtmpx.patch new file mode 100644 index 0000000..dac2124 --- /dev/null +++ b/main/sessreg/missing_path_wtmpx.patch @@ -0,0 +1,12 @@ +diff -Naur sessreg-1.0.8.orig/sessreg.h sessreg-1.0.8/sessreg.h +--- sessreg-1.0.8.orig/sessreg.h 2013-02-10 21:43:50.000000000 -0500 ++++ sessreg-1.0.8/sessreg.h 2014-06-18 10:02:17.769459663 -0400 +@@ -106,3 +106,8 @@ + #ifndef UTMPX_FILE + # define UTMPX_FILE _PATH_UTMPX + #endif ++ ++#ifndef _PATH_WTMPX ++# define _PATH_WTMPX "/var/log/wtmp" ++#endif ++ -- 2.6.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---