forked from emacs-mirror/emacs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba5e0d8
commit 747e222
Showing
9 changed files
with
109 additions
and
13 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 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,14 @@ | ||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
Comment: Alice's OpenPGP certificate | ||
|
||
mDMEXEcE6RYJKwYBBAHaRw8BAQdArjWwk3FAqyiFbFBKT4TzXcVBqPTB3gmzlC/U | ||
b7O1u120JkFsaWNlIExvdmVsYWNlIDxhbGljZUBvcGVucGdwLmV4YW1wbGU+iJAE | ||
ExYIADgCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AWIQTrhbtfozp14V6UTmPy | ||
MVUMT0fjjgUCXaWfOgAKCRDyMVUMT0fjjukrAPoDnHBSogOmsHOsd9qGsiZpgRnO | ||
dypvbm+QtXZqth9rvwD9HcDC0tC+PHAsO7OTh1S1TC9RiJsvawAfCPaQZoed8gK4 | ||
OARcRwTpEgorBgEEAZdVAQUBAQdAQv8GIa2rSTzgqbXCpDDYMiKRVitCsy203x3s | ||
E9+eviIDAQgHiHgEGBYIACAWIQTrhbtfozp14V6UTmPyMVUMT0fjjgUCXEcE6QIb | ||
DAAKCRDyMVUMT0fjjlnQAQDFHUs6TIcxrNTtEZFjUFm1M0PJ1Dng/cDW4xN80fsn | ||
0QEA22Kr7VkCjeAEC08VSTeV+QFsmz55/lntWkwYWhmvOgE= | ||
=iIGO | ||
-----END PGP PUBLIC KEY BLOCK----- |
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 @@ | ||
-----BEGIN PGP PRIVATE KEY BLOCK----- | ||
Comment: Alice's OpenPGP Transferable Secret Key | ||
|
||
lFgEXEcE6RYJKwYBBAHaRw8BAQdArjWwk3FAqyiFbFBKT4TzXcVBqPTB3gmzlC/U | ||
b7O1u10AAP9XBeW6lzGOLx7zHH9AsUDUTb2pggYGMzd0P3ulJ2AfvQ4RtCZBbGlj | ||
ZSBMb3ZlbGFjZSA8YWxpY2VAb3BlbnBncC5leGFtcGxlPoiQBBMWCAA4AhsDBQsJ | ||
CAcCBhUKCQgLAgQWAgMBAh4BAheAFiEE64W7X6M6deFelE5j8jFVDE9H444FAl2l | ||
nzoACgkQ8jFVDE9H447pKwD6A5xwUqIDprBzrHfahrImaYEZzncqb25vkLV2arYf | ||
a78A/R3AwtLQvjxwLDuzk4dUtUwvUYibL2sAHwj2kGaHnfICnF0EXEcE6RIKKwYB | ||
BAGXVQEFAQEHQEL/BiGtq0k84Km1wqQw2DIikVYrQrMttN8d7BPfnr4iAwEIBwAA | ||
/3/xFPG6U17rhTuq+07gmEvaFYKfxRB6sgAYiW6TMTpQEK6IeAQYFggAIBYhBOuF | ||
u1+jOnXhXpROY/IxVQxPR+OOBQJcRwTpAhsMAAoJEPIxVQxPR+OOWdABAMUdSzpM | ||
hzGs1O0RkWNQWbUzQ8nUOeD9wNbjE3zR+yfRAQDbYqvtWQKN4AQLTxVJN5X5AWyb | ||
Pnn+We1aTBhaGa86AQ== | ||
=n8OM | ||
-----END PGP PRIVATE KEY BLOCK----- |
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 @@ | ||
This is a bare-bones readme file for the multi-file package. |
21 changes: 21 additions & 0 deletions
21
test/lisp/emacs-lisp/package-resources/package-test-server.py
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 @@ | ||
import sys | ||
|
||
try: | ||
from http.server import HTTPServer, SimpleHTTPRequestHandler | ||
except ImportError: | ||
from BaseHTTPServer import HTTPServer | ||
from SimpleHTTPServer import SimpleHTTPRequestHandler | ||
|
||
|
||
HandlerClass = SimpleHTTPRequestHandler | ||
HandlerClass.protocol_version = "HTTP/1.0" | ||
server_address = ("127.0.0.1", int(sys.argv[1]) if sys.argv[1:] else 0) | ||
httpd = HTTPServer(server_address, HandlerClass) | ||
|
||
ip, port = httpd.socket.getsockname()[0:2] | ||
print("Server started, http://%s:%s/" % (ip, port)) | ||
# Flush in case we're in full buffering mode (instead of line | ||
# buffering), this might happen if python is a cygwin program and we | ||
# run it from a native w32 program. | ||
sys.stdout.flush() | ||
httpd.serve_forever() |
34 changes: 34 additions & 0 deletions
34
test/lisp/emacs-lisp/package-resources/signed/update-signatures.sh
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,34 @@ | ||
#! /bin/sh | ||
|
||
# Generate a new key and update the signatures for tests. | ||
|
||
# Copyright (C) 2020-2024 Free Software Foundation, Inc. | ||
|
||
# This file is part of GNU Emacs. | ||
|
||
# GNU Emacs 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. | ||
|
||
# GNU Emacs 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 GNU Emacs. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
export GPG_AGENT="" | ||
KEYRING="./key.ring" | ||
TRUSTDB="./trust.db" | ||
GPG="gpg --no-default-keyring --trustdb-name $TRUSTDB --keyring $KEYRING --yes" | ||
|
||
rm $KEYRING | ||
#$GPG --full-generate-key | ||
#$GPG --export --armor > "../key.pub" | ||
#$GPG --export-secret-keys -armor > "../key.sec" | ||
$GPG --import ../key.sec | ||
$GPG --detach-sign --sign "./archive-contents" | ||
$GPG --detach-sign --sign "./elpa-packages.eld" | ||
$GPG --detach-sign --sign "./signed-good-1.0.el" |
3 changes: 3 additions & 0 deletions
3
test/lisp/emacs-lisp/package-resources/simple-single-readme.txt
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,3 @@ | ||
This package provides a minor mode to frobnicate and/or bifurcate | ||
any flanges you desire. To activate it, type "C-M-r M-3 butterfly" | ||
and all your dreams will come true. |
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