* [PR PATCH] [WIP] 66: update to 0.2.0.2
@ 2019-07-16 9:13 voidlinux-github
2019-07-16 15:16 ` voidlinux-github
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2019-07-16 9:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
There is a new pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages 66-update
https://github.com/void-linux/void-packages/pull/13149
[WIP] 66: update to 0.2.0.2
Is there a way to preserve empty dirs when packaging - other than creating a file in them post-install ?
```
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/log/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/lib/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /usr/share/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/conf
```
A patch file from https://github.com/void-linux/void-packages/pull/13149.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-66-update-13149.patch --]
[-- Type: application/text/x-diff, Size: 2017 bytes --]
From 7276b5516cf7b9731c17847a41689f399d7a9e46 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 16 Jul 2019 12:08:14 +0300
Subject: [PATCH] 66: update to 0.2.0.2
---
srcpkgs/66/template | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index d2e34a85134..d84f1c6d447 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,31 +1,37 @@
# Template file for '66'
pkgname=66
-version=0.1.0.1
+version=0.2.0.2
revision=1
wrksrc="66-v${version}"
build_style=configure
configure_args="--prefix=/usr
- --dynlibdir=/usr/lib
- --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
-hostmakedepends="pkg-config"
-makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc s6-portable-utils procps-ng-devel"
+hostmakedepends="pkg-config scdoc"
+makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc procps-ng-devel"
depends="s6-rc s6-portable-utils"
short_desc="Helpers tools around s6-rc"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="http://web.obarun.org/software/"
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
-checksum=6633b7cf810aa3b59f84b567a57914f51247f7a96fca0879a2f8141b87bd674c
+checksum=98a0ba012f472b7e03657e3a063cca3e19bc1d4d4accae093fadaee74924b83b
+
+
+pre_build() {
+ make man
+}
post_install() {
local i
vlicense COPYING
- for i in doc/*.html ; do
+ for i in doc/html/*.html ; do
vdoc $i
done
vdoc README
+ for i in doc/man/*.{1,5,8} ; do
+ vman $i
+ done
}
66-doc_package() {
@@ -34,6 +40,7 @@ post_install() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/share/doc
+ vmove usr/share/man
}
}
@@ -42,6 +49,6 @@ post_install() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
- vmove "usr/lib/*.a"
+ vmove usr/lib
}
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [WIP] 66: update to 0.2.0.2
2019-07-16 9:13 [PR PATCH] [WIP] 66: update to 0.2.0.2 voidlinux-github
@ 2019-07-16 15:16 ` voidlinux-github
2019-07-17 11:52 ` [PR PATCH] [Updated] " voidlinux-github
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-07-16 15:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/13149#issuecomment-511861361
Comment:
Set `make_dirs` if really needed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] 66: update to 0.2.0.2
2019-07-16 9:13 [PR PATCH] [WIP] 66: update to 0.2.0.2 voidlinux-github
2019-07-16 15:16 ` voidlinux-github
2019-07-17 11:52 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-07-17 11:52 ` voidlinux-github
2019-07-18 6:30 ` [PR PATCH] [Merged]: " voidlinux-github
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-07-17 11:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
There is an updated pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages 66-update
https://github.com/void-linux/void-packages/pull/13149
[WIP] 66: update to 0.2.0.2
Is there a way to preserve empty dirs when packaging - other than creating a file in them post-install ?
```
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/log/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/lib/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /usr/share/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/conf
```
A patch file from https://github.com/void-linux/void-packages/pull/13149.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-66-update-13149.patch --]
[-- Type: application/text/x-diff, Size: 2241 bytes --]
From d96b3b668696c8692f49df389d65cc35c54eea9e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 16 Jul 2019 12:08:14 +0300
Subject: [PATCH] 66: update to 0.2.0.2
---
srcpkgs/66/template | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index d2e34a85134..50748284bbf 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,31 +1,45 @@
# Template file for '66'
pkgname=66
-version=0.1.0.1
+version=0.2.0.2
revision=1
wrksrc="66-v${version}"
build_style=configure
configure_args="--prefix=/usr
- --dynlibdir=/usr/lib
- --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
-hostmakedepends="pkg-config"
-makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc s6-portable-utils procps-ng-devel"
+hostmakedepends="pkg-config scdoc"
+makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc procps-ng-devel"
depends="s6-rc s6-portable-utils"
short_desc="Helpers tools around s6-rc"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="http://web.obarun.org/software/"
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
-checksum=6633b7cf810aa3b59f84b567a57914f51247f7a96fca0879a2f8141b87bd674c
+checksum=98a0ba012f472b7e03657e3a063cca3e19bc1d4d4accae093fadaee74924b83b
+
+conf_files="/etc/66/init /etc/66/init.conf"
+make_dirs="
+/var/log/66 0755 root root
+/var/lib/66 0755 root root
+/usr/share/66/service 0755 root root
+/etc/66/service 0755 root root
+/etc/66/conf 0755 root root"
+
+
+pre_build() {
+ make man
+}
post_install() {
local i
vlicense COPYING
- for i in doc/*.html ; do
+ for i in doc/html/*.html ; do
vdoc $i
done
vdoc README
+ for i in doc/man/*.{1,5,8} ; do
+ vman $i
+ done
}
66-doc_package() {
@@ -34,6 +48,7 @@ post_install() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/share/doc
+ vmove usr/share/man
}
}
@@ -42,6 +57,6 @@ post_install() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
- vmove "usr/lib/*.a"
+ vmove usr/lib
}
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] 66: update to 0.2.0.2
2019-07-16 9:13 [PR PATCH] [WIP] 66: update to 0.2.0.2 voidlinux-github
2019-07-16 15:16 ` voidlinux-github
@ 2019-07-17 11:52 ` voidlinux-github
2019-07-17 11:52 ` voidlinux-github
2019-07-18 6:30 ` [PR PATCH] [Merged]: " voidlinux-github
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-07-17 11:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
There is an updated pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages 66-update
https://github.com/void-linux/void-packages/pull/13149
[WIP] 66: update to 0.2.0.2
Is there a way to preserve empty dirs when packaging - other than creating a file in them post-install ?
```
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/log/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/lib/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /usr/share/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/conf
```
A patch file from https://github.com/void-linux/void-packages/pull/13149.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-66-update-13149.patch --]
[-- Type: application/text/x-diff, Size: 2241 bytes --]
From d96b3b668696c8692f49df389d65cc35c54eea9e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 16 Jul 2019 12:08:14 +0300
Subject: [PATCH] 66: update to 0.2.0.2
---
srcpkgs/66/template | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index d2e34a85134..50748284bbf 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,31 +1,45 @@
# Template file for '66'
pkgname=66
-version=0.1.0.1
+version=0.2.0.2
revision=1
wrksrc="66-v${version}"
build_style=configure
configure_args="--prefix=/usr
- --dynlibdir=/usr/lib
- --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
-hostmakedepends="pkg-config"
-makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc s6-portable-utils procps-ng-devel"
+hostmakedepends="pkg-config scdoc"
+makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc procps-ng-devel"
depends="s6-rc s6-portable-utils"
short_desc="Helpers tools around s6-rc"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="http://web.obarun.org/software/"
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
-checksum=6633b7cf810aa3b59f84b567a57914f51247f7a96fca0879a2f8141b87bd674c
+checksum=98a0ba012f472b7e03657e3a063cca3e19bc1d4d4accae093fadaee74924b83b
+
+conf_files="/etc/66/init /etc/66/init.conf"
+make_dirs="
+/var/log/66 0755 root root
+/var/lib/66 0755 root root
+/usr/share/66/service 0755 root root
+/etc/66/service 0755 root root
+/etc/66/conf 0755 root root"
+
+
+pre_build() {
+ make man
+}
post_install() {
local i
vlicense COPYING
- for i in doc/*.html ; do
+ for i in doc/html/*.html ; do
vdoc $i
done
vdoc README
+ for i in doc/man/*.{1,5,8} ; do
+ vman $i
+ done
}
66-doc_package() {
@@ -34,6 +48,7 @@ post_install() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/share/doc
+ vmove usr/share/man
}
}
@@ -42,6 +57,6 @@ post_install() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
- vmove "usr/lib/*.a"
+ vmove usr/lib
}
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: 66: update to 0.2.0.2
2019-07-16 9:13 [PR PATCH] [WIP] 66: update to 0.2.0.2 voidlinux-github
` (2 preceding siblings ...)
2019-07-17 11:52 ` voidlinux-github
@ 2019-07-18 6:30 ` voidlinux-github
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-07-18 6:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 577 bytes --]
There's a merged pull request on the void-packages repository
66: update to 0.2.0.2
https://github.com/void-linux/void-packages/pull/13149
Description: Is there a way to preserve empty dirs when packaging - other than creating a file in them post-install ?
```
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/log/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /var/lib/66
=> WARNING: 66-0.2.0.2_1: removed empty dir: /usr/share/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/service
=> WARNING: 66-0.2.0.2_1: removed empty dir: /etc/66/conf
```
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-07-18 6:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16 9:13 [PR PATCH] [WIP] 66: update to 0.2.0.2 voidlinux-github
2019-07-16 15:16 ` voidlinux-github
2019-07-17 11:52 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-17 11:52 ` voidlinux-github
2019-07-18 6:30 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).