Skip to content

Rebuild unzip #952

Merged
merged 2 commits into from
Nov 7, 2018
Merged

Rebuild unzip #952

merged 2 commits into from
Nov 7, 2018

Conversation

david
Copy link
Collaborator

@david david commented Nov 6, 2018

No description provided.

unzip.be0 Outdated
mkdir -pv ${D}${PREFIX}
mkdir -pv ${D}${MANDIR}/man1
make -f unix/Makefile install prefix=${D}${PREFIX} MANDIR=${D}${MANDIR}/man1

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this blank line.

fix problem with nextcloud zip-archives
@david
Copy link
Collaborator Author

david commented Nov 7, 2018

blank line is removed

@donald
Copy link
Collaborator

donald commented Nov 7, 2018

So the owncloud-problem (edda) is caused by the now to be removed removed -DNO_LCHMOD? ?

What template is that? Its neither scripts/TEMPLATE.be0 nor bee init

@david
Copy link
Collaborator Author

david commented Nov 7, 2018

"So the owncloud-problem (edda) is caused by the now to be removed removed -DNO_LCHMOD? "
I dont know, if that was the problem. I have built with LFS recept.

and the template is bee init

@donald
Copy link
Collaborator

donald commented Nov 7, 2018

Hmmm. If you used bee init, did you manually remove the comments?

buczek@theinternet:~/git/bee-files (rebuild-unzip)$ bee init http://bla.lall/test-1.0.0.gz
creating test-1.0.0-0.bee from template '/etc/default/bee/templates/fallback'
buczek@theinternet:~/git/bee-files (rebuild-unzip)$ diff test-1.0.0-0.bee unzip.be0 
< ## 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.)
---
> # BEE_VERSION unzip-6.0.0-1
6,14c5
< ###############################################################################
< ## 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://bla.lall/test-${PKGVERSION}.gz"
< 
< ###############################################################################
< ## Add URLs/pathes to patch files to the PATCHURL array.
< ## The sources will be patched in the order of the array.
---
> SRCURL[0]="http://downloads.sourceforge.net/infozip/unzip60.tar.gz"
16d6
< # PATCHURL+=()
18,20c8
< ###############################################################################
< ## 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.
---
> # PATCHURL+=()
24,35c12
< ###############################################################################
< ## Uncomment the next statement, if the software may not be able to be built
< ## outside the source directory and needs to be built 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.
---
> build_in_sourcedir
40,45d16
< ###############################################################################
< ## 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}"
< 
58,64c29,37
< #mee_build() {
< #    bee_build
< #}
< 
< #mee_install() {
< #    bee_install
< #}
---
> mee_build() {
>     make -f unix/Makefile generic
> }
> 
> mee_install() {
>     mkdir -pv ${D}${PREFIX}
>     mkdir -pv ${D}${MANDIR}/man1
>     make -f unix/Makefile install prefix=${D}${PREFIX} MANDIR=${D}${MANDIR}/man1 
> }
66,83d38
< 
< ###############################################################################
< ##
< ## 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/
< ##
buczek@theinternet:~/git/bee-files (rebuild-unzip)$ diff test-1.0.0-0.bee unzip.be0 |less
buczek@theinternet:~/git/bee-files (rebuild-unzip)$ 

@donald donald merged commit bee4e8e into master Nov 7, 2018
@david
Copy link
Collaborator Author

david commented Nov 7, 2018 via email

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants