diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/dhcpcd | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/dhcpcd')
-rw-r--r-- | abs/core-testing/dhcpcd/PKGBUILD | 48 | ||||
-rw-r--r-- | abs/core-testing/dhcpcd/dhcpcd.conf.d | 6 |
2 files changed, 0 insertions, 54 deletions
diff --git a/abs/core-testing/dhcpcd/PKGBUILD b/abs/core-testing/dhcpcd/PKGBUILD deleted file mode 100644 index 1cfb7f9..0000000 --- a/abs/core-testing/dhcpcd/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ - -pkgname=dhcpcd -pkgver=5.0.7 -pkgrel=1 -pkgdesc="RFC2131 compliant DHCP client daemon" -url="http://roy.marples.name/dhcpcd/" -arch=('i686' 'x86_64') -license=('BSD') -groups=('base') -depends=('glibc' 'bash') -backup=('etc/conf.d/dhcpcd' 'etc/dhcpcd.conf') -options=('emptydirs') # We Need the Empty /var/lib/dhcpcd Directory -source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2" \ - 'dhcpcd.conf.d') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - # Fix Installation Locations - export PREFIX=/usr - sed -i 's/${PREFIX}\/etc/\/etc/' Makefile || return 1 - sed -i 's/\/db/\/lib\/dhcpcd/' Makefile || return 1 - sed -i 's/\/libexec/\/lib\/dhcpcd/' Makefile || return 1 - sed -i 's/\/libexec/\/lib\/dhcpcd/' dhcpcd-hooks/Makefile || return 1 - sed -i 's/${PREFIX}\/sbin/\/sbin/' Makefile || return 1 - - # Build - make || return 1 - make DESTDIR=${pkgdir} install || return 1 - - # Create Binary Symlink - install -d ${pkgdir}/usr/sbin || return 1 - ln -sf /sbin/dhcpcd ${pkgdir}/usr/sbin/dhcpcd || return 1 - - # Install Configuration File used in /etc/rc.d/network - install -D -m644 ../dhcpcd.conf.d $pkgdir/etc/conf.d/$pkgname || return 1 - - # Install License - install -d $pkgdir/usr/share/licenses/$pkgname || return 1 - awk '{if(FNR<27)print $0}' ${srcdir}/${pkgname}-${pkgver}/config.h \ - >> ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 - - # Make Man Pages FHS Compliant - mv -f ${pkgdir}/usr/man ${pkgdir}/usr/share/man || return 1 - - # Set Options in /etc/dhcpcd.conf - echo noipv4ll >> ${pkgdir}/etc/dhcpcd.conf || return 1 # Disable ip4vall -} diff --git a/abs/core-testing/dhcpcd/dhcpcd.conf.d b/abs/core-testing/dhcpcd/dhcpcd.conf.d deleted file mode 100644 index 9f5a80b..0000000 --- a/abs/core-testing/dhcpcd/dhcpcd.conf.d +++ /dev/null @@ -1,6 +0,0 @@ -# -# Arguments to be passed to the DHCP client daemon -# - -DHCPCD_ARGS="-t 30 -h $HOSTNAME" - |