Add ifenslave pkg splitted off kernel-libc-headers.
This is to address https://bugs.launchpad.net/xbps/+bug/501274 --HG-- extra : convert_revision : 56db65e6914f91ed6ce6d758db8578ef28fc7ca8
This commit is contained in:
parent
044314e928
commit
a213f489d5
5 changed files with 1118 additions and 12 deletions
|
@ -1 +0,0 @@
|
||||||
kernel-libc-headers
|
|
1103
srcpkgs/ifenslave/files/ifenslave.c
Normal file
1103
srcpkgs/ifenslave/files/ifenslave.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,10 @@
|
||||||
# Template file for 'ifenslave'.
|
# Template file for 'ifenslave'
|
||||||
#
|
pkgname=ifenslave
|
||||||
|
version=1.1.0
|
||||||
|
build_style=custom-install
|
||||||
short_desc="Attach and detach slave interfaces to a bonding device"
|
short_desc="Attach and detach slave interfaces to a bonding device"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
|
||||||
long_desc="
|
long_desc="
|
||||||
This is a tool to attach and detach slave network interfaces to a bonding
|
This is a tool to attach and detach slave network interfaces to a bonding
|
||||||
device. A bonding device will act like a normal Ethernet network device to
|
device. A bonding device will act like a normal Ethernet network device to
|
||||||
|
@ -11,15 +15,17 @@ long_desc="
|
||||||
The kernel must have support for bonding devices for ifenslave to be useful.
|
The kernel must have support for bonding devices for ifenslave to be useful.
|
||||||
This package supports 2.6.x kernels and the most recent 2.4.x kernels."
|
This package supports 2.6.x kernels and the most recent 2.4.x kernels."
|
||||||
|
|
||||||
version=1.1.0
|
nofetch=yes
|
||||||
|
noextract=yes
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
cd ${wrksrc}/Documentation/networking || return 1
|
cd ${wrksrc} || return 1
|
||||||
gcc -Wall -Wstrict-prototypes -O -I${wrksrc}/include \
|
gcc -Wall -Wstrict-prototypes ${FILESDIR}/ifenslave.c \
|
||||||
ifenslave.c -o ifenslave || return 1
|
-o ifenslave || return 1
|
||||||
install -D -m755 ifenslave ${DESTDIR}/sbin/ifenslave
|
install -D -m755 ifenslave ${DESTDIR}/sbin/ifenslave
|
||||||
install -D -m644 ${FILESDIR}/ifenslave.8 \
|
install -D -m644 ${FILESDIR}/ifenslave.8 \
|
||||||
${DESTDIR}/usr/share/man/man8/ifenslave.8 || return 1
|
${DESTDIR}/usr/share/man/man8/ifenslave.8 || return 1
|
||||||
}
|
}
|
|
@ -18,8 +18,6 @@ long_desc="
|
||||||
|
|
||||||
base_chroot=yes
|
base_chroot=yes
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
# Ugly but so we can always use official code :-)
|
|
||||||
subpackages="ifenslave"
|
|
||||||
|
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue