burp-server: remove package
broken with OpenSSL-1.1+ we also have burp2, so need to keep the old package around
This commit is contained in:
parent
4a904d71c0
commit
06fa5f6dcb
7 changed files with 2 additions and 129 deletions
|
@ -1 +0,0 @@
|
|||
burp-server
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec burp -F -c /etc/burp/burp-server.conf
|
|
@ -1,13 +0,0 @@
|
|||
# "-f" option unsupported by hostname.
|
||||
# from package VoidLinux/coreutils 8.24_3 - 2015-09.
|
||||
--- configs/certs/CA/burp_ca
|
||||
+++ configs/certs/CA/burp_ca
|
||||
@@ -11,7 +11,7 @@
|
||||
dir=${etc}/CA
|
||||
conf=${etc}/CA.cnf
|
||||
|
||||
-name=$(hostname -f)
|
||||
+name=$(hostname)
|
||||
ca_days=7300
|
||||
size=2048
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
--- src/conf.c.orig
|
||||
+++ src/conf.c
|
||||
@@ -538,7 +538,7 @@ static void do_build_regex(struct strlis
|
||||
struct fstype
|
||||
{
|
||||
const char *str;
|
||||
- long flag;
|
||||
+ unsigned int flag;
|
||||
};
|
||||
|
||||
static struct fstype fstypes[]={
|
||||
@@ -590,7 +590,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
#endif
|
||||
|
||||
-static int fstype_to_flag(const char *fstype, long *flag)
|
||||
+static int fstype_to_flag(const char *fstype, unsigned int *flag)
|
||||
{
|
||||
#ifdef HAVE_LINUX_OS
|
||||
int i=0;
|
||||
--- src/strlist.c.orig
|
||||
+++ src/strlist.c
|
||||
@@ -21,7 +21,7 @@ void strlists_free(struct strlist **bd,
|
||||
}
|
||||
}
|
||||
|
||||
-int strlist_add(struct strlist ***bdlist, int *count, char *path, long flag)
|
||||
+int strlist_add(struct strlist ***bdlist, int *count, char *path, unsigned int flag)
|
||||
{
|
||||
//int b=0;
|
||||
struct strlist *bdnew=NULL;
|
||||
--- src/strlist.h.orig
|
||||
+++ src/strlist.h
|
||||
@@ -11,13 +11,13 @@ typedef struct strlist strlist_t;
|
||||
|
||||
struct strlist
|
||||
{
|
||||
- long flag;
|
||||
+ unsigned int flag;
|
||||
char *path;
|
||||
regex_t *re;
|
||||
};
|
||||
|
||||
extern void strlists_free(struct strlist **bd, int count);
|
||||
-extern int strlist_add(struct strlist ***bdlist, int *count, char *path, long flag);
|
||||
+extern int strlist_add(struct strlist ***bdlist, int *count, char *path, unsigned int flag);
|
||||
extern int strlist_sort(struct strlist **a, struct strlist **b);
|
||||
|
||||
#endif
|
|
@ -1,62 +0,0 @@
|
|||
# Template file for 'burp-server'
|
||||
_desc="A network-based backup and restore program"
|
||||
|
||||
pkgname=burp-server
|
||||
version=1.4.40
|
||||
revision=12
|
||||
short_desc="${_desc} - Server"
|
||||
maintainer="Pierre Bourgin <pierre.bourgin@free.fr>"
|
||||
license="AGPL-3.0-only, BSD-3-Clause, GPL-2.0-or-later"
|
||||
homepage="http://burp.grke.org/"
|
||||
wrksrc="burp-${version}"
|
||||
distfiles="https://github.com/grke/burp/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=2e6a9a28453a11f3e36d0beefa185e72e7781a8718b55d3101144c9900752d6f
|
||||
|
||||
hostmakedepends="automake libtool perl"
|
||||
# note: burp provides its internal copy of "uthash-devel"
|
||||
makedepends="
|
||||
libressl-devel zlib-devel librsync-devel ncurses-devel
|
||||
acl-devel yajl-devel ca-certificates"
|
||||
|
||||
# unique binary for both client and server: server depends on client package.
|
||||
depends="burp-client-${version}_${revision}"
|
||||
|
||||
build_style=gnu-configure
|
||||
configure_args="--sysconfdir=/etc/burp --sbindir=/usr/bin"
|
||||
conf_files="/etc/burp/burp-server.conf"
|
||||
|
||||
make_dirs="/var/spool/burp 0755 root root"
|
||||
|
||||
post_install() {
|
||||
vsv ${pkgname}
|
||||
|
||||
vdoc "README"
|
||||
vdoc "UPGRADING"
|
||||
vlicense "LICENSE"
|
||||
|
||||
# /usr/sbin/burp_ca is hardcoded in conf files
|
||||
sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \
|
||||
-i ${DESTDIR}/etc/burp/burp-server.conf
|
||||
}
|
||||
|
||||
burp-client_package() {
|
||||
short_desc="${_desc} - client"
|
||||
# openssl binary needed by burp_ca script
|
||||
depends="ca-certificates"
|
||||
conf_files="/etc/burp/burp.conf"
|
||||
make_dirs="/etc/burp/CA-client 0755 root root"
|
||||
pkg_install() {
|
||||
vmove "usr/bin/burp"
|
||||
vmove "usr/bin/burp_ca"
|
||||
vmove "usr/share/man/man8/burp.8.gz"
|
||||
vmove "usr/share/man/man8/burp_ca.8.gz"
|
||||
vmove "etc/burp/CA-client"
|
||||
vmove "etc/burp/burp.conf"
|
||||
vdoc "README"
|
||||
vlicense "LICENSE"
|
||||
|
||||
# /usr/sbin/burp_ca is hardcoded in conf files
|
||||
sed -e "s,/usr/sbin/burp_ca,/usr/bin/burp_ca,g" \
|
||||
-i ${PKGDESTDIR}/etc/burp/burp.conf
|
||||
}
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
# ignore v2 version for the moment, not yet stable
|
||||
ignore="2.*"
|
|
@ -18,6 +18,8 @@ replaces="
|
|||
avogadro<=1.2.0_8
|
||||
avogadro-devel<=1.2.0_8
|
||||
bokken<=1.8_3
|
||||
burp-server<=1.4.40_13
|
||||
burp-client<=1.4.40_13
|
||||
bzr<=2.7.0_1
|
||||
bzrtools<=2.6.0_4
|
||||
caja-gksu<=1.20.2_2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue