diff options
author | 2017-11-01 21:18:48 +0100 | |
---|---|---|
committer | 2017-11-01 21:18:48 +0100 | |
commit | 061503c6cbd34357d5f8f7f67259b5dc9930919c (patch) | |
tree | 5b83016b981622851ae99701cc59cb49e0e14a16 | |
parent | dev-db/couchdb: quoting fix (diff) | |
download | mschiff-061503c6cbd34357d5f8f7f67259b5dc9930919c.tar.gz mschiff-061503c6cbd34357d5f8f7f67259b5dc9930919c.tar.bz2 mschiff-061503c6cbd34357d5f8f7f67259b5dc9930919c.zip |
dev-db/couchdb: added logrotate
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Manifest-Sign-Key: 0xCA3E7BF67F979BE5
-rw-r--r-- | dev-db/couchdb/Manifest | 22 | ||||
-rw-r--r-- | dev-db/couchdb/couchdb-2.1.0.ebuild | 7 | ||||
-rw-r--r-- | dev-db/couchdb/files/couchdb.logrotate | 10 |
3 files changed, 17 insertions, 22 deletions
diff --git a/dev-db/couchdb/Manifest b/dev-db/couchdb/Manifest index 5254cf6..be74b81 100644 --- a/dev-db/couchdb/Manifest +++ b/dev-db/couchdb/Manifest @@ -1,25 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX 10_gentoo.ini 131 SHA256 ee6f0151c2cba3bb7ae473c184e50e8160edcc6984a30d77959fb48112919414 SHA512 a6e331a7a9af8e8218364f92fe297f1877e7b976395c1f164af07b5e1dfe122aa9e329e57122ad4389a5eda287ec45f234c6361e017c48752896d3d89d7dc99c WHIRLPOOL a14cffa8e2f0dfb2b7164df09ba5ad8d019e8ca2eeb1b900d1659eb8d710148bed12fba34e5d75014b972fef7f7d4cfb3c09575fb87387d4c2544fd83e41ad82 AUX couchdb.conf-2.1.0 208 SHA256 3d9b56a025cd0fe4599465e0a611a37b836f1ecf0cd767a19fcb7907d9f6956a SHA512 e665fb29ee3f8bf2966dd407a0f918a9e61a46a5ef0e5e14150d829f517653ab7693287278f3e621439d1b8baf80428f785b3270d470702a3bb2986fa3044771 WHIRLPOOL d6e8fc0e50904feab6c1d96ff4edb9d3f1fa2d8203502c92ae24b7bc76b1821d52cec013c6d112df8870f1a498816934b39e0b7630bcb1ade53a8f9e9996be84 AUX couchdb.init-2.1.0 484 SHA256 81e325c9bdd060f7a2ecb780ed7d023fd6d8511972e2c6540cf00c49b7a870ba SHA512 2d98f7aa0f718c3e7bae523d3a97c2bb61c5064a82b78e779bb562abad60fcd1f277bb160754a8af6b5dce7d6a8b0390bfcd880b97da874b6a7a63874a22e4b2 WHIRLPOOL 679a52a5af08509ede6f33611c554fd68ba0d8f970940e7c55f6a92e5c57d2f43d0a80969f9920047a66ae4abf77e817899c8117a8f7a6a9279eb3c03987aba5 +AUX couchdb.logrotate 117 SHA256 86503e63541288bcc99408d80dd888bc2a5ee33e7de3802f5a5ffb8df7789aba SHA512 3b251a17f160d7cf3ad2d1b4c0ea120c2080b661cdc1044b5246d5e24f8c2fe53311f20c107ee4bbe58d3e4fb05f32b6adc00ec77d47f024fd629ab1b21d5703 WHIRLPOOL 516468522b088a3a1785723e391c99025d59021c6c8344b254576971fbabe3ef0689940726da28a541893040ec9b3f55746b339d1ce24a423bd73d79d8f9f8c5 DIST apache-couchdb-2.1.0.tar.gz 12276350 SHA256 eb1fbf746cd4bce2322389983e4d174c78e1520435578bff1507bb51c96a8825 SHA512 8c5f9fea852ae59bf5d6d23b1eaa68df5554660e4cfe918e9465772e964e2e5e24a7db1ee803adf7af16549b8c6445127ce4a7a65b7ee85510661ae1582ca8da WHIRLPOOL 7ee6dcbfdeda1d4926b24c1d093a7b9e9988e683ec49725446196b71c083c7df24b6f48b21ce8d5b1d02d4e772c0df3541d90f850d5f89acb7d780d66cd18169 -EBUILD couchdb-2.1.0.ebuild 2104 SHA256 f4cf628e7c6b53cb4dc05fd87daaee7b79c9b9800feb2c19b2bd42be5aa90268 SHA512 3fc92aeac226e6632aaf184039f1112e974750294dddcd1bdee4391a549f7563f6675884d6021e1491c7419940afa2c56a68048ddcea35822b78496c0916d580 WHIRLPOOL a3a6ed17c42b0da81887424ca073457aeada9d354020e08598c9beed17cc59021a27467336f57c5a09131364fb1f9b09ea18c937c39ca2b043c506883363152c +EBUILD couchdb-2.1.0.ebuild 2174 SHA256 146df2db6bb39fe2094578d74ba48744e1901153cb238849dc16bff1e979f07d SHA512 af88d1e6a3bfc0dc16d873b0121b6b9c5abeabd4af7c9bcaf50060a7e0d300a0d534b88634f4b87626ab1fbf970a53ef17c3b3e33d0ac26850637769295d9526 WHIRLPOOL 6ca0e2f7b336ad20019700b480ac1c59268c1b4c2567f6dd41fcc6a6e1d8983ec887f548f233dd110ea0bad88414d5fefeaa9e6ab3bfaeffc655d917dc1aadb0 MISC metadata.xml 212 SHA256 061538b4837ab7b95b652299476a75942b769652dbd569225713fdf1166b1d37 SHA512 e4f4b6dbbf6bf039ff5c19bb6a209ad4e0b1286f8cf7cc0cbafcc04fcf93fb92766c8cae06ff19f980a069c7fe9a1686437ab215f84ce10e301275ae107d00bd WHIRLPOOL bb35c86572b2ad56bf93b52f6eca6bea0f5591c1a9ebd608833dea63c89d4bd36cd402a8ffc2d5fdc1d7e1d5466782d1e37dfcac14fae0bbb181029799728fa5 ------BEGIN PGP SIGNATURE----- - -iQIzBAEBCAAdFiEE7ERu+XFCdT2IzYy5nVnT9oiR5F8FAln6H+cACgkQnVnT9oiR -5F95bg/8D9nTzO5B6VakJEswbL2SYqy3izrvlOWgkab2qms/xY4v+hZiU2hV8Tmq -qldfxaFHmhUkuVtJiogvNim5iFSMQxL34k6mMfSNJFXlfCKcXPUwHuBmZle9Y5Xc -c8JLH3HsClYN1TFsgXDpdCRb8Bq6WNNT7nFVYsg2qtThPoIwnQE93E7wC2Qt/+kx -BemBqlG5vWxbnkXcCZn8jmTqKZJNyMM5eVHhjrKgPKMI97VnYK30D9xxC956MNCB -YHUGmFaNF/aDrITyNfNF+e5POhk/LiLzp2LnoqQnix0Ss34saEnQ/5zYmzV2u4qA -44gnA8FmkawbX8a2y0h56xMpUifbhSvGfKQsLeMIJGlYxC5a1KBkQPVAphwfBch2 -bVfJl7aSEL8QSDrNOMx/d5qQ4zhg0tx4cl8klufbq9ss0+gblWQepqxvTS+8jJwG -9vjQIxSxiQ/PiVvNUVFBEeD4gxPNEH9LkXxvsKc9Dl4OJ+t1f7LOw0hjUMyyA3Eo -7AOLyqf1P+kfXXd/EZyUMRqx0WCZZvTnkeidovKM0dDqS5wM85Gdn3O44KKvhucE -D+LNZT4b3AT0/ltqtBIYISFykK25PUJDntNmzJvU2wpnqpLL3s+Eqet7iURcgGZ0 -eQZ+97qLZ98TJnVknsQuEf+y8lzYzkCCPkfOUCShkiuTdnKi6tc= -=9YsG ------END PGP SIGNATURE----- diff --git a/dev-db/couchdb/couchdb-2.1.0.ebuild b/dev-db/couchdb/couchdb-2.1.0.ebuild index e77908a..a872124 100644 --- a/dev-db/couchdb/couchdb-2.1.0.ebuild +++ b/dev-db/couchdb/couchdb-2.1.0.ebuild @@ -82,8 +82,11 @@ src_install() { insopts -m0640 -oroot -gcouchdb doins "${FILESDIR}/10_gentoo.ini" - newinitd "${FILESDIR}/couchdb.init-2.1.0" couchdb - newconfd "${FILESDIR}/couchdb.conf-2.1.0" couchdb + insinto /etc/logrotate.d/ + newins "${FILESDIR}/${PN}.logrotate" "${PN}" + + newinitd "${FILESDIR}/${PN}.init-2.1.0" "${PN}" + newconfd "${FILESDIR}/${PN}.conf-2.1.0" "${PN}" rm "${ED}/opt/couchdb/bin/couchdb.cmd" diff --git a/dev-db/couchdb/files/couchdb.logrotate b/dev-db/couchdb/files/couchdb.logrotate new file mode 100644 index 0000000..bb92fcd --- /dev/null +++ b/dev-db/couchdb/files/couchdb.logrotate @@ -0,0 +1,10 @@ +/var/log/couchdb/*.log { + daily + rotate 30 + dateext + delaycompress + compress + notifempty + sharedscripts + missingok +} |