summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore8
-rwxr-xr-xbuild9
-rw-r--r--changelog5
-rw-r--r--control2
-rw-r--r--copyright20
-rw-r--r--format1
-rw-r--r--proquivs.pkg/control7
-rw-r--r--proquivs.pkg/docs0
-rwxr-xr-xrelease13
-rw-r--r--src/template.ctl19
10 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e8832d3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+# Swap and backup files
+.*.sw*
+.sw*
+*~
+Session.vim
+
+# Work area
+tmp/
diff --git a/build b/build
new file mode 100755
index 0000000..ae67894
--- /dev/null
+++ b/build
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+nop build:
+ @:
+
+install:
+ install -D -m 0755 src/proquivs proquivs.data/usr/bin/proquivs
+ install -D -m 0644 src/template.ctl \
+ proquivs.data/usr/share/proquivs/template.ctl
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..f67057d
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+proquivs (1.0) trunk
+
+ * Initial release.
+
+ -- Patrick McDermott <patrick.mcdermott@libiquity.com> Sat, 01 Aug 2020 16:48:53 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..113d739
--- /dev/null
+++ b/control
@@ -0,0 +1,2 @@
+Maintainer: Patrick McDermott <patrick.mcdermott@libiquity.com>
+Build-Depends: opkbuild (>= 4.2.0)
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..4ff6900
--- /dev/null
+++ b/copyright
@@ -0,0 +1,20 @@
+Distribution Packaging
+======================
+
+Copyright (C) 2020 Patrick McDermott
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+On this system, a copy of the GNU General Public License may be found at
+<file:///usr/share/common-licenses/GPL-3>.
diff --git a/format b/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+2.0
diff --git a/proquivs.pkg/control b/proquivs.pkg/control
new file mode 100644
index 0000000..95a6d00
--- /dev/null
+++ b/proquivs.pkg/control
@@ -0,0 +1,7 @@
+Architecture: all
+Platform: all
+Section: dev
+Depends: opkbuild, libopkbuild.2
+Description: Trivial package generator
+ proquivs is inspired by Debian's equivs package. It can generate and build
+ trivial packages, useful for testing dependency resolution.
diff --git a/proquivs.pkg/docs b/proquivs.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/proquivs.pkg/docs
diff --git a/release b/release
new file mode 100755
index 0000000..871cb4a
--- /dev/null
+++ b/release
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -eu
+
+read src ver <<-EOF
+ $(sed '1s/^\(.*\) (\(.*\)) .*$/\1 \2/; q;' changelog)
+ EOF
+
+sed '/^ -- .* /{ s/^\( -- .* \).*$/\1'"$(LC_ALL='POSIX' date \
+ '+%a, %d %b %Y %H:%M:%S %z')"'/; :l; n; b l; };' changelog >changelog~
+mv changelog~ changelog
+git commit -m "changelog: Release ${src} ${ver}" -- changelog
+git tag "${src}/${ver}" HEAD
diff --git a/src/template.ctl b/src/template.ctl
new file mode 100644
index 0000000..6811dec
--- /dev/null
+++ b/src/template.ctl
@@ -0,0 +1,19 @@
+Package: proquivs-dummy
+# Source: <defaults to package name>
+Version: 1.0
+# Architecture: all
+# Platform: all
+# Section: share
+Maintainer: "J. Random Hacker" <jrandom@example.com>
+# Essential: no
+# Depends:
+# Recommends:
+# Suggests:
+# Pre-Depends:
+# Conflicts:
+# Provides:
+# Replaces:
+Description: Trivial package for testing
+ This is a trivial package generated by proquivs. It should not be uploaded to
+ the ProteanOS package archive.
+# Homepage: