From owner-freebsd-ports-bugs@freebsd.org Thu Aug 22 07:56:27 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0D13C06BC for ; Thu, 22 Aug 2019 07:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46DcL34Dqrz49bQ for ; Thu, 22 Aug 2019 07:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8F53AC06BA; Thu, 22 Aug 2019 07:56:27 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8DE9EC06B9 for ; Thu, 22 Aug 2019 07:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46DcL32xbDz49bP for ; Thu, 22 Aug 2019 07:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 47C32EAA for ; Thu, 22 Aug 2019 07:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x7M7uRik064910 for ; Thu, 22 Aug 2019 07:56:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7M7uRQm064909 for ports-bugs@FreeBSD.org; Thu, 22 Aug 2019 07:56:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240033] www/gitea: depend on git-lite instead of full git Date: Thu, 22 Aug 2019 07:56:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nilsjohannsen@gmx.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2019 07:56:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240033 Bug ID: 240033 Summary: www/gitea: depend on git-lite instead of full git Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: nilsjohannsen@gmx.de CC: stb@lassitu.de Flags: maintainer-feedback?(stb@lassitu.de) The port www/gitea depends on the full git port. The git port includes gui parts whoese require python, so that git depends on python. Therefore the memory footprint of gitea will become more than 250 MB in total. But actually gitea only needs the essential git components whose will be offered by the git-lite port. In that case only a few dependencies are left= , so that the memory footprint of gitea will be less than 120 MB in total. Changing the dependency from git to git-lite follows more the idea of gitea= to be very small and lightweight. For small machines, embedded device or sometimes also for jails this memory cares. gitea depending on full git: % pkg info -s --all | sort -hr -k2 python36-3.6.9 105MiB gitea-1.9.1 70.2MiB perl5-5.30.0 58.2MiB git-2.22.1 31.8MiB pcre-8.43_2 6.60MiB curl-7.65.3 3.48MiB readline-8.0.0 1.70MiB p5-Net-SSLeay-1.85 1.05MiB gettext-runtime-0.20.1 870KiB ca_root_nss-3.45 813KiB p5-IO-Socket-SSL-2.066 665KiB expat-2.2.6_1 640KiB libnghttp2-1.39.2 635KiB p5-CGI-4.44 390KiB p5-Mozilla-CA-20180117 257KiB p5-HTML-Parser-3.72 185KiB libffi-3.2.1_3 131KiB p5-GSSAPI-0.28_1 127KiB cvsps-2.1_2 110KiB p5-Authen-SASL-2.16_1 95.8KiB p5-Error-0.17027 64.6KiB p5-Socket6-0.29 48.0KiB p5-IO-Socket-INET6-2.72_1 29.5KiB p5-HTML-Tagset-3.20_1 23.1KiB indexinfo-0.3.1 20.6KiB p5-Digest-HMAC-1.03_1 16.5KiB gitea depending on git-lite: % pkg info -s --all | sort -hr -k2 gitea-1.9.1 70.2MiB git-lite-2.22.0 29.8MiB pcre-8.43_1 6.60MiB curl-7.65.1_1 3.48MiB gettext-runtime-0.20.1 869KiB ca_root_nss-3.45 813KiB expat-2.2.6_1 640KiB libnghttp2-1.39.2 635KiB indexinfo-0.3.1 20.6KiB I've already tried the functionality of gitea and it works fine so far with only git-lite: # doas portsnap fetch extract # cd /usr/ports/www/gitea # nvim Makefile - RUN_DEPENDS=3D git:devel/git + RUN_DEPENDS=3D git:devel/git-lite # make package =3D> gitea-1.9.1.txz The only disadvantage I've determined: git-lite conflicts with git. Regards, Nils --=20 You are receiving this mail because: You are the assignee for the bug.=