xref: /dflybsd-src/usr.bin/dsynth/repo.c (revision 8e25f19b2ed644acdbb2838b45f94c3f9f6c1cbd)
1*8e25f19bSMatthew Dillon /*
2*8e25f19bSMatthew Dillon  * Copyright (c) 2019 The DragonFly Project.  All rights reserved.
3*8e25f19bSMatthew Dillon  *
4*8e25f19bSMatthew Dillon  * This code is derived from software contributed to The DragonFly Project
5*8e25f19bSMatthew Dillon  * by Matthew Dillon <dillon@backplane.com>
6*8e25f19bSMatthew Dillon  *
7*8e25f19bSMatthew Dillon  * This code uses concepts and configuration based on 'synth', by
8*8e25f19bSMatthew Dillon  * John R. Marino <draco@marino.st>, which was written in ada.
9*8e25f19bSMatthew Dillon  *
10*8e25f19bSMatthew Dillon  * Redistribution and use in source and binary forms, with or without
11*8e25f19bSMatthew Dillon  * modification, are permitted provided that the following conditions
12*8e25f19bSMatthew Dillon  * are met:
13*8e25f19bSMatthew Dillon  *
14*8e25f19bSMatthew Dillon  * 1. Redistributions of source code must retain the above copyright
15*8e25f19bSMatthew Dillon  *    notice, this list of conditions and the following disclaimer.
16*8e25f19bSMatthew Dillon  * 2. Redistributions in binary form must reproduce the above copyright
17*8e25f19bSMatthew Dillon  *    notice, this list of conditions and the following disclaimer in
18*8e25f19bSMatthew Dillon  *    the documentation and/or other materials provided with the
19*8e25f19bSMatthew Dillon  *    distribution.
20*8e25f19bSMatthew Dillon  * 3. Neither the name of The DragonFly Project nor the names of its
21*8e25f19bSMatthew Dillon  *    contributors may be used to endorse or promote products derived
22*8e25f19bSMatthew Dillon  *    from this software without specific, prior written permission.
23*8e25f19bSMatthew Dillon  *
24*8e25f19bSMatthew Dillon  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25*8e25f19bSMatthew Dillon  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26*8e25f19bSMatthew Dillon  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
27*8e25f19bSMatthew Dillon  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
28*8e25f19bSMatthew Dillon  * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
29*8e25f19bSMatthew Dillon  * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
30*8e25f19bSMatthew Dillon  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31*8e25f19bSMatthew Dillon  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32*8e25f19bSMatthew Dillon  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33*8e25f19bSMatthew Dillon  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
34*8e25f19bSMatthew Dillon  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35*8e25f19bSMatthew Dillon  * SUCH DAMAGE.
36*8e25f19bSMatthew Dillon  */
37*8e25f19bSMatthew Dillon #include "dsynth.h"
38*8e25f19bSMatthew Dillon 
39*8e25f19bSMatthew Dillon void
40*8e25f19bSMatthew Dillon DoRebuildRepo(int ask __unused)
41*8e25f19bSMatthew Dillon {
42*8e25f19bSMatthew Dillon 	dfatal("Not Implemented");
43*8e25f19bSMatthew Dillon }
44*8e25f19bSMatthew Dillon 
45*8e25f19bSMatthew Dillon void
46*8e25f19bSMatthew Dillon DoUpgradePkgs(pkg_t *pkgs __unused, int ask __unused)
47*8e25f19bSMatthew Dillon {
48*8e25f19bSMatthew Dillon 	dfatal("Not Implemented");
49*8e25f19bSMatthew Dillon }
50*8e25f19bSMatthew Dillon 
51*8e25f19bSMatthew Dillon void
52*8e25f19bSMatthew Dillon PurgeDistfiles(pkg_t *pkgs __unused)
53*8e25f19bSMatthew Dillon {
54*8e25f19bSMatthew Dillon 	dfatal("Not Implemented");
55*8e25f19bSMatthew Dillon }
56*8e25f19bSMatthew Dillon 
57*8e25f19bSMatthew Dillon void
58*8e25f19bSMatthew Dillon RemovePackages(pkg_t *pkgs __unused)
59*8e25f19bSMatthew Dillon {
60*8e25f19bSMatthew Dillon 	dfatal("Not Implemented");
61*8e25f19bSMatthew Dillon }
62