blob: c1a7cbc23324b81b354544bbdfbf9123e62b3fd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# al32-mktorrent
Torrent creation script for [ArchLinux32](https://archlinux32.org), with upload
capabilities via `scp` and to [hefur](https://github.com/abique/hefur).
The latest torrents are hosted on [static.dopsi.ch](https://static.dopsi.ch/al32/)
along with the RSS feeds (for [i686](https://static.dopsi.ch/al32/feed_i686.rss) and
[dual](https://static.dopsi.ch/al32/feed_dual.rss)).
## Usage
al32-mktorrent.sh [ -d date ] [ -w webdir ] [ -t hefurdir ] [ arch... ]
If no `arch` is specified both `i686` and `dual` will be generated.
If no `date` is specified, the script will prompt for a date during the process.
If `hefurdir` or `webdir` is not specified no file will be uploaded to
the corresponding server.
## Features
* [x] Torrent creation
* [x] Create a torrent file per architecture
* [x] Obtain the latest mirrorlist
* [x] Check mirrors for ISO availability
* [x] Download ISO
* [x] Check ISO
* [x] Create both torrent files at once
* [x] Create a magnet link per architecture
* [ ] Torrent upload
* [x] Upload the torrent file to a web server via SSH
* [x] Upload the torrent file to a torrent tracker via SSH
* [ ] Upload the torrent to transmission-server
* [ ] Inform the world of the new torrent file
* [x] Add the magnet link to a RSS feed
* [x] Upload the new RSS feed to the server
* [ ] Send an email to the arch-ports list
## License
> This program 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.
>
> This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
## Author
Copyright (c) 2017 Simon Doppler (dopsi)
|