+
+ org.cockpit_project.tailscale
+ tailscale
+ https://github.com/spotsnel/tailscale-cockpit
+ https://github.com/spotsnel/tailscale-cockpit/issues
+ me@gbraad.nl
+
diff --git a/package.json b/package.json
index dd26754..fd08975 100644
--- a/package.json
+++ b/package.json
@@ -1,9 +1,9 @@
{
- "name": "starter-kit",
- "description": "Scaffolding for a cockpit module",
+ "name": "tailscale",
+ "description": "Tailscale application for Cockpit",
"type": "module",
"main": "index.js",
- "repository": "git@github.com:cockpit/starter-kit.git",
+ "repository": "git@github.com:spotsnel/tailscale-cockpit.git",
"author": "",
"license": "LGPL-2.1",
"scripts": {
diff --git a/packaging/cockpit-starter-kit.spec.in b/packaging/cockpit-tailscale.spec.in
similarity index 79%
rename from packaging/cockpit-starter-kit.spec.in
rename to packaging/cockpit-tailscale.spec.in
index 44d6952..efb0639 100644
--- a/packaging/cockpit-starter-kit.spec.in
+++ b/packaging/cockpit-tailscale.spec.in
@@ -1,11 +1,11 @@
-Name: cockpit-starter-kit
+Name: cockpit-tailscale
Version: %{VERSION}
Release: 1%{?dist}
-Summary: Cockpit Starter Kit Example Module
+Summary: Cockpit tailscale
License: LGPLv2+
-Source0: https://github.com/cockpit-project/starter-kit/releases/download/%{version}/%{name}-%{version}.tar.xz
-Source1: https://github.com/cockpit-project/starter-kit/releases/download/%{version}/%{name}-node-%{version}.tar.xz
+Source0: https://github.com/spotsnel/tailscale-cockpit/releases/download/%{version}/%{name}-%{version}.tar.xz
+Source1: https://github.com/spotsnel/tailscale-cockpit/releases/download/%{version}/%{name}-node-%{version}.tar.xz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs
diff --git a/packit.yaml b/packit.yaml
index 6258a2e..7d5ddd0 100644
--- a/packit.yaml
+++ b/packit.yaml
@@ -2,7 +2,7 @@
# To use this, enable Packit-as-a-service in GitHub: https://packit.dev/docs/packit-as-a-service/
# See https://packit.dev/docs/configuration/ for the format of this file
-specfile_path: cockpit-starter-kit.spec
+specfile_path: cockpit-tailscale.spec
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
@@ -12,7 +12,7 @@ srpm_build_deps:
actions:
post-upstream-clone:
- - make cockpit-starter-kit.spec
+ - make cockpit-tailscale.spec
# replace Source1 manually, as create-archive: can't handle multiple tarballs
- make node-cache
- sh -c 'sed -i "/^Source1:/ s/https:.*/$(ls *-node*.tar.xz)/" cockpit-*.spec'
diff --git a/src/app.jsx b/src/app.jsx
index 6d2e4e2..13a7334 100644
--- a/src/app.jsx
+++ b/src/app.jsx
@@ -1,22 +1,3 @@
-/*
- * This file is part of Cockpit.
- *
- * Copyright (C) 2017 Red Hat, Inc.
- *
- * Cockpit is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * Cockpit 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Cockpit; If not, see .
- */
-
import cockpit from 'cockpit';
import React from 'react';
import { Alert } from "@patternfly/react-core/dist/esm/components/Alert/index.js";
@@ -37,7 +18,7 @@ export class Application extends React.Component {
render() {
return (
- Starter Kit
+ Tailscale
-
- Cockpit Starter Kit
+ Tailscale
diff --git a/src/index.js b/src/index.js
index 3cb37d9..1640735 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,22 +1,3 @@
-/*
- * This file is part of Cockpit.
- *
- * Copyright (C) 2017 Red Hat, Inc.
- *
- * Cockpit is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * Cockpit 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Cockpit; If not, see .
- */
-
import "cockpit-dark-theme";
import "patternfly/patternfly-5-cockpit.scss";
diff --git a/src/manifest.json b/src/manifest.json
index 3a45f56..1c7611a 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -5,7 +5,7 @@
"tools": {
"index": {
- "label": "Starter Kit"
+ "label": "Tailscale"
}
}
}