-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add debian directory for building .deb
- Loading branch information
Showing
7 changed files
with
75 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Build Sisyphus package on Debian | ||
-------------------------------- | ||
|
||
Building with git-buildpackage on Debian may be in same manner as with gear | ||
utility on ALT Linux Sisyphus (upstream tag using to autopackage origin sources): | ||
|
||
$ gbp buildpackage --git-ignore-branch --git-ignore-new --git-no-sign-tags --git-upstream-tag=v0.2.2 |
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,5 @@ | ||
oddjob-gpupdate (0.2.2-1) unstable; urgency=low | ||
|
||
* Initial build. | ||
|
||
-- Evgeny Sinelnikov <[email protected]> Sat, 30 Mar 2024 01:20:00 +0400 |
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 @@ | ||
9 |
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,15 @@ | ||
Source: oddjob-gpupdate | ||
Section: admin | ||
Priority: optional | ||
Maintainer: Evgeny Sinelnikov <[email protected]> | ||
Build-Depends: debhelper (>=9) | ||
Standards-Version: 4.1.3 | ||
Homepage: https://github.com/altlinux/oddjob-gpupdate | ||
|
||
Package: oddjob-gpupdate | ||
Architecture: any | ||
Multi-Arch: foreign | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, oddjob | ||
Description: An oddjob helper which applies group policy objects | ||
This package contains the oddjob helper which can be used by the | ||
pam_oddjob_gpupdate module to applies group policy objects at login-time. |
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,16 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: oddjob-gpupdate | ||
Upstream-Contact: ALT Linux Team development <[email protected]> | ||
Source: https://github.com/altlinux/oddjob-gpupdate | ||
|
||
Files: * | ||
Copyright: 2005-2015 Red Hat, Inc. | ||
License: BSD-3-clause | ||
|
||
Files: src/buffer.h | ||
Copyright: 2005 Red Hat, Inc. | ||
License: LGPL-2+ | ||
|
||
Files: src/gpupdate.c src/pam_oddjob_gpupdate.c | ||
Copyright: 2019, BaseALT, Ltd. | ||
License: BSD-3-clause |
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,7 @@ | ||
etc/dbus-1/system.d/oddjob-gpupdate.conf | ||
etc/oddjobd.conf.d/oddjobd-gpupdate.conf | ||
lib/*/security/pam_oddjob_gpupdate.so | ||
usr/lib/oddjob/gpupdate | ||
usr/share/man/man5/oddjob-gpupdate.conf.5 | ||
usr/share/man/man5/oddjobd-gpupdate.conf.5 | ||
usr/share/man/man8/pam_oddjob_gpupdate.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,24 @@ | ||
#!/usr/bin/make -f | ||
#export DH_VERBOSE = 1 | ||
|
||
DESTDIR=debian/buildroot | ||
|
||
%: | ||
dh $@ --tmpdir=$(DESTDIR) | ||
|
||
override_dh_auto_configure: | ||
./autogen | ||
dh_auto_configure -- \ | ||
--disable-static \ | ||
--enable-pie \ | ||
--enable-now \ | ||
--with-selinux-acls \ | ||
--with-selinux-labels | ||
|
||
override_dh_install: | ||
# purge .la files | ||
find $(CURDIR)/$(DESTDIR) -name "*.la" -type f -exec rm -f "{}" \; | ||
# move pam module to correct location | ||
mkdir -p $(CURDIR)/$(DESTDIR)/lib/${DEB_HOST_MULTIARCH} | ||
mv $(CURDIR)/$(DESTDIR)/usr/lib/${DEB_HOST_MULTIARCH}/security \ | ||
$(CURDIR)/$(DESTDIR)/lib/${DEB_HOST_MULTIARCH}/ |