2011-06-23 03:22:24 +02:00
|
|
|
# Template file for 'base-files'
|
|
|
|
pkgname=base-files
|
2011-06-24 19:50:18 +02:00
|
|
|
version=0.42
|
2009-03-27 12:34:11 +01:00
|
|
|
build_style=custom-install
|
2011-06-23 03:22:24 +02:00
|
|
|
short_desc="Vanilla Base System files"
|
2009-03-27 12:34:11 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-28 13:31:38 +02:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
|
|
|
license="public domain"
|
2009-03-27 12:34:11 +01:00
|
|
|
long_desc="
|
2010-05-18 08:03:13 +02: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 12:34:11 +01:00
|
|
|
|
2011-06-23 03:22:24 +02:00
|
|
|
replaces="xbps-base-files>=0"
|
2010-05-18 08:03:13 +02:00
|
|
|
noarch=yes
|
2009-03-27 12:34:11 +01:00
|
|
|
base_chroot=yes
|
|
|
|
|
2010-05-18 08:03:13 +02: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 12:34:11 +01: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 19:38:00 +02:00
|
|
|
install -m644 ${FILESDIR}/issue ${DESTDIR}/etc
|
2010-12-21 23:21:07 +01:00
|
|
|
install -m644 ${FILESDIR}/lsb-release ${DESTDIR}/etc
|
2009-03-27 12:34:11 +01:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/profile.d
|
|
|
|
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
2009-03-27 16:39:55 +01:00
|
|
|
install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc
|
2009-03-27 12:34:11 +01:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/modprobe.d
|
2009-08-11 17:13:33 +02:00
|
|
|
install -m644 ${FILESDIR}/usb-load-ehci-first \
|
|
|
|
${DESTDIR}/etc/modprobe.d/usb-load-ehci-first.conf
|
2009-10-19 16:22:28 +02:00
|
|
|
install -m644 ${FILESDIR}/blacklist.conf ${DESTDIR}/etc/modprobe.d
|
2010-05-18 08:33:57 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Install comman licenses, from Debian.
|
|
|
|
#
|
|
|
|
install -d ${DESTDIR}/usr/share/licenses
|
|
|
|
install -m644 ${FILESDIR}/licenses/* ${DESTDIR}/usr/share/licenses
|
2009-03-27 12:34:11 +01:00
|
|
|
}
|