mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
Step 2: base tools: pkgtools/pkgin
- Setup default repository to the official Minix3 one. - pkgin formatting fix (from Ben Gras <ben@minix3.org>)
This commit is contained in:
parent
5609d57fbe
commit
8d2ff44baa
@ -51,11 +51,19 @@ MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
|
|||||||
|
|
||||||
DEPENDS+= pkg_install>=20130901:../../pkgtools/pkg_install
|
DEPENDS+= pkg_install>=20130901:../../pkgtools/pkg_install
|
||||||
|
|
||||||
|
.if (${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix")
|
||||||
|
CONFIGURE_ENV += ac_cv_func_tcgetpgrp=no
|
||||||
|
.endif
|
||||||
|
|
||||||
# those have official repositories
|
# those have official repositories
|
||||||
.if !empty(PKGIN_REPOSITORY_URL)
|
.if !empty(PKGIN_REPOSITORY_URL)
|
||||||
pre-install:
|
pre-install:
|
||||||
${ECHO} ${PKGIN_REPOSITORY_URL} >> ${WRKSRC}/repositories.conf
|
${ECHO} ${PKGIN_REPOSITORY_URL} >> ${WRKSRC}/repositories.conf
|
||||||
.elif ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Minix"
|
.elif ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
|
||||||
|
pre-install:
|
||||||
|
${GREP} -i Minix ${WRKSRC}/REPOSITORIES >> \
|
||||||
|
${WRKSRC}/repositories.conf
|
||||||
|
.elif ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
|
||||||
pre-install:
|
pre-install:
|
||||||
${GREP} -i ${OPSYS} ${WRKSRC}/REPOSITORIES >> \
|
${GREP} -i ${OPSYS} ${WRKSRC}/REPOSITORIES >> \
|
||||||
${WRKSRC}/repositories.conf
|
${WRKSRC}/repositories.conf
|
||||||
@ -78,6 +86,12 @@ do-install:
|
|||||||
${DESTDIR}${EGDIR}/repositories.conf.example
|
${DESTDIR}${EGDIR}/repositories.conf.example
|
||||||
${INSTALL_DATA} ${WRKSRC}/preferred.conf \
|
${INSTALL_DATA} ${WRKSRC}/preferred.conf \
|
||||||
${DESTDIR}${EGDIR}/preferred.conf.example
|
${DESTDIR}${EGDIR}/preferred.conf.example
|
||||||
|
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
|
||||||
|
# LSC: We install this fragment only now, as it interfers with the bootstrap
|
||||||
|
# process otherwise.
|
||||||
|
${MKDIR} ${DESTDIR}${PREFIX}/etc
|
||||||
|
${INSTALL_DATA} ../../minix/mk.conf.minix ${DESTDIR}${PREFIX}/etc/mk.conf
|
||||||
|
.endif
|
||||||
|
|
||||||
# libfetch has no builtin.mk and is included in NetBSD>=5
|
# libfetch has no builtin.mk and is included in NetBSD>=5
|
||||||
.if ${OPSYS} != "NetBSD" || \
|
.if ${OPSYS} != "NetBSD" || \
|
||||||
|
@ -4,3 +4,4 @@ man/cat1/pkgin.0
|
|||||||
man/man1/pkgin.1
|
man/man1/pkgin.1
|
||||||
share/examples/pkgin/preferred.conf.example
|
share/examples/pkgin/preferred.conf.example
|
||||||
share/examples/pkgin/repositories.conf.example
|
share/examples/pkgin/repositories.conf.example
|
||||||
|
etc/mk.conf
|
||||||
|
@ -4,3 +4,4 @@ SHA1 (pkgin-0.9.4.tar.gz) = ecae9164da8cafb1599aaa7e63b26722101ed83d
|
|||||||
RMD160 (pkgin-0.9.4.tar.gz) = 6c9b025deb648d223503e548d3a3e531beffb058
|
RMD160 (pkgin-0.9.4.tar.gz) = 6c9b025deb648d223503e548d3a3e531beffb058
|
||||||
SHA512 (pkgin-0.9.4.tar.gz) = c1fa629fb65f0f275d7fd5f4c85eb2cdb1a9e3917b15f9daeef175ba17bb4ade5c804af10cc0e7bb307cd18a04e47b6cf9f179d12051522224dea56b43420f97
|
SHA512 (pkgin-0.9.4.tar.gz) = c1fa629fb65f0f275d7fd5f4c85eb2cdb1a9e3917b15f9daeef175ba17bb4ade5c804af10cc0e7bb307cd18a04e47b6cf9f179d12051522224dea56b43420f97
|
||||||
Size (pkgin-0.9.4.tar.gz) = 198399 bytes
|
Size (pkgin-0.9.4.tar.gz) = 198399 bytes
|
||||||
|
SHA1 (patch-zz-minix) = 6860ab8758fd7ae4f2dd427ae39aa3c37b3f8226
|
||||||
|
10
pkgtools/pkgin/patches/patch-zz-minix
Normal file
10
pkgtools/pkgin/patches/patch-zz-minix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
$NetBSD$
|
||||||
|
|
||||||
|
--- REPOSITORIES.orig Wed May 7 15:48:08 2014
|
||||||
|
+++ REPOSITORIES
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
# NetBSD OS release can look like 6.0_STABLE, do not use it as-is
|
||||||
|
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/@OSREL@/All
|
||||||
|
http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/stable/All/
|
||||||
|
-ftp://ftp.minix3.org/pub/minix/packages/$osrelease/$arch/All
|
||||||
|
+http://www.minix3.org/pkgsrc/packages/$osrelease/$arch/All
|
Loading…
x
Reference in New Issue
Block a user