Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bee-files/slock.be0
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
> git log --oneline 1.3..1.4 fa11589 (tag: 1.4) bump version d5da84c add arg.h and util.h to Makefile ae96836 clarify colors in config.def.h 7d31ff6 move config.h inclusion after type declarations 5974695 Unboolify slock.c c96e725 Use explicit strcmp() instead of inlining it 6a1bd89 No need for oldc to be static b099d2f Use NUL character constant explicitly 0a43b78 Keep the line-lengths at bay bd069b0 Add a section on security considerations 2d85c5b remove confusing DPMS comment a98fba8 error out early on crypt() fail dc2e8e8 Stop using $USER for shadow entries 9a617db Rename getpw() and pws to gethash() and hash b00f444 Remove cleanup and deglobalize and rework data structures cd3c546 config.mk: be more explicative about FLAGS 22eba05 Ensure Polyphemus-Mitigation and properly drop privileges 04143fd Unify how we check passwords between different OSes 9698224 make error message prefix consistent a55594f increasing for loops are idiomatic 03a8717 Localize running and failure inside readpw() 39fb855 Move screen unlocking inside cleanup() e378f73 Re-introduce the waiting loop for input grabbing 1f66885 Add cleanup() to do free(locks) + XCloseDisplay() 137f007 Refactor dontkillme() a9eddbd Convert manpage to mandoc and fix usage d8bec0f fix CVE-2016-6866 b87bfa2 Update bsd-auth string. c2f9757 Exit as soon as possible on input grabbing error 3bb868e Refactor main() a7afade clear passwords with explicit_bzero 65b8d52 Revert "No need for usage()" ec46680 revert using argv0 and minor fixup b02c4d4 Use argv0 instead of passing "slock:" to die every time a6dc051 No need for usage() bdcbeab Clarify config.def.h 3abbffa Simplify the oom-taming-function
executable file
85 lines (65 sloc)
2.52 KB
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
#!/usr/bin/env beesh | |
# BEE_VERSION slock-1.4-0 | |
## this file was created by bee init and should be executed to build a | |
## bee-package. (Additional hints are located at the end of this file.) | |
############################################################################### | |
## The source URL(s) define the location of the sources that will be | |
## downloaded. Version variables may be used to simplify reuse of this bee-file. | |
SRCURL[0]="http://dl.suckless.org/tools/slock-${PKGVERSION}.tar.gz" | |
############################################################################### | |
## Add URLs/pathes to patch files to the PATCHURL array. | |
## The sources will be patched in the order of the array. | |
# PATCHURL+=() | |
############################################################################### | |
## Add filename patterns to the EXCLUDE array of files that should not | |
## be added to you package but may be present in the image directory. | |
# EXCLUDE+=() | |
############################################################################### | |
## Uncomment the next statement, if the software may not be able to be build | |
## outside the source directory and need to be build inside the source | |
## directory. | |
# build_in_sourcedir | |
############################################################################### | |
## bee cannot detect buildtypes specified in subdirectories. | |
## Sometimes packages "hide" the real sources in a subdirectory named | |
## 'src' or 'cmake' or .. | |
## use 'sourcesubdir_append' to specify this directory if known. | |
# sourcesubdir_append src | |
############################################################################### | |
## Change the default (auto-detected) steps to | |
## extract, patch, configure/setup, build and install the software. | |
## Make sure the mee_install function does install everything to the | |
## image directory "${D}" | |
#mee_extract() { | |
# bee_extract "${@}" | |
#} | |
#mee_patch() { | |
# bee_patch "${@}" | |
#} | |
#mee_configure() { | |
# bee_configure | |
#} | |
#mee_build() { | |
# bee_build | |
#} | |
#mee_install() { | |
# bee_install | |
#} | |
## by default this may be 'make install DESTDIR="${D}"' | |
############################################################################### | |
## | |
## Additional hints: | |
## | |
## The name of this bee-file should follow the following naming convention: | |
## pkgname-pkgversion-pkgrevision.bee | |
## | |
## You may remove all comments as long as SRCURL[0] is set. | |
## | |
## Everything in this file will be executed in a bash environment. | |
## | |
## Build the package by executing | |
## './pkg-version-N.bee' or | |
## 'beesh ./pkg-version-N.bee' | |
## | |
## see http://beezinga.org/ | |
## |