Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2021 12:08:58 -0500
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Chris <portmaster@bsdforge.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Creating port from pre-built package
Message-ID:  <20210211170858.lsdctdxkc57wsvzb@mutt-hbsd>
In-Reply-To: <d84184b80159f7a1772e56fd6010e786@bsdforge.com>
References:  <20210211162625.k55tncjs2yjpw5jt@mutt-hbsd> <d84184b80159f7a1772e56fd6010e786@bsdforge.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--oxwkmcrmbokr42kp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 11, 2021 at 09:03:19AM -0800, Chris wrote:
> On 2021-02-11 08:26, Shawn Webb wrote:
> > Hey all,
> >=20
> > The Splunk universal forwarder for FreeBSD is distributed as a package
> > tarball that you can use `pkg add` on. I'm in a position where I'd
> > like to create a port of the package so that I can automate certain
> > tasks.
> Reverse engineer a package? I think that will violate the NDA you
> signed. ;-)
>=20
> Really. Unless the package is simply a wrapper of a binary blob. You'll
> need to *build* the port, as part of the package creation process.
> That is, unless I've *completely* misunderstood your intent here. :-)

It's literally a package of pre-built binaries. You can install it by
running:

# pkg add ./splunkforwarder-8.0.7-cbe73339abca-freebsd-11.1-amd64.txz

Here's what `pkg info` shows:

$ pkg info -F splunkforwarder-8.0.7-cbe73339abca-freebsd-11.1-amd64.txz    =
                                                       [11:55:13]
splunkforwarder-8.0.7
Name           : splunkforwarder
Version        : 8.0.7
Origin         : sysutils/splunk
Architecture   : FreeBSD:11:amd64
Prefix         : /opt
Categories     :=20
Licenses       :=20
Maintainer     : eng-release@splunk.com
WWW            : http://www.splunk.com
Comment        : Splunk> The platform for machine data.
Annotations    :
        no_provide_shlib: yes
        FreeBSD_version: 1101001
Flat size      : 56.6MiB
Description    :
Splunk> The platform for machine data.

(C) 2005-2020 Splunk Inc. All rights Reserved

I'm not looking to re-build the binaries, but rather just use ports to
recreate the package given a pre-existing package tarball.

Thanks,

--=20
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

GPG Key ID:          0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Sha=
wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

--oxwkmcrmbokr42kp
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmAlZKgACgkQ/y5nonf4
4fpLSQ/+IHjPsbWghBb+2PTLMd/bp+mV09Dkb+FDfot0u4hF0eNfoFU2mSN4Eizh
slfhLDKklvj/g23ikPEODBSHPIkioDYjCI1+iCcxhOnbXwnCsXB/u/flz6oDIH1z
nWmmySgQjArHhTk35XOQmJeE6yFSRcoOArERHIxk5yrFfLLwhw8Yfo5zPI4HmR/Z
X1qqvtjT6J9XFp3VWNUmBtyRrovilrJOriFw+gK3HKrPh1Exdt9nIo+wjZc6AmPW
Z8/3ydkTop+XdYS2b6/NrdPDguGueVfZlrEoFMDJ1uCGr4jIdJ2gGyQUSTFBBk64
Fk/tr/Ln9mGozC5tvauQ2gdBWct0YcN/8jAn8jNeL5XgLv0/LvpWYpUdDw2+6SLX
kZpWpbmJksnEY1U5RGYKS4k3hMyqKyb5pN4/Y6ETzctRv/Wk7BKBhOJ2JoyU1H3Z
7n7wulABINeTMyv5keTbWDITEwMJg0oEtfwfUUlIgKWsMA0oVHNpnbb5913rdtR/
zwr8kJQ5RcjOOJ7bvIAvdx4Dj5yVbzCqAqJXXXPbv+Ox6jPdFqwncpLrqE2+0Iuo
jIzTWPcH12+JEcLfOx/CJeDQTIpUDYyLw86FmvaiUYZPCMzrHUnwRomC/uTWWu7+
vd/ooB/kjCMgepE7o2gWIHjoJRTvpevKsGz5JKo7R2AMdhYAcew=
=OfMI
-----END PGP SIGNATURE-----

--oxwkmcrmbokr42kp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210211170858.lsdctdxkc57wsvzb>