summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-06-05 14:57:47 +0000
committerJustin Lecher <jlec@gentoo.org>2015-06-05 14:57:47 +0000
commit641ccbb09ce1d42639e6a1df7d498363c57932ef (patch)
treefd4ff096409fd28a0c1cb7a8c179febd8b688700 /app-misc
parentAdd slot operators (diff)
downloadhistorical-641ccbb09ce1d42639e6a1df7d498363c57932ef.tar.gz
historical-641ccbb09ce1d42639e6a1df7d498363c57932ef.tar.bz2
historical-641ccbb09ce1d42639e6a1df7d498363c57932ef.zip
Bump to EAPI=5; import fedora patches, bug #521088
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xE9402A79B03529A2!
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/fsniper/ChangeLog9
-rw-r--r--app-misc/fsniper/Manifest33
-rw-r--r--app-misc/fsniper/files/fsniper-1.3.1-format-security.patch26
-rw-r--r--app-misc/fsniper/files/fsniper-1.3.1-umask.patch18
-rw-r--r--app-misc/fsniper/fsniper-1.3.1-r1.ebuild26
5 files changed, 96 insertions, 16 deletions
diff --git a/app-misc/fsniper/ChangeLog b/app-misc/fsniper/ChangeLog
index e2bc4e652723..0e18f4067b8c 100644
--- a/app-misc/fsniper/ChangeLog
+++ b/app-misc/fsniper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/fsniper
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/fsniper/ChangeLog,v 1.9 2015/06/05 14:48:12 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/fsniper/ChangeLog,v 1.10 2015/06/05 14:54:42 jlec Exp $
+
+*fsniper-1.3.1-r1 (05 Jun 2015)
+
+ 05 Jun 2015; Justin Lecher <jlec@gentoo.org>
+ +files/fsniper-1.3.1-format-security.patch, +files/fsniper-1.3.1-umask.patch,
+ +fsniper-1.3.1-r1.ebuild:
+ Bump to EAPI=5; import fedora patches, bug #521088
05 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add github to remote-id in metadata.xml
diff --git a/app-misc/fsniper/Manifest b/app-misc/fsniper/Manifest
index 48f36ea420f9..14b08387bc14 100644
--- a/app-misc/fsniper/Manifest
+++ b/app-misc/fsniper/Manifest
@@ -1,26 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
+AUX fsniper-1.3.1-format-security.patch 992 SHA256 d11bfc8a4bd9f0d5be771d5084949b07f67a7808c7bc8a6443dd037001d3a961 SHA512 1956600123b92f76b1cf94a3867e5671c08876e5d16e211141725ab81f95a0b4ea48bc9f80e3f55bb658055c43cc3b0df42870ee53301adf5db7d5310e39092b WHIRLPOOL d64000eaa2ca102afa34dd429bb7a745cd1f30b38da8e8efdadde421aa8d9e0431d4d357e8bc3461b9476179c4b7dfeba0856793e3a2fe949d0a5f9b346fe695
+AUX fsniper-1.3.1-umask.patch 663 SHA256 37a510bfb6ff48d77dcc0a29e1445966f5920ed45573a8624b0d8e876e52ab55 SHA512 8532ff2624355fb4e3057442190416b02c9c8f03629ab23def757e122e411673a1826c5a6e8495007e38258bb453fa88af516a6e6b9dd56e8fc8a6a991cf371d WHIRLPOOL 4430b3c2d938c91bd47ef44287b64c83f80d39683338b70d7de6bdef0d0dfd907880f6b023af81290214605f236fbde8811788e16e262dc0496fe6cf98afa310
DIST fsniper-1.3.1.tar.gz 282700 SHA256 e65a34221fc05eb7ececcd2fb783e3418de032f89082e09be3a8f75f6b056e6b SHA512 285b56ca239fb9c2c0319c8c5d24e368cda89d547bae25f69b528167c6fa5ebaab31f7fa178cb6b02735168043150605724ac14cc65e7347c6e49e2dc1e5ba87 WHIRLPOOL 8eb15c409baa1166e5b12fca29cc7a4b2e131d56664ef9966cf51574647eed2203386da9118cc65a678f1004e579422d4c23c155021284fec4d7e921ab3f717d
+EBUILD fsniper-1.3.1-r1.ebuild 639 SHA256 48b8e716d962a4652c7f69105f866f683b8af20f0e7e706fccfe9d2994627353 SHA512 67951a5b4bdb9ac3e066bd1eb69970ce945add77e9e10a57f824bdb68d4a39bf4287814a29757a9d20ef5c40ab462ccfcc31e07a006748d5d48dd7b6d913f377 WHIRLPOOL e061755edcf8d0a035a569d0f7cac5092c3923245e3b45532948c9a46ece0f5a9d150d83f41ef05f5311e1ccdb62fdd194e1e24a933077bb79c3f5613ad4e502
EBUILD fsniper-1.3.1.ebuild 645 SHA256 a7bb23d34439b8d60dfe082eb8ea5554946feffcd9baa0c0807d1ff111f0d012 SHA512 99582e7c6a3dd403e6dae5fb675b5075475e26c25d7c230d0b3bc9265c8592c5bc93fd8b138c5ca0eede9257fce04b4e8d81151efa69626253004c4ad86b6786 WHIRLPOOL 50a5d9758ec9d3104788b4d2afea9a6c448cf69bb0dceb1d0a4559811417a0fea46ba911bf2c7f090a12d8703bf66aa3c14c8a9184af6be2c202fb88026c2c63
-MISC ChangeLog 1187 SHA256 e468850bcbf667b4f29e8903ac2357538117d45039c390b688a3b788a223553e SHA512 042423bacf046226d0270250de9d430a633ced2e180f83c721df3a0fd6ef9fdca12ce856ae5498f11fcce39f6a54e5095faa47f53019910979193c4b7b41ac59 WHIRLPOOL 18c7ad9a6bc9105bfffaea409af53a28dd2a7b1d626a584ccb87ed7270bd683bb5405dc431caa90a1fc31221725290ee1d0a6a49f72949197f10e6f7824eb37b
+MISC ChangeLog 1430 SHA256 30c13ffcae58894d397f74b7c2f38802071846f0d486b709d317345e24481186 SHA512 d65b8a7a56397ab541ea43763f1335b8124ddb2480e98e36224394925ba21821bb4a59f7c49e15bf86a31d1e0d93141182898efbae2aa38c68fe03a2abb4e355 WHIRLPOOL f9cf6d62715852bea63a49a28f3332d5f36dde2b6d92f955912d1ff9c23363c5c157952d1260ce9aff963b6a4758ad62052b4ceda6685b3ca34dee94ccdfeabc
MISC metadata.xml 247 SHA256 5604bb1c8b63bf9697797eb254707179f616cdee523b4ee282570bc2c9a54791 SHA512 bb50e23d235d91fc11f3fd6a6ed4314412ac82a608812671295e573a723cdd94fb0920fbd90ade798c8c9192a542678015e84b53d8d5c0b89529de7182035fad WHIRLPOOL 5819a6f2b6de9f3c25e6eb77275c2c0556ce7aa6f7504e3d4d3122bfd3edab511dffebd3d6c9cc63c0f944230ee292e9f6af84a05f9c8dd2cc04d73cd6635b6c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJ8BAEBCgBmBQJVcbatXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCgBmBQJVcbg2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
-OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiXsEP/2GM4I5KW19xf59JYmmvAI3R
-5XI/diDGeUrl7utOoETydCSuKwMLyq37OWb+i4ZfqjXAdhkg07opV5qIzlC43eD2
-RPSh0f/LPdVwww4/5y6HtT+Z0G+Bx/m6mLEpla4CXpsRYMZN5UU/0V8Op1urQBo2
-WTFjOZULW7rbNyctHjbQbq9XiMg0BkketD36wukn/HNcgZn0/paPfGGTkYCmax2F
-uC3uQrDjvnLr/YdzbtERioeOAmkzwL1NST++KVQ281P86se/pDJD3tGHxVPjwwix
-58oH+UTzjaxvYLrr2FU60dZ/WTfliEjF7wCcZYp1xPvfaKzADuTYuxaQuDLeDDZ+
-0ixMjeERiQRFki5LW+Ae6vB8Sf7g/S6ot29GAZjvvb81C1hCcDWsxn54fI53uU8A
-YN38/119fZT6/CADhu/DuoDF3N3gPOnO4gCWWM0+4El8HcJHySPZjQNNpyKh0pcf
-D4m6CufmoPwcT+ms0oErR8pbLUs7PF+4+ZkKFspIUropRRGeBMFbQuWzj09LPd/w
-VyROvZeMYKMY0FxjbmAvqDMGRJO4JO7V61L4iZNaYn4OtQVaIJaK6mdsSJRMonER
-1MVgENKog+gpMw+I/raG3nqd41u7aoRmrlo09Rit0M6HaLfXMgQXfsEvi1xRSXYJ
-k+dv5x2xXGP8c0nYF30b
-=6Qh2
+OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmi4m8P/0DdeaFFbdPYkLWjpaRAHxoh
+Z8J2qZiROj/2wGnjdZG8KKk0ckKkZufBt8QAb7WqsKPAPJnX0zjuJyfaoL9FO5ti
+rXYMsJY9KvVHMsvvT0/F6c13IObFJ5yo2e/pSlJKrrLuLMzheOukURCQXcRQGLLv
+m+7O/BViyO8PgEKBQU9Z4/E2NaMigpYKJVzIoUeRybfIRz1zkEJU3lFRiwDVxf4U
+LxpxagC3uPwHp/5F0rwP1RZJ37TBU2o4DmG+WgFcqTzeEZQcvF822rVVrzHl7hSB
+XA4AZEpVHDGY3DqwQxsR4k+tfQxGqLbGE9qXVe4vNt3zluCWhkciImPAnwtaJSO5
+IOk62ZOGp1JoPUJFVIpTgKxPkbo+W6H1VQziiRJrnJzMXyEc9/9+3ced61bJ6Xl7
+tlSQQv0FuJ5H4bY1YrYue9/H5GELqB1pgzA5cisc9/0KnqBmGBwUqIvgdP9VW4la
+1i8Q8Jr6fUrVXGYysXENRI4pmJaaax5qypVYBrI9dIJPCl1YHq1EBqEKBh2f78Yn
+H1w2oDgakqYmiT9DauPM5eNr+T8B7L3jRebIh9+opmiCYFEPWC8ylq6dxlfuVjIF
+Ux5LaQf5mQvB8DPDmPIa3yIABQH8o54McWmr8mmN1TxE+bvrSqrpL0kGBFsJn3Xs
+yf1WtpK5wiFcdTn+0msR
+=eXYw
-----END PGP SIGNATURE-----
diff --git a/app-misc/fsniper/files/fsniper-1.3.1-format-security.patch b/app-misc/fsniper/files/fsniper-1.3.1-format-security.patch
new file mode 100644
index 000000000000..70c9460f97d2
--- /dev/null
+++ b/app-misc/fsniper/files/fsniper-1.3.1-format-security.patch
@@ -0,0 +1,26 @@
+From d15abeb19d1692698e0ec8a9f4a764a210e57a2b Mon Sep 17 00:00:00 2001
+From: Jakub Hrozek <jhrozek@redhat.com>
+Date: Tue, 3 Dec 2013 10:50:29 +0100
+Subject: [PATCH] Fix an error message
+
+This patch fixes https://bugzilla.redhat.com/show_bug.cgi?id=1037073
+---
+ src/handle_event.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/handle_event.c b/src/handle_event.c
+index 22f35f10ea3a6083c2ef933f794b529b8879a1ed..cac004b76917c192ad9bf8801062d701e4dc18c6 100644
+--- a/src/handle_event.c
++++ b/src/handle_event.c
+@@ -313,7 +313,7 @@ void handle_event(struct inotify_event* event, int writefd)
+ if (sysret == 127)
+ {
+ temp = malloc(27 + strlen(handler->value) + 20 + 1);
+- sprintf("Could not execute handler \"%s\", trying next one.\n", handler->value);
++ sprintf(temp, "Could not execute handler \"%s\", trying next one.\n", handler->value);
+ write_out(writefd, temp);
+
+ free(temp);
+--
+1.8.4.2
+
diff --git a/app-misc/fsniper/files/fsniper-1.3.1-umask.patch b/app-misc/fsniper/files/fsniper-1.3.1-umask.patch
new file mode 100644
index 000000000000..39aecaa3e0d1
--- /dev/null
+++ b/app-misc/fsniper/files/fsniper-1.3.1-umask.patch
@@ -0,0 +1,18 @@
+X-Git-Url: http://code.l3ib.org/?p=fsniper.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=cd49dffebe4b4c728b62c28c1381c4fb6f5ad87d;hp=03a8d701d6f9802ba346b591429e58741ca53479;hb=82cb0b46c48485fd4f6231ce3169c7be87d1ea07;hpb=2bbeb5d6e6b55bb9692c043fcdbeab15d9723c9e
+
+diff --git a/src/main.c b/src/main.c
+index 03a8d70..cd49dff 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -153,7 +153,10 @@ char *get_pid_filename()
+ void write_pid_file(char *pidfilename)
+ {
+ FILE *pidfile;
++ mode_t umask_old;
++ umask_old = umask(0177);
+ pidfile = fopen(pidfilename, "w");
++ umask(umask_old);
+ fprintf(pidfile, "%d", getpid());
+ fclose(pidfile);
+ }
+
diff --git a/app-misc/fsniper/fsniper-1.3.1-r1.ebuild b/app-misc/fsniper/fsniper-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..113b9fedeac0
--- /dev/null
+++ b/app-misc/fsniper/fsniper-1.3.1-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/fsniper/fsniper-1.3.1-r1.ebuild,v 1.1 2015/06/05 14:54:42 jlec Exp $
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="Tool that monitors a given set of directories for new files"
+HOMEPAGE="https://github.com/l3ib/fsniper/"
+SRC_URI="http://projects.l3ib.org/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/libpcre
+ sys-apps/file"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${P}-umask.patch
+)