Add Debian package building, add manpage, release v1.0.0
This commit is contained in:
8
debian/changelog
vendored
Normal file
8
debian/changelog
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
s3-genindex (1.0.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release
|
||||
* HTML directory index generator for local and S3 storage
|
||||
* Support for file type icons and responsive design
|
||||
* Watermark support and hierarchical S3 navigation
|
||||
|
||||
-- Pim van Pelt <pim@ipng.ch> Tue, 03 Dec 2024 14:30:00 +0100
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
10
|
||||
21
debian/control
vendored
Normal file
21
debian/control
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
Source: s3-genindex
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Pim van Pelt <pim@ipng.ch>
|
||||
Build-Depends: debhelper (>= 10), golang-go
|
||||
Standards-Version: 4.1.2
|
||||
Homepage: https://git.ipng.ch/ipng/s3-genindex
|
||||
|
||||
Package: s3-genindex
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: HTML directory index generator for local and S3 storage
|
||||
Generate HTML directory indexes with file type icons and responsive design
|
||||
for local directories and S3-compatible storage. This is particularly useful
|
||||
for S3 buckets that are publicly readable.
|
||||
.
|
||||
Features include local directory indexing with recursive traversal,
|
||||
S3-compatible storage support (MinIO, AWS S3, etc.), hierarchical directory
|
||||
structure for S3 buckets, responsive HTML design with file type icons,
|
||||
dry run mode for testing, flexible filtering with glob patterns and regex
|
||||
exclusion, and hidden file control.
|
||||
2
debian/install
vendored
Normal file
2
debian/install
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
s3-genindex usr/bin
|
||||
docs/s3-genindex.1 usr/share/man/man1
|
||||
20
debian/rules
vendored
Executable file
20
debian/rules
vendored
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export GO111MODULE=on
|
||||
export GOPROXY=direct
|
||||
export GOSUMDB=off
|
||||
export GOCACHE=$(CURDIR)/debian/.gocache
|
||||
export GOPATH=$(CURDIR)/debian/go
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
go build -o s3-genindex ./cmd/s3-genindex
|
||||
|
||||
override_dh_auto_test:
|
||||
go test ./...
|
||||
|
||||
override_dh_auto_install:
|
||||
mkdir -p debian/s3-genindex/usr/bin
|
||||
cp s3-genindex debian/s3-genindex/usr/bin/
|
||||
Reference in New Issue
Block a user