# New ports collection makefile for: linux_base # Date created: Jul 7, 1999 # Whom: marcel@FreeBSD.org # # $FreeBSD$ # PORTNAME= linux_base PORTVERSION= 6.1 CATEGORIES= emulators linux MASTER_SITES= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g} DISTFILES= ${RPM_SET1} ${RPM_LDCONFIG} ${RPM_SET2} \ ${RPM_RPM} ${RPM_SET3} PATCH_SITES= ${RPM_MIRRORS:S/__DIR__/${UPDDIR}/g} PATCHFILES= ${UPDATES} MAINTAINER= marcel@FreeBSD.org BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm ONLY_FOR_ARCHS= alpha i386 DIST_SUBDIR= rpm PREFIX= ${LINUXBASE} EXTRACT_ONLY= NO_BUILD= yes NO_FILTER_SHLIBS= yes NO_MTREE= yes PLIST= ${PKGDIR}/pkg-plist.${MACHINE_ARCH} MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH} RPM_MIRRORS= \ ftp://ftp.freesoftware.com/pub/linux/redhat/__DIR__/ \ ftp://ftp.redhat.com/redhat/__DIR__/ \ ftp://ftp.infomagic.com/pub/mirrors/linux/RedHat/__DIR__/ \ ftp://ftp.crc.ca/mirrors/by-site/ftp.redhat.com/redhat/__DIR__/ \ ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \ ftp://mirror.nucba.ac.jp/mirror/redhat/__DIR__/ \ ftp://ftp.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/__DIR__/ \ ftp://ftp.is.co.za/linux/distributions/redhat/__DIR__/ \ ftp://mirror.aarnet.edu.au/pub/linux/redhat/__DIR__/ STDDIR= old-releases/redhat-6.1/${MACHINE_ARCH}/RedHat/RPMS UPDDIR= updates/6.1/${MACHINE_ARCH} .include .if (${MACHINE_ARCH} == "i386") LIBC5_COMPAT= ld.so-1.9.5-11.i386.rpm libc-5.3.12-31.i386.rpm RPM_BINUTILS= binutils-2.9.1.0.23-6.i386.rpm RPM_GLIB= RPM_GLIBC= glibc-2.1.2-11.i386.rpm RPM_LDCONFIG= ldconfig-1.9.5-15.i386.rpm RPM_RPM= rpm-3.0.3-2.i386.rpm RPM_X_LIBS= XFree86-libs-3.3.5-3.i386.rpm UPDATES= glib-1.2.6-2.i386.rpm .else LIBC5_COMPAT= RPM_BINUTILS= binutils-2.9.1.0.23-7.alpha.rpm RPM_GLIB= glib-1.2.6-2.alpha.rpm RPM_GLIBC= glibc-2.1.2-17.alpha.rpm RPM_LDCONFIG= ldconfig-1.9.5-16.alpha.rpm RPM_RPM= rpm-3.0.3-6.alpha.rpm RPM_X_LIBS= XFree86-libs-3.3.5-17.alpha.rpm UPDATES= .endif # # The file files/pkg-list lists all rpms that are installed by this port # versus all rpms installed by a minimal Redhat installation. # RPM_SET1= setup-2.0.5-1.noarch.rpm \ filesystem-1.3.5-1.noarch.rpm \ basesystem-6.0-4.noarch.rpm RPM_SET2= ${RPM_GLIBC} \ termcap-9.12.6-15.${MACHINE_ARCH}.rpm \ libtermcap-2.0.8-18.${MACHINE_ARCH}.rpm \ bash-1.14.7-16.${MACHINE_ARCH}.rpm \ ncurses-4.2-25.${MACHINE_ARCH}.rpm \ zlib-1.1.3-5.${MACHINE_ARCH}.rpm \ info-3.12h-2.${MACHINE_ARCH}.rpm \ fileutils-4.0-8.${MACHINE_ARCH}.rpm \ grep-2.3-2.${MACHINE_ARCH}.rpm \ ${RPM_BINUTILS} \ gd-1.3-5.${MACHINE_ARCH}.rpm \ gdbm-1.8.0-2.${MACHINE_ARCH}.rpm \ ${RPM_GLIB} \ ${LIBC5_COMPAT} \ libstdc++-2.9.0-24.${MACHINE_ARCH}.rpm \ sh-utils-2.0-1.${MACHINE_ARCH}.rpm \ readline-2.2.1-5.${MACHINE_ARCH}.rpm \ redhat-release-6.1-1.noarch.rpm RPM_SET3= setserial-2.15-2.${MACHINE_ARCH}.rpm \ slang-1.2.2-4.${MACHINE_ARCH}.rpm \ stat-1.5-11.${MACHINE_ARCH}.rpm \ tcsh-6.08.00-6.${MACHINE_ARCH}.rpm \ ${RPM_X_LIBS} \ xpm-3.4k-1.${MACHINE_ARCH}.rpm DBPATH= /var/lib/rpm RPM= LC_ALL=C rpm RPMFLAGS= --ignoreos --root ${LINUXBASE} --dbpath ${DBPATH} \ --nodeps --replacepkgs RPMDIR= ${DISTDIR}/${DIST_SUBDIR} REMOVE_DIRS= /dev /home /root /tmp /var/tmp /usr/local /usr/tmp REMOVE_FILES= /bin/df /bin/su /etc/exports /etc/group \ /etc/localtime /etc/motd /etc/passwd /etc/printcap \ /etc/services /etc/protocols .if ${OSVERSION} <= 320001 # # Hack to let the rpm installer run. The actual kernel change occurred after # 400008 on 4.0-current and well after 320001, but we'll assume people running # -current and -stable stay reasonably up-to-date. # # Define this if you get messages that look like # # -- # ELF interpreter /compat/linux/lib/ld-linux.so.2 not found # execution of script failed # -- # NEEDLOADLINK= true .endif do-patch: @${DO_NADA} pre-install: # # Handle the loading of the linux loadable kernel module if # required. # @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL do-install: @${MKDIR} ${LINUXBASE}/${DBPATH} @${MKDIR} ${LINUXBASE}/var/tmp @${RPM} --initdb --root ${LINUXBASE} --dbpath ${DBPATH} # # Make sure we have a /dev/null in the chrooted environment. # @${MKDIR} ${LINUXBASE}/dev @${RM} -f ${LINUXBASE}/dev/null @mknod ${LINUXBASE}/dev/null c 2 2 @${CHMOD} 666 ${LINUXBASE}/dev/null .if defined(NEEDLOADLINK) @${MKDIR} ${LINUXBASE}/compat @${LN} -s / ${LINUXBASE}/compat/linux .endif # # Install all packages. Ignore dependencies just # like the Red Hat installer. # @for R in ${RPM_SET1}; do \ ${ECHO} $$R; \ ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done @${ECHO} ${RPM_LDCONFIG} @${RPM} -U ${RPMFLAGS} --noscripts ${RPMDIR}/${RPM_LDCONFIG} @brandelf -t Linux ${LINUXBASE}/sbin/ldconfig @${LINUXBASE}/sbin/ldconfig @${TOUCH} ${LINUXBASE}/etc/ld.so.conf @for R in ${RPM_SET2}; do \ ${ECHO} $$R; \ ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done @${ECHO} ${RPM_RPM} @${RPM} -U ${RPMFLAGS} --noscripts ${RPMDIR}/${RPM_RPM} @brandelf -t Linux ${LINUXBASE}/bin/rpm @for R in ${RPM_SET3}; do \ ${ECHO} $$R; \ ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done # # Install updates # @for R in ${PATCHFILES}; do \ ${ECHO} $$R; \ ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done # # Install yp.conf as a hint to NIS users # ${INSTALL} ${COPY} -m 644 ${FILESDIR}/yp.conf ${LINUXBASE}/etc # # Finish # .if defined(NEEDLOADLINK) @${RM} -rf ${LINUXBASE}/compat .endif @for D in ${REMOVE_DIRS}; do \ ${RM} -rf ${LINUXBASE}/$$D; \ done @for F in ${REMOVE_FILES}; do \ ${RM} ${LINUXBASE}/$$F; \ done @${LN} -s /var/tmp ${LINUXBASE}/usr/tmp post-install: @${ECHO} '' @fmt ${PKGMESSAGE} @${ECHO} '' .include 7a0c374a654'>diffstats
Commit message (Expand)AuthorAgeFilesLines
* - add LICENSEdinoex2017-01-292-26/+91
* Reset sanpei@'s ports after 18 months of inactivity.rene2017-01-231-1/+1
* Remove libintl.so.9 compatibility link that was added in r374303 totijl2016-12-094-4/+4
* Remove libiconv.so.3 compatibility link that was added in r374303 totijl2016-12-092-2/+2
* Remove libart_lgpl_2.so.5 compatibility link that was added in r374303 totijl2016-12-092-2/+2
* - Add LICENSEamdmi32016-11-231-1/+4
* Reset edwin's ports, he has handed in his commit bit.rene2016-11-171-1/+1
* ${RM} already has -f.mat2016-10-213-3/+3
* Introduce new extensible virtual categories for KDEtcberner2016-10-194-12/+4
* - Add LICENSEamdmi32016-09-091-0/+3
* Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks andtcberner2016-08-247-17/+16
* Remove unneeded usage of:mat2016-06-061-2/+1
* Add USE_KDE4 so that KDE4_VERSION is definedswills2016-05-271-0/+1
* Remove expired misc/kdehier4 and update all of its consumers to not reference...rene2016-05-267-7/+6
* Convert tab after WWW: in pkg-descrs to single space as per PHBamdmi32016-05-242-2/+2
* - Fix trailing whitespace in pkg-messagesamdmi32016-05-191-1/+1
* - Fix trailing whitespace in pkg-descrs, categories [p-x]*amdmi32016-05-197-12/+12
* x11-clocks/glclock: Removed -fforce-mem -fforce-addr to fix build with clangpi2016-05-106-19/+19
* Unbreak.mat2016-04-124-15/+17
* Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-017-10/+10
* - Add LICENSEamdmi32016-02-153-14/+17
* Convert LICENSE= "GPLxx # or later" to "GPLxx+"amdmi32016-01-134-4/+4
* Cleanup GH_* and variables order.mat2015-12-291-1/+0
* Unmark BROKEN.rakuco2015-12-281-1/+0
* - Switch to options helpersamdmi32015-12-281-2/+4
* - Switch to USES=taramdmi32015-12-281-3/+6
* - Update MASTER_SITESmiwi2015-12-251-3/+1
* - Update MASTER_SITESmiwi2015-12-093-20/+66
* - Update to 0.51.araujo2015-12-062-5/+10
* Mark a few ports BROKEN: unfetchableantoine2015-11-092-0/+4
* This port is no longer interactive as of r400147.cy2015-10-251-1/+0
* Resurrect xalarm 3.06.cy2015-10-259-0/+207
* - Unbreak the build by s/glPolygonOffsetEXT/glPolygonOffset/danfe2015-10-241-14/+6
* x11-clocks/wmclock: Upgrade version 1.0.15 => 1.0.16marino2015-10-163-8/+47
* Mark BROKEN: fails to linkantoine2015-09-271-0/+2
* Make all GNUstep ports install into the System domain so that the Local domai...theraven2015-09-192-34/+34
* - Switch to options helpersamdmi32015-09-171-18/+11
* Mark as broken: does not fetchbapt2015-09-141-0/+1
* Mark as broken: does not fetchbapt2015-09-141-0/+1
* - Switch to options helpersamdmi32015-09-051-5/+1
* By default libtool replaces -export-symbols <file> with -retain-symbols-filetijl2015-08-022-1/+2
* - Switch to USES=autoreconfamdmi32015-06-031-3/+3
* Remove $FreeBSD$ from patches files everywhere.mat2015-05-231-2/+0
* MASTER_SITES cleanup.mat2015-05-1411-19/+10
* Cleanup DIST* variables.mat2015-05-121-2/+1
* USES=xfce: Stop overriding MASTER_SITE_SUBDIR.bdrewery2015-04-293-6/+3
* Update to 2.43.wxs2015-04-27