-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from mlibrary/use-fpm-for-debs
Use fpm for debs and export build artifact
- Loading branch information
Showing
18 changed files
with
132 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f "VERSION" ]; then | ||
echo "VERSION file is missing!" | ||
exit -1 | ||
fi | ||
|
||
fpm --input-type dir \ | ||
--output-type deb \ | ||
--architecture native \ | ||
--deb-generate-changes \ | ||
\ | ||
--deb-dist bullseye \ | ||
\ | ||
--name http-check \ | ||
--version "$(<VERSION)" \ | ||
--url 'https://github.com/mlibrary/lauth' \ | ||
--maintainer 'University of Michigan Library Information Technology' \ | ||
--description 'Health Check for Apache2' \ | ||
\ | ||
http-check=/usr/bin/http-check |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f "VERSION" ]; then | ||
echo "VERSION file is missing!" | ||
exit -1 | ||
fi | ||
|
||
fpm --input-type dir \ | ||
--output-type deb \ | ||
--architecture native \ | ||
--deb-generate-changes \ | ||
\ | ||
--deb-dist bullseye \ | ||
--depends apache2 \ | ||
\ | ||
--name libapache2-mod-authn-remoteuser \ | ||
--version "$(<VERSION)" \ | ||
--url 'https://github.com/mlibrary/lauth' \ | ||
--maintainer 'University of Michigan Library Information Technology' \ | ||
--description 'Fake Remote User Authentication Module for Apache2' \ | ||
\ | ||
conf/=/etc/apache2/mods-available \ | ||
mod_authn_remoteuser.so=/usr/lib/apache2/modules/mod_authn_remoteuser.so |
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...che2/mods-available/authn_remoteuser.load → ...thn-remoteuser/conf/authn_remoteuser.load
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Depends: | ||
LoadModule authn_remoteuser_module /usr/lib/apache2/modules/mod_authn_remoteuser.so |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f "VERSION" ]; then | ||
echo "VERSION file is missing!" | ||
exit -1 | ||
fi | ||
|
||
fpm --input-type dir \ | ||
--output-type deb \ | ||
--architecture native \ | ||
--deb-generate-changes \ | ||
\ | ||
--deb-dist bullseye \ | ||
--depends apache2 \ | ||
--depends libstdc++6 \ | ||
--depends libssl1.1 \ | ||
--exclude 'usr/lib/python3.9' \ | ||
\ | ||
--name libapache2-mod-lauth \ | ||
--version "$(<VERSION)" \ | ||
--after-install postinst \ | ||
--url 'https://github.com/mlibrary/lauth' \ | ||
--maintainer 'University of Michigan Library Information Technology' \ | ||
--description 'Library Authentication/Authorization Module for Apache2' \ | ||
\ | ||
conf/=/etc/apache2/mods-available \ | ||
lib/=/usr/lib \ | ||
mod_lauth.so=/usr/lib/apache2/modules/mod_lauth.so |
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...uth/etc/apache2/mods-available/lauth.load → apache/debpkgs/mod-lauth/conf/lauth.load
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Depends: | ||
LoadModule lauth_module /usr/lib/apache2/modules/mod_lauth.so |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters