X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 2B413DC08F8 for ; Mon, 1 Feb 2016 01:21:39 +0000 (UTC) Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DBB51DC00AD for ; Mon, 1 Feb 2016 01:21:38 +0000 (UTC) Received: by mail-pf0-f180.google.com with SMTP id n128so73366386pfn.3 for ; Sun, 31 Jan 2016 17:21:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=HN8T8UqtF1J1kwjUnM2qVbGNWor+9ljm0AimKE4cuV8=; b=bfXW6i+tY2NzSovltpfUvctmKzcfGQFavcn2LYCfFIIaQR5LFDq1E2AQC7VrdULUko 8LQrKbls9OTLWW5eQiusfKUM1pLoRoHxxMRjWpaCXjnP4HAQKPxJ+gfNRDS+AcPfhjyu BwIvYT/UuBZzPiNUhQjK9OUESl1owOyBf858muSXg7NOcIbi/S4yg2+RVHszttZTTdvl E8YlKy6wgmXX+56gh0dB3LV5L6oM/cVBnqPE0QDx2muEl/29recXkR9Qrh1Fv7qm/di9 pvT/EV+QsdgyJp1bvDSK61cYfysLGfofjvEKTxyaRFg5DDT3nsrGK/+MGavbIHQc3dDX Br8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=HN8T8UqtF1J1kwjUnM2qVbGNWor+9ljm0AimKE4cuV8=; b=Y2Gd19aq25/RqAvcm1yml2Faj9FVpmls9+OggjbU2nlV9HFSHLdDAwuBiS8YLFNkzj 2r/Li9CkvZq5HP/ZMxMFUHYyRwXv6hblWtfOPPlFll9sxuBKTPJdXlWvUIWlBC8fv890 b4PCziXUkBU8ANLUKKTq6xDOL3fQVOi2LSWgT6uBeouYpoodT3P+dvtdE+GwIPpTyONy Twx9DWkAdcbUxFgsGB5S7eqNF1MrIXy699rxXTM96YltpHkmmWPl/NObXE4+g3eBLZnZ M9qAhVC9GUygLnyM6WAOMKCvJiSxJruQ3n7YkFJg6QJ3b8EVMina4mj9v4Uux3d+s5Ml up/w== X-Gm-Message-State: AG10YOQVl8l0M/hqMV+Xh+B9V7t2EI5iP3ndS9W8QJRg/FX+F1xJch5DXZODL2SIpVDv0Q== X-Received: by 10.98.67.14 with SMTP id q14mr34085652pfa.137.1454289697459; Sun, 31 Jan 2016 17:21:37 -0800 (PST) Received: from newbook ([50.0.225.136]) by smtp.gmail.com with ESMTPSA id r15sm38484944pfr.59.2016.01.31.17.21.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Jan 2016 17:21:36 -0800 (PST) Date: Sun, 31 Jan 2016 17:21:33 -0800 From: Isaac Dunham To: Paul Roland Cc: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] Re: [alpine-devel] bridge utils in Alpine Linux Message-ID: <20160201012132.GA2599@newbook> References: <20160131024538.GA2719@newbook> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jan 31, 2016 at 09:41:51AM +0000, Paul Roland wrote: > I am not impatient, got it compiled afterwards, it's a small utility. What > worries me is the fact that bridge-utils package exists and it's very empty > and I had to find that on the hard way. There may be other packages in this > situation... Well, here's my best shot at finding them so far: apk search | sed -e 's/-[0-9.]*-r[0-9]*$//g' \ -e 's/-[0-9.]*_[a-z0-9]*-r[0-9]*$//g' \ | grep -ve '-r[0-9][0-9]*$' | xargs apk info -s \ | grep -B1 '^4096$' Technically, this lists all packages for which 'installed size' is 4096: in other words, no contents or one small file. Some of these are false positives or deliberate transitional packages. This lists 65 packages, which are as follows: xf86-video-modesetting-0.9.0-r6 libowfat-0.28-r1 mysql-bench-10.1.9-r2 docs-0.2-r0 lang-0.1-r0 lua-sql-postgres-2.3.0-r3 lua-cloud_storage-0.1.0-r3 libc-dev-0.7-r0 ppp-2.4.7-r3 lxc-lvm-1.1.5-r3 bbsuid-0.6-r0 lua-rex-pcre-2.8.0-r0 jpeg-dev-8-r6 fonts-extra-1.0-r0 alpine-sdk-0.4-r3 network-extras-1.1-r0 lua-sircbot-0.4-r0 abiword-plugins-3.0.1-r1 lua-zlib-0.3-r0 upgrade-notify-0.1-r0 libjpeg-8-r6 lua-rex-2.8.0-r0 patchwork-mysql-0_git20150420-r7 pkgconfig-0.25-r1 luarocks-2.3.0-r0 lua-struct-0.2-r2 lua-rex-posix-2.8.0-r0 tut-20090830-r0 gtk+-dev-2.24-r1 asio-1.10.6-r0 build-base-0.4-r1 gtk+-2.24-r1 lua-pc-1.0.0-r9 lua-lzlib-0.4.3-r0 lua-feedparser-0.71-r0 mysql-10.1.9-r2 lua-curses-33.3.1-r5 acf-lib-0.9.0-r1 lua-maxminddb-0.1-r1 jpeg-8-r6 lua-mimetypes-1.0.0-r0 mysql-client-10.1.9-r2 lua-sqlite-0.9.3-r2 patchwork-postgresql-0_git20150420-r7 lua-sql-odbc-2.3.0-r3 libc-utils-0.7-r0 lua-sql-sqlite3-2.3.0-r3 alpine-desktop-2.5-r0 lua-lpeg-0.12.2-r0 texlive-full-20150521-r4 vlc-plugins-2.2.1-r6 bridge-utils-1.5-r2 lua-inspect-3.0.2-r0 tesseract-data-3.02-r0 ttf-noto-2015.04.20-r0 apk-post-messages-0.10-r0 mdds-0.12.1-r0 fonts-base-1.0-r0 lua-hiredis-0.2.1-r0 man-1.13.3-r5 libreoffice-5.0.3.2-r1 xfce4-4.12.0-r0 lua-sql-mysql-2.3.0-r3 opennebula-node-kvm-4.9.80-r0 lua-date-2.1.1-r0 If you strip off the version numbers and send that to 'pkglist', here's an attempt at eliminating meta/transitional packages: for pkg in `cat pkglist `; do F=`apk info -d $pkg|head -n 2 | tail -n 1` case "$F" in (*[Mm]eta*|*ummy*|*removed*|*[Ww]rapper*) ;; (*) echo $pkg - $F;; esac done Send the output to a file 'nullpkgs', and I find it's 39 lines long. Now, looking for the real empties in those: for f in `cut -d\ -f1 nullpkgs`; do apk fetch $f tar -tzf $f-* | grep ^.dummy >/dev/null && echo $f >> /tmp/truenulls rm -f $f-*.apk done That's 39 lines, no false positives there. At least two of them (abiword-plugins and texlive-full) are metapackages. So, nullpkgs is the list to look through. I'm attaching it for the use of package maintainers. HTH, Isaac Dunham --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=nullpkgs libowfat - reimplementation of libdjb lua-sql-postgres - Lua SQL drivers for postgres lua-cloud_storage - A Lua library for communicating with Google Cloud Storage ppp - A daemon which implements the PPP protocol for dial-up networking lxc-lvm - linux containers lvm support lua-rex-pcre - Lua bindings to pcre regular expressions library lua-sircbot - sirbot client for Lua abiword-plugins - Abiword plugins, all of them lua-zlib - Simple streaming interface to zlib for Lua upgrade-notify - Get notifications about what services need to restart after an upgrade lua-rex - Lua bindings to regular expression library pcre and posix patchwork-mysql - patchwork mysql support luarocks - Deployment and management system for Lua modules lua-struct - Library for Converting Data to and from C Structs for Lua lua-rex-posix - Lua bindings to posix regular expressions library tut - template unit test framework asio - A cross-platform C++ library for network programming lua-pc - Lua Process Call lua-lzlib - Lua bindings to the ZLib compression library lua-feedparser - A decent RSS and Atom XML feed parser acf-lib - Lua libraries for ACF lua-maxminddb - libmaxminddb bindings for Lua lua-mimetypes - non-server-bound database of MIME type lua-sqlite - Sqlite3 Binding for Lua patchwork-postgresql - patchwork postgresql support lua-sql-odbc - Lua SQL drivers for odbc lua-sql-sqlite3 - Lua SQL drivers for sqlite3 lua-lpeg - Pattern-matching library for Lua texlive-full - A complete TeX distribution bridge-utils - Tools for configuring the Linux kernel 802.1d Ethernet Bridge lua-inspect - Human-readable representation of Lua tables tesseract-data - Tesseract language data ttf-noto - Noto Sans family. apk-post-messages - Print apk post-install messages mdds - Multi-dimentional data index algorithm lua-hiredis - Binding to libhiredis for Lua lua-sql-mysql - Lua SQL drivers for mysql opennebula-node-kvm - KVM node for OpenNebula lua-date - Date & Time module for Lua --qMm9M+Fa2AknHoGS-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---