[artix-general] [Artix] [RFC] s6-dns and s6-networking packages

Jacob Moody moody at posixcafe.org
Thu Oct 1 00:44:01 CEST 2020


Alright, here's an updated version. Thanks for all the feedback.



# Maintainer: Jacob Moody <moody at posixcafe.org>
pkgname=s6-networking
pkgver=2.3.1.2
pkgrel=1
pkgdesc="A suite of small networking tools for UNIX systems."
arch=('x86_64')
url="https://skarnet.org/software/s6-networking/"
license=('ISC')
depends=('s6' 'libressl' 'execline')
makedepends=('skalibs' 's6-dns')
source=("https://codeload.github.com/skarnet/$pkgname/tar.gz/v$pkgver")
sha256sums=('6c6886bf594805c23c893e42c77a96f8a0d9bad302985387795f2b6f00b761c4')

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr --with-lib=/usr/lib/s6-dns/
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}


# Maintainer: Jacob Moody <moody at posixcafe.org>
pkgname=s6-dns
pkgver=2.3.2.0
pkgrel=1
pkgdesc="A suite of DNS client programs and libraries for UNIX systems"
arch=('x86_64')
url="https://skarnet.org/software/s6-dns/"
license=('ISC')
makedepends=('skalibs')
source=("https://codeload.github.com/skarnet/$pkgname/tar.gz/v$pkgver")
sha256sums=('75e7c06d296f81360b5cf0273253d905e9439ab31d93cdb0aff79d4e3fe91607')

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}

On 9/30/20 5:08 PM, Kian Kasad via artix-general wrote:
> In addition, any packages provided by the base-devel group don't need to
> be specified in makedepends section, since base-devel is 'required' for
> building packages. (In reality, it isn't strictly required, but it is
> supposed to be installed when using makepkg).
> 
> Specifically, you can remove gcc, glibc, and make from the makedepends
> array.
> 
> - Kian Kasad
> 
> On 20/09/30 07:02PM, cromer--- via artix-general wrote:
>> You should remove the epoch variable and all the empty arrays from your PKGBUILDs.
>>
>> ⁣Chris Cromer
>> Artix Linux Developer
>>
>> Sent from BlueMail ​
>>
>> On Sep 30, 2020, 6:47 PM, at 6:47 PM, Jacob Moody via artix-general <artix-general at artixlinux.org> wrote:
>>> Hello,
>>>
>>> I've included PKGBUILD files for both s6-dns and s6-networking. I think
>>>
>>> it would be a great addition to add them to the packages that are
>>> offered in Artix. This is my first time writing PKGBUILD files so
>>> feedback is much appreciated.
>>>
>>>
>>> Thanks,
>>> Moody
>>>
>>> # s6-dns
>>> # Maintainer: Jacob Moody <moody at posixcafe.org>
>>> pkgname=s6-dns
>>> pkgver=2.3.2.0
>>> pkgrel=1
>>> epoch=0
>>> pkgdesc="A suite of DNS client programs and libraries for UNIX systems"
>>> arch=('x86_64')
>>> url="https://skarnet.org/software/s6-dns/"
>>> license=('ISC')
>>> groups=()
>>> depends=()
>>> makedepends=('gcc' 'glibc' 'skalibs' 'make')
>>> checkdepends=()
>>> optdepends=()
>>> provides=()
>>> conflicts=()
>>> replaces=()
>>> backup=()
>>> options=()
>>> install=
>>> changelog=
>>> source=("https://codeload.github.com/skarnet/$pkgname/tar.gz/v$pkgver")
>>> noextract=()
>>> sha256sums=('75e7c06d296f81360b5cf0273253d905e9439ab31d93cdb0aff79d4e3fe91607')
>>> validpgpkeys=()
>>>
>>> build() {
>>> 	cd "$pkgname-$pkgver"
>>> 	./configure --prefix=/usr
>>> 	make
>>> }
>>>
>>> package() {
>>> 	cd "$pkgname-$pkgver"
>>> 	make DESTDIR="$pkgdir/" install
>>> }
>>>
>>>
>>> # s6-networking
>>> # Maintainer: Jacob Moody <moody at posixcafe.org>
>>> pkgname=s6-networking
>>> pkgver=2.3.1.2
>>> pkgrel=1
>>> epoch=0
>>> pkgdesc="A suite of small networking tools for UNIX systems."
>>> arch=('x86_64')
>>> url="https://skarnet.org/software/s6-networking/"
>>> license=('ISC')
>>> groups=()
>>> depends=('s6' 'libressl' 'execline')
>>> makedepends=('gcc' 'glibc' 'skalibs' 'make' 's6-dns')
>>> checkdepends=()
>>> optdepends=()
>>> provides=()
>>> conflicts=()
>>> replaces=()
>>> backup=()
>>> options=()
>>> install=
>>> changelog=
>>> source=("https://codeload.github.com/skarnet/$pkgname/tar.gz/v$pkgver")
>>> noextract=()
>>> sha256sums=('6c6886bf594805c23c893e42c77a96f8a0d9bad302985387795f2b6f00b761c4')
>>> validpgpkeys=()
>>>
>>> build() {
>>> 	cd "$pkgname-$pkgver"
>>> 	./configure --prefix=/usr --with-lib=/usr/lib/s6-dns/
>>> 	make
>>> }
>>>
>>> package() {
>>> 	cd "$pkgname-$pkgver"
>>> 	make DESTDIR="$pkgdir/" install
>>> }
>>> -- 
>>> artix-general mailing list
>>> artix-general at artixlinux.org
>>> https://lists.artixlinux.org/listinfo/artix-general
>>
>> -- 
>> artix-general mailing list
>> artix-general at artixlinux.org
>> https://lists.artixlinux.org/listinfo/artix-general
>>


More information about the artix-general mailing list