Fork www/rubygem-unicorn-worker-killer to www/rubygem-unicorn-worker-killer044

in order to freeze the version and use rubygem-unicorn 4 instead of 5.

This is needed for the www/gitlab update to 10.4.x

Submitted by: Matthias Fechner <idefix@fechner.net>
Reviewed by:  swills, tz
This commit is contained in:
Torsten Zuehlsdorff 2018-02-19 17:43:08 +00:00
parent aac1b93f20
commit 4511f9a574
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462339
4 changed files with 35 additions and 0 deletions

View File

@ -2206,6 +2206,7 @@
SUBDIR += rubygem-unicorn
SUBDIR += rubygem-unicorn51
SUBDIR += rubygem-unicorn-worker-killer
SUBDIR += rubygem-unicorn-worker-killer044
SUBDIR += rubygem-url_escape
SUBDIR += rubygem-url_mount
SUBDIR += rubygem-vegas

View File

@ -0,0 +1,25 @@
# $FreeBSD$
PORTNAME= unicorn-worker-killer
PORTVERSION= 0.4.4
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 044
MAINTAINER= idefix@fechner.net
COMMENT= Kill unicorn workers by memory and request counts
LICENSE= GPLv2+ RUBY
LICENSE_COMB= dual
LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-get_process_mem>=0:devel/rubygem-get_process_mem \
rubygem-unicorn51>=4:www/rubygem-unicorn51
PORTSCOUT= limit:^0\.4\.4
NO_ARCH= yes
USES= gem
USE_RUBY= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1518183067
SHA256 (rubygem/unicorn-worker-killer-0.4.4.gem) = 6abfc15229c12b42f13242a17e292ec838b27af5c846d9d521fd2addf8ed2d67
SIZE (rubygem/unicorn-worker-killer-0.4.4.gem) = 9216

View File

@ -0,0 +1,6 @@
The unicorn-worker-killer gem provides automatic restart of Unicorn
workers based on the number of served requests and process memory size
without affecting any requests. This can improve stability by avoiding
unexpected memory exhaustion of applications.
WWW: https://github.com/kzk/unicorn-worker-killer