diff options
author | vg <vg@devys.org> | 2018-07-24 16:10:13 +0200 |
---|---|---|
committer | vg <vg@devys.org> | 2018-07-24 16:10:13 +0200 |
commit | 0b57ffbcd6d9c49fe90d7e7dc241d034ace943fa (patch) | |
tree | 940f8d183f1e89d959d157abe205ba76efb093ba | |
download | debian-dhcpcd-0b57ffbcd6d9c49fe90d7e7dc241d034ace943fa.tar.gz debian-dhcpcd-0b57ffbcd6d9c49fe90d7e7dc241d034ace943fa.tar.bz2 debian-dhcpcd-0b57ffbcd6d9c49fe90d7e7dc241d034ace943fa.zip |
Initial packaging of dhcpcd
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 11 | ||||
-rw-r--r-- | debian/dhcpcd.service | 7 | ||||
-rwxr-xr-x | debian/rules | 44 | ||||
-rw-r--r-- | license.txt | 21 | ||||
-rw-r--r-- | readme.rst | 25 | ||||
m--------- | upstream | 0 |
9 files changed, 117 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e2340b2 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "upstream"] + path = upstream + url = https://roy.marples.name/git/dhcpcd.git diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5565b72 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dhcpcd (0.0.0) UNRELEASED; urgency=medium + + * Personal package, not meant for official inclusion + + -- vg <vg@devys.org> Sun, 01 Jan 1984 00:00:00 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..fd7bdd9 --- /dev/null +++ b/debian/control @@ -0,0 +1,11 @@ +Source: dhcpcd +Section: universe/x11 +Priority: optional +Maintainer: vg <vg@devys.org> +Build-Depends: debhelper (>=10), pkg-config, libudev-dev, ntp +Homepage: https://roy.marples.name/projects/dhcpcd + +Package: dhcpcd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, bsdutils, procps +Description: DHCP client for automatically configuring IPv4/IPv6 networking diff --git a/debian/dhcpcd.service b/debian/dhcpcd.service new file mode 100644 index 0000000..b016f36 --- /dev/null +++ b/debian/dhcpcd.service @@ -0,0 +1,7 @@ +[Service] +ExecStart=/usr/sbin/dhcpcd -MBq +Restart=on-abnormal +KillMode=process + +[Install] +WantedBy=multi-user.target diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9207c67 --- /dev/null +++ b/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# debian version rule: +# 0.0 < 0.5 < 0.10 < 0.99 < 1 < 1.0~rc1 < 1.0 < 1.0+b1 < 1.0+nmu1 < 1.1 < 2.0 + +VERSION = 1 +PACKAGEVERSION = $(VERSION)+$(shell date +%Y%m%d%H%M%S) + +export prefix=/usr +export DBDIR=/var/lib/dhcpcd + +override_dh_gencontrol: + dh_gencontrol -- -v$(PACKAGEVERSION) + +%: + dh $@ -D upstream + +override_dh_installsystemd: + dh_installsystemd --no-start --no-enable + +## avoid errors on stretch and sid builds. Kind of Error: +## dpkg-shlibdeps: error: no dependency information found for +## /usr/lib/ld-linux-armhf.so.3 (used >by debian/meh/bin/meh) +## fix by telling dh_shlibdeps it should ignore not found libs: +#override_dh_shlibdeps: +# dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info +# +## note for build: +## Delete manpages installed from upstream since not gzipped, and let debian +## helper do it instead. +#override_dh_auto_clean: +#override_dh_auto_test: +#override_dh_auto_build: +#override_dh_auto_install: +# (cd upstream && dh_auto_configure) +# make -C upstream +# make -C upstream install DESTDIR="$(PWD)/debian/dhcpcd" +# echo "debug: `pwd`" +# echo $(PWD) +# find debian/dhcpcd diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..d381114 --- /dev/null +++ b/license.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright © 2018 vg <vg@devys.org> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/readme.rst b/readme.rst new file mode 100644 index 0000000..2b7ec3e --- /dev/null +++ b/readme.rst @@ -0,0 +1,25 @@ +Introduction +============ + +This repository and hereby noted 'project' concerns just the debian packaging +part. + +License +======= + +Unless specified otherwise, this project is licensed under the terms of the +MIT license. You should have received a copy of the MIT License along with +this program. If not, see <https://opensource.org/licenses/MIT>. + +SPDX-License-Identifier: MIT + +Copyright © 2018 vg <vg@devys.org> + +Contact +======= + +developer + vg + +mail + vg@devys.org diff --git a/upstream b/upstream new file mode 160000 +Subproject 04196311ca704dbe9e60a82ed03090145bd9db5 |