Commit Graph

42 Commits

Author SHA1 Message Date
Predrag Ivanovic
62e416b52c pkgmk.in: Add 7z to unpack_source function
Libarchive(bsdtar) can extract 7-Zip archives since 3.0, so
add them as supported source

Ref:
https://github.com/libarchive/libarchive/wiki/LibarchiveFormats
2017-09-19 20:11:19 +02:00
just_fun
858ea9a42b pkgmk: update .md5sum if present (even when the port was signed) 2017-04-19 18:17:12 +02:00
Fredrik Rinnestam
08ac3d2cb1 pkgmk: ignore md5sums unless signatures are missing 2017-04-05 21:58:09 +02:00
cc3c4ec779 pkgmk: Remove check for empty $source in check_signature(), patch by just_fun 2017-02-28 20:02:26 +01:00
Fredrik Rinnestam
dcb8845eaf pkgmk: Removed checking for in make_signature()
this is an artifact from make_md5sum() and NOT needed for make_signature().
In fact, this check breaks make_signature() because now packages that don't
have a $source don't get any .signature at all, even though it can
(and should) create a sha256 for the footprint and Pkgfile.

Patch by Camille (onodera).
2017-02-23 18:29:10 +01:00
Fredrik Rinnestam
e5c99f7b1a Fixed various style errors and some typos. Patch by Camille (onodera). 2017-02-23 18:24:27 +01:00
Fredrik Rinnestam
8db4bc01e2 pkgmk: don't assume file will print a ',' with future releases 2017-02-18 20:02:32 +01:00
Fredrik Rinnestam
8a13560ef8 pkgmk: Actually strip executables and objects. Patch by Roman Oreshnikov
FS#1378
2017-02-18 18:04:59 +01:00
Fredrik Rinnestam
66f664ffb7 updated copyright to 2017 2017-02-07 21:01:46 +01:00
Thomas Penteker
ca8de90525 pkgmk.in: fix typo in the help text 2016-11-30 23:18:12 +01:00
06c526de4e update copyright year 2016-10-05 11:26:26 +02:00
9033d1650c pkgmk: extract archives with tar.lz extension 2016-10-04 15:31:41 +02:00
Thomas Penteker
e3999adb34 document new command-line switches in pkgmk.8 2016-04-21 00:04:40 +02:00
Thomas Penteker
b60717c3bc clean ups and -cs now checks the signature even if the binary package is already present 2016-04-08 01:06:13 +02:00
Thomas Penteker
430a36bfa2 fix indentation even more 2016-04-07 22:48:26 +02:00
Thomas Penteker
1286051d5a implement proper fallback with/without PKGMK_IGNORE_MD5SUM and PKGMK_IGNORE_SIGNATURE 2016-04-02 23:11:47 +02:00
Thomas Penteker
b33658886e fix indentation, remove --insecure and no-check-certificate from curl and wget options 2016-04-02 22:11:09 +02:00
Thomas Penteker
7e6d31a01d strip -x from shebang 2016-03-28 13:34:21 +02:00
Thomas Penteker
8dad69f52d implement signature handling; yes indenting is broken 2016-03-28 02:48:20 +02:00
Alan Mizrahi
3d1855e7d2 pkgmk: add support for curl
See FS#1060, https://crux.nu/bugs/index.php?do=details&task_id=1060

New variables in /etc/pkgmk.conf:

PKGMK_DOWNLOAD_PROG="" (curl or wget)
PKGMK_CURL_OPTS="" (parameters for curl, when using curl)
2015-07-25 12:23:49 +02:00
d804a38feb update copyright year to 2013 2013-01-21 16:14:45 +01:00
a455d5533e pkgmk: add support for plain tar, FS#603 2012-11-28 13:23:58 +01:00
Matt Housh
6d244ad0c0 pkgmk, pkgmk.conf: updates for multilib 2012-11-27 10:17:18 -06:00
50689e8a22 Updated copyright notices to 2010. 2010-05-29 16:30:15 +02:00
Johannes Winkelmann
56b9b9dab2 Bug #221: added error codes. 2010-05-27 21:18:34 +02:00
Johannes Winkelmann
163aacb1ff Bug #221: pkgmk optionally now only warns about new files in a footprint. 2010-05-23 17:38:31 +02:00
37c478ef8b Bug #581: Users may choose from gz/bz2/xz for the compression mode now. 2010-05-21 20:03:48 +02:00
Andrew Brouwers
5228efc2d6 Added support for *.tbz2 and *.txz source entries in pkgmk. 2010-03-27 17:30:02 +01:00
Andrew Brouwers
e74ba08d64 Added support for *.rpm source entries in pkgmk. 2010-03-27 17:29:04 +01:00
Tilman Sauerbeck
e6c32c41e9 Also accept *.tar.lzma source archives. 2009-07-21 19:29:43 +02:00
698c42e2a0 Preserve file permissions and ownership when extracting distfiles. 2009-07-16 20:53:41 +02:00
de428c293b Bug #360: Check whether files are writable early. 2009-07-15 20:01:53 +02:00
Tilman Sauerbeck
7b8b79b9c2 Use bsdtar instead of GNU tar to extract all handled archive formats. 2009-06-20 15:28:33 +02:00
7b3f9929cb Bug #336: Only accept http/https/ftp/file protocols in sources. 2008-11-01 18:17:44 +01:00
51c534c2bd Bug #347: wget options are configurable now. 2008-11-01 18:09:20 +01:00
Johannes Winkelmann
92dbaab6a7 pkgmk: add "extract only" functionality, previously suggested by Lucas Hazel and Danny Rawlins 2008-09-30 20:59:37 +02:00
Brett Goulder
765b5014db Bug #241: Don't check SSL certificates.
pkgmk's mechanism to check file integrity is .md5sum, so relying on
proper SSL certificates for https connections isn't critical. This fixes
transfers from https servers whose SSL certificates are self signed only.

Original patch by Jose V Beneyto <sepen@users.sourceforge.net>.
2008-04-11 18:48:57 +02:00
Matt Housh
2dee8e17ce added PKGMK_SOURCE_MIRRORS support 2007-12-02 12:25:25 -06:00
Tilman Sauerbeck
6fe55c25a2 Updated copyright notices. 2007-04-18 22:38:09 +02:00
Simone Rota
b0bbde50af pkgmk: optimize file detection for stripping. Thanks to aon and mark 2006-04-29 10:01:53 +02:00
Tilman Sauerbeck
e55714dd07 write warnings and errors to stderr instead of stdout 2006-04-14 09:34:21 +02:00
Simone Rota
9ac667e68d Initial import 2005-11-11 23:40:48 +01:00