summaryrefslogtreecommitdiff
path: root/xpipe
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-03-19 21:22:07 -0400
committerB Stack <bgstack15@gmail.com>2021-03-19 21:22:07 -0400
commitd92f78e6b65b4414296d326badbfa633832b6416 (patch)
treebc705952f1ade3908f1bbaf74c560a85cb2622e0 /xpipe
parentadd nm xpi file to spec (diff)
downloadstackrpms-d92f78e6b65b4414296d326badbfa633832b6416.tar.gz
stackrpms-d92f78e6b65b4414296d326badbfa633832b6416.tar.bz2
stackrpms-d92f78e6b65b4414296d326badbfa633832b6416.zip
add xpipe
Diffstat (limited to 'xpipe')
-rw-r--r--xpipe/README.md24
-rw-r--r--xpipe/debian/README.Debian5
-rw-r--r--xpipe/debian/changelog5
-rw-r--r--xpipe/debian/control18
-rw-r--r--xpipe/debian/copyright58
-rw-r--r--xpipe/debian/patches/series1
-rwxr-xr-xxpipe/debian/rules17
-rw-r--r--xpipe/debian/source/format1
-rw-r--r--xpipe/debian/source/include-binaries0
-rw-r--r--xpipe/debian/source/lintian-overrides2
-rw-r--r--xpipe/debian/source/local-options2
-rw-r--r--xpipe/debian/watch2
-rw-r--r--xpipe/debian/xpipe.lintian-overrides1
-rw-r--r--xpipe/debian/xpipe_0.0.1-1+devuan.dsc14
14 files changed, 150 insertions, 0 deletions
diff --git a/xpipe/README.md b/xpipe/README.md
new file mode 100644
index 0000000..31a3157
--- /dev/null
+++ b/xpipe/README.md
@@ -0,0 +1,24 @@
+# Readme for xpipe
+This package exists because pretty much nobody packages xpipe(1), which splits standard input based on number of bytes, or pattern, and passes it to separate invocations of the given command.
+
+## xpipe upstream
+[https://github.com/jschauma/xpipe](https:////github.com/jschauma/xpipe)
+
+## Alternatives
+None that I know of. You have to just write awk or sed scripts proficiently.
+
+## Reason for being in stackrpms
+I need a tool like this, and I have had to replicate its functionality manually in the past.
+
+## Dependencies
+Distro | xpipe
+--------- | -----
+All dpkg | 0.0.1
+
+## Additional info
+
+## References
+None
+
+## Differences from upstream
+N/A
diff --git a/xpipe/debian/README.Debian b/xpipe/debian/README.Debian
new file mode 100644
index 0000000..068a106
--- /dev/null
+++ b/xpipe/debian/README.Debian
@@ -0,0 +1,5 @@
+xpipe for Devuan
+
+First dpkg attempt
+
+ -- B. Stack <bgstack15@gmail.com> Thu, 18 Mar 2021 21:15:08 -0400
diff --git a/xpipe/debian/changelog b/xpipe/debian/changelog
new file mode 100644
index 0000000..6b2f843
--- /dev/null
+++ b/xpipe/debian/changelog
@@ -0,0 +1,5 @@
+xpipe (0.0.1-1+devuan) obs; urgency=low
+
+ * Initial release. Closes: packages-want#0
+
+ -- B. Stack <bgstack15@gmail.com> Thu, 18 Mar 2021 21:15:08 -0400
diff --git a/xpipe/debian/control b/xpipe/debian/control
new file mode 100644
index 0000000..f4d9645
--- /dev/null
+++ b/xpipe/debian/control
@@ -0,0 +1,18 @@
+Source: xpipe
+Section: utils
+Priority: optional
+Maintainer: B. Stack <bgstack15@gmail.com>
+Build-Depends: debhelper-compat (= 12)
+Standards-Version: 4.5.0
+Homepage: https://github.com/jschauma/xpipe
+
+Package: xpipe
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: split stdin and pass in chunks
+ A utility that takes stdin and splits by the given
+ number of bytes, lines, or a matching pattern, and
+ passes it to a given command repeatedly. Think of it
+ as a combo of split, tee, and xargs.
+
diff --git a/xpipe/debian/copyright b/xpipe/debian/copyright
new file mode 100644
index 0000000..af5eb3e
--- /dev/null
+++ b/xpipe/debian/copyright
@@ -0,0 +1,58 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: xpipe
+Upstream-Contact: <preferred name and address to reach the upstream project>
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: src/xpipe.c
+ Makefile
+ README.md
+ doc/xpipe.1
+ doc/xpipe.1.txt
+ tests/01.sh
+ tests/02.sh
+ tests/03.sh
+ tests/04.sh
+ tests/05.sh
+ tests/06.sh
+ tests/07.sh
+ tests/08.sh
+ tests/09.sh
+ tests/10.sh
+ tests/11.sh
+ tests/12.sh
+ tests/13.sh
+ tests/14.sh
+ tests/15.sh
+ tests/certs
+ tests/patternfile
+ tests/setup
+Copyright: 2020 Jan Schaumann <jschauma@netmeister.org>
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/xpipe/debian/patches/series b/xpipe/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/xpipe/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/xpipe/debian/rules b/xpipe/debian/rules
new file mode 100755
index 0000000..d266db4
--- /dev/null
+++ b/xpipe/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+export PREFIX=debian/xpipe/usr
+
+%:
+ dh $@
+
+#override_dh_auto_install:
+# dh_auto_install -- PREFIX=${PREFIX}
+
+#override_dh_install:
+# dh_install --list-missing -X.pyc -X.pyo
diff --git a/xpipe/debian/source/format b/xpipe/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/xpipe/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/xpipe/debian/source/include-binaries b/xpipe/debian/source/include-binaries
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xpipe/debian/source/include-binaries
diff --git a/xpipe/debian/source/lintian-overrides b/xpipe/debian/source/lintian-overrides
new file mode 100644
index 0000000..2da37ed
--- /dev/null
+++ b/xpipe/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+file-without-copyright-information
+missing-license-paragraph-in-dep5-copyright
diff --git a/xpipe/debian/source/local-options b/xpipe/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/xpipe/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/xpipe/debian/watch b/xpipe/debian/watch
new file mode 100644
index 0000000..fc70498
--- /dev/null
+++ b/xpipe/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=4
diff --git a/xpipe/debian/xpipe.lintian-overrides b/xpipe/debian/xpipe.lintian-overrides
new file mode 100644
index 0000000..4276455
--- /dev/null
+++ b/xpipe/debian/xpipe.lintian-overrides
@@ -0,0 +1 @@
+copyright-has-url-from-dh_make-boilerplate
diff --git a/xpipe/debian/xpipe_0.0.1-1+devuan.dsc b/xpipe/debian/xpipe_0.0.1-1+devuan.dsc
new file mode 100644
index 0000000..dd365e0
--- /dev/null
+++ b/xpipe/debian/xpipe_0.0.1-1+devuan.dsc
@@ -0,0 +1,14 @@
+Format: 3.0 (quilt)
+Source: xpipe
+Binary: xpipe
+Architecture: any
+Version: 0.0.1-1+devuan
+Maintainer: B. Stack <bgstack15@gmail.com>
+Homepage: https://github.com/jschauma/xpipe
+Standards-Version: 4.5.0
+Build-Depends: debhelper-compat (= 12)
+Package-List:
+ xpipe deb utils optional arch=any
+Files:
+ 00000000000000000000000000000000 1 xpipe.orig.tar.gz
+ 00000000000000000000000000000000 1 xpipe.debian.tar.xz
bgstack15