Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

4
pkgtools/pkgin/DESCR Normal file
View File

@@ -0,0 +1,4 @@
pkgin is aimed at being an apt / yum like tool for managing
pkgsrc binary packages. It relies on pkg_summary(5) for
installation, removal and upgrade of packages and associated
dependencies, using a remote repository.

11
pkgtools/pkgin/MESSAGE Normal file
View File

@@ -0,0 +1,11 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2010/06/10 08:05:00 is Exp $
First steps before using pkgin.
. Modify ${PKG_SYSCONFDIR}/pkgin/repositories.conf to suit your platform
. Initialize the database :
# pkgin update
===========================================================================

78
pkgtools/pkgin/Makefile Normal file
View File

@@ -0,0 +1,78 @@
# $NetBSD: Makefile,v 1.38 2013/06/16 14:37:33 imil Exp $
#
GHCOMMIT= 3859170568fbe4fe21b5660dbaeca8d65ac10f1b
DISTNAME= ${GHCOMMIT}
PKGNAME= pkgin-0.6.4
CATEGORIES= pkgtools
MASTER_SITES= https://github.com/NetBSDfr/pkgin/archive/
FETCH_USING= curl
MAINTAINER= imil@NetBSD.org
HOMEPAGE= http://pkgin.net/
COMMENT= Apt / yum like tool for managing pkgsrc binary packages
LICENSE= modified-bsd
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/repositories.conf.example \
${PKG_SYSCONFDIR}/${PKGBASE}/repositories.conf
OWN_DIRS+= ${PKG_SYSCONFDIR}/${PKGBASE}
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${EGDIR}
WRKSRC= ${WRKDIR}/pkgin-${GHCOMMIT}
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_MESSAGE.path= Adjusting path.
SUBST_FILES.path= Makefile.in actions.c pkgin.1
SUBST_SED.path= -e "s|/usr/pkg/etc|${PKG_SYSCONFDIR}|g"
SUBST_SED.path+= -e "s|/usr/sbin|${PKG_TOOLS_BIN}|g"
SUBST_SED.path+= -e "s|/var|${VARBASE}|g"
SUBST_SED.path+= -e "s|/usr/pkg|${PREFIX}|g"
SUBST_SED.path+= -e "s|!=.*uname -p|= ${MACHINE_ARCH}|g"
GNU_CONFIGURE= yes
USE_FEATURES= nbcompat
USE_TOOLS+= nroff
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
SUBST_CLASSES+= osrel
SUBST_STAGE.osrel= pre-configure
SUBST_MESSAGE.osrel= Adjusting repository OS release
SUBST_FILES.osrel= REPOSITORIES
SUBST_SED.osrel= -e "s|@OSREL@|${OS_VERSION:C/_.*//}|"
.endif
CFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
DEPENDS+= pkg_install>=20110215:../../pkgtools/pkg_install
# those have official repositories
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Minix"
pre-install:
${GREP} -i ${OPSYS} ${WRKSRC}/REPOSITORIES >> \
${WRKSRC}/repositories.conf
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pkgin ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pkgin.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/repositories.conf \
${DESTDIR}${EGDIR}/repositories.conf.example
# libfetch has no builtin.mk and is included in NetBSD>=5
.if ${OPSYS} != "NetBSD" || \
(${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-4].*))
. include "../../net/libfetch/buildlink3.mk"
.endif
.include "../../archivers/libarchive/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

4
pkgtools/pkgin/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2011/06/20 15:16:27 wiz Exp $
bin/pkgin
man/man1/pkgin.1
share/examples/pkgin/repositories.conf.example

5
pkgtools/pkgin/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.28 2013/06/16 14:37:33 imil Exp $
SHA1 (3859170568fbe4fe21b5660dbaeca8d65ac10f1b.tar.gz) = 58d06c5884dd490508f609c5320542c919afe0c7
RMD160 (3859170568fbe4fe21b5660dbaeca8d65ac10f1b.tar.gz) = e783457044af3b41a784012f4d0961ed87e8c4af
Size (3859170568fbe4fe21b5660dbaeca8d65ac10f1b.tar.gz) = 187873 bytes