aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2019-08-25 21:38:29 +0800
committertijl <tijl@FreeBSD.org>2019-08-25 21:38:29 +0800
commitaa176a1b8422c69780bbdc2973b31529212d4d9a (patch)
tree566c44dba9168226bc7acef4deaf0dd91f10211f
parenta14ab79c9d1585e890dcebca7681247a044f1a07 (diff)
downloadfreebsd-ports-gnome-aa176a1b8422c69780bbdc2973b31529212d4d9a.tar.gz
freebsd-ports-gnome-aa176a1b8422c69780bbdc2973b31529212d4d9a.tar.zst
freebsd-ports-gnome-aa176a1b8422c69780bbdc2973b31529212d4d9a.zip
Remove programs from the util-linux package that are missing some libraries
so they don't work, but I suspect we don't need them: usr/bin/chfn usr/bin/chsh usr/bin/findmnt usr/bin/login usr/bin/lsblk usr/bin/lscpu usr/bin/lsipc usr/bin/lslogins usr/bin/lsmem usr/bin/lsns usr/bin/script usr/bin/setpriv usr/sbin/clock usr/sbin/debugfs usr/sbin/hwclock usr/sbin/runuser usr/sbin/zramctl
-rw-r--r--emulators/linux_base-c7/Makefile13
-rw-r--r--emulators/linux_base-c7/pkg-plist.amd6425
-rw-r--r--emulators/linux_base-c7/pkg-plist.i38625
3 files changed, 9 insertions, 54 deletions
diff --git a/emulators/linux_base-c7/Makefile b/emulators/linux_base-c7/Makefile
index 2bfbeb10f22d..9d632e245c8a 100644
--- a/emulators/linux_base-c7/Makefile
+++ b/emulators/linux_base-c7/Makefile
@@ -2,7 +2,7 @@
PORTNAME= c7
PORTVERSION= ${LINUX_DIST_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= emulators linux
PKGNAMEPREFIX= linux_base-
EXTRACT_ONLY= ${DISTFILES:N*${SRC_SUFX}*:Nfilesystem-*:C/:[^:]+$//}
@@ -125,9 +125,14 @@ PLIST_SUB= LINUXBASE=${LINUXBASE} SYSCTLMIB=${SYSCTLMIB}
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-REMOVE_DIRS= boot home media mnt proc root run sys tmp var/log var/tmp
-REMOVE_FILES= bin/su etc/exports etc/group etc/gshadow etc/motd \
- etc/passwd etc/printcap etc/protocols etc/services etc/shadow
+REMOVE_DIRS= boot etc/pam.d home media mnt proc root run sys tmp var/log \
+ var/tmp
+REMOVE_FILES= bin/chfn bin/chsh bin/findmnt bin/login bin/lsblk bin/lscpu \
+ bin/lsipc bin/lslogins bin/lsmem bin/lsns bin/script \
+ bin/setpriv bin/su \
+ etc/exports etc/group etc/gshadow etc/motd \
+ etc/passwd etc/printcap etc/protocols etc/services etc/shadow \
+ sbin/clock sbin/debugfs sbin/hwclock sbin/runuser sbin/zramctl
.include <bsd.port.options.mk>
diff --git a/emulators/linux_base-c7/pkg-plist.amd64 b/emulators/linux_base-c7/pkg-plist.amd64
index d877d7837066..d650a073ea7d 100644
--- a/emulators/linux_base-c7/pkg-plist.amd64
+++ b/emulators/linux_base-c7/pkg-plist.amd64
@@ -31,14 +31,6 @@ etc/mke2fs.conf
etc/mtab
@sample etc/nsswitch.conf.sample
etc/os-release
-etc/pam.d/chfn
-etc/pam.d/chsh
-etc/pam.d/login
-etc/pam.d/remote
-etc/pam.d/runuser
-etc/pam.d/runuser-l
-etc/pam.d/su
-etc/pam.d/su-l
etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Testing-7
@@ -109,13 +101,11 @@ usr/bin/catchsegv
usr/bin/cd
usr/bin/chattr
usr/bin/chcon
-usr/bin/chfn
usr/bin/chgrp
usr/bin/chmem
usr/bin/chmod
usr/bin/chown
usr/bin/chrt
-usr/bin/chsh
usr/bin/cksum
usr/bin/clear
usr/bin/col
@@ -161,7 +151,6 @@ usr/bin/fc
usr/bin/fg
usr/bin/fgrep
usr/bin/find
-usr/bin/findmnt
usr/bin/flock
usr/bin/fmt
usr/bin/fold
@@ -212,19 +201,12 @@ usr/bin/ln
usr/bin/locale
usr/bin/localedef
usr/bin/logger
-usr/bin/login
usr/bin/logname
usr/bin/look
usr/bin/ls
usr/bin/lsattr
usr/bin/lsb_release
-usr/bin/lsblk
-usr/bin/lscpu
-usr/bin/lsipc
usr/bin/lslocks
-usr/bin/lslogins
-usr/bin/lsmem
-usr/bin/lsns
usr/bin/makedb
usr/bin/mcookie
usr/bin/md5sum
@@ -268,12 +250,10 @@ usr/bin/rm
usr/bin/rmdir
usr/bin/rpcgen
usr/bin/runcon
-usr/bin/script
usr/bin/scriptreplay
usr/bin/sed
usr/bin/seq
usr/bin/setarch
-usr/bin/setpriv
usr/bin/setserial
usr/bin/setsid
usr/bin/setterm
@@ -1260,9 +1240,7 @@ usr/sbin/capsh
usr/sbin/cfdisk
usr/sbin/chcpu
usr/sbin/chroot
-usr/sbin/clock
usr/sbin/ctrlaltdel
-usr/sbin/debugfs
usr/sbin/delpart
usr/sbin/dumpe2fs
usr/sbin/e2freefrag
@@ -1287,7 +1265,6 @@ usr/sbin/getcap
usr/sbin/getpcaps
usr/sbin/glibc_post_upgrade.i686
usr/sbin/glibc_post_upgrade.x86_64
-usr/sbin/hwclock
usr/sbin/iconvconfig
usr/sbin/iconvconfig.i686
usr/sbin/iconvconfig.x86_64
@@ -1316,7 +1293,6 @@ usr/sbin/request-key
usr/sbin/resize2fs
usr/sbin/resizepart
usr/sbin/rtcwake
-usr/sbin/runuser
usr/sbin/sefcontext_compile
usr/sbin/setcap
usr/sbin/sfdisk
@@ -1330,7 +1306,6 @@ usr/sbin/tune2fs
usr/sbin/wipefs
usr/sbin/zdump
usr/sbin/zic
-usr/sbin/zramctl
usr/share/bash-completion/completions/addpart
usr/share/bash-completion/completions/blkdiscard
usr/share/bash-completion/completions/blkid
diff --git a/emulators/linux_base-c7/pkg-plist.i386 b/emulators/linux_base-c7/pkg-plist.i386
index 07ac13d5f6db..991182b4cc69 100644
--- a/emulators/linux_base-c7/pkg-plist.i386
+++ b/emulators/linux_base-c7/pkg-plist.i386
@@ -30,14 +30,6 @@ etc/mke2fs.conf
etc/mtab
@sample etc/nsswitch.conf.sample
etc/os-release
-etc/pam.d/chfn
-etc/pam.d/chsh
-etc/pam.d/login
-etc/pam.d/remote
-etc/pam.d/runuser
-etc/pam.d/runuser-l
-etc/pam.d/su
-etc/pam.d/su-l
etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Testing-7
@@ -107,13 +99,11 @@ usr/bin/catchsegv
usr/bin/cd
usr/bin/chattr
usr/bin/chcon
-usr/bin/chfn
usr/bin/chgrp
usr/bin/chmem
usr/bin/chmod
usr/bin/chown
usr/bin/chrt
-usr/bin/chsh
usr/bin/cksum
usr/bin/clear
usr/bin/col
@@ -159,7 +149,6 @@ usr/bin/fc
usr/bin/fg
usr/bin/fgrep
usr/bin/find
-usr/bin/findmnt
usr/bin/flock
usr/bin/fmt
usr/bin/fold
@@ -210,19 +199,12 @@ usr/bin/ln
usr/bin/locale
usr/bin/localedef
usr/bin/logger
-usr/bin/login
usr/bin/logname
usr/bin/look
usr/bin/ls
usr/bin/lsattr
usr/bin/lsb_release
-usr/bin/lsblk
-usr/bin/lscpu
-usr/bin/lsipc
usr/bin/lslocks
-usr/bin/lslogins
-usr/bin/lsmem
-usr/bin/lsns
usr/bin/makedb
usr/bin/mcookie
usr/bin/md5sum
@@ -266,12 +248,10 @@ usr/bin/rm
usr/bin/rmdir
usr/bin/rpcgen
usr/bin/runcon
-usr/bin/script
usr/bin/scriptreplay
usr/bin/sed
usr/bin/seq
usr/bin/setarch
-usr/bin/setpriv
usr/bin/setserial
usr/bin/setsid
usr/bin/setterm
@@ -820,9 +800,7 @@ usr/sbin/capsh
usr/sbin/cfdisk
usr/sbin/chcpu
usr/sbin/chroot
-usr/sbin/clock
usr/sbin/ctrlaltdel
-usr/sbin/debugfs
usr/sbin/delpart
usr/sbin/dumpe2fs
usr/sbin/e2freefrag
@@ -846,7 +824,6 @@ usr/sbin/fstrim
usr/sbin/getcap
usr/sbin/getpcaps
usr/sbin/glibc_post_upgrade.i686
-usr/sbin/hwclock
usr/sbin/iconvconfig
usr/sbin/iconvconfig.i686
usr/sbin/install-info
@@ -873,7 +850,6 @@ usr/sbin/request-key
usr/sbin/resize2fs
usr/sbin/resizepart
usr/sbin/rtcwake
-usr/sbin/runuser
usr/sbin/sefcontext_compile
usr/sbin/setcap
usr/sbin/sfdisk
@@ -887,7 +863,6 @@ usr/sbin/tune2fs
usr/sbin/wipefs
usr/sbin/zdump
usr/sbin/zic
-usr/sbin/zramctl
usr/share/bash-completion/completions/addpart
usr/share/bash-completion/completions/blkdiscard
usr/share/bash-completion/completions/blkid