Skip to content

Commit

Permalink
Added LGPL header
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebedo committed Feb 11, 2016
1 parent d1c5826 commit 4ad9094
Show file tree
Hide file tree
Showing 17 changed files with 254 additions and 0 deletions.
15 changes: 15 additions & 0 deletions environments/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#This file is part of CFDNSUpdater.
#
# CFDNSUpdater 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 3 of the License, or
# (at your option) any later version.
#
# CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

from alpine
RUN apk add --update go git python3 bash

Expand Down
15 changes: 15 additions & 0 deletions environments/build/build.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
#!/usr/bin/env python3
#This file is part of CFDNSUpdater.
#
# CFDNSUpdater 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 3 of the License, or
# (at your option) any later version.
#
# CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

import argparse
import subprocess
import sys
Expand Down
15 changes: 15 additions & 0 deletions environments/run/Dockerfile.amd64
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#This file is part of CFDNSUpdater.
#
# CFDNSUpdater 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 3 of the License, or
# (at your option) any later version.
#
# CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

from gliderlabs/alpine

RUN apk add --no-cache ca-certificates
Expand Down
15 changes: 15 additions & 0 deletions environments/run/Dockerfile.arm
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#This file is part of CFDNSUpdater.
#
# CFDNSUpdater 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 3 of the License, or
# (at your option) any later version.
#
# CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

from vimagick/alpine-arm

RUN apk add --no-cache ca-certificates
Expand Down
14 changes: 14 additions & 0 deletions resources/etc/bash_completion.d/cfdnsupdater.autocomplete
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#This file is part of CFDNSUpdater.
#
# CFDNSUpdater 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 3 of the License, or
# (at your option) any later version.
#
# CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

# For ZSH
if [[ -n ${ZSH_VERSION-} ]]; then
Expand Down
15 changes: 15 additions & 0 deletions resources/etc/default/cfdnsupdater.conf.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#This file is part of CFDNSUpdater.
#
# CFDNSUpdater 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 3 of the License, or
# (at your option) any later version.
#
# CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

foo.com:
email: user@fake.com
apikey: get_your_api_key_from_your_cloud_flare_a_account
Expand Down
15 changes: 15 additions & 0 deletions resources/etc/systemd/system/cfdnsupdater.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#This file is part of CFDNSUpdater.
#
# CFDNSUpdater 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 3 of the License, or
# (at your option) any later version.
#
# CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

[Unit]
Description=CFDNSUpdater

Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/configuration/cmdline.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package configuration

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/configuration/loggers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package configuration

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/configuration/types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package configuration

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/core/loggers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package core

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/core/types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package core

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package main

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/updater/loggers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package updater

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/updater/updater.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package updater

import (
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/utils/helpers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package utils

func StringInSlice(valueToCheck string, array []string) (res bool) {
Expand Down
15 changes: 15 additions & 0 deletions src/cfdnsupdater/utils/loggers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
//This file is part of CFDNSUpdater.
//
// CFDNSUpdater 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 3 of the License, or
// (at your option) any later version.
//
// CFDNSUpdater 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 CFDNSUpdater. If not, see <http://www.gnu.org/licenses/>.

package utils

import (
Expand Down

0 comments on commit 4ad9094

Please sign in to comment.