Add a few more examples for custom builds
This commit is contained in:
parent
8bea2c8811
commit
781acdcd14
8 changed files with 206 additions and 1 deletions
24
custom/examples/960-pppd
Normal file
24
custom/examples/960-pppd
Normal file
|
@ -0,0 +1,24 @@
|
|||
#
|
||||
# $Id$
|
||||
#
|
||||
# The PPP package contains the pppd daemon and the chat program.
|
||||
# This is used for connecting to other machines; often for connecting
|
||||
# to the Internet via a dial-up or PPPoE connection to an ISP.
|
||||
#
|
||||
|
||||
PKG="ppp"
|
||||
PKG_VERSION="2.4.4"
|
||||
PKG_FILE="ppp-${PKG_VERSION}.tar.gz"
|
||||
URL="ftp://ftp.samba.org/pub/ppp/${PKG_FILE}"
|
||||
MD5="83800762e266132218b204dfb428d29"
|
||||
PATCH1=""
|
||||
|
||||
( cat << "xEOFx"
|
||||
./configure --prefix=/usr &&
|
||||
make
|
||||
|
||||
make install &&
|
||||
make install-etcppp
|
||||
|
||||
xEOFx
|
||||
) > tmp
|
32
custom/examples/961-openssl
Normal file
32
custom/examples/961-openssl
Normal file
|
@ -0,0 +1,32 @@
|
|||
#
|
||||
# $Id$
|
||||
#
|
||||
# The OpenSSL package contains management tools and libraries
|
||||
# relating to cryptography. These are useful for providing
|
||||
# cryptography functions to other packages, notably OpenSSH,
|
||||
# email applications and web browsers (for accessing HTTPS sites).
|
||||
#
|
||||
|
||||
PKG="openssl"
|
||||
PKG_VERSION="0.9.8c"
|
||||
PKG_FILE="openssl-${PKG_VERSION}.tar.gz"
|
||||
URL="ftp://ftp.openssl.org/source/${PKG_FILE}"
|
||||
MD5="78454bec556bcb4c45129428a766c886"
|
||||
PATCH1=" http://www.linuxfromscratch.org/patches/blfs/svn/openssl-0.9.8c-fix_manpages-1.patch"
|
||||
|
||||
( cat << "xEOFx"
|
||||
|
||||
sed -i -e 's/mcpu/march/' config
|
||||
patch -Np1 -i ../openssl-0.9.8c-fix_manpages-1.patch &&
|
||||
./config --openssldir=/etc/ssl --prefix=/usr shared &&
|
||||
make MANDIR=/usr/share/man
|
||||
|
||||
make MANDIR=/usr/share/man install &&
|
||||
cp -v -r certs /etc/ssl &&
|
||||
install -v -d -m755 /usr/share/doc/openssl-0.9.8c &&
|
||||
cp -v -r doc/{HOWTO,README,*.{txt,html,gif}} \
|
||||
/usr/share/doc/openssl-0.9.8c
|
||||
|
||||
|
||||
xEOFx
|
||||
) > tmp
|
41
custom/examples/963-gpm
Normal file
41
custom/examples/963-gpm
Normal file
|
@ -0,0 +1,41 @@
|
|||
#
|
||||
# $Id$
|
||||
#
|
||||
PKG="gpm"
|
||||
PKG_VERSION="1.20.1"
|
||||
PKG_FILE="gpm-${PKG_VERSION}.tar.bz2"
|
||||
URL="ftp://arcana.linux.it/pub/gpm/${PKG_FILE}"
|
||||
MD5="2c63e827d755527950d9d13fe3d87692"
|
||||
|
||||
PATCH1=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-segfault-1.patch"
|
||||
PATCH2=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-silent-1.patch"
|
||||
|
||||
|
||||
( cat << "xEOFx"
|
||||
|
||||
patch -Np1 -i ../gpm-1.20.1-segfault-1.patch &&
|
||||
patch -Np1 -i ../gpm-1.20.1-silent-1.patch &&
|
||||
./configure --prefix=/usr --sysconfdir=/etc &&
|
||||
LDFLAGS="-lm" make
|
||||
|
||||
make install &&
|
||||
cp -v conf/gpm-root.conf /etc &&
|
||||
ldconfig
|
||||
|
||||
# The normal cmd to install the boot script for gpm
|
||||
# --- PUT THIS CMD INSIDE 999-blfs_bootscripts
|
||||
#make install-gpm
|
||||
|
||||
cat > /etc/sysconfig/mouse << "EOF"
|
||||
# Begin /etc/sysconfig/mouse
|
||||
|
||||
MDEVICE="/dev/psaux"
|
||||
PROTOCOL="imps2"
|
||||
GPMOPTS=""
|
||||
|
||||
# End /etc/sysconfig/mouse
|
||||
EOF
|
||||
|
||||
xEOFx
|
||||
) > tmp
|
||||
|
25
custom/examples/963-lynx
Normal file
25
custom/examples/963-lynx
Normal file
|
@ -0,0 +1,25 @@
|
|||
#
|
||||
# $Id$
|
||||
#
|
||||
# Lynx is a text based web browser.
|
||||
#
|
||||
|
||||
PKG="lynx"
|
||||
PKG_VERSION="2.8.7"
|
||||
PKG_FILE="lynx${PKG_VERSION}.tar.bz2"
|
||||
URL="ftp://lynx.isc.org/lynx2.8.5/${PKG_FILE}"
|
||||
MD5=""
|
||||
PATCH1=""
|
||||
|
||||
( cat << "xEOFx"
|
||||
|
||||
./configure --prefix=/usr --libdir=/etc \
|
||||
--with-zlib --with-bzlib &&
|
||||
make
|
||||
|
||||
make docdir=/usr/share/doc/lynx-2.8.5/doc \
|
||||
helpdir=/usr/share/doc/lynx-2.8.5/help install-full &&
|
||||
chgrp -v -R root /usr/share/doc/lynx-2.8.5/doc
|
||||
|
||||
xEOFx
|
||||
) > tmp
|
25
custom/examples/964-hdcpcd
Normal file
25
custom/examples/964-hdcpcd
Normal file
|
@ -0,0 +1,25 @@
|
|||
#
|
||||
# $Id$
|
||||
#
|
||||
# dhcpcd is an implementation of the DHCP client specified in RFC2131.
|
||||
# This is useful for connecting your computer to a network which uses
|
||||
# DHCP to assign network addresses.
|
||||
#
|
||||
|
||||
PKG="dhcpcd"
|
||||
PKG_VERSION="2.0.8"
|
||||
PKG_FILE="dhcpcd-${PKG_VERSION}.tar.bz2"
|
||||
URL="ftp://ftp.osuosl.org/pub/gentoo/distfiles/${PKG_FILE}"
|
||||
MD5="ec91c33b6d9cb46a42f9564e573fd249"
|
||||
PATCH1=""
|
||||
|
||||
( cat << "xEOFx"
|
||||
|
||||
./configure --prefix="" --mandir=/usr/share/man &&
|
||||
make
|
||||
|
||||
make install &&
|
||||
chmod -v 754 /etc/dhcpc/dhcpcd.exe
|
||||
|
||||
xEOFx
|
||||
) > tmp
|
25
custom/examples/965-eject
Normal file
25
custom/examples/965-eject
Normal file
|
@ -0,0 +1,25 @@
|
|||
#
|
||||
# $Id$
|
||||
#
|
||||
# Program for ejecting removable media under software control.
|
||||
# Can also control the auto-eject feature of some drives and
|
||||
# can be used to switch CDs on an IDE/ATAPI CD changer.
|
||||
#
|
||||
|
||||
PKG="eject"
|
||||
PKG_VERSION="2.10"
|
||||
PKG_FILE="eject-${PKG_VERSION}.tar.gz"
|
||||
URL="ftp://sunsite.unc.edu/pub/Linux/utils/disk-management/${PKG_FILE}"
|
||||
MD5="82e3a7a4d7e3323018c6938015ff25f7"
|
||||
PATCH1=""
|
||||
|
||||
( cat << "xEOFx"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-default-device=/dev/cdrom \
|
||||
--disable-nls
|
||||
make
|
||||
make install
|
||||
|
||||
xEOFx
|
||||
) > tmp
|
33
custom/examples/998-syslinux
Normal file
33
custom/examples/998-syslinux
Normal file
|
@ -0,0 +1,33 @@
|
|||
#
|
||||
# $Id$
|
||||
#
|
||||
# SYSLINUX is a collection of boot loaders for the Linux
|
||||
# operating system which operates off Linux ext2/3
|
||||
# filesystems, MS-DOS FAT filesystems, network servers
|
||||
# using PXE firmware, or from CD-ROMs. The FAT
|
||||
# filesystem version can be installed from DOS, NT, or
|
||||
# Linux.
|
||||
#
|
||||
# It includes a sophisticated API for add-on "COM32"
|
||||
# modules, including a significant subset of the
|
||||
# standard C library.
|
||||
#
|
||||
# It also includes MEMDISK, a tool to boot legacy
|
||||
# operating systems from nontraditional media like PXE
|
||||
# or CD-ROM.
|
||||
#
|
||||
|
||||
PKG="syslinux"
|
||||
PKG_VERSION="3.31"
|
||||
PKG_FILE="syslinux-$PKG_VERSION}.tar.bz2"
|
||||
URL="http://www.kernel.org/pub/linux/utils/boot/syslinux/${PKG_FILE}"
|
||||
MD5="5faae89d18baf92e28bc820c62270db9"
|
||||
PATCH1=""
|
||||
|
||||
( cat << "xEOFx"
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
xEOFx
|
||||
) > tmp
|
|
@ -15,6 +15,6 @@ PATCH1=""
|
|||
# EXAMPLE
|
||||
#
|
||||
make install-gpm
|
||||
|
||||
make install-service-dhcpcd
|
||||
xEOFx
|
||||
) > tmp
|
||||
|
|
Reference in a new issue