From ea17abcc66cfc61e7d442e5468990e19aa8a4b7a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Jun 2006 00:51:12 +0000 Subject: [PATCH] Force some tighter permissions on the sql files users run to create horde databases #137510 by Sebastian Witt. Package-Manager: portage-2.1.1_pre1-r1 --- www-apps/horde/ChangeLog | 6 +++++- www-apps/horde/Manifest | 26 ++++++++++++++++++-------- www-apps/horde/horde-3.1.1-r1.ebuild | 8 +++++++- 3 files changed, 30 insertions(+), 10 deletions(-) diff --git a/www-apps/horde/ChangeLog b/www-apps/horde/ChangeLog index 0d6e86010e15..e17d40af18c2 100644 --- a/www-apps/horde/ChangeLog +++ b/www-apps/horde/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apps/horde # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/horde/ChangeLog,v 1.39 2006/06/20 17:28:58 tcort Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/horde/ChangeLog,v 1.40 2006/06/22 00:51:12 vapier Exp $ + + 22 Jun 2006; Mike Frysinger horde-3.1.1-r1.ebuild: + Force some tighter permissions on the sql files users run to create horde + databases #137510 by Sebastian Witt. 20 Jun 2006; Thomas Cort horde-3.1.1-r1.ebuild: Stable on alpha and amd64 wrt security Bug #136830. diff --git a/www-apps/horde/Manifest b/www-apps/horde/Manifest index 463430ef51e0..af59ab10f88d 100644 --- a/www-apps/horde/Manifest +++ b/www-apps/horde/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX horde-3.1.1-xss.diff 1973 RMD160 cb7af0db0f00c21ca442fad158f424c4b44e1620 SHA1 8448e723b7d1b9795b3005e8a8b6cda6aae9358a SHA256 79ab4162daea72159e7560056c8185ad3cbe47d043bd445c42714260f79ca560 MD5 06ea158ce79a39ed9b2b96f87f774d6a files/horde-3.1.1-xss.diff 1973 RMD160 cb7af0db0f00c21ca442fad158f424c4b44e1620 files/horde-3.1.1-xss.diff 1973 @@ -14,10 +17,10 @@ EBUILD horde-3.0.9.ebuild 867 RMD160 33f7fa051475e6d4fa3ce2db13718e5356f35115 SH MD5 52334142f91e41aa0b6de7a4d1692d5a horde-3.0.9.ebuild 867 RMD160 33f7fa051475e6d4fa3ce2db13718e5356f35115 horde-3.0.9.ebuild 867 SHA256 e968a1a39ae1c8213028002aedda16d5cc09168fe1d0daa99140c1b4921db083 horde-3.0.9.ebuild 867 -EBUILD horde-3.1.1-r1.ebuild 931 RMD160 688aa66c691c19b1e85f1a2de6a59d820816fed2 SHA1 93f4f82515c6b8a486a25d936468fbb1a0b40688 SHA256 fad001005eee4bb0c732b907caeb18341d1a3833d85499d2f36e20cc4900a6e5 -MD5 b5407b1b1d01e3c6f162d8b38a3cd80c horde-3.1.1-r1.ebuild 931 -RMD160 688aa66c691c19b1e85f1a2de6a59d820816fed2 horde-3.1.1-r1.ebuild 931 -SHA256 fad001005eee4bb0c732b907caeb18341d1a3833d85499d2f36e20cc4900a6e5 horde-3.1.1-r1.ebuild 931 +EBUILD horde-3.1.1-r1.ebuild 1018 RMD160 2f9845ffe71c02feb3994e5f2d41e3615cca13ce SHA1 3efa94b733616cbc5f038b0f8244393fdf0b7aa2 SHA256 33de4ae2ba0b1398b782e9a7d5fa6243d18145b9a639ac60899c4aa4c1a893c0 +MD5 ca1f27710c09329d91a12c6f76e7131c horde-3.1.1-r1.ebuild 1018 +RMD160 2f9845ffe71c02feb3994e5f2d41e3615cca13ce horde-3.1.1-r1.ebuild 1018 +SHA256 33de4ae2ba0b1398b782e9a7d5fa6243d18145b9a639ac60899c4aa4c1a893c0 horde-3.1.1-r1.ebuild 1018 EBUILD horde-3.1.1.ebuild 858 RMD160 6b11d4409772c5f190b396500f718802c30758e1 SHA1 14c0e6d6644d08f7da891346cac7ba2cd75022f3 SHA256 4720ee655a7fd157886c9a33f02e5608e52b5de1335c84716b14017bb672e5a9 MD5 5c6ddbed7f5dbdbd8e3381f3708eec7f horde-3.1.1.ebuild 858 RMD160 6b11d4409772c5f190b396500f718802c30758e1 horde-3.1.1.ebuild 858 @@ -26,10 +29,10 @@ EBUILD horde-3.1.ebuild 859 RMD160 f81de0bdccf92b22869af243288b6f29f53eed61 SHA1 MD5 0135c47ca162451df6a6d58058363f91 horde-3.1.ebuild 859 RMD160 f81de0bdccf92b22869af243288b6f29f53eed61 horde-3.1.ebuild 859 SHA256 251f5e1a165a2f69ef39f408d0489016950e99aed7dbe9cd9b45a4900b76ec7b horde-3.1.ebuild 859 -MISC ChangeLog 6923 RMD160 5a5db583d806f7fa9d5a528f8cae130134d7fc7e SHA1 a3a5fca6623c12ad5c15db550472fcdda089ddce SHA256 f5f10dff6e0ffaf7a0ab5040253ce91b3cf6e890f29722f8ca59d36d58fb3b71 -MD5 5771bd237f7c589f4365750a6266cfe6 ChangeLog 6923 -RMD160 5a5db583d806f7fa9d5a528f8cae130134d7fc7e ChangeLog 6923 -SHA256 f5f10dff6e0ffaf7a0ab5040253ce91b3cf6e890f29722f8ca59d36d58fb3b71 ChangeLog 6923 +MISC ChangeLog 7113 RMD160 e79c54aff9d89da8b9327061b7274e6a293a1c4f SHA1 62d9cca9f7a342dd5b3313d6204047d22f3c7ed8 SHA256 e39034dfc8c95631c8ba35f77079d1633bef53339715c5016f9432bb7c0f0b70 +MD5 0c70c0b34a358a62c2a536add7dc32d7 ChangeLog 7113 +RMD160 e79c54aff9d89da8b9327061b7274e6a293a1c4f ChangeLog 7113 +SHA256 e39034dfc8c95631c8ba35f77079d1633bef53339715c5016f9432bb7c0f0b70 ChangeLog 7113 MISC metadata.xml 475 RMD160 c895dadf7bb95308f7772e84890e967062f8532b SHA1 de84e86487a9c80193460baca6f7966215031eb6 SHA256 97f5a98a341d383ec20d1e5551e6cb9c638fcb7cef982f2f13c907e0adcdf416 MD5 cb784fc68f8ebab5c112b7067200fa7f metadata.xml 475 RMD160 c895dadf7bb95308f7772e84890e967062f8532b metadata.xml 475 @@ -49,3 +52,10 @@ SHA256 fb9e9364ffda87f1724d299e9a70679ac553ae9513f6889ab05ed8a6cbdb5870 files/di MD5 581a2d776ccb73879f6947e8041c8eed files/digest-horde-3.1.1-r1 238 RMD160 044cf54bd95a4ea9bd357ab99e8b6863b905c63e files/digest-horde-3.1.1-r1 238 SHA256 fb9e9364ffda87f1724d299e9a70679ac553ae9513f6889ab05ed8a6cbdb5870 files/digest-horde-3.1.1-r1 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFEmeq4amhnQswr0vIRAtRnAKCluiZXd7ziE6TJj5Y4IBumuJRhlACfU3JR +/XRBB+jvl5kGFg5ZsPj9Y5c= +=KcpF +-----END PGP SIGNATURE----- diff --git a/www-apps/horde/horde-3.1.1-r1.ebuild b/www-apps/horde/horde-3.1.1-r1.ebuild index e085318bfea8..88c026fd794a 100644 --- a/www-apps/horde/horde-3.1.1-r1.ebuild +++ b/www-apps/horde/horde-3.1.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/horde/horde-3.1.1-r1.ebuild,v 1.6 2006/06/20 17:28:58 tcort Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/horde/horde-3.1.1-r1.ebuild,v 1.7 2006/06/22 00:51:12 vapier Exp $ HORDE_PHP_FEATURES="session xml" @@ -24,6 +24,12 @@ RDEPEND="virtual/php dev-php/PEAR-Mail_Mime mysql? ( dev-php/PEAR-DB )" +src_unpack() { + unpack ${A} + cd "${S}" + chmod 600 scripts/sql/create.*.sql #137510 +} + pkg_postinst() { horde_pkg_postinst echo -- 2.26.2