2011-06-23 01:22:24 +00:00
|
|
|
# Template file for 'base-files'
|
|
|
|
pkgname=base-files
|
2011-07-10 11:52:53 +00:00
|
|
|
version=0.46
|
2009-03-27 11:34:11 +00:00
|
|
|
build_style=custom-install
|
2011-07-10 11:02:46 +00:00
|
|
|
short_desc="Vanilla GNU/Linux base system files"
|
2009-03-27 11:34:11 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-10 11:02:46 +00:00
|
|
|
homepage="https://vanilla.github.com/"
|
2011-05-28 11:31:38 +00:00
|
|
|
license="public domain"
|
2009-03-27 11:34:11 +00:00
|
|
|
long_desc="
|
2010-05-18 06:03:13 +00:00
|
|
|
This package installs the base system files that aren't installed by any
|
|
|
|
other package and are required on any GNU/Linux system."
|
2009-03-27 11:34:11 +00:00
|
|
|
|
2011-06-23 01:22:24 +00:00
|
|
|
replaces="xbps-base-files>=0"
|
2010-05-18 06:03:13 +00:00
|
|
|
noarch=yes
|
2011-07-06 06:16:56 +00:00
|
|
|
bootstrap=yes
|
2009-03-27 11:34:11 +00:00
|
|
|
|
2010-05-18 06:03:13 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/profile
|
|
|
|
/etc/hosts
|
|
|
|
/etc/host.conf
|
|
|
|
/etc/securetty
|
|
|
|
/etc/skel/.bash_profile
|
|
|
|
/etc/skel/.bash_logout
|
|
|
|
/etc/skel/.bashrc
|
|
|
|
/etc/issue"
|
|
|
|
|
|
|
|
Add_dependency full base-directories
|
|
|
|
Add_dependency full xbps-triggers
|
2009-03-27 11:34:11 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
#
|
|
|
|
# Install misc config files.
|
|
|
|
#
|
|
|
|
for f in bash_logout bash_profile bashrc; do
|
|
|
|
install -D -m644 ${FILESDIR}/dot_${f} ${DESTDIR}/etc/skel/.${f}
|
|
|
|
done
|
|
|
|
|
|
|
|
install -m644 ${FILESDIR}/profile ${DESTDIR}/etc
|
|
|
|
install -m600 ${FILESDIR}/securetty ${DESTDIR}/etc
|
|
|
|
install -m644 ${FILESDIR}/hosts ${DESTDIR}/etc
|
|
|
|
install -m644 ${FILESDIR}/host.conf ${DESTDIR}/etc
|
2009-10-04 17:38:00 +00:00
|
|
|
install -m644 ${FILESDIR}/issue ${DESTDIR}/etc
|
2010-12-21 22:21:07 +00:00
|
|
|
install -m644 ${FILESDIR}/lsb-release ${DESTDIR}/etc
|
2009-03-27 11:34:11 +00:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/profile.d
|
|
|
|
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
2009-03-27 15:39:55 +00:00
|
|
|
install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc
|
2009-03-27 11:34:11 +00:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/modprobe.d
|
2009-08-11 15:13:33 +00:00
|
|
|
install -m644 ${FILESDIR}/usb-load-ehci-first \
|
|
|
|
${DESTDIR}/etc/modprobe.d/usb-load-ehci-first.conf
|
2009-10-19 14:22:28 +00:00
|
|
|
install -m644 ${FILESDIR}/blacklist.conf ${DESTDIR}/etc/modprobe.d
|
2010-05-18 06:33:57 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Install comman licenses, from Debian.
|
|
|
|
#
|
|
|
|
install -d ${DESTDIR}/usr/share/licenses
|
|
|
|
install -m644 ${FILESDIR}/licenses/* ${DESTDIR}/usr/share/licenses
|
2011-07-10 11:02:46 +00:00
|
|
|
|
|
|
|
# vkpurge
|
2011-07-10 11:52:53 +00:00
|
|
|
vinstall ${FILESDIR}/vkpurge 755 sbin vkpurge
|
2009-03-27 11:34:11 +00:00
|
|
|
}
|