mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-08 08:58:46 +03:00
core: remove stub http backend for now
The plain http pull is probably good enough.
This commit is contained in:
parent
3ceec68a54
commit
796dc7fc57
@ -61,10 +61,3 @@ ostree_SOURCES = src/main.c \
|
||||
$(NULL)
|
||||
ostree_CFLAGS = -I$(srcdir)/src -I$(srcdir)/src/libostree -I$(srcdir)/src/libotutil -DLOCALEDIR=\"$(datadir)/locale\" $(OT_COREBIN_DEP_CFLAGS)
|
||||
ostree_LDADD = libotutil.la libostree.la $(OT_COREBIN_DEP_LIBS)
|
||||
|
||||
bin_PROGRAMS += ostree-http-backend
|
||||
|
||||
ostree_http_backend_SOURCES = src/ostree-http-backend.c
|
||||
ostree_http_backend_CFLAGS = -I$(srcdir)/src -I$(srcdir)/src/libostree -I$(srcdir)/src/libotutil -DLOCALEDIR=\"$(datadir)/locale\" $(OT_COREBIN_DEP_CFLAGS)
|
||||
ostree_http_backend_LDADD = libotutil.la libostree.la $(OT_COREBIN_DEP_LIBS)
|
||||
|
||||
|
@ -1,45 +0,0 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
||||
*
|
||||
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
|
||||
*
|
||||
* 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 2 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Author: Colin Walters <walters@verbum.org>
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <libsoup/soup-gnome.h>
|
||||
#include <ostree.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
int
|
||||
main (int argc,
|
||||
char **argv)
|
||||
{
|
||||
const char *repo_root;
|
||||
|
||||
g_type_init ();
|
||||
|
||||
repo_root = g_getenv ("OSTREE_REPO_PREFIX");
|
||||
if (!repo_root)
|
||||
{
|
||||
g_printerr ("OSTREE_REPO_PREFIX not set\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
@ -119,8 +119,6 @@ setup_fake_remote_repo1() {
|
||||
cd ${test_tmpdir}
|
||||
mkdir ${test_tmpdir}/httpd
|
||||
cd httpd
|
||||
cp $(command -v ostree-http-backend) .
|
||||
chmod a+x ostree-http-backend
|
||||
cat >httpd.conf <<EOF
|
||||
ServerRoot ${test_tmpdir}/httpd
|
||||
PidFile pid
|
||||
|
Loading…
x
Reference in New Issue
Block a user