summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.AURINFO9
-rw-r--r--.SRCINFO11
-rw-r--r--ChangeLog7
-rw-r--r--PKGBUILD14
4 files changed, 25 insertions, 16 deletions
diff --git a/.AURINFO b/.AURINFO
index ed49931a935..0f721adf44c 100644
--- a/.AURINFO
+++ b/.AURINFO
@@ -1,15 +1,16 @@
pkgbase = perl-linux-smaps
pkgdesc = Linux::Smaps - a Perl interface to /proc/PID/smaps
- pkgver = 0.12
- pkgrel = 2
+ pkgver = 0.13
+ pkgrel = 1
url = http://search.cpan.org/dist/Linux-Smaps/
changelog = ChangeLog
- arch = any
+ arch = i686
+ arch = x86_64
license = GPL
license = PerlArtistic
depends = perl
depends = perl-class-member
- source = http://search.cpan.org/CPAN/authors/id/O/OP/OPI/Linux-Smaps-0.12.tar.gz
+ source = http://search.cpan.org/CPAN/authors/id/O/OP/OPI/Linux-Smaps-0.13.tar.gz
options = !emptydirs
pkgname = perl-linux-smaps
diff --git a/.SRCINFO b/.SRCINFO
index 62e6aeda625..efe3c1858cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
pkgbase = perl-linux-smaps
pkgdesc = Linux::Smaps - a Perl interface to /proc/PID/smaps
- pkgver = 0.12
- pkgrel = 2
+ pkgver = 0.13
+ pkgrel = 1
url = http://search.cpan.org/dist/Linux-Smaps/
changelog = ChangeLog
- arch = any
+ arch = i686
+ arch = x86_64
license = GPL
license = PerlArtistic
depends = perl
depends = perl-class-member
options = !emptydirs
- source = http://search.cpan.org/CPAN/authors/id/O/OP/OPI/Linux-Smaps-0.12.tar.gz
- md5sums = 52a50e607f7904e0401ae7dd77ec79b7
+ source = http://search.cpan.org/CPAN/authors/id/O/OP/OPI/Linux-Smaps-0.13.tar.gz
+ md5sums = 28bbe178b1b26935c454fa8ccdd16929
pkgname = perl-linux-smaps
diff --git a/ChangeLog b/ChangeLog
index 7ec8a01af3a..4c7945c377f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
Revision history for Perl extension Linux::Smaps.
+0.13 Sun 1 Dec 20:34:43 CET 2013
+ - some kernels allow the user to open /proc/*/smaps for reading even
+ if the process is not allowed to read the content. In the latter case
+ /proc/*/smaps then appears to be empty. Linux::Smaps turns that into
+ an EACCES.
+ - drop 05.t because it's obsolete
+
0.12 Mon May 20 20:44:08 CEST 2013
- on some platforms /proc/1/smaps is readable for the ordinary user
t/04.t used to fail in this case.
diff --git a/PKGBUILD b/PKGBUILD
index 642494cec81..d2e467ad47b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,25 @@
pkgname=perl-linux-smaps
_pkgname=Linux-Smaps
-pkgver=0.12
-pkgrel=2
+pkgver=0.13
+pkgrel=1
pkgdesc='Linux::Smaps - a Perl interface to /proc/PID/smaps'
-arch=('any')
+arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_pkgname}/"
depends=('perl' 'perl-class-member')
changelog="ChangeLog"
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/O/OP/OPI/${_pkgname}-$pkgver.tar.gz)
-md5sums=('52a50e607f7904e0401ae7dd77ec79b7')
+md5sums=('28bbe178b1b26935c454fa8ccdd16929')
build() {
- cd "$srcdir/${_pkgname}-$pkgver"
+ cd $srcdir/${_pkgname}-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
- cd "$srcdir/${_pkgname}-$pkgver"
- make install DESTDIR="$pkgdir"
+ cd $srcdir/${_pkgname}-$pkgver
+ make install DESTDIR=$pkgdir
}