mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
New port: sysutils/packmule: Creates and packs custom FreeBSD installation images
Packmule automates the process of loading custom software into a FreeBSD installation image. The user creates a "packing" list which is either installed alongside the base system, or added to the live CD. WWW: http://badland.io/packmule.md PR: 234675 Submitted by: Austin Shafer <ashafer@badland.io>
This commit is contained in:
@@ -849,6 +849,7 @@
|
||||
SUBDIR += p5-arclog
|
||||
SUBDIR += p5-reslog
|
||||
SUBDIR += packer
|
||||
SUBDIR += packmule
|
||||
SUBDIR += pacman
|
||||
SUBDIR += paicc
|
||||
SUBDIR += paladin
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
# Created by: Austin Shafer <ashafer@badland.io>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= packmule
|
||||
DISTVERSIONPREFIX=v
|
||||
DISTVERSION= 1.1
|
||||
CATEGORIES= sysutils perl5
|
||||
|
||||
MAINTAINER= ashafer@badland.io
|
||||
COMMENT= Creates and packs custom FreeBSD installation images
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/Copyright
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386 powerpc
|
||||
|
||||
RUN_DEPENDS= p5-YAML>=0:textproc/p5-YAML
|
||||
|
||||
USES= perl5
|
||||
USE_GITHUB= yes
|
||||
USE_PERL5= run
|
||||
|
||||
GH_ACCOUNT= ashaferian
|
||||
GH_PROJECT= Packmule
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
# Create the packmule directory to hold arch dependent scripts,
|
||||
# then install packmule, its manpage, and the image scripts
|
||||
do-install:
|
||||
# Make directories for the image generation scrips. They are
|
||||
# taken from the FreeBSD sources.
|
||||
${MKDIR} \
|
||||
${STAGEDIR}${PREFIX}/packmule/mkiso/amd64 \
|
||||
${STAGEDIR}${PREFIX}/packmule/mkiso/i386 \
|
||||
${STAGEDIR}${PREFIX}/packmule/mkiso/powerpc \
|
||||
${STAGEDIR}${PREFIX}/packmule/make-memstick/amd64 \
|
||||
${STAGEDIR}${PREFIX}/packmule/make-memstick/i386 \
|
||||
${STAGEDIR}${PREFIX}/packmule/make-memstick/powerpc
|
||||
|
||||
# Install the perl script and its manpage
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/packmule ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man/packmule.1 \
|
||||
${STAGEDIR}${PREFIX}/man/man1
|
||||
|
||||
# Install scripts for generating iso images
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mkiso/amd64/mkisoimages.sh \
|
||||
${STAGEDIR}${PREFIX}/packmule/mkiso/amd64
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mkiso/i386/mkisoimages.sh \
|
||||
${STAGEDIR}${PREFIX}/packmule/mkiso/i386
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mkiso/powerpc/mkisoimages.sh \
|
||||
${STAGEDIR}${PREFIX}/packmule/mkiso/powerpc
|
||||
|
||||
# Install scripts for generating memstick images
|
||||
${INSTALL_SCRIPT} \
|
||||
${WRKSRC}/make-memstick/amd64/make-memstick.sh \
|
||||
${STAGEDIR}${PREFIX}/packmule/make-memstick/amd64
|
||||
${INSTALL_SCRIPT} \
|
||||
${WRKSRC}/make-memstick/i386/make-memstick.sh \
|
||||
${STAGEDIR}${PREFIX}/packmule/make-memstick/i386
|
||||
${INSTALL_SCRIPT} \
|
||||
${WRKSRC}/make-memstick/powerpc/make-memstick.sh \
|
||||
${STAGEDIR}${PREFIX}/packmule/make-memstick/powerpc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1583707315
|
||||
SHA256 (ashaferian-Packmule-v1.1_GH0.tar.gz) = 4752c92bd66d06ea23ac7d0131eb6ce7282598467d9de84d24c4d2f674f33d4b
|
||||
SIZE (ashaferian-Packmule-v1.1_GH0.tar.gz) = 12857
|
||||
@@ -0,0 +1,6 @@
|
||||
Packmule automates the process of loading custom software into a
|
||||
FreeBSD installation image. The user creates a "packing" list
|
||||
which is either installed alongside the base system, or added to
|
||||
the live CD.
|
||||
|
||||
WWW: http://badland.io/packmule.md
|
||||
@@ -0,0 +1,8 @@
|
||||
bin/packmule
|
||||
man/man1/packmule.1.gz
|
||||
packmule/mkiso/amd64/mkisoimages.sh
|
||||
packmule/mkiso/i386/mkisoimages.sh
|
||||
packmule/mkiso/powerpc/mkisoimages.sh
|
||||
packmule/make-memstick/amd64/make-memstick.sh
|
||||
packmule/make-memstick/i386/make-memstick.sh
|
||||
packmule/make-memstick/powerpc/make-memstick.sh
|
||||
Reference in New Issue
Block a user