blob: 0416a5f8a5efe8b71c0f15be79706e5a513f2338 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Logrotate(AutotoolsPackage):
"""The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files. """
homepage = "https://github.com/logrotate/logrotate"
url = "https://github.com/logrotate/logrotate/archive/3.17.0.tar.gz"
version('3.17.0', sha256='c25ea219018b024988b791e91e9f6070c34d2056efa6ffed878067866c0ed765')
version('3.16.0', sha256='bc6acfd09925045d48b5ff553c24c567cfd5f59d513c4ac34bfb51fa6b79dc8a')
version('3.15.1', sha256='a7b20f5184c9598c36546f9200d3bd616d561478a0423ab8074e97a1cd7b1c25')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('popt')
depends_on('acl')
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.sbin)
|