Path to this page:
./
misc/dync,
C language awk-like utility
Branch: CURRENT,
Version: 1.1nb2,
Package name: dync-1.1nb2,
Maintainer: agcThe dync utility is a small, but quite useful utility, which allows
the use of C as a scripting language. This can be quite useful
****SOMETIMES****, allowing access to system calls and library functions
from the command line. For example, there are occasions when I want
to see the struct stat for a directory entry, and want to be able to
access st_mtime values, without having to parse output from "ls -l".
A simple:
int main(int argc, char **argv)
{
struct stat st;
if (stat(argv[1], &st) == 0) {
printf("%lld\n", st.st_mtime);
}
exit(0);
}
will do the job. If I was to try this by other means, I would either
have to install all of Perl, and then learn its idiosyncratic syntax,
or write a custom C program, which I would then have to compile on
each architecture I need.
This utility relies on there being a C compiler on the target machine,
and a working dlopen(3).
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 23.654 KB
Version history: (Expand)
- (2017-11-23) Package has been reborn
- (2012-06-11) Package has been reborn
- (2012-06-11) Package deleted from pkgsrc
- (2005-10-05) Package added to pkgsrc.se, version dync-1.1nb2 (created)
CVS history: (Expand)
2021-10-26 12:59:39 by Nia Alarie | Files touched by this commit (378) |
Log message:
misc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
The following distfiles could not be fetched (possibly fetched
conditionally?):
./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
|
2021-10-07 16:35:55 by Nia Alarie | Files touched by this commit (378) |
Log message:
misc: Remove SHA1 hashes for distfiles
|
2017-08-01 18:47:46 by Thomas Klausner | Files touched by this commit (88) |
Log message:
Comment out dead sites (DNS problems).
|
2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330) |
Log message:
Add SHA512 digests for distfiles for misc category
Problems found locating distfiles:
Package colorls: missing distfile ls.tar.gz
Package molden: missing distfile molden-4.6/molden4.6.tar.gz
Package softmaker-office-demo: missing distfile ofl06trial.tgz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
|
2013-04-06 05:45:29 by Blue Rats | Files touched by this commit (152) |
Log message:
Fixes:
COMMENT should not be longer than 70 characters.
COMMENT should not begin with 'A'.
COMMENT should not begin with 'An'.
COMMENT should not begin with 'a'.
COMMENT should not end with a period.
COMMENT should start with a capital letter.
pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
|
2012-10-08 11:57:42 by Aleksej Saushev | Files touched by this commit (239) |
Log message:
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
|
2010-02-11 20:17:06 by Joerg Sonnenberger | Files touched by this commit (1) |
Log message:
DESTDIR support
|
2009-05-22 20:16:19 by Zafer Aydogan | Files touched by this commit (1) | |
Log message:
update master site.
|