############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = setup version = 3.0 release = 4 arch = noarch groups = Base Build System/Base url = license = Public Domain summary = A set of system configuration and setup files. description The setup package contains a set of important system configuration and setup files, such as passwd, group, and profile. end # No tarball. sources = build DIR_APP = %{DIR_SOURCE} build ./shadowconvert.sh end test make check end install mkdir -pv %{BUILDROOT}/etc/profile.d %{BUILDROOT}/var/log for i in aliases bashrc exports filesystems group gshadow host.conf \ hosts hosts.allow hosts.deny inputrc motd passwd printcap \ profile securetty shadow shells; do \ cp -vf %{DIR_APP}/${i} %{BUILDROOT}/etc || exit 1; \ done touch %{BUILDROOT}/etc/{environment,fstab} chmod -v 0400 %{BUILDROOT}/etc/{,g}shadow end end packages package %{name} requires = iana-etc configfiles /etc/aliases /etc/exports /etc/fstab /etc/group /etc/gshadow /etc/host.conf /etc/hosts /etc/hosts.allow /etc/hosts.deny /etc/motd /etc/passwd /etc/printcap /etc/shadow /etc/shells end end end