pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

basepkg: Import basepkg-0.991 as wip/basepkg



Module Name:	pkgsrc-wip
Committed By:	Yuuki Enomoto <mail%e-yuuki.org@localhost>
Pushed By:	e-yuuki
Date:		Fri May 19 16:38:57 2017 +0000
Changeset:	04146196770618eb5055eb2536f74ac9cca384bf

Modified Files:
	Makefile
Added Files:
	basepkg/DESCR
	basepkg/Makefile
	basepkg/PLIST
	basepkg/distinfo
	basepkg/patches/patch-basepkg.sh

Log Message:
basepkg: Import basepkg-0.991 as wip/basepkg

Basepkg is a shell script for NetBSD base system packages.
The features of Basepkg include:

- Making packages of NetBSD base system.
- pkg_add(1) and pkg_delete(1) wrapper for installation to the system.

Please read share/basepkg/README.md for use it.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=04146196770618eb5055eb2536f74ac9cca384bf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                         |  1 +
 basepkg/DESCR                    |  7 +++++++
 basepkg/Makefile                 | 26 ++++++++++++++++++++++++++
 basepkg/PLIST                    |  3 +++
 basepkg/distinfo                 |  7 +++++++
 basepkg/patches/patch-basepkg.sh | 10 ++++++++++
 6 files changed, 54 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e05acad2af..2c10715b7b 100644
--- a/Makefile
+++ b/Makefile
@@ -205,6 +205,7 @@ SUBDIR+=	banshee
 SUBDIR+=	bareos
 SUBDIR+=	baresip
 SUBDIR+=	barony
+SUBDIR+=	basepkg
 SUBDIR+=	bashdb
 SUBDIR+=	bastard
 SUBDIR+=	beads
diff --git a/basepkg/DESCR b/basepkg/DESCR
new file mode 100644
index 0000000000..fbe51a2a1b
--- /dev/null
+++ b/basepkg/DESCR
@@ -0,0 +1,7 @@
+Basepkg is a shell script for NetBSD base system packages.
+The features of Basepkg include:
+
+- Making packages of NetBSD base system.
+- pkg_add(1) and pkg_delete(1) wrapper for installation to the system.
+
+Please read share/basepkg/README.md for use it.
diff --git a/basepkg/Makefile b/basepkg/Makefile
new file mode 100644
index 0000000000..6351c859b1
--- /dev/null
+++ b/basepkg/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DEPENDS+=	pkg_install>=20160410:../../pkgtools/pkg_install
+
+DISTNAME=	basepkg-0.991
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=user340/}
+
+MAINTAINER=	mail%e-yuuki.org@localhost
+HOMEPAGE=	https://github.com/user340/
+COMMENT=	Packaging NetBSD Base System
+LICENSE=	2-clause-bsd
+
+NO_CONFIGURE=	yes
+NO_BUILD=	yes
+
+WRKSRC=		${WRKDIR}/basepkg-0.991
+USE_LANGUAGES=	# none
+
+INSTALLATION_DIRS+=	share/basepkg
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/basepkg.sh ${DESTDIR}${PREFIX}/share/basepkg
+	${INSTALL_SCRIPT} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/basepkg
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/basepkg/PLIST b/basepkg/PLIST
new file mode 100644
index 0000000000..795657f69b
--- /dev/null
+++ b/basepkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+share/basepkg/README.md
+share/basepkg/basepkg.sh
diff --git a/basepkg/distinfo b/basepkg/distinfo
new file mode 100644
index 0000000000..af297869bf
--- /dev/null
+++ b/basepkg/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo, v 0.99 2017/05/11 18:41:32 uki Exp $
+
+SHA1 (basepkg-0.991.tar.gz) = 4033016d137d3e906e0e10bf066b82c4a54c5fb5
+RMD160 (basepkg-0.991.tar.gz) = e33e4a21644d6e6a3a43a14248e3f214afb01007
+SHA512 (basepkg-0.991.tar.gz) = 404f6ae685ece6e97c7c79be4cacc6f511de85a8198615363ab93c1f65477b0d27a8b971736b53afa533f33f7ed5fcf722d791dc73e519439001a624fee7b9b0
+Size (basepkg-0.991.tar.gz) = 7113 bytes
+SHA1 (patch-basepkg.sh) = 2a5de7d35c330b1d351bc7ddd38e69b2f6f548d3
diff --git a/basepkg/patches/patch-basepkg.sh b/basepkg/patches/patch-basepkg.sh
new file mode 100644
index 0000000000..4c60e60d4b
--- /dev/null
+++ b/basepkg/patches/patch-basepkg.sh
@@ -0,0 +1,10 @@
+$NetBSD$
+
+--- basepkg.sh.orig	2017-05-11 08:08:35.000000000 +0000
++++ basepkg.sh
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env sh
++#!/bin/sh
+ #
+ # Copyright (c) 2016,2017 Yuuki Enomoto  
+ # All rights reserved.  


Home | Main Index | Thread Index | Old Index