2012-01-21 22:21:45 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Tom Gundersen <teg@jklm.no>
|
|
|
|
# Contributor: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
2009-10-08 03:40:19 +00:00
|
|
|
|
2012-01-21 22:21:45 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - inittab serial setup for v5/v7
|
2012-07-15 22:25:26 +00:00
|
|
|
# - patch to adjust naming to ALARM, turn off LEDs on shutdown
|
2011-03-05 20:14:44 +00:00
|
|
|
|
2009-10-08 03:40:19 +00:00
|
|
|
pkgname=initscripts
|
2012-07-15 22:25:26 +00:00
|
|
|
pkgver=2012.06.3
|
|
|
|
pkgrel=2
|
2009-10-08 03:40:19 +00:00
|
|
|
pkgdesc="System initialization/bootup scripts"
|
2012-01-21 22:21:45 +00:00
|
|
|
arch=('any')
|
|
|
|
url="http://www.archlinux.org"
|
2011-05-26 04:45:00 +00:00
|
|
|
license=('GPL2')
|
2010-04-05 01:16:29 +00:00
|
|
|
groups=('base')
|
2011-01-02 07:20:35 +00:00
|
|
|
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
|
2012-06-28 12:57:28 +00:00
|
|
|
depends=('glibc' 'bash' 'coreutils' 'systemd-tools' 'iproute2' 'ncurses' 'findutils' 'sysvinit')
|
2009-10-08 03:40:19 +00:00
|
|
|
optdepends=('bridge-utils: Network bridging support'
|
|
|
|
'dhcpcd: DHCP network configuration'
|
2011-06-21 21:01:20 +00:00
|
|
|
'net-tools: legacy network support'
|
2009-10-08 03:40:19 +00:00
|
|
|
'wireless_tools: Wireless networking')
|
2012-01-21 22:21:45 +00:00
|
|
|
makedepends=(asciidoc)
|
2010-04-05 01:16:29 +00:00
|
|
|
install=initscripts.install
|
2012-01-21 22:21:45 +00:00
|
|
|
source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.xz"
|
2012-07-15 22:25:26 +00:00
|
|
|
'0001-remove-run-nologin-before-leaving-rc.multi.patch'
|
2012-01-21 22:21:45 +00:00
|
|
|
'wireless.conf.d'
|
|
|
|
'alarm.patch'
|
|
|
|
'rc.conf')
|
2012-07-15 22:25:26 +00:00
|
|
|
md5sums=('34493c768b587ac59c6ee7e14f275c1d'
|
|
|
|
'87f02d111e0c613dd9fc61a9613f9c92'
|
2011-08-08 04:12:57 +00:00
|
|
|
'027576534885b8d5dded9be546057b12'
|
2012-07-15 22:25:26 +00:00
|
|
|
'a314e2858690154344b3a5a754f23dd3'
|
2012-01-21 22:21:45 +00:00
|
|
|
'c618e099f522f861e08a475f8960a6c2')
|
2009-10-08 03:40:19 +00:00
|
|
|
|
2011-05-26 04:45:00 +00:00
|
|
|
package() {
|
2012-01-21 22:21:45 +00:00
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
patch -p1 -i "${srcdir}/alarm.patch"
|
2012-07-15 22:25:26 +00:00
|
|
|
patch -Np1 <"$srcdir/0001-remove-run-nologin-before-leaving-rc.multi.patch"
|
2012-01-21 22:21:45 +00:00
|
|
|
cp "${srcdir}/rc.conf" .
|
|
|
|
[ "${CARCH}" == "arm" ] && sed -i 's/@TTY@/ttyS0/' inittab
|
|
|
|
[ "${CARCH}" == "armv7h" ] && sed -i 's/@TTY@/ttyO2/' inittab
|
|
|
|
|
2011-05-26 04:45:00 +00:00
|
|
|
make DESTDIR=${pkgdir} install
|
2011-01-02 07:20:35 +00:00
|
|
|
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
|
2009-10-08 03:40:19 +00:00
|
|
|
}
|