summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2020-01-29 10:49:55 +0000
committerDan Theisen <djt@hxx.in>2020-04-23 06:24:36 +0000
commitae979a2ed5ee8c8d60fbcf35c3a6c09ad2b8796e (patch)
tree18aa69ad01b7bdf7c9ef684b7534ccefc28daf1f
parent6d089b41fd658258d0490e3af48899d84883062e (diff)
downloadpackages-popular-demand.tar.gz
packages-popular-demand.tar.bz2
packages-popular-demand.tar.xz
packages-popular-demand.zip
user/cvsps: new packagepopular-demand
-rw-r--r--user/cvsps/APKBUILD25
-rw-r--r--user/cvsps/use-internal-memfrob.patch20
2 files changed, 45 insertions, 0 deletions
diff --git a/user/cvsps/APKBUILD b/user/cvsps/APKBUILD
new file mode 100644
index 000000000..654c3c79d
--- /dev/null
+++ b/user/cvsps/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Dan Theisen <djt@hxx.in>
+pkgname=cvsps
+pkgver=2.1
+pkgrel=0
+pkgdesc="a program for generating 'patchset' information from a CVS repository"
+url="http://cvsps.sourceforge.net/"
+arch="all"
+options="!check" # Package has no tests.
+license="GPLv2+"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="http://cvsps.sourceforge.net/cvsps-$pkgver.tar.gz
+ use-internal-memfrob.patch"
+
+build() {
+ make
+}
+
+package() {
+ make prefix="$pkgdir/usr" install
+}
+
+sha512sums="8ba703fc4dd1c7a8201f4cefec533a6e228943f53f5380d8d17107718d8cb607c861a733d7ad1d6ed9288c4dbeae9fd59ceaf52172f16885a00d000a667e0e38 cvsps-2.1.tar.gz
+8e75a5372f450dcb07fce5797a3afce9c7df9c11e4f2e8eb9111a5c960267604f7de1886b94e79a5c5651cc24ef2b6c950534f43a0dae8e99ae00f1931141099 use-internal-memfrob.patch"
diff --git a/user/cvsps/use-internal-memfrob.patch b/user/cvsps/use-internal-memfrob.patch
new file mode 100644
index 000000000..6b9ea94a8
--- /dev/null
+++ b/user/cvsps/use-internal-memfrob.patch
@@ -0,0 +1,20 @@
+--- cvsps-2.1/cbtcommon/text_util.c.old 2005-05-26 03:39:40.000000000 +0000
++++ cvsps-2.1/cbtcommon/text_util.c 2020-01-29 10:43:36.720000000 +0000
+@@ -236,9 +236,6 @@
+ }
+ }
+
+-#ifdef linux
+-extern void *memfrob(void *, size_t);
+-#else
+ static void * memfrob(void * mem, size_t len)
+ {
+ size_t i;
+@@ -252,7 +249,6 @@
+
+ return mem;
+ }
+-#endif
+
+ // simple functions to obfuscate strings in a binary
+ char* frobstr( char* src )