Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devel/icecc Add new icecc and libcap-ng package #63

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ SUBDIR+= ht
SUBDIR+= hugs-HUnit
SUBDIR+= hugs-unix
SUBDIR+= hyperscan
SUBDIR+= icecc
SUBDIR+= idiff
SUBDIR+= idutils
SUBDIR+= imake
Expand Down
8 changes: 8 additions & 0 deletions devel/icecc/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Icecc, also called Icecream is based on distcc. Like distcc, Icecream
takes compile jobs from a build and distributes it among remote
machines allowing a parallel build.

But unlike distcc, Icecream uses a central server that dynamically
schedules the compile jobs to the fastest free server. This advantage
pays off mostly for shared computers, if you're the only user on x
machines, you have full control over them.
34 changes: 34 additions & 0 deletions devel/icecc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# $NetBSD$

DISTNAME= icecc-1.3.1
CATEGORIES= devel
GITHUB_RELEASE= 1.3.1
GITHUB_PROJECT= icecream
MASTER_SITES= ${MASTER_SITE_GITHUB:=icecc/}
EXTRACT_SUFX= .tar.xz

MAINTAINER= gang65@poczta.onet.pl
HOMEPAGE= https://github.com/icecc/icecream/
COMMENT= Tool for distributed C/C++ compiling with central scheduler
LICENSE= gnu-gpl-v2

GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++

PKGCONFIG_OVERRIDE+= services/icecc.pc.in

.include "../../archivers/libarchive/buildlink3.mk"
.include "../../archivers/zstd/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"

.include "../../security/openssl/buildlink3.mk"

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Linux"
. include "../../devel/libcap-ng/buildlink3.mk"
.endif

.include "../../mk/bsd.pkg.mk"
26 changes: 26 additions & 0 deletions devel/icecc/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@comment $NetBSD$
bin/icecc
bin/icecc-create-env
bin/icecc-test-env
bin/icerun
include/icecc/comm.h
include/icecc/job.h
include/icecc/logging.h
lib/libicecc.la
lib/pkgconfig/icecc.pc
libexec/icecc/bin/c++
libexec/icecc/bin/cc
libexec/icecc/bin/clang
libexec/icecc/bin/clang++
libexec/icecc/bin/g++
libexec/icecc/bin/gcc
libexec/icecc/compilerwrapper
libexec/icecc/icecc-create-env
man/man1/icecc-create-env.1
man/man1/icecc-scheduler.1
man/man1/icecc.1
man/man1/iceccd.1
man/man1/icerun.1
man/man7/icecream.7
sbin/icecc-scheduler
sbin/iceccd
6 changes: 6 additions & 0 deletions devel/icecc/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$NetBSD$

SHA1 (icecc-1.3.1.tar.xz) = 2d75fc4601082300b3a5c9d6698d2d7b036ff42e
RMD160 (icecc-1.3.1.tar.xz) = 73e7675a8735c22687e6cc7399f8f8eae41ee3c0
SHA512 (icecc-1.3.1.tar.xz) = 16e8f47b440111c5f8ebd76ea83a0658d59a4f929b921e460ab0159f375a5dd5b81853979def1b30dc758f3ea238f4f63c98c1756eb960cb3a64ff276699acd8
Size (icecc-1.3.1.tar.xz) = 507412 bytes
1 change: 1 addition & 0 deletions sysutils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ SUBDIR+= lf
SUBDIR+= libbaloo4
SUBDIR+= libburn
SUBDIR+= libcap
SUBDIR+= libcap-ng
SUBDIR+= libdevkit-gobject
SUBDIR+= libfm
SUBDIR+= libfm-extra
Expand Down
4 changes: 4 additions & 0 deletions sysutils/libcap-ng/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Libcap-ng is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities.

This package is restricted for the Linux environment.
19 changes: 19 additions & 0 deletions sysutils/libcap-ng/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# $NetBSD$

DISTNAME= libcap-ng-0.7.9
CATEGORIES= sysutils
MASTER_SITES= http://people.redhat.com/sgrubb/libcap-ng/

MAINTAINER= gang65@poczta.onet.pl
HOMEPAGE= http://people.redhat.com/sgrubb/libcap-ng/
COMMENT= Library for getting and setting POSIX.1e capabilities
LICENSE= gnu-lgpl-v2.1

GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config

PKGCONFIG_OVERRIDE+= src/libcap-ng.pc.in


.include "../../mk/bsd.pkg.mk"
32 changes: 32 additions & 0 deletions sysutils/libcap-ng/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
@comment $NetBSD$
bin/captest
bin/filecap
bin/netcap
bin/pscap
include/cap-ng.h
lib/libcap-ng.la
lib/pkgconfig/libcap-ng.pc
man/man3/capng_apply.3
man/man3/capng_capability_to_name.3
man/man3/capng_change_id.3
man/man3/capng_clear.3
man/man3/capng_fill.3
man/man3/capng_get_caps_fd.3
man/man3/capng_get_caps_process.3
man/man3/capng_have_capabilities.3
man/man3/capng_have_capability.3
man/man3/capng_lock.3
man/man3/capng_name_to_capability.3
man/man3/capng_print_caps_numeric.3
man/man3/capng_print_caps_text.3
man/man3/capng_restore_state.3
man/man3/capng_save_state.3
man/man3/capng_set_caps_fd.3
man/man3/capng_setpid.3
man/man3/capng_update.3
man/man3/capng_updatev.3
man/man8/captest.8
man/man8/filecap.8
man/man8/netcap.8
man/man8/pscap.8
share/aclocal/cap-ng.m4
13 changes: 13 additions & 0 deletions sysutils/libcap-ng/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1 2016/07/08 14:29:53 kamil Exp $

BUILDLINK_TREE+= libcap-ng

.if !defined(LIBCAP_NG_BUILDLINK3_MK)
LIBCAP_NG_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libcap-ng+= libcap-ng>=0.7.9
BUILDLINK_ABI_DEPENDS.libcap-ng+= libcap-ng>=0.7.9
BUILDLINK_PKGSRCDIR.libcap-ng?= ../../sysutils/libcap-ng
.endif # LIBCAP_NG_BUILDLINK3_MK

BUILDLINK_TREE+= -libcap-ng
6 changes: 6 additions & 0 deletions sysutils/libcap-ng/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$NetBSD$

SHA1 (libcap-ng-0.7.9.tar.gz) = f29f1eefdfbbd93501d9c7a54ac340d4ca660634
RMD160 (libcap-ng-0.7.9.tar.gz) = 2b24ab98820fbe11b3370f42cbba10eb498e2d8e
SHA512 (libcap-ng-0.7.9.tar.gz) = 095edabaf76a943aab0645b843b14e20b1733ba1d47a8e34d82f6586ca9a1512ba2677d232b13dd3900b913837401bb58bf74481970e967ba19041959dc43259
Size (libcap-ng-0.7.9.tar.gz) = 449038 bytes