summaryrefslogtreecommitdiff
path: root/xpipe
diff options
context:
space:
mode:
Diffstat (limited to 'xpipe')
-rw-r--r--xpipe/debian/_service28
-rw-r--r--xpipe/debian/changelog12
-rw-r--r--xpipe/debian/control4
-rw-r--r--xpipe/debian/patches/01-makefile-option-bsddir.patch28
-rw-r--r--xpipe/debian/patches/series1
-rw-r--r--xpipe/debian/xpipe+stackrpms.dsc (renamed from xpipe/debian/xpipe_0.0.1-1+devuan.dsc)4
6 files changed, 74 insertions, 3 deletions
diff --git a/xpipe/debian/_service b/xpipe/debian/_service
new file mode 100644
index 0000000..4e4f774
--- /dev/null
+++ b/xpipe/debian/_service
@@ -0,0 +1,28 @@
+<services>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://bgstack15.ddns.net/cgit/stackrpms</param>
+ <param name="subdir">xpipe/debian</param>
+ <param name="filename">debian</param>
+ <param name="revision">master</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">xz</param>
+ </service>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://github.com/jschauma/xpipe.git</param>
+ <param name="revision">master</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">gz</param>
+ </service>
+ <service name="extract_file">
+ <param name="archive">*.tar.xz</param>
+ <param name="files">*/*.dsc</param>
+ </service>
+</services>
diff --git a/xpipe/debian/changelog b/xpipe/debian/changelog
index 6b2f843..1432ca6 100644
--- a/xpipe/debian/changelog
+++ b/xpipe/debian/changelog
@@ -1,3 +1,15 @@
+xpipe (0.0.2-2+stackrpms) obs; urgency=low
+
+ * Add patch for Makefile option for BSDDIR.
+
+ -- B. Stack <bgstack15@gmail.com> Wed, 20 Mar 2024 20:10:26 -0400
+
+xpipe (0.0.2-1+stackrpms) obs; urgency=low
+
+ * Rebuild latest upstream master branch
+
+ -- B. Stack <bgstack15@gmail.com> Fri, 20 Jan 2023 08:09:28 -0500
+
xpipe (0.0.1-1+devuan) obs; urgency=low
* Initial release. Closes: packages-want#0
diff --git a/xpipe/debian/control b/xpipe/debian/control
index f4d9645..9780585 100644
--- a/xpipe/debian/control
+++ b/xpipe/debian/control
@@ -2,7 +2,9 @@ Source: xpipe
Section: utils
Priority: optional
Maintainer: B. Stack <bgstack15@gmail.com>
-Build-Depends: debhelper-compat (= 12)
+Build-Depends: debhelper-compat (= 12),
+ libbsd-dev,
+ openssl,
Standards-Version: 4.5.0
Homepage: https://github.com/jschauma/xpipe
diff --git a/xpipe/debian/patches/01-makefile-option-bsddir.patch b/xpipe/debian/patches/01-makefile-option-bsddir.patch
new file mode 100644
index 0000000..fbfe845
--- /dev/null
+++ b/xpipe/debian/patches/01-makefile-option-bsddir.patch
@@ -0,0 +1,28 @@
+Description: Add Makefile option for BSDDIR
+ Debian does not store libbsd headers directly at /usr/include/bsd; it
+ stores them elsewhere.
+ .
+ Use this patch to find it or else be able to set it on the Make
+ invocation with `make BSDDIR=/path/to/libbsd/include/bsd`
+Author: B. Stack <bgstack15@gmail.com>
+Origin: Devuan
+Last-Update: 2024-03-20
+--- a/Makefile
++++ b/Makefile
+@@ -6,6 +6,7 @@ PREFIX?=/usr/local
+ CFLAGS+= -Wall -Werror -Wextra -I${PREFIX}/include
+ LDFLAGS+= -L${PREFIX}/lib
+ LIBS= -lm
++BSDDIR :=$(shell find /usr/include -name bsd -type d -quit)
+
+ OS!=uname
+
+@@ -28,7 +29,7 @@ help:
+ configure:
+ @ \
+ if [ "x${OS}" = x"Linux" ]; then \
+- if [ ! -d /usr/include/bsd ] && [ ! -d ${PREFIX}/include/bsd ]; then \
++ if [ ! -d /usr/include/bsd ] && [ ! -d ${PREFIX}/include/bsd ] && [ ! -d ${BSDDIR} ] ; then \
+ echo "Please install 'libbsd' and 'libbsd-devel'." >&2; \
+ exit 1; \
+ fi; \
diff --git a/xpipe/debian/patches/series b/xpipe/debian/patches/series
index 4a97dfa..175d5fd 100644
--- a/xpipe/debian/patches/series
+++ b/xpipe/debian/patches/series
@@ -1 +1,2 @@
# You must remove unused comment lines for the released package.
+01-makefile-option-bsddir.patch
diff --git a/xpipe/debian/xpipe_0.0.1-1+devuan.dsc b/xpipe/debian/xpipe+stackrpms.dsc
index dd365e0..c75ea58 100644
--- a/xpipe/debian/xpipe_0.0.1-1+devuan.dsc
+++ b/xpipe/debian/xpipe+stackrpms.dsc
@@ -2,11 +2,11 @@ Format: 3.0 (quilt)
Source: xpipe
Binary: xpipe
Architecture: any
-Version: 0.0.1-1+devuan
+Version: 0.0.2-2+stackrpms
Maintainer: B. Stack <bgstack15@gmail.com>
Homepage: https://github.com/jschauma/xpipe
Standards-Version: 4.5.0
-Build-Depends: debhelper-compat (= 12)
+Build-Depends: debhelper-compat (= 12), libbsd-dev, openssl
Package-List:
xpipe deb utils optional arch=any
Files:
bgstack15