Compare commits

...

2 Commits

Author SHA1 Message Date
Joshua Boniface cbf51c7d28 Switch to new theme 2024-05-24 11:16:43 -04:00
Joshua Boniface 2100ee6e33 Tweaks for 2024 2024-05-24 11:16:43 -04:00
4 changed files with 12 additions and 4 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "themes/hugo-theme-m10c"] [submodule "themes/hugo-theme-m10c"]
path = themes/hugo-theme-m10c path = themes/hugo-theme-m10c
url = https://github.com/joshuaboniface/hugo-theme-m10c.git url = https://github.com/joshuaboniface/hugo-theme-m10c.git
[submodule "themes/hugo-blog-awesome"]
path = themes/hugo-blog-awesome
url = https://github.com/hugo-sid/hugo-blog-awesome

View File

@ -2,7 +2,7 @@ baseurl = "https://www.boniface.me"
languageCode = "en-us" languageCode = "en-us"
title = "Joshua Boniface, sysadmin" title = "Joshua Boniface, sysadmin"
author = "Joshua Boniface" author = "Joshua Boniface"
theme = "hugo-theme-m10c" theme = "hugo-blog-awesome"
contentdir = "content" contentdir = "content"
publishdir = "public" publishdir = "public"

View File

@ -43,7 +43,7 @@ These files define some basic configuration for the build system. Given how simp
The next two entries are under the sub-directory `source` within the `debian` folder. The next two entries are under the sub-directory `source` within the `debian` folder.
`source/format` defines the package layout format, and is normally just `1.0` with no other content in the file. `source/format` defines the package layout format. There are two main formats: `1.0` and `3.0`. Within `3.0`, `3.0 (quilt)` is the most common. Which you choose depends on how advanced you want to go here, but we'll stick with `1.0` as it's the simplest.
`source/options` defines some additional options that will be passed to `dpkg-source` when it builds your package. There's two main categories of entries here that I have used in my packages, though there are many more: `source/options` defines some additional options that will be passed to `dpkg-source` when it builds your package. There's two main categories of entries here that I have used in my packages, though there are many more:
@ -75,7 +75,7 @@ This line defines the copyright format. The 1.0 format specified here is usually
Upstream-Name: mypackage Upstream-Name: mypackage
``` ```
This line specifies the upstream name of the program. It should match your program's name and the name of the source package. This line specifies the upstream name of the program. It should match your program's name and the name of the source package. If you're building someone else's program and want to change the name to "Debianize" it, this would be the original name.
``` ```
Source: https://github.com/aperson/myproject Source: https://github.com/aperson/myproject
@ -89,7 +89,7 @@ Next is a newline, followed by one or more blocks:
Files: * Files: *
``` ```
This line defines what file(s) this copyright entry belongs to. For a simple project all under one license, this can just be `*`. The `*` block should always be the last block; that is, define any more specific blocks first. If not `*`, this should be the relative path to the file(s) under the source repository. This line defines what file(s) this copyright entry belongs to. For a simple project all under one license, this can just be `*`; more advanced copyright situations (e.g. submodules, libraries) might require separate sections for each.. The `*` block should always be the last block; that is, define any more specific blocks first. If not `*`, this should be the relative path to the file(s) under the source repository.
``` ```
Copyright: 2022 A. Person <aperson@email.tld> Copyright: 2022 A. Person <aperson@email.tld>
@ -131,6 +131,10 @@ License: GPL-3
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
``` ```
### Separate 'debian' copyright
Sometimes, it might be ideal to use a different license for the actual 'debian' folder versus the original program source code. Why you might want to do this is up to you, but to do so simply create a `Files: debian` block before the `Files *` block to define your alternate packaging license.
## The `control` file ## The `control` file
Now we're getting into the meat of the package. The `control` file defines your package, both the source component and the binary component(s). There are many available options here, but I'll provide only the most basic ones needed to build a functional package. Now we're getting into the meat of the package. The `control` file defines your package, both the source component and the binary component(s). There are many available options here, but I'll provide only the most basic ones needed to build a functional package.

@ -0,0 +1 @@
Subproject commit 8e3ab59923a42480461f41303269d7f0e3072f03