diff options
author | trevor <trevor@FreeBSD.org> | 2004-12-28 23:25:47 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2004-12-28 23:25:47 +0800 |
commit | 3562b3035990b204ef4ce57e2341f748c7132d27 (patch) | |
tree | 22780bf00e759997ad1e25a662befbbe1dbdd968 | |
parent | aacf06026a712f348e034278ef946f748ecb2523 (diff) | |
download | freebsd-ports-gnome-3562b3035990b204ef4ce57e2341f748c7132d27.tar.gz freebsd-ports-gnome-3562b3035990b204ef4ce57e2341f748c7132d27.tar.zst freebsd-ports-gnome-3562b3035990b204ef4ce57e2341f748c7132d27.zip |
- update to latest release, 2004.3
- update CONFLICTS
- do not install unneeded /dev/
- make output less verbose
-rw-r--r-- | emulators/linux_base-gentoo-stage1/Makefile | 67 | ||||
-rw-r--r-- | emulators/linux_base-gentoo-stage1/distinfo.alpha | 4 | ||||
-rw-r--r-- | emulators/linux_base-gentoo-stage1/distinfo.i386 | 4 | ||||
-rw-r--r-- | emulators/linux_base-gentoo-stage1/distinfo.ia64 | 3 | ||||
-rw-r--r-- | emulators/linux_dist-gentoo-stage1/Makefile | 67 | ||||
-rw-r--r-- | emulators/linux_dist-gentoo-stage1/distinfo.alpha | 4 | ||||
-rw-r--r-- | emulators/linux_dist-gentoo-stage1/distinfo.i386 | 4 | ||||
-rw-r--r-- | emulators/linux_dist-gentoo-stage1/distinfo.ia64 | 3 |
8 files changed, 70 insertions, 86 deletions
diff --git a/emulators/linux_base-gentoo-stage1/Makefile b/emulators/linux_base-gentoo-stage1/Makefile index 642486d37387..010c69c5dca4 100644 --- a/emulators/linux_base-gentoo-stage1/Makefile +++ b/emulators/linux_base-gentoo-stage1/Makefile @@ -6,7 +6,7 @@ # PORTNAME= linux_base-gentoo-stage1 -PORTVERSION= 1.4 +PORTVERSION= 2004.3 CATEGORIES= emulators linux MASTER_SITES= ${MASTER_SITE_GENTOO} EXTRACT_ONLY= @@ -16,56 +16,51 @@ COMMENT= Files from Gentoo distribution, for Linux compatibility RESTRICTED= "binaries licensed under GNU GPL without accompanying source" -ONLY_FOR_ARCHS= alpha amd64 ia64 i386 +CONFLICTS= linux_base-6* linux_base-7* linux_base-8* linux_base-debian* \ + linux_base-rh* linux_base-suse* +DIST_SUBDIR= gentoo-linux +MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} +NO_BUILD= y +NO_FILTER_SHLIBS=y +NO_MTREE= y +ONLY_FOR_ARCHS= alpha amd64 ia64 i386 +PLIST= ${WRKDIR}/pkg-plist +PREFIX= ${LINUXBASE} USE_BZIP2= y .include <bsd.port.pre.mk> .if (${ARCH} == "amd64") LATEST_LINK= ${PORTNAME:C/linux_base/linux32_base/} -ARCH= i386 .endif .if (${ARCH} == "alpha") -MASTER_SITES+= ftp://ftp.uos.ac.kr/pub/Linux/gentoo/gentoo/experimental/alpha/stages/ -MASTER_SITE_SUBDIR= experimental/alpha/stages -DISTNAME= stage1-alpha-20030729 -.elif (${ARCH} == "i386") -MASTER_SITE_SUBDIR= releases/x86/${PORTVERSION}/stages/x86 \ - releases/historical/x86/${PORTVERSION}/stages/x86 -DISTNAME= stage1-x86-20030910 -.elif (${ARCH} == "ia64") -MASTER_SITE_SUBDIR= releases/x86/${PORTVERSION}/stages/x86 \ - releases/historical/x86/${PORTVERSION}/stages/x86 -DISTNAME= stage1-x86-20030910 +MASTER_SITE_SUBDIR= releases/alpha/2004.3/stages +DISTNAME= stage1-alpha-2004.3 +.elif (${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "ia64") +MASTER_SITE_SUBDIR= releases/x86/2004.3/stages/x86 +DISTNAME= stage1-x86-2004.3 .endif -DIST_SUBDIR= gentoo-linux -MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} -PLIST= ${WRKDIR}/pkg-plist -PREFIX= ${LINUXBASE} -NO_MTREE= y -NO_FILTER_SHLIBS=y -CONFLICTS= linux_base-6* linux_base-7* linux_base-8* linux_base-debian* - -do-build: - ${ECHO_CMD} etc/resolv.conf > ${PLIST} - ${TAR} tyf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${CUT} -c3-100 \ - > ${WRKDIR}/tarball-contents - ${GREP} -v '/$$' ${WRKDIR}/tarball-contents >> ${PLIST} - ${GREP} '/$$' ${WRKDIR}/tarball-contents | ${SED} -e "s:^:@dirrm :g" \ - | ${SORT} -r >> ${PLIST} +pre-install: + @${MKDIR} ${WRKSRC} + @${TAR} --exclude=./dev -xp -C ${WRKSRC} \ + -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + @${ECHO_CMD} etc/resolv.conf > ${PLIST} + @cd ${WRKSRC} && ${FIND} * -type f -o -type l >> ${PLIST} \ + && ${FIND} * -type d | ${SORT} -r | ${SED} -e 's:^:@dirrm :' \ + >> ${PLIST} + @${RM} -r ${WRKSRC} do-install: - @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - ${MKDIR} ${PREFIX} - ${TAR} -xpy -C ${PREFIX} -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} - ${CP} -p /etc/resolv.conf ${PREFIX}/etc/ - ${RM} ${PREFIX}/dev/null ${PREFIX}/dev/stdout - mknod ${PREFIX}/dev/null c 2 2 - mknod ${PREFIX}/dev/stdout c 22 1 - ${BRANDELF} -t Linux ${PREFIX}/sbin/ldconfig ${PREFIX}/sbin/sln + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + @${TAR} --exclude=./dev -xpy -C ${PREFIX} \ + -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + @${FIND} ${PREFIX} -type d -exec ${CHMOD} 755 \{\} \; + @${CP} -p /etc/resolv.conf ${PREFIX}/etc/ + @${BRANDELF} -t Linux ${PREFIX}/sbin/ldconfig ${PREFIX}/sbin/sln @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} diff --git a/emulators/linux_base-gentoo-stage1/distinfo.alpha b/emulators/linux_base-gentoo-stage1/distinfo.alpha index f3d1649a15ca..ae96ab1db281 100644 --- a/emulators/linux_base-gentoo-stage1/distinfo.alpha +++ b/emulators/linux_base-gentoo-stage1/distinfo.alpha @@ -1,3 +1,3 @@ $FreeBSD$ -MD5 (gentoo-linux/stage1-alpha-20030729.tar.bz2) = 3700e2e20b7f50ee02424dd5a3a0617c -SIZE (gentoo-linux/stage1-alpha-20030729.tar.bz2) = 12367528 +MD5 (gentoo-linux/stage1-alpha-2004.3.tar.bz2) = 6545988230d8a0c92236f6ffb9febcc5 +SIZE (gentoo-linux/stage1-alpha-2004.3.tar.bz2) = 12528654 diff --git a/emulators/linux_base-gentoo-stage1/distinfo.i386 b/emulators/linux_base-gentoo-stage1/distinfo.i386 index fcb8d600ce05..b7122167bc9c 100644 --- a/emulators/linux_base-gentoo-stage1/distinfo.i386 +++ b/emulators/linux_base-gentoo-stage1/distinfo.i386 @@ -1,2 +1,2 @@ -MD5 (gentoo-linux/stage1-x86-20030910.tar.bz2) = 6cda1cc745ba882731ac07fbae0dd973 -SIZE (gentoo-linux/stage1-x86-20030910.tar.bz2) = 11175550 +MD5 (gentoo-linux/stage1-x86-2004.3.tar.bz2) = 1fa657675542653f0eee1418a061b290 +SIZE (gentoo-linux/stage1-x86-2004.3.tar.bz2) = 10309924 diff --git a/emulators/linux_base-gentoo-stage1/distinfo.ia64 b/emulators/linux_base-gentoo-stage1/distinfo.ia64 deleted file mode 100644 index bdfcb146cbbc..000000000000 --- a/emulators/linux_base-gentoo-stage1/distinfo.ia64 +++ /dev/null @@ -1,3 +0,0 @@ -$FreeBSD$ -MD5 (gentoo-linux/stage1-ia64-20030912.tar.bz2) = 26c14afff7dd7b90e6a1fbb2b35363e2 -SIZE (gentoo-linux/stage1-ia64-20030912.tar.bz2) = 15355494 diff --git a/emulators/linux_dist-gentoo-stage1/Makefile b/emulators/linux_dist-gentoo-stage1/Makefile index 642486d37387..010c69c5dca4 100644 --- a/emulators/linux_dist-gentoo-stage1/Makefile +++ b/emulators/linux_dist-gentoo-stage1/Makefile @@ -6,7 +6,7 @@ # PORTNAME= linux_base-gentoo-stage1 -PORTVERSION= 1.4 +PORTVERSION= 2004.3 CATEGORIES= emulators linux MASTER_SITES= ${MASTER_SITE_GENTOO} EXTRACT_ONLY= @@ -16,56 +16,51 @@ COMMENT= Files from Gentoo distribution, for Linux compatibility RESTRICTED= "binaries licensed under GNU GPL without accompanying source" -ONLY_FOR_ARCHS= alpha amd64 ia64 i386 +CONFLICTS= linux_base-6* linux_base-7* linux_base-8* linux_base-debian* \ + linux_base-rh* linux_base-suse* +DIST_SUBDIR= gentoo-linux +MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} +NO_BUILD= y +NO_FILTER_SHLIBS=y +NO_MTREE= y +ONLY_FOR_ARCHS= alpha amd64 ia64 i386 +PLIST= ${WRKDIR}/pkg-plist +PREFIX= ${LINUXBASE} USE_BZIP2= y .include <bsd.port.pre.mk> .if (${ARCH} == "amd64") LATEST_LINK= ${PORTNAME:C/linux_base/linux32_base/} -ARCH= i386 .endif .if (${ARCH} == "alpha") -MASTER_SITES+= ftp://ftp.uos.ac.kr/pub/Linux/gentoo/gentoo/experimental/alpha/stages/ -MASTER_SITE_SUBDIR= experimental/alpha/stages -DISTNAME= stage1-alpha-20030729 -.elif (${ARCH} == "i386") -MASTER_SITE_SUBDIR= releases/x86/${PORTVERSION}/stages/x86 \ - releases/historical/x86/${PORTVERSION}/stages/x86 -DISTNAME= stage1-x86-20030910 -.elif (${ARCH} == "ia64") -MASTER_SITE_SUBDIR= releases/x86/${PORTVERSION}/stages/x86 \ - releases/historical/x86/${PORTVERSION}/stages/x86 -DISTNAME= stage1-x86-20030910 +MASTER_SITE_SUBDIR= releases/alpha/2004.3/stages +DISTNAME= stage1-alpha-2004.3 +.elif (${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "ia64") +MASTER_SITE_SUBDIR= releases/x86/2004.3/stages/x86 +DISTNAME= stage1-x86-2004.3 .endif -DIST_SUBDIR= gentoo-linux -MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} -PLIST= ${WRKDIR}/pkg-plist -PREFIX= ${LINUXBASE} -NO_MTREE= y -NO_FILTER_SHLIBS=y -CONFLICTS= linux_base-6* linux_base-7* linux_base-8* linux_base-debian* - -do-build: - ${ECHO_CMD} etc/resolv.conf > ${PLIST} - ${TAR} tyf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${CUT} -c3-100 \ - > ${WRKDIR}/tarball-contents - ${GREP} -v '/$$' ${WRKDIR}/tarball-contents >> ${PLIST} - ${GREP} '/$$' ${WRKDIR}/tarball-contents | ${SED} -e "s:^:@dirrm :g" \ - | ${SORT} -r >> ${PLIST} +pre-install: + @${MKDIR} ${WRKSRC} + @${TAR} --exclude=./dev -xp -C ${WRKSRC} \ + -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + @${ECHO_CMD} etc/resolv.conf > ${PLIST} + @cd ${WRKSRC} && ${FIND} * -type f -o -type l >> ${PLIST} \ + && ${FIND} * -type d | ${SORT} -r | ${SED} -e 's:^:@dirrm :' \ + >> ${PLIST} + @${RM} -r ${WRKSRC} do-install: - @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - ${MKDIR} ${PREFIX} - ${TAR} -xpy -C ${PREFIX} -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} - ${CP} -p /etc/resolv.conf ${PREFIX}/etc/ - ${RM} ${PREFIX}/dev/null ${PREFIX}/dev/stdout - mknod ${PREFIX}/dev/null c 2 2 - mknod ${PREFIX}/dev/stdout c 22 1 - ${BRANDELF} -t Linux ${PREFIX}/sbin/ldconfig ${PREFIX}/sbin/sln + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + @${TAR} --exclude=./dev -xpy -C ${PREFIX} \ + -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + @${FIND} ${PREFIX} -type d -exec ${CHMOD} 755 \{\} \; + @${CP} -p /etc/resolv.conf ${PREFIX}/etc/ + @${BRANDELF} -t Linux ${PREFIX}/sbin/ldconfig ${PREFIX}/sbin/sln @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} diff --git a/emulators/linux_dist-gentoo-stage1/distinfo.alpha b/emulators/linux_dist-gentoo-stage1/distinfo.alpha index f3d1649a15ca..ae96ab1db281 100644 --- a/emulators/linux_dist-gentoo-stage1/distinfo.alpha +++ b/emulators/linux_dist-gentoo-stage1/distinfo.alpha @@ -1,3 +1,3 @@ $FreeBSD$ -MD5 (gentoo-linux/stage1-alpha-20030729.tar.bz2) = 3700e2e20b7f50ee02424dd5a3a0617c -SIZE (gentoo-linux/stage1-alpha-20030729.tar.bz2) = 12367528 +MD5 (gentoo-linux/stage1-alpha-2004.3.tar.bz2) = 6545988230d8a0c92236f6ffb9febcc5 +SIZE (gentoo-linux/stage1-alpha-2004.3.tar.bz2) = 12528654 diff --git a/emulators/linux_dist-gentoo-stage1/distinfo.i386 b/emulators/linux_dist-gentoo-stage1/distinfo.i386 index fcb8d600ce05..b7122167bc9c 100644 --- a/emulators/linux_dist-gentoo-stage1/distinfo.i386 +++ b/emulators/linux_dist-gentoo-stage1/distinfo.i386 @@ -1,2 +1,2 @@ -MD5 (gentoo-linux/stage1-x86-20030910.tar.bz2) = 6cda1cc745ba882731ac07fbae0dd973 -SIZE (gentoo-linux/stage1-x86-20030910.tar.bz2) = 11175550 +MD5 (gentoo-linux/stage1-x86-2004.3.tar.bz2) = 1fa657675542653f0eee1418a061b290 +SIZE (gentoo-linux/stage1-x86-2004.3.tar.bz2) = 10309924 diff --git a/emulators/linux_dist-gentoo-stage1/distinfo.ia64 b/emulators/linux_dist-gentoo-stage1/distinfo.ia64 deleted file mode 100644 index bdfcb146cbbc..000000000000 --- a/emulators/linux_dist-gentoo-stage1/distinfo.ia64 +++ /dev/null @@ -1,3 +0,0 @@ -$FreeBSD$ -MD5 (gentoo-linux/stage1-ia64-20030912.tar.bz2) = 26c14afff7dd7b90e6a1fbb2b35363e2 -SIZE (gentoo-linux/stage1-ia64-20030912.tar.bz2) = 15355494 |