Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .hgignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax: glob

*.orig
*.py[co]
MANIFEST
__pycache__
build
debian/*.debhelper
debian/*.log
debian/*.substvars
debian/files
debian/libpam-python
debian/libpam-python-doc
doc/html
src/*.so
src/build
src/ctest
src/test-pam_python.pam
release.tmp
4 changes: 4 additions & 0 deletions .hgtags
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
41c0dec01d3547d0d5fba489886417f17cf3c573 pam-python-1.0.4-1
457b995c545e4c7891343cbbcbf91a475ba6afd4 pam-python-1.0.5-1
ed984bf580e0fc43210e7a9d26fee13af6a57acd pam-python-1.0.6-1
0247ab687b4347cc52859ca461fb0126dd7e2ebe pam-python-1.0.7-1
6 changes: 6 additions & 0 deletions .idea/$CACHE_FILE$

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
pam-python-1.0.7 Wed, 18 Sep 2019 20:23:54 +1000

Bug: Local root exploit.

pam-python-1.0.6 Sat, 27 Aug 2016 21:35:36 +1000

New: Update Makefile.release
Expand Down
24 changes: 15 additions & 9 deletions Makefile.release
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#
# Do a release. Does the following:
# Do a release.
#
# This is file is identical for _all_ sourceforge projects I host. It is
# designed to one thing: automate my sourceforce work flow. Be warned that
# I will selfishly reject any patches that don't do that.
#
# It does the following:
#
# 1. Verifies the changelogs have been updated to a consistent version.
#
Expand All @@ -18,7 +24,7 @@
# 7. Sends the HTML file, and other files references by it, to the web
# site.
#
# Copyright (c) 2013,2014,2015,2016 Russell Stuart.
# Copyright (c) 2013,2014,2015,2016,2017,2018,2019 Russell Stuart.
# Licensed (at your choice) under GPLv2, or any later version,
# or AGPL-3.0+, or any later version.
#
Expand Down Expand Up @@ -97,7 +103,7 @@ endif
#
# Insert the debian packates into the release.
#
DEBIAN_KERNEL_USE_CCACHE="yes" debuild --preserve-env --preserve-envvar="PATH" -k0xE7843A8C -sa --lintian-opts --info --display-info --display-experimental
DEBIAN_KERNEL_USE_CCACHE="yes" debuild --preserve-env --preserve-envvar="PATH" -k0xF5231C62E7843A8C -sa --lintian-opts --info --display-info --display-experimental
mkdir -p "$(RELEASE_FILES)"
rm ../$(RELEASE_PACKAGE_NAME)_$(RELEASE_DEBIAN_VERSION)_*.build
set -xve; mv $$(sed -n '1,/^Files:/d;/^$$/q;s:.* :../:p' ../$(RELEASE_PACKAGE_NAME)_$(RELEASE_DEBIAN_VERSION)_*.changes) ../$(RELEASE_PACKAGE_NAME)_$(RELEASE_DEBIAN_VERSION)_*.changes $(RELEASE_FILES)
Expand Down Expand Up @@ -141,20 +147,20 @@ endif
.PHONY: release-customise
release-customise::

.PHONY: upload
upload: upload-htdocs upload-files
.PHONY: release-upload
release-upload: release-upload-htdocs release-upload-files

.PHONY: upload-htdocs
upload-htdocs: $(RELEASE_DIR)/release.stamp
.PHONY: release-upload-htdocs
release-upload-htdocs: $(RELEASE_DIR)/release.stamp
#
# Send the files that a symlink'ed first, otherwise it fails on the
# 1st send.
#
cd $(RELEASE_DIR); rsync -avPR $$(for f in $$(find htdocs -name index.html -type l); do ff=$$(readlink "$${f}"); echo $${f%/*}/$${ff}; done) rstuart,$(RELEASE_PACKAGE_NAME)@web.sourceforge.net:.
rsync -avP --delete $(RELEASE_HTDOCS)/. rstuart,$(RELEASE_PACKAGE_NAME)@web.sourceforge.net:htdocs/.

.PHONY: upload-files
upload-files: $(RELEASE_DIR)/release.stamp
.PHONY: release-upload-files
release-upload-files: $(RELEASE_DIR)/release.stamp
rsync -avP --delete $(RELEASE_FILES) rstuart,$(RELEASE_PACKAGE_NAME)@frs.sourceforge.net:/home/frs/project/$(RELEASE_PACKAGE_NAME)/.

.PHONY: release-clean
Expand Down
5 changes: 4 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Dependencies

Python >= 2.6, http://www.python.org
pam >= 0.76, http://pam.sourceforge.net/
PyPAM (Debian package python-pam, needed for testing only)



Building and Installing
Expand All @@ -31,6 +33,7 @@ Building and Installing
In addition the unit test requires:
- sudo, http://www.sudo.ws/
- An account with root privileges.
- PyPAM (for testing only)

To build the re-distributable, in the directory containing
this file run:
Expand All @@ -46,7 +49,7 @@ Building and Installing
License
-------

Copyright (c) 2007-2014,2016 Russell Stuart.
Copyright (c) 2007-2014,2016,2019 Russell Stuart.

This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published by
Expand Down
87 changes: 87 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
pam-python (1.0.7-1) unstable; urgency=high

* New upstream.

-- Russell Stuart <russell-debian@stuart.id.au> Wed, 18 Sep 2019 20:25:13 +1000

pam-python (1.0.6-1) unstable; urgency=low

* New upstream.
* Add debian specific patch to link sphinx to python-doc instead
of online version. (Closes: #833411).
* Bump standards version.

-- Russell Stuart <russell-debian@stuart.id.au> Sat, 27 Aug 2016 21:37:03 +1000

pam-python (1.0.5-1) unstable; urgency=low

* New upstream.
* Bump standards version.

-- Russell Stuart <russell-debian@stuart.id.au> Fri, 19 Feb 2016 20:51:53 +1000

pam-python (1.0.4-1) unstable; urgency=low

* New upstream, moved to AGPL-3.0.
* debian/rules now uses dpkg-buildflags to harden binary.
(Closes: #744156).
* Now ships examples. (Closes: #686652).

-- Russell Stuart <russell-debian@stuart.id.au> Fri, 30 May 2014 06:31:46 +1000

pam-python (1.0.3-1) unstable; urgency=low

* Fix lintian warnings under jessie.
* New upstream, improving compatibility with older python versions.

-- Russell Stuart <russell-debian@stuart.id.au> Sun, 4 May 2014 23:30:32 +1000

pam-python (1.0.2-1) unstable; urgency=low

* New upstream.
* Bumped standards version to 3.9.3.

-- Russell Stuart <russell-debian@stuart.id.au> Thu, 5 Apr 2012 15:23:06 +1000

pam-python (1.0.1-1) unstable; urgency=low

* New upstream incorporating --load-as-needed patch from Ubuntu.
(Closes: #606700).
* Removed Petter Reinholdtsen from Uploaders at his suggestion.

-- Russell Stuart <russell-debian@stuart.id.au> Mon, 13 Dec 2010 09:12:09 +1000

pam-python (1.0.0-2) unstable; urgency=low

* debian/watch: fixed url.

-- Russell Stuart <russell-debian@stuart.id.au> Sun, 4 Jul 2010 09:55:20 +1000

pam-python (1.0.0-1) unstable; urgency=low

* New upsteam release - documentation format changed to sphinx.
(Closes: #582754).
* Split into binary and doc packages because documentation now
depends on libjs-jquery.
* Switch to dpkg-source 3.0 (quilt) format

-- Russell Stuart <russell-debian@stuart.id.au> Tue, 29 Jun 2010 13:27:36 +1000

pam-python (0.1.1-2) unstable; urgency=low

* Fix rules file to work properly when building arch dependent
packages.
* Correct clean target in the rules file to make sure unpatching is
done after make clean is executed, to make sure the patches are in
effect when cleaning is done.

-- Petter Reinholdtsen <pere@debian.org> Mon, 17 May 2010 16:57:49 +0200

pam-python (0.1.1-1) unstable; urgency=low

* Initial release based on package from upstream (Closes: #578650).
* Drop build depend on latex2html to avoid non-free dependency.
* Upgrade from debhelper 5 to 7.
* Update standards-version from 3.7.3 to 3.8.4. No changes needed.

-- Petter Reinholdtsen <pere@debian.org> Wed, 05 May 2010 10:25:24 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
30 changes: 30 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Source: pam-python
Section: admin
Priority: optional
Maintainer: Russell Stuart <russell-debian@stuart.id.au>
Build-Depends: debhelper (>= 9), python-all-dev (>= 2.2), python3-sphinx,
python-doc,
libpam0g-dev | libpam-dev
Standards-Version: 4.3.0
Homepage: http://pam-python.sourceforge.net/

Package: libpam-python
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: libpam-python-doc
Description: Enables PAM modules to be written in Python
This PAM module runs the Python interpreter, thus allowing PAM
modules to be written in Python. As a Python incurs a considerable
overhead its intended audience is SysAdmins writing one off PAM
modules. If you are doing that, you should probably install
the documentation in libpam-python-doc as well.

Package: libpam-python-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, libjs-jquery, libjs-underscore
Recommends: libpam-python
Description: Documentation for the bindings provided by libpam-python
The libpam-python PAM module runs the Python interpreter, thus allowing
PAM modules to be written in Python. This package documents the bindings
provided by libpam-python.
Loading